G
G
goga_x2018-07-21 17:49:45
In contact with
goga_x, 2018-07-21 17:49:45

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

1 answer(s)
A
Andrey Gavrilov, 2018-07-22
@thexaver

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 question

Ask a Question

731 491 924 answers to any question