Hexret

Web Security · Authentication

OAuth state

Also known as: OAuth state parameter, Transaction-bound state

The state value connects an OAuth callback to the browser transaction that started it. Use an unpredictable value bound to that browser session, verify it on return, and consume it once. This helps prevent login CSRF. It does not replace the PKCE verifier used when redeeming a code.

Where you practice it

Related terms