Mix LogoMix

Start OAuth authentication

Initiate OAuth authentication flow for a specific provider

Initiate OAuth authentication flow for a specific provider

POST
/api/auth/oauth/{provider}

Path Parameters

providerstring

Provider name (currently only 'anthropic')

Response Body

from mix_python_sdk import Mixwith Mix() as mix:    res = mix.authentication.start_o_auth_flow(provider="<value>")    # Handle response    print(res)
{
  "auth_url": "string",
  "message": "string",
  "state": "string"
}
{
  "error": {
    "code": 0,
    "message": "string",
    "type": "bad_request"
  }
}
{
  "error": {
    "code": 0,
    "message": "string",
    "type": "bad_request"
  }
}