Docs
Live demo
POST/api/v2/auth/password

Sign in to the console with the Principal password of a person. The login is the email or username of the person in any organization. The answer always parks the sign-in behind the second factor: a person with a factor confirms it, a person without one sets it up, and redirect is the second-factor page to open. The session opens only the organizations whose rules allow password sign-in.

Request body application/json · PasswordLoginRequest

Required2 of 3 fields
loginstringrequired
passwordstringrequired
Optional1 field
redirectstring

Responses

200

The password is right, the second-factor check is started

PasswordLoginResponse · 1 field
redirectstringrequired
400

The login or the password is missing.

401

The login or the password is wrong, or the password has expired.

403

Password sign-in is closed: the second factor is off on this installation, or Principal password is off on the sign-in page.

404

Password sign-in isn't available on this installation.

429

Too many password sign-in attempts from this client address or for this login (request.rate_limited).

Common errors: 413 500 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close