POSTdashboard_tokenClient Modules20 req/min per token
/client/apps/:client_id/modules/ms-auth
Enable the Microsoft auth module and set launcher redirect URI.
Auth & headers
Allowed roles: owner, admin
authorization: Bearer <dashboard_token>content-type: application/jsonParameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| client_id | path | uuid | Yes | Client id. |
| post_login_redirect_uri | body | string | Yes | Launcher callback URL. |
Request schema
| Field | Type | Required | Description |
|---|---|---|---|
| post_login_redirect_uri | string | Yes | Where Axolite should return after consent. |
Response schema
| Field | Type | Required | Description |
|---|---|---|---|
| module_key | string | Yes | Always 'ms_auth'. |
Response preview
{
"module_key": "string"
}Examples
curl -X POST https://axolite-production.up.railway.app/client/apps/<client_id>/modules/ms-auth -H 'authorization: Bearer <dashboard_token>' -H 'content-type: application/json' -d '{"post_login_redirect_uri":"https://launcher.example.com/auth/callback"}'Error variants
HTTP 400
Missing redirect URI
Pass a valid post_login_redirect_uri.
Was this page helpful?
Feedback is saved locally for now.