Skip to content

IAM

MethodPathAuthDescription
POST/api/v1/auth/loginNoneEmail + password login
GET/api/v1/auth/oidc/statusNoneOIDC availability
GET/api/v1/auth/oidc/authorizeNoneRedirect to OIDC provider
GET/api/v1/auth/oidc/callbackNoneOIDC code exchange
GET/api/v1/auth/saml/statusNoneSAML availability
GET/api/v1/auth/saml/loginNoneRedirect to SAML IdP
GET/api/v1/auth/saml/metadataNoneSP metadata XML
POST/api/v1/auth/saml/acsNoneSAML assertion consumer
Terminal window
curl -X POST http://localhost:8080/api/v1/auth/login \
-H "Content-Type: application/json" \
-d '{"email": "admin@example.com", "password": "changeme"}'

Response:

{
"token": "eyJhbGciOiJIUzI1NiIs...",
"user": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"email": "admin@example.com",
"name": "Admin",
"role": "admin",
"has_avatar": false
}
}

Use the returned token in subsequent requests: Authorization: Bearer <token>

{"enabled": true, "authorize_url": "/api/v1/auth/oidc/authorize"}

Redirects the client to the configured OIDC provider for authentication.

Handles the OIDC authorization code exchange. The OIDC provider redirects the user here after authentication. Returns a JWT on success.

{"enabled": true, "login_url": "/api/v1/auth/saml/login"}

Redirects the client to the configured SAML Identity Provider.

Returns the SAML Service Provider metadata as XML. Provide this URL to your Identity Provider during SAML configuration.

SAML Assertion Consumer Service endpoint. The Identity Provider posts the SAML response here after authentication. Returns a JWT on success.