Skip to content

JWKS cache invalidation occ command#1223

Description

@AR2000AR

How to use GitHub

  • Please use the 馃憤 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature request

Which Nextcloud Version are you currently using: (see administration page)
31.0.9 (docker)

Is your feature request related to a problem? Please describe.
When re-configuring Authentik, the JWKS can change. Nextcloud won't be able to log in for 1h when it happen.

public const INVALIDATE_JWKS_CACHE_AFTER_SECONDS = 3600;

Describe the solution you'd like
An occ command to purge/invalidate the JWKS would be nice as a tool admins can use when re-configuring the upstream OpenID server.

Describe alternatives you've considered
An option to disable the JWKS cache or a force invalidation if a error occured using the cached value like RuntimeException Invalid JWKS: missing "keys" array.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions