This project is meant to test out the OAuth2
& OpenID Connect
protocol, and how it can be used.
This project is straight forward and wanted achieve 2 things (which has been tested and worked):
-
Authorization Flow
- Access Google API from Vue Application using OAuth2 Access Token
-
Using OpenID Connect
- Access Backend with from Vue Application using OAuth2 ID Token proper verification done by Google Auth Library
- Library with Code Sample from Vue3 Google OAuth2 Guruahn
- https://stackoverflow.com/questions/48153269/should-i-send-the-id-token-from-my-spa-to-my-rest-backend
- https://developers.google.com/identity/sign-in/web/backend-auth
- https://developers.google.com/identity/one-tap/android/idtoken-auth
Chris Legaxy/Chris Van
Contact: [email protected] | [email protected]
Website: https://chrisvan.netlify.app