OIDC SSO callback

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://api-docs.kitsu.cloud/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Kitsu API MCP server": {
    "url": "https://api-docs.kitsu.cloud/mcp"
  }
}

Close
GET /auth/oidc/callback

Handle the OIDC SSO callback. Exchanges the authorization code, validates the ID token, then logs in the person bound to the token issuer and subject. On first login, the person holding the token email is bound to them, or created when none exists.

Responses

  • 302

    Login successful, redirect to home page

  • 400

    OIDC not enabled, email not verified or account bound to another identity

GET /auth/oidc/callback
curl \
 --request GET 'http://api.example.com/auth/oidc/callback' \
 --header "Authorization: $API_KEY"