Node.js: Connect-Auth VS. EveryAuth

后端 未结 5 1702
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-12 15:57

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

5条回答
  •  抹茶落季
    2020-12-12 16:06

    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.

提交回复
热议问题