Auth
OAuth and OIDC
OAuth/OIDC vulnerabilities arise when authorization responses, tokens or linked identities are not bound to the correct client, issuer, user session and redirect destination. OAuth authorization and OIDC authentication have different token and validation requirements.
- 38 payloads
- 1 file
- README on GitHub
Payloads are read from main at 35c1f2b (committed 22 Nov 2026). Project version 1.0.2.
These payloads are for authorized testing only: systems you own, authorized bug bounty programs, or controlled lab environments. Unauthorized testing is illegal.
Payload files
Use the arrow keys to move between payloads. Press Enter or C to copy the focused payload.
oauth-oidc-payloads.txt
38 payloads · 4.3 KBLoading payloads for OAuth and OIDC…
Common Attack Vectors#
- State and nonce binding
- PKCE enforcement and downgrade behavior
- Authorization-code reuse and client binding
- Redirect URI validation
- Issuer mix-up and ID-token audience validation
- Account linking and identity collisions
- Refresh-token rotation and revocation
Testing Approach#
Provision two test users, two clients and a controlled authorization server. Capture a working authorization-code flow and mutate one parameter at a time. Query strings below are fragments for the authorization endpoint; token bodies are form-encoded replacements. Substitute registered lab identifiers and freshly issued test values. Omission of state is not itself proof of a flaw when another correct CSRF defense binds the flow.
Verify the logged-in subject, issuer, client and granted scope after each operation. Reusing an authorization code should fail. A verifier mismatch must fail for a PKCE-bound code. Account-link tests require explicit confirmation and a recent session according to application policy. Use JWT-Vulnerabilities for claim-level token fixtures and Session-Management for lifecycle sequences.
References#
Responsible Use
All content in this reference is for authorized security testing only. Use only on systems you own or have explicit written permission to test.
- Systems and applications you own
- Authorized penetration testing engagements
- Bug bounty programs with defined scope
- Educational lab environments (DVWA, WebGoat, HackTheBox)