-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
oidc: pass state to IdP in authorization URL (#1327)
* pass `next` value to IdP as `state`, with additional random prefix * this makes the "next" value more trusted * fix support for Authentik and other IdPs which do not support auth URLs without `state` (goauthentik/authentik#9735) * may also improve support for IdPs which lack PKCE support (see: https://github.com/panva/openid-client/blob/1486c3a020af8d12449d1d6a4bdf4f2bf4d32b77/README.md#authorization-code-flow) Closes #1134 Closes #1135
- Loading branch information
Showing
1 changed file
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters