oauth2-proxy/pkg/apis
Tim Fiernkranz c09b909dd3 Add automated retries for IdP and CSRF errors
This implements functionality to automate restarting a login.
The automation of CSRF errors catches missing CSRF cookies to retry as fallback for Logins that required too much time.
The IdP errors are implemented because some IdP Providers return with errors where it is advised to directly retry the login process. For example keycloak handles its "temporarily_unavailable" error like this. See https://www.keycloak.org/securing-apps/oidc-layers#_oidc-errors

Signed-off-by: Tim Fiernkranz <tim.fiernkranz@tngtech.com>
2026-01-19 13:22:16 +01:00
..
ip Move RealClientIP code to IP packages 2020-05-23 15:17:41 +01:00
middleware adapting unit tests and fixing minor issues introduced with the derefing 2025-11-16 22:38:57 +01:00
options Add automated retries for IdP and CSRF errors 2026-01-19 13:22:16 +01:00
sessions refactor: ptr.Ptr to ptr.To 2025-11-16 22:38:59 +01:00