Skip to main content
POST
Do password login
Deprecated. Please use the Flow API instead. What’s the Flow API?.
Perform a password login for the user identified by user_id and a given password. This endpoint is only available if passwords have been enabled via configuration option passwords.enabled.

Body

application/json
user_id
string<uuid4>
required

The ID of the user to perform a password login for

Example:

"c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"

password
string
required

The actual password, its minLength defaults to 8 but can be configured through the password.min_password_length option.

Required string length: 8 - 72
Example:

"9UnCBEx924a45P7p"

Response

Successful password login