OAuth / OIDC Flow Visualizer
Auth Code, PKCE, Client Credentials — visual sequence diagram + misconfiguration alerts.
How to use
Tip: start with an example, then customize.
- Choose a Flow and Mode (OIDC needs openid scope).
- Fill Issuer / Endpoints + Client fields (never embed client_secret in SPAs/mobile).
- Click Generate Diagram to render the diagram and see alerts.
- Use Export SVG/PNG for docs, or Full page for presentation.
Quick tips
- state mitigates CSRF (Auth Code / PKCE).
- nonce recommended when requesting id_token.
- PKCE S256 is preferred; avoid plain.
- HTTPS redirect URIs (except localhost in dev).
- Close full page with ESC or Hide.
Inputs
Outputs
Mermaid source
—
Generate a diagram to see Mermaid output here.
Sequence diagram
Rendered locally (no network calls)
No diagram yet. Fill inputs and click Generate Diagram.