OIDC session expires despite tokenExpirationHours

Author: alanmilinovicCreated Sep 24, 2026Updated Sep 26, 2026
Labelsenhancement

Description

Using File Browser Quantum "v2.0.8-beta" with Authentik OIDC. Despite "tokenExpirationHours: 168", the session expires unexpectedly.

Expected behaviour

The session should remain valid for 168 hours and be automatically renewed while using File Browser.

What is happening instead?

"/api/auth/renew" initially returns "200", but eventually the renewal requests stop.

In the test, "/api/users?username=self" returned "401". The OIDC login was not triggered immediately — it took approximately 5 minutes before the re-login happened.

There was no failed "/api/auth/renew" request before the "401"; the renewal requests simply stopped.

How to reproduce?

  1. Run File Browser Quantum "v2.0.8-beta".
  2. Configure Authentik as the OIDC provider.
  3. Set "tokenExpirationHours: 168".
  4. Log in through OIDC.
  5. Close the browser and reopen it after 5 minutes.
  6. Eventually, "/api/auth/renew" stops being called and "/api/users?username=self" returns "401".

Additional context

Version: "v2.0.8-beta" OIDC provider: Authentik "tokenExpirationHours: 168"

Files

Logs and full configuration can be provided if needed.

Source: gtsteffaniak/filebrowser