Discovery endpoint

The discovery endpoint can be used to retrieve metadata about theIdentityServer - it returns information like the issuer name, key material, supported scopes etc. See the spec for more details.

The discovery endpoint is available via /.well-known/openid-configuration relative to the base address, e.g.:

 
Denmark
Sandbox:
https://admin.mobilepay.fi/account/.well-known/openid-configuration

 

Note

You can use the IdentityModel client library to programmatically access the discovery endpoint from .NET code. 

var client = new HttpClient();

var discoveryDocumentRequest = new DiscoveryDocumentRequest

{

   Address = "https://api.sandbox.mobilepay.dk/merchant-authentication-openidconnect/.well-known/openid-configuration/",

   Policy = new DiscoveryPolicy

   {

       ValidateIssuerName = false,

       ValidateEndpoints = false

   }

};

 

var disco = await client.GetDiscoveryDocumentAsync(discoveryDocumentRequest);

For more information check the IdentityModel docs.