AxAxolite Docs
POSTclient_secretMS Auth300 req/min per client

/client/ms-auth/poll

Client polls current auth request status.

Auth & headers

Allowed roles: client-service

content-type: application/json

Parameters

NameLocationTypeRequiredDescription

Request schema

FieldTypeRequiredDescription
client_iduuidYesClient id.
client_secretstringYesClient secret.
auth_request_iduuidYesRequest id from start endpoint.

Response schema

FieldTypeRequiredDescription
statusstringYespending | authenticated | authorized | denied | expired
axolite_session_tokenstringNoPresent when authorized.
mc_usernamestringNoMinecraft username.

Response preview

{
  "status": "string",
  "axolite_session_token": "string",
  "mc_username": "string"
}

Examples

curl -X POST https://axolite-production.up.railway.app/client/ms-auth/poll -H 'content-type: application/json' -d '{"client_id":"<client_uuid>","client_secret":"<client_secret>","auth_request_id":"<request_uuid>"}'

Error variants

HTTP 404

Unknown request

Use the latest auth_request_id from /start.

Was this page helpful?

Feedback is saved locally for now.