Authorization protocols provide a state parameter that allows you to restore the previous state of your application. The state parameter preserves some state objects set by the client in the Authorization request and makes it available to the client in the response. The primary reason for using the state parameter is to mitigate CSRF attacks by using a unique and non-guessable value associated wit
![Prevent Attacks and Redirect Users with OAuth 2.0 State Parameters](https://cdn-ak-scissors.b.st-hatena.com/image/square/a2d510ae224397bc9dff8a80ae6974c11f02c60d/height=288;version=1;width=512/https%3A%2F%2Fcdn2.auth0.com%2Fdocs%2F1.13838.0%2Fimg%2Fshare-image.png)