Skip to main content

Login

LearnWay supports multiple login methods to accommodate diverse client scenarios.

Login with Password

Authenticate with either email or username and password. If TOTP 2FA is active, an intermediate TOTP challenge status is returned.

Endpoint

Request Body

Response (200 OK - Standard)

Response (200 OK - 2FA Required)

When TOTP multi-factor authentication is active on the account:

Login with OTP

Authenticate directly using a one-time verification code sent to the user’s email.

Endpoint

Request Body

Response (200 OK)