Skip to main content

Login

POST 

/api/auth/login

Authenticates a user and returns a Bearer token.

Local development credentials:

A deactivated user is refused with 401 before any two-factor code is sent. Wrong two-factor codes count toward the same failed sign-in lockout as wrong passwords.

Request​

Responses​

OK