Hi,
I was validating the authorization flow of an application which we use oidcc_plug and it came to me that this state on Oidcc.Plug.Authorize module:
- shouldn't be a parameter
- it isn't preventing CSRF attacks as for RFC 6749.
Explanation:
This diagram illustrates the problem on the flow with state as a parameter to generate the redirect url.
Desired:
The Oidcc.Plug.Authorize should generate a random value representing the state for each specific authorization request.
Hi,
I was validating the authorization flow of an application which we use
oidcc_plugand it came to me that thisstateonOidcc.Plug.Authorizemodule:Explanation:
This diagram illustrates the problem on the flow with
stateas a parameter to generate the redirect url.Desired:
The
Oidcc.Plug.Authorizeshould generate a random value representing thestatefor each specific authorization request.