Get ID token claims configuration

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://openapi.logto.io/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Logto API references MCP server": {
  "url": "https://openapi.logto.io/mcp"
}
Close
GET /api/configs/id-token

Get the ID token extended claims configuration for the tenant. This configuration controls which extended claims (e.g., custom_data, identities, roles, organizations, organization_roles) are included in ID tokens.

Responses

  • 200 application/json

    The ID token claims configuration.

    Hide response attribute Show response attribute object
    • enabledExtendedClaims array[string]

      Values are custom_data, identities, sso_identities, roles, organizations, organization_data, or organization_roles.

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Configuration not found.

GET /api/configs/id-token
curl \
 --request GET 'https://[tenant_id].logto.app/api/configs/id-token' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "enabledExtendedClaims": [
    "custom_data"
  ]
}