E
E
Eugene Obrezkov2014-02-05 16:23:19
Node.js
Eugene Obrezkov, 2014-02-05 16:23:19

How to connect Everyauth to Sails, while leaving the ability to login through a pair of login / password?

Good afternoon.
There was a question of connecting a good auth module to Node.js + Sails. Two popular ones are Everyauth and Passport. But both are used as middleware in Express.
At the moment, this is implemented through crypto and its wrappers over it. But I want to be calm in terms of connecting the possibility of login / registration through other strategies in the future.
The choice fell on Everyauth. Therefore, in fact, the question arose - how to connect it to Sails after all, while leaving the possibility of logging in through a login / password pair?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question