OAuth Authentication
Google and GitHub sign-in on the same endpoints and token body as the email code. Set the two environment variables of a provider and it is on; scopes, PKCE, nonce, state, redirect URIs and account linking are built in. One verified email is one user, whichever way they sign in.
OAuth sign-in
The flow, the linking rule, email_key, endpoints and error codes
Create the Google client: the one-time checklist
GitHub setupCreate the GitHub OAuth App
ConfigurationEnv vars, config classes, system checks, oauth_check
What is verified, what is never stored, what to watch
python manage.py oauth_check --probeLast updated on