Auth

Authenticate (login)

Create a new session with password credentials. If MFA is required, mfaRequired: true is returned and the token is limited until MFA verification via /auth/factors/:id/verify.

post/api/cis/v1/auth/sessions

Request

  • Base URL
    https://stalela-platform.vercel.app
  • Auth
    HTTP bearer and API key in header x-tenant-id

Headers

x-tenant-idstring required

Request body

identityIdstring uuid required
passwordstring password required

Response

Session created

sessionIdstring uuid
accessTokenstring

JWT (HS256 or ES256)

expiresIninteger

Token TTL in seconds

refreshTokenstring
mfaRequiredboolean

True if MFA step is needed before full access

Changes

No recorded changes to this operation across all 1 revision of this API.