AxAxolite Docs
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/json

Parameters

NameLocationTypeRequiredDescription

Request schema

FieldTypeRequiredDescription
client_iduuidYesClient id.
client_secretstringYesClient secret.
client_statestringNoOpaque launcher state.

Response schema

FieldTypeRequiredDescription
auth_request_iduuidYesPoll id.
auth_urlstringYesOpen 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.