|
|
|
|
|
by declandewet
4698 days ago
|
|
I've found that Passport is much easier to work with, as it is just Express middleware, plus there are way more strategies should you ever want to support any other form of authentication. There's a plethora of points made on Passport over EveryAuth (that might be biased - but worth a look) by the author of Passport over here: http://stackoverflow.com/questions/11974947/everyauth-vs-pas... He also mentions that if you just want API authentication then Passport has two sibling projects for that purpose - OAuthorize and OAuth2orize. You would most likely be using bearer tokens issued by OAuth2 to implement this, and Passport supports this pretty well, with the bonus that it's actively maintained: https://github.com/jaredhanson/passport-http-bearer |
|