vikunja/pkg/modules
kolaente 6f4a21ddad fix(auth): read cached provider for OIDC logout so it never blocks on discovery
BuildEndSessionURL called GetProvider, which unconditionally runs
setOicdProvider -> oidc.NewProvider, a live HTTP GET of the OP's
discovery document (with RetryWithBackoff). On every logout this is an
unnecessary round-trip, and when the OP is unreachable the retries make
/user/logout hang, defeating the "logout stays responsive" guarantee.

The logout path only needs static fields already cached on the provider
(EndSessionURL/LogoutURL/ClientID); it never touches the live
openIDProvider/Oauth2Config. Add a cache-only getCachedProvider accessor
(GetProvider without the trailing setOicdProvider) and have
BuildEndSessionURL use it.

Login/callback keep using GetProvider: token exchange and ID-token
verification legitimately need the live-provider rehydration.
2026-06-19 17:52:45 +02:00
..
auth fix(auth): read cached provider for OIDC logout so it never blocks on discovery 2026-06-19 17:52:45 +02:00
avatar fix(api/v2): reject non-decodable images (e.g. SVG) on avatar upload with 400 2026-06-02 11:55:25 +00:00
background refactor(background): extract download + unsplash-proxy logic for reuse 2026-06-17 11:31:50 +00:00
dump chore(lint): suppress known gosec false positives 2026-03-23 16:23:15 +01:00
humaecho5 feat: vendor humaecho adapter for echo/v5 2026-05-31 12:56:57 +00:00
keyvalue fix(keyvalue): treat undecodable cached values as a cache miss 2026-05-30 13:48:01 +00:00
migration refactor(migration): extract file/CSV migrate orchestration into shared funcs 2026-06-12 08:51:19 +00:00