Concept Flow - OAuth integration
User clicks Login
Redirect to OAuth Provider
User grants permission
Provider redirects back with code
Server exchanges code for token
Token received
User authenticated, access granted
This flow shows how a user logs in using OAuth: starting from login click, redirecting to provider, granting permission, returning with a code, exchanging it for a token, and finally authenticating the user.
