GET /.well-known/openid-configuration

Returns the OpenID Connect configuration values from the provider's Well-Known Configuration Endpoint, per the specification (

For additional information about the values returned in the metadata file, see OAuth Well-Known Configuration Information.

Authorization Roles/Permissions: Anyone can run this operation.

This topic includes the following sections:

HTTP Method


Back to top



Back to top

Sample Request

The example below shows a request for the OpenID Connect provider information for Google.

Request URL

Sample request headers

Accept: application/json

Sample request body

Not applicable.

Back to top

Request Headers

For general information on request header values, refer to HTTP Request Headers.

Header Description
Accept application/json

Back to top

Request Parameters


Back to top


If successful, this operation returns HTTP status code 200, with the configuration information for the specified OpenID Connect provider.

Back to top

Sample Response

The sample response below shows successful completion of this operation, for the sample request to the Google OpenID Connect Provider.

Sample response headers

Content-Type: application/json
Date: Thu, 16 Jul 2015 14:25:20 GMT

Sample response body

    "code id_token",
    "code token",
    "code id_token token",
    "id_token token"

Back to top

Response Headers

For general information on response header values, refer to HTTP Response Headers.

Header Description
Content-Type application/json

Back to top

Response Body

The response body is the configuration file for the provider. Structure of the configuration file, and specific values, vary by provider, but in general it includes the following types of information that an OpenID Connect Relying Party will need:

  • Issuer (OpenID Connect provider)
  • Endpoints:
    • Authorization Endpoint
    • Token Endpoint
    • UserInfo Endpoint
    • Revocation Endpoint
    • JWKS URI
  • Response types supported
  • Subject types supported
  • For ID token, signing algorithm values supported
  • Scopes supported
  • For token endpoint, authorization methods supported
  • Claims supported

For additional information about the values returned in the metadata file, see OAuth Well-Known Configuration Information.

Back to top

Error Codes/Messages

If the call is unsuccessful an error code/message is returned. One or more examples of possible errors for this operation are shown below.

Item Value

The resource could not be found. This might happen for one of the following reasons:

  • OpenID Connect is not enabled in the OAuth provider
  • If the host name is not correctly mapped to the OAuth provider
  • The URL is accessed over HTTP but the provider is configured to accept only HTTPS requests
500 An error occurred processing the call.

More information about Akana OAuth API error messages.

Back to top

Related Topics