Verify Added Identity
Changed onVerify OTP for newly added identity.
Uses phone_change/email_change type to verify the identity is being added to the current user (not creating a new user).
For a guest this is the conversion: Supabase makes the anonymous user permanent under the same id. There is no Users row yet, so nothing is written there; the web refreshes its session and calls /auth/register, which creates the row. Answers {"success": true, "converted": true}.
An email guest already has the row: the code is written and marked verified like an account's (an email code sets email_verified), and the answer also carries converted.
Request
- Base URL: https://api.helloaxel.com (the document declares no server; this is the origin it was published from)
- URL: https://api.helloaxel.com/auth/verify-identity
- Auth: HTTP bearer
Request body
Response
Successful Response
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status
- info