MCP Gateway
ApiAuthentication

Initiate OAuth login

Start the OAuth authorization flow by redirecting the user to the provider's authorization page. Supports optional invitation token for signup.

GET
/api/v1/auth/login/{provider}

Path Parameters

provider*string

Query Parameters

redirect?string

URL to redirect to after login

Default"/"
invitation_token?|

Invitation token for new user signup via invitation

setup_flow?boolean

Whether this is a setup verification flow

Defaultfalse

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/auth/login/string"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}