Answer the question
In order to leave comments, you need to log in
How to log in to the site using VK?
There was a need to log in to the site using a post or get request. I saw an implementation in python using curl, but since I work with node.js, I think to use the request module for this purpose.
On the site I need, authorization is possible only through a VK account. I imagine the authorization process as follows:
1. Send a request for authorization in VK
2. Save the received session to a file so that you do not have to re-authorize in the future
3. Send a request with the received VK session already on the desired site
I have never encountered such tasks and I can be wrong, It would be interesting to hear from people who have experience with this.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question