vikunja/pkg/modules/auth/openid
kolaente 37cd45d565 fix(auth): cache OIDC end-session endpoint at init so logout never blocks on discovery
EndSessionEndpoint() previously called setOicdProvider() (which retries with
backoff) and re-unmarshalled the discovery document on every logout. Read the
end_session_endpoint once at provider init, store it on the provider, and make
the accessor fail-fast (cached value, else the static logouturl) so /user/logout
stays responsive even when the OP is unreachable.
2026-06-19 17:23:32 +02:00
..
cron.go fix: add missing Commit() to write callers 2026-02-25 11:03:02 +01:00
logout.go fix(auth): cache OIDC end-session endpoint at init so logout never blocks on discovery 2026-06-19 17:23:32 +02:00
logout_test.go fix(auth): cache OIDC end-session endpoint at init so logout never blocks on discovery 2026-06-19 17:23:32 +02:00
main_test.go feat: move to slog for logging 2025-07-21 18:15:39 +02:00
openid.go fix(auth): cache OIDC end-session endpoint at init so logout never blocks on discovery 2026-06-19 17:23:32 +02:00
openid_test.go test(auth): add failing unit tests for OIDC TOTP enforcement 2026-04-09 17:25:47 +00:00
providers.go fix(auth): cache OIDC end-session endpoint at init so logout never blocks on discovery 2026-06-19 17:23:32 +02:00
providers_test.go test(auth): cover env-var string booleans for oidc providers (#2599) 2026-04-11 19:10:26 +00:00