glossary2 min read

What is OAuth?

OAuth lets users sign in with Google, GitHub, or other providers without sharing passwords.

OAuth 2.0 is an authorization framework that lets users grant third-party applications access to their accounts without sharing passwords. When you click "Sign in with Google," OAuth handles the handshake: your app redirects to Google, the user approves, Google sends back a token, and your app uses that token to access the user's data. The user never enters their Google password on your site. OAuth is the standard behind every "Sign in with..." button on the web.