Send Login Code
Last updated
Last updated
POST /auth/login/code
Sends a temporary one time code to the user that can be used during login flow.
If the user has a credential of kind PasswordProtectedKey
a temporary one time code needs to be passed in the loginCode
field. That's because the is unauthenticated and returns the encrypted private key of the user. So we need a first step to verify the identity of the user to prevent anybody from fetching the encrypted private key and trying to brute force it offline.
Auth:Users:Read
Always Required
username
*
String
Email address of the user
orgId
*
String
ID of the target Org
Success
See for common errors.
See for user login errors.