This PR fixes issue #143 where Authelia OIDC login fails due to a missing or weak state parameter.
Changes include:
state (base64 encoded) in UserOidcAuth.new/2.nonce for additional security and passes it to Oidcc.state parameter in UserOidcAuth.callback/2 against the session value to prevent CSRF attacks.UserOidcAuthTest to verify the presence of security parameters in the session and proper error handling./claim #143
Excellencedev
@Excellencedev
Claper
@ClaperCo