Skip to content

feat(auth): add separate user-info cache TTL #615

Closed

Description

@uniqueg

Problem

User-info responses share security.auth.cache_ttl with discovery and JWKS caching, so group revocation cannot be faster than JWKS refresh. Each process caches separately, which is not documented.

Proposal

  • Add security.auth.userinfo_cache_ttl (default: the value of cache_ttl, so no change).
  • Document in docs/authentication.md that each process/replica caches separately, so an admin removal can take up to the TTL to apply, at different times per replica.

Acceptance criteria

  • Tests for default inheritance and an explicit value; 100% coverage.
  • Docs updated; mkdocs build --strict passes.

Activity

  1. added this to the v0.21.0 milestone on Nov 3, 2026
  2. added
    priority: medium
    status: triage
    type: feature
    workload: hours
    on Nov 3, 2026
  3. added
    status: in progress
    and removed
    status: triage
    status: in progress
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: featureworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions