Authenticate with email and password
Changed on#2587 p19 two-step (migration 665): when the person has two-step on and this browser is not trusted (the httpOnly median_trusted_browser cookie), a correct password answers { twoStepRequired: true, challengeToken, expiresIn: 300 } with no tokens and no cookie; finish with POST /auth/two-step/verify or /auth/two-step/recover. Google sign-in (POST /auth/google) follows the same rule.
Request
- Base URLhttps://api.medianfi.com/api/v1
- Authnone required
Request body
Example request
{
"email": "alice@example.com",
"password": "supersecret123"
}Response
Authentication successful, or a two-step challenge
#2587 p19: a correct password with two-step on; finish with /auth/two-step/verify or /recover within expiresIn seconds.
Example response
{
"success": true
}Changes
- breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
datafrom the response with the status - warning
removed the optional property
successfrom the response with the status
1 more change in this revision
- breaking