Returns an OIDC discovery document, using a TTL-based cache.
If a cached document exists and is within the TTL, returns it immediately. Otherwise, fetches a fresh document and updates the cache.
OIDC issuer URL (e.g. https://auth.example.com)
https://auth.example.com
Cache TTL in milliseconds (default: 1 hour)
Cached or freshly fetched discovery document
Returns an OIDC discovery document, using a TTL-based cache.
If a cached document exists and is within the TTL, returns it immediately. Otherwise, fetches a fresh document and updates the cache.