cURL
Auth API (Programmatic)
Programmatic Login
Authenticate any verified email/password Didit account and receive an RS256 JWT pair (default lifetime 86400s). Console-created email/password accounts can use this endpoint; OAuth-only console accounts must set a password first.
POST
cURL
Authorizations
Body
application/json
Response
Login successful. Returns a fresh JWT pair. Use the access_token as Authorization: Bearer <token> against /organizations/me/... to look up the org_id, app_id, and api_key.