Starts authentication by the user email address and sends a confirmation code to their email address. The code lifetime is 3 minutes.
This call is used only with the Complete auth by email call.
The workflow of using this call:
send_link
is true
, after this request, you should send the Get confirmation code request to make email contain the confirmation code and link.
b. If the parameter send_link
is false
or not passed, the email will contain the confirmation code only.projectId required | string <uuid> Login project ID from Publisher Account. |
login_url | string URL to redirect the user to after account confirmation, successful authentication, two-factor authentication configuration, or password reset confirmation. Must be identical to the Callback URL specified in the URL block of Publisher Account. For the scenario of a login error, the value should be identical to the the Error callback URL specified in the URL block of Publisher Account. To find the settings, go to Login > your Login project and select the Callback URLs section in the upper block. Required if there are several Callback URLs. |
payload | string Your custom data. The value of the parameter will be returned in the |
with_logout | string Default: "0" Shows whether to deactivate the existing user JWT values and activate the one generated by this call. Can have the following values:
|
OK
bad request
Not Found
Unprocessable Entity
Too Many Requests
{- "email": "string",
- "send_link": true
}
{- "operation_id": "string"
}