mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 01:35:25 +02: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
@@ -41,6 +41,12 @@ func DefaultConfig() *config.Config {
|
||||
Size: 1024,
|
||||
TTL: 10,
|
||||
},
|
||||
JWKS: config.JWKS{
|
||||
RefreshInterval: 60, // minutes
|
||||
RefreshRateLimit: 60, // seconds
|
||||
RefreshTimeout: 10, // seconds
|
||||
RefreshUnknownKID: true,
|
||||
},
|
||||
},
|
||||
PolicySelector: nil,
|
||||
Reva: &config.Reva{
|
||||
|
||||
Reference in New Issue
Block a user