I
I
Ivan2016-11-11 17:46:59
Node.js
Ivan, 2016-11-11 17:46:59

Authorization of users in Node JS Express application. Do you need a Passport?

I will say right away that there is little experience under the node.
I am writing a small application on Express + Sequelize , in fact a directory. The question arose of how to authorize users in the system. Authorization is only local, no social networks, etc. (maybe there will be AD, but later). Separation of users into groups with different access rights.
Question - does it make sense to understand Passport? Or write by hand? Or maybe something less monstrous?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SagePtr, 2016-11-11
@LiguidCool

It makes sense to at least get an idea of ​​how it works. And in the future, fasten any authorization scheme and not reinvent the wheel.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question