Signing in with Google - OAuth 2.0 Simplified
Despite OAuth being an authorization protocol rather than an authentication protocol, it is often used as the basis for authentication workflows anyway. A typical use of many common OAuth APIs is just to identify the user at the computer when logging in to a third-party app. Authentication and authorization are often confused with each other, but can be more easily understood if you think about them from the perspective of an application. An app that is authenticating users is just verifying who the user is. An app that is authorizing users is trying to gain access or modify something that belongs to the user. OAuth was designed as an authorization protocol, so the end result of every OAuth flow is the app obtains an access token in order to be able to access or modify something about the user’s account. The access token itself says nothing about who the user is. There are several ways different services provide a way for an app to find out the identity of the user. A simple way is for
Signing in with Google - OAuth 2.0 Simplified 3 Despite OAuth being an authorization protocol rather than an authentication protocol, it is often used as the basis for authentication workflows anyway. A typical use of many common OAuth APIs is just to identify the user at the computer when logging in to a third-party app. Authentication and authorization are often confused with each other, but can be more easily understood if you think about them from the perspective of an application. An app that is authenticating users is just verifying who the user is. An app that is authorizing users is tr
related reading
- What is OAuth 2.0? Definition & Examples | Auth0auth0.com
- Authenticate Using Google with JavaScript | Firebase Authenticationfirebase.google.com
- About authentication with a GitHub App - GitHub Docsdocs.github.com
- Authorization Academy - What is Authorization?osohq.com
- RFC 6749: The OAuth 2.0 Authorization Frameworkdatatracker.ietf.org
- About creating GitHub Apps - GitHub Docsdocs.github.com
- Auth | Supabase Docssupabase.com
- Secure AI Agent & User Authentication | Auth0auth0.com
- Check if user is authenticated for the first time in Firebase Google Authentication in Android - Stack Overflowstackoverflow.com
- Display the Sign In With Google button | Web guides | Google for Developersdevelopers.google.com
- Login with Google | Supabase Docssupabase.com
- Secure AI Agent & User Authentication | Auth0auth0.auth0.com