N
N
No Name2016-01-31 01:06:16
JavaScript
No Name, 2016-01-31 01:06:16

How to write distributed authorization in Node.js?

I want to write authorization as a separate " users " module . There will be 3 roles: admin , moderator and user .
What node-modules need to be tweaked, techniques, approaches, and what do you need to finish learning in order to implement this task?
The " users " module must dock with the " admin " and " content " modules .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
yeti357, 2016-01-31
@yeti357

Don't reinvent the wheel: passportjs , authorization is authorization and roles are roles.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question