E
E
Eugene2019-03-27 11:23:10
In contact with
Eugene, 2019-03-27 11:23:10

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

1 answer(s)
I
inzeppelin, 2019-03-27
@inzeppelin

Try looking towards Passport JS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question