Authentication

CloudPulse uses one identity model for the web app and the REST API.

Browser (SPA)

Scripts & integrations (Bearer)

Use the product API host. Login returns a JWT; send it on every request:

POST https://api.cloudpulse.host/v1/auth/login
Content-Type: application/json

{ "email": "you@example.com", "password": "…" }

Authorization: Bearer <token>
GET https://api.cloudpulse.host/v1/auth/me

If both a cookie and Authorization are present, the Bearer token wins.

SSO (OIDC)

MFA

Users with MFA enabled complete POST /v1/auth/mfa/verify after password login before a full session is issued. Setup / enable / disable require an active session (and password when the account has one).

Session policy

Roles & scopes

See Roles & scopes for capability details. In short: