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
How to use GitHub
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.
user_oidc/lib/Service/DiscoveryService.php
Line 22 in 1dfc32a
Describe the solution you'd like
An
occcommand 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