magic_link): When enabled, the email includes a clickable link with embedded tokensotp): When enabled, the email includes a 6-character OTP code and the response includes otp_session_idmagic_link feature flag is enabled, the email contains a redirect URL with tokens:https://your-frontend.com/?token=<magic-link-token>&ejento_access_token=<ejento-token>&x=1otp feature flag is enabled:otp_session_id/v2/users/verify-otp with both the code and session ID to obtain tokensemail (required): Email address to authenticate/registercreated (boolean): true if a new user was created, false if logging into existing accountotp_session_id (UUID, optional): Included only when OTP mode is enabled. Use this with the OTP code to verify.curl --location -g --request POST 'https:///auth-service/api/v2/users/passwordless-auth' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "string"
}'{
"success": true,
"message": "Login email sent",
"data": {
"created": false
}
}