Aurion Docs
Api

Dev Login

Development-only login that bypasses Azure AD. ONLY available when: - ENVIRONMENT=development - ALLOW_DEV_AUTH_BYPASS=true This endpoint is for local development and testing only.

POST
/api/v1/auth/dev-login

Development-only login that bypasses Azure AD.

ONLY available when:

  • ENVIRONMENT=development
  • ALLOW_DEV_AUTH_BYPASS=true

This endpoint is for local development and testing only.

Query Parameters

email?string
Default"dev@example.com"
role?string
Default"admin"

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/auth/dev-login"
{
  "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"
    }
  ]
}