Can't get Google Drive API share dialog to work when signed into multiple accounts

前端 未结 2 1894
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-31 02:53

I\'m having a JS error when opening a share dialog in a Javascript application using the Google Drive API. The error is: Uncaught Error: Syntax Error: DOM Exception 12.

2条回答
  •  庸人自扰
    2020-12-31 03:14

    We just recently added a setOAuthToken() method to the ShareClient that allows you to specify which user the dialog should use. More details in the Drive SDK release notes.

提交回复
热议问题