How to get an access to Google Drive API service account from web browser

﹥>﹥吖頭↗ 提交于 2019-12-30 05:35:08

问题


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

  1. https://github.com/michaelrhanson/jwt-js
  2. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!