Skip to main content

Authentication

The daemon's HTTP authentication surface (/auth/*) and the JWT issuance / refresh / revocation flows are not part of the public documentation contract.

Public clients should use the SDK or CLI to obtain and refresh tokens automatically. Manual token handling is not recommended.

NeedUse
Log in from a scriptPython testing SDK - DevClient.with_user(email, password) or pass token= explicitly
Log in from the terminaldigitorn auth login (CLI)
Pair a daemon with a hosted Digitorn accountdigitorn install-local (one-time)

For direct HTTP integration outside of the SDKs, contact your daemon administrator.

Per-user installs

runtime.session_mode: multi (declared in the runtime block) plus the deploy scope (scope=user from the JWT, vs. scope=system) is what makes per-user installs work. The JWT carries the user identity - apps deployed under scope=user are private to the bearer.

See Multi-Tenant Installs for the (app_id, scope, owner_user_id) semantics.