Answer the question
In order to leave comments, you need to log in
Where is the best place to store tokens in an OAuth 2 approach?
The user is authenticated on the side of the OAuth server. Where is the best place to store received tokens after authentication? If for example to store in session, then for what time? Or if you store it in a table with users, but then after re-authentication from another client, the old (possibly still valid) tokens may disappear.
Answer the question
In order to leave comments, you need to log in
What prevents to store in the table with communication one-to-many?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question