You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sources/oauth: Make PKCE verifier 128 characters (#17763)
* sources/oauth: Make PKCE verifier 128 characters
The PKCE spec requires the code verifier to be 43-128 characters
inclusive[^1].
The default `length` argument to `generate_id` is 40 characters, which
meant the verifier is always shorter than required by the spec.
This could cause issues integrating authentik with PKCE-compliant OIDC
providers.
[^1]: https://datatracker.ietf.org/doc/html/rfc7636#section-4.1
* add length test
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
0 commit comments