RemoteJwksRedirectPolicy
RemoteJwksRedirectPolicy
Redirect handling for a remote JWK Set. By default redirects are refused.
ts
interface RemoteJwksRedirectPolicy {
readonly maxRedirects: number;
readonly allow?: (destination: URL, from: URL) => boolean;
}Properties
readonlymaxRedirects:number— Maximum redirects followed per fetch.readonlyallow?: (destination:URL,from:URL) =>boolean— Approves a redirect destination. Default: same origin as the hop it came from. The scheme rule applies first:https, orhttpfor a loopback host.