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.
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.