How do I set up an authorization for Drive API?
DigitalNaut opened this issue · 2 comments
I've been reading documentation for several days. I just want my SPA to store some simple data on Google Drive without the need to sign in.
What should I follow to do this? It's allegedly so simple but all this documentation makes it really difficult and frustrating to follow along when half of it is deprecated, one can barely tell the code flows apart because it suddenly changes from frontend to backend libraries, and some sample codes are missing. I'm bouncing around between pages with no real answers.
Hey, Naut why use google drive to store data? Even if u use Google drive you will need a account to store data?
Thanks for replying, Arzentus!
I'm building a couple of learning SPAs that need to keep track of user progress beyond local storage. I think that setting up a server just for that seems overkill and may induce costs that I cannot afford, not to mention more maintenance.
I've seen several apps that don't need you to sign in to store data on Drive, and the documentation seems to say that. I got one app working with both authorization and authentication, but when I deploy the second one, I can't figure out when/if/how I should ask for simple authorization for the general public. Authentication seems inappropriate for the nature of the app, so simple authorization seems ideal.
A small code sample for a single file upload with authorization using implicit flow would help out a ton :)