|Modifier and Type||Method and Description|
public static JwtDecoder fromOidcIssuerLocation(java.lang.String oidcIssuerLocation)
JwtDecoderusing the provided Issuer by making an OpenID Provider Configuration Request and using the values in the OpenID Provider Configuration Response to initialize the
public static JwtDecoder fromIssuerLocation(java.lang.String issuer)
JwtDecoderusing the provided Issuer by querying three different discovery endpoints serially, using the values in the first successful response to initialize. If an endpoint returns anything other than a 200 or a 4xx, the method will exit without attempting subsequent endpoints. The three endpoints are computed as follows, given that the
issueris composed of a
host/.well-known/openid-configuration/path, as defined in RFC 8414's Compatibility Notes.
issuer/.well-known/openid-configuration, as defined in OpenID Provider Configuration.
host/.well-known/oauth-authorization-server/path, as defined in Authorization Server Metadata Request.