Configuration for the OIDC discovery metadata cache. Applies in both static and resolver modes.
const auth0 = new Auth0Client({ domain: myDomainResolver, discoveryCache: { ttl: 300, // 5-minute TTL maxEntries: 50, // Cache up to 50 issuers }}); Copy
const auth0 = new Auth0Client({ domain: myDomainResolver, discoveryCache: { ttl: 300, // 5-minute TTL maxEntries: 50, // Cache up to 50 issuers }});
Optional
Maximum number of cached issuers. Default: 100. LRU eviction.
Time-to-live for cached discovery metadata in seconds. Default: 600 (10 minutes).
Configuration for the OIDC discovery metadata cache. Applies in both static and resolver modes.
Example