How to maintain Oauth2 State in Laravel Passport
How to maintain Oauth2 State in Laravel Passport I am trying to implement Laravel Passport in my project but i can't found how to maintain Oauth2 State. In Laravel passport official documentation not get enough information about Oauth2 state. I am trying to implement Oauth2 authentication with Anuglar6 and Laravel . In oauth2 documentation, there are "state" to prevent CSRF protection. "The client MUST implement CSRF protection for its redirection URI. This is typically accomplished by requiring any request sent to the redirection URI endpoint to include a value that binds the request to the user-agent's authenticated state (e.g., a hash of the session cookie used to authenticate the user-agent). The client SHOULD utilize the "state" request parameter to deliver this value to the authorization server when making an authorization request. " https://tools.ietf.org/html/rfc6749#section-10.12 ...