Aurion Docs
Api

Login

Authenticate with an Azure AD ID token. The Azure AD token is validated, and if the user exists in the system and is active, an application JWT is returned. On first login, the user's Azure AD identity (tid + oid) is bound to their app user record. Rate limited: 10 requests per minute per IP.

POST
/api/v1/auth/login

Authenticate with an Azure AD ID token.

The Azure AD token is validated, and if the user exists in the system and is active, an application JWT is returned.

On first login, the user's Azure AD identity (tid + oid) is bound to their app user record.

Rate limited: 10 requests per minute per IP.

Request Body

application/json

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/auth/login" \  -H "Content-Type: application/json" \  -d '{    "azure_token": "stringstringstringstringstringstringstringstringst"  }'
{
  "access_token": "string",
  "expires_in": 0,
  "token_type": "Bearer",
  "user": {
    "email": "string",
    "full_name": "string",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "is_azure_bound": true,
    "role": "super_admin"
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}