Explore and test OAuth 2.0 flows. Build authorization URLs, generate PKCE challenges, and test real flows against your auth server — all in the browser.
Flow Steps
1. Authorization Request
Redirect user to authorization endpoint with client_id, redirect_uri, scope, state, and response_type=code
2. Login & Consent
Authorization server presents login page and consent screen to the user
3. Grant Access
User authenticates and grants the requested permissions
4. Authorization Code
Auth server redirects back to redirect_uri with authorization code and state parameter
5. Token Exchange
Client exchanges authorization code for tokens by sending code, client_id, client_secret, and redirect_uri to token endpoint
6. Access Token
Auth server validates code and returns access_token, refresh_token, token_type, and expires_in
Request Builder
Generated Requests & Responses
https://auth.example.com/authorize?response_type=code&client_id=my-client-id&redirect_uri=&scope=openid+profile+email
?code=SplxlOBeZQQYbYS6WxSbIA
grant_type=authorization_code&code=SplxlOBeZQQYbYS6WxSbIA&redirect_uri=&client_id=my-client-id&client_secret=my-client-secret
{
"access_token": "ya29.a0AfH6SMBx...example",
"token_type": "Bearer",
"expires_in": 3600,
"refresh_token": "1//0gdBpR...example",
"scope": "openid profile email"
}