Files
ocis/changelog/unreleased/bugfix-userinfo-timeout-401.md
Michal Klos dc33f20fee feat: [OCISDEV-1411] don't logout users on a transient IdP userinfo failure (#12999)
* test: [OCISDEV-1411] regression test for userinfo-timeout 401

* fix: [OCISDEV-1411] don't logout users on a transient IdP userinfo failure

* fix: [OCISDEV-1411] don't logout users on a transient IdP userinfo failure

* feat: review

* feat: review

* feat: review
2026-09-29 09:37:48 +02:00

584 B

Bugfix: Return a retryable 503 when the OIDC userinfo call fails transiently

A transient failure of the OIDC userinfo call (a timeout, a network error or a 5xx/429 from the IdP) was mapped to HTTP 401. Clients read the 401 as an invalid session and logged the user out on a brief IdP slowdown.

The proxy now distinguishes a transient IdP failure from an authentication failure and returns a retryable 503 (with Retry-After) for the former, so clients retry and keep their session. A genuinely invalid or expired token still returns 401.

https://github.com/owncloud/ocis/pull/12999