Getting Google file picker to work with drive.file scope

前端 未结 2 1821
北荒
北荒 2020-12-21 04:45

I\'m trying to use the Google file picker to select a document and then update its permissions. I don\'t need access to all Drive files, just those selected.

Howeve

相关标签:
2条回答
  • 2020-12-21 05:27

    If you're modifying a file that's not created by your application, there is no more restricted scope other than the drive scope.

    0 讨论(0)
  • 2020-12-21 05:28

    Answering my own question thanks to help from folks on the Google Drive Developer discussion on Google Plus:

    This does work. I was using the wrong App_ID in my picker implementation - I needed to use only the numeric string at the beginning of the client ID. The other problem, it doesn't work on localhost, only in production.

    Full discussion here: https://plus.google.com/u/0/108228914813783364664/posts/RgvmZwJcbE8

    0 讨论(0)
提交回复
热议问题