Closed aaronshaf closed 2 years ago
At let state = this.generateState(); one could store some custom state or the current pathname.
let state = this.generateState();
According to Google and auth0, the best practice for the state param in OAuth2 is using a CSRF token instead of guessable parameters. You can store any other custom information in the session itself.
state
At
let state = this.generateState();
one could store some custom state or the current pathname.