Class ProviderMetadataController


  • @ApplicationScoped
    public class ProviderMetadataController
    extends Object
    Manages the OpenId Connect Provider metadata
    Author:
    Gaurav Gupta, Rudy De Busscher
    • Constructor Detail

      • ProviderMetadataController

        public ProviderMetadataController()
    • Method Detail

      • getDocument

        public jakarta.json.JsonObject getDocument​(String providerURI)
        Request to the provider https://example.com/.well-known/openid-configuration to obtain its Configuration information / document which includes all necessary endpoints (authorization_endpoint, token_endpoint, userinfo_endpoint, revocation_endpoint etc), scopes, Claims, and public key location information (jwks_uri)
        Parameters:
        providerURI - the OpenID Provider's uri
        Returns:
        the OpenID Provider's configuration information / document