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.:



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 = "",

   Policy = new DiscoveryPolicy


       ValidateIssuerName = false,

       ValidateEndpoints = false




var disco = await client.GetDiscoveryDocumentAsync(discoveryDocumentRequest);

For more information check the IdentityModel docs.