GET /.well-known/openid-configuration – Retrieves the OpenID Connect configuration (/.well-known/openid-configuration).

  • This endpoint provides the OpenID Connect discovery document that describes the OpenID provider's configuration.

Headers:

  • None

Body:

  • None

Path Parameters:

  • None

Query Parameters:

  • None


Status Code Meaning When it Happens
400 Bad Request Missing or invalid fields in request body
500 Internal Server Error Unexpected error
{
"error": "Detailed error message here"
}

GET /.well-known/openid-configuration
      {
"issuer": "https://your-domain",
"authorization_endpoint": "https://your-domain/authorize",
"token_endpoint": "https://your-domain/token",
"jwks_uri": "https://your-domain/.well-known/jwks.json",
"response_types_supported": ["code"],
"subject_types_supported": ["public"],
"id_token_signing_alg_values_supported": ["RS256"],
"scopes_supported": ["openid"],
"token_endpoint_auth_methods_supported": ["client_secret_post"],
"claims_supported": ["sub", "iss", "aud", "exp", "iat"]
}

  • Parameters

    • event: APIGatewayProxyEvent

      The API Gateway event containing the request.

    • context: Context
    • callback: Callback<APIGatewayProxyResult>

    Returns void | Promise<APIGatewayProxyResult>

    A Promise resolving to an API Gateway-compatible response.