MILE-IISc / ocr-web-app

OCR web-application
4 stars 0 forks source link

Implement Google OAuth authentication using Passport.js #29

Open Sasi5875 opened 3 years ago

Sasi5875 commented 3 years ago

Google OAuth authentication has to be implemented using Passpotr.js in OCR-WEB-APP. It has to be added as a middleware in nodejs(BFF) for authenticating users using Passport.js.

Links for reference:

https://medium.com/swlh/google-authentication-for-node-js-application-using-passport-678c8c068dd8

http://www.passportjs.org/docs/google/

https://medium.com/codait/authentication-for-cloudant-envoy-apps-part-one-e6dba285b0d1

https://blog.jscrambler.com/setting-up-authentication-using-angular-node-and-passport/

https://matthewtyler.io/handling-oauth2-with-node-js-and-angular-js-passport-to-the-rescue

https://medium.com/the-dev-caf%C3%A9/log-in-with-google-oauth-2-0-node-js-and-passport-js-1f8abe096175

How to generate Google OAuth credential :

https://www.youtube.com/watch?v=xH6hAW3EqLk

Explanation with Flow(How Google OAuth): https://dev.to/phyllis_yym/beginner-s-guide-to-google-oauth-with-passport-js-2gh4

anilkumar911 commented 3 years ago

Talk on OAuth2.0 from OKTA https://www.youtube.com/watch?v=996OiexHze0

Blog on OAuth: https://developer.okta.com/docs/concepts/oauth-openid/