Uploading to Drive via browser

时间秒杀一切 提交于 2019-12-11 14:08:22

问题


I am using a variation of the following cors-script to drag and drop a file to Google Drive: https://github.com/googledrive/cors-upload-sample. Here is a live example of it: http://googledrive.github.io/cors-upload-sample/.

However, I would like to pre-authenticate the person who visits the page so that they are always uploading into my Drive account and they do not need to sign in. In other words, either hard-code my account credentials or authenticate whenever a user loads the page to get the oauth token (or whatever else is needed).

How would this be done?

来源:https://stackoverflow.com/questions/48142257/uploading-to-drive-via-browser

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