mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-23 20:49:13 -05:00
Allow to configure the JWKS refresh settings
This exposes a couple for knobs for the jwks keyfunc module to adjust timeout and refresh intervals.
This commit is contained in:
committed by
Ralf Haferkamp
parent
eb94530433
commit
8229567213
@@ -190,6 +190,7 @@ func loadMiddlewares(ctx context.Context, logger log.Logger, cfg *config.Config)
|
||||
middleware.TokenCacheSize(cfg.OIDC.UserinfoCache.Size),
|
||||
middleware.TokenCacheTTL(time.Second*time.Duration(cfg.OIDC.UserinfoCache.TTL)),
|
||||
middleware.AccessTokenVerifyMethod(cfg.OIDC.AccessTokenVerifyMethod),
|
||||
middleware.JWKSOptions(cfg.OIDC.JWKS),
|
||||
|
||||
// basic Options
|
||||
middleware.Logger(logger),
|
||||
|
||||
Reference in New Issue
Block a user