问题
I use "Service account" method for using Google Drive API. I need to get an access to my storage through Web browser to make a folder structure and have an ability to change/remove/add files quickly without calling API commands. Is there an ability to login under xxx@developer.gserviceaccount.com account? Or are there any other ways?
Any help would be really appreciated!
回答1:
You may like to take a look at JWT JavaScript implementations such as jwt-js [1] to reimplement the service account auth flow [2].
- https://github.com/michaelrhanson/jwt-js
- https://developers.google.com/accounts/docs/OAuth2ServiceAccount
来源:https://stackoverflow.com/questions/17270644/how-to-get-an-access-to-google-drive-api-service-account-from-web-browser