TomasJani / bridge-builder

MIT License
0 stars 0 forks source link

API - auth #7

Closed mcaniga closed 4 years ago

mcaniga commented 4 years ago

Implement authentification

mcaniga commented 4 years ago

I suggest to use GoogleOAuth from PassportJS, link bellow. http://www.passportjs.org/docs/google/

TomasJani commented 4 years ago

If you already know how, why not.

mcaniga commented 4 years ago

If we decided to add custom username/password authentification for users which don't have google account, I suggest use LocalStrategy from PassportJS, which can be added to googleOAuth easily. http://www.passportjs.org/packages/passport-local/

mcaniga commented 4 years ago

Implementing GoogleOAuth from PassportJS