How to login with VK?

There was a need to log on to the website using post or get request. Saw an implementation in python using curl, but since working with node.js think to use the module request.
I want the website may be used for authorization only via a VK account. Submit the authorization process so:
1. To submit a request for authorization VK
2. To store the session in a file for later re-authenticate
3. Send the request with the received session VK already on the site
Never faced such task and can make mistakes, it would be interesting to hear people who have this experience.
March 19th 20 at 08:47
1 answer
March 19th 20 at 08:49
Try to look in the direction of Passport JS

Find more questions by tags Node.jsVKontakte