Backend Developer at Coast research Institute
Needs advice
on
OAuth2OAuth2
and
PassportPassport
in

My teammates and I are arguing on which library to use for our local and social authentication in our express app between OAuth2 and Passport. I went for Passport cause I personally like it, and it seems easier to implement with good docs, but some of my teammates think it's less secure than OAuth2. So any advice please would be appreciated. Thanks 馃檹馃徎

READ LESS
5 upvotes154.1K views
Replies (1)

Hey, It really depends on your usecase if you need OAuth2. If you are just looking to authenticate users, registration/login and all the "normal" stuff, then you probably dont need OAuth2!

We have a (in my opinion) pretty helpful document going over this: https://www.ory.sh/hydra/docs/next/concepts/before-oauth2/

READ MORE
Do You Need OAuth2? | ORY Hydra (ory.sh)
3 upvotes1 comment1.1K views
Isaac Ogunleye
Isaac Ogunleye
February 4th 2021 at 8:21AM

Thanks for the link and advice 馃檹馃徎馃檹馃徎

Reply
Avatar of Isaac Ogunleye

Isaac Ogunleye

Backend Developer at Coast research Institute