Concept Flow - OAuth2 overview
User wants to access app
App redirects user to OAuth2 Provider
User logs in and grants permission
Provider sends authorization code to app
App exchanges code for access token
App uses token to access user data
User data received and app shows content
This flow shows how a user logs in via OAuth2: the app redirects to a provider, user authorizes, app gets a token, then accesses user data.