Added support for state parameter and bumped version#45
Added support for state parameter and bumped version#45Agrejus wants to merge 2 commits intogardner:masterfrom
Conversation
|
Closing due to time constraints. Going to use fork instead |
|
What do we need to do to get this added @gardner ? |
|
Reopening @christopherhein Please review @gardner |
|
I'm not really good at react but I have some questions. I see that if you do not provide the And also, the authorization server that I use does not accept the request if it does not have |
Motivation:
I came across the need to send a value from the authorization request through to the authorization response. Outlined here, using the state parameter is the correct way to send values from the request to the response. This
stateparameter helps mitigate CSRF attacksI changed the
authorizeandloginfunctions to accept an optional state parameter.Please note, I also bumped the package version as well.
2.0.7->2.0.8