Answer the question
In order to leave comments, you need to log in
How to correctly implement the authorization and storage of user data of VK API?
I made user authorization in VK, through oAuth.
I would like to know how to properly store data, that is, the user's token in the database, is it worth encrypting?
How to correctly implement sessions and bind cookies so that the user does not need to relogin every time, but the data is saved?
Or, during authorization, each time to receive a new user token for interaction?
Thanks in advance)
Answer the question
In order to leave comments, you need to log in
The user token does not need to be received every time, the data can be safely stored in the database.
Do you have any cms?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question