POSTclient_secretMS Auth120 req/min per client
/client/ms-auth/start
Validate client credentials and create Microsoft authorization URL.
Auth & headers
Allowed roles: client-service
content-type: application/jsonParameters
| Name | Location | Type | Required | Description |
|---|
Request schema
| Field | Type | Required | Description |
|---|---|---|---|
| client_id | uuid | Yes | Client id. |
| client_secret | string | Yes | Client secret. |
| client_state | string | No | Opaque launcher state. |
Response schema
| Field | Type | Required | Description |
|---|---|---|---|
| auth_request_id | uuid | Yes | Poll id. |
| auth_url | string | Yes | Open in browser for Microsoft login. |
Response preview
{
"auth_request_id": "string",
"auth_url": "string"
}Examples
curl -X POST https://axolite-production.up.railway.app/client/ms-auth/start -H 'content-type: application/json' -d '{"client_id":"<client_uuid>","client_secret":"<client_secret>"}'Error variants
HTTP 401
Bad client credentials
Rotate secret and retry.
HTTP 400
Module not enabled
Enable ms_auth module in dashboard first.
Was this page helpful?
Feedback is saved locally for now.