NodeJS REST authentication using Passport and OAuth2 + social network
I’m working on REST
api using NodeJS
. For authentication I decided to use Passport
. I want truly RESTful api. So it means I have to use tokens instead of sessions.
I’m working on REST
api using NodeJS
. For authentication I decided to use Passport
. I want truly RESTful api. So it means I have to use tokens instead of sessions.