Reloading OIDC metadata - change to default 4 hours

Mak, Steve makst at
Tue Aug 11 15:46:46 UTC 2020

Hi all,

I'm setting up the OIDC v2 extension and I can't find where to adjust the client metadata reloading timer.

It currently defaults to 4 hours (14400 seconds in the code) and I can't find where to set this globally for all clients.

I see in the git source this comment:

     * Refresh interval used when metadata does not contain any validUntil or cacheDuration information. Default value:
     * 14400000ms

Do I need to set a "cacheDuration":"(time in ms)" for every client I add or is there some other way to do this?

I've also tried adding p:cacheDuration="PT30M" to various places in the oidc-metadata-providers.xml and that doesn't work either.
I've also tried setting the p:reloadCheckDelay="30M" in the services-oidc.xml file.


More information about the users mailing list