P
P
Peter Bishop2017-02-18 07:10:07
OAuth
Peter Bishop, 2017-02-18 07:10:07

Saving a token in Oauth 2.0?

Do not quite understand. HERE is a web application successfully received a token (Dropbox api). You can call methods with a token and get the necessary information. And where does the token itself go? Now I save it in localstorage and pull it out when initializing the application, of course, this is not fucking safe, can it be in the database? Or just ask the user each time to allow access to the application (waste your time on this, and the old token, in the meantime, may still be valid.)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question