Can anyone give a good comparison between: https://github.com/ciaranj/connect-auth and https://github.com/bnoguchi/everyauth
Which seem to be the only options for ex
Both libraries are pretty close in feature sets, especially in terms of supported providers. connect-auth
provides support out-of-the-box to make your own oAuth providers, so that could well help you out if you’re going to need that sort of thing.
The main thing I’ve noted between the two is that I find connect-auth
much cleaner with the way it creates and accepts the middleware; you only have to look at the amount of pre-configuration required for the middleware in everyauth
to see that it's going to get messy.
Another thing that isn't clear is whether everyauth
supports multiple providers at the same time; with connect-auth
, it seems possible/more straightforward, though I’ve yet to try this myself.