Web Security · Authentication
OAuth authorization code
Also known as: Authorization code
A short-lived, one-time value that an OAuth client exchanges for tokens. Bind it to the client, original redirect URI when supplied, and required transaction proof. The token endpoint checks those bindings and atomically consumes the code. PKCE helps prevent a thief from redeeming a code without its secret verifier.
Where you practice it
- Redirect URI Validation and Front-Channel LeakageWeb Security · OAuth 2.0 / OpenID Connect SecurityPractice this lesson →
- Authorization-Code Binding, Replay, and InjectionWeb Security · OAuth 2.0 / OpenID Connect SecurityPractice this lesson →
- Redirect ChainingWeb Security · Open RedirectPractice this lesson →