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

Parameters

NameLocationTypeRequiredDescription
client_idpathuuidYesClient id.
post_login_redirect_uribodystringYesLauncher callback URL.

Request schema

FieldTypeRequiredDescription
post_login_redirect_uristringYesWhere Axolite should return after consent.

Response schema

FieldTypeRequiredDescription
module_keystringYesAlways '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.