$ ./guess_the_languageCybersecurity
Cybersecurity · medium · #252

What does the OAuth 2.0 state parameter mainly defend against?

  1. CSRF on the redirect callback
  2. Token replay at the resource API
  3. Brute force of the client secret
  4. Expiry of the access token
The client binds a random state to the user session and rejects callbacks that return a different value.
Play Cybersecurity ▸