Auth
Confirm an attribute change
POST
/auth/verifyVerifies a pending email or phone change.
Parameters
AttributeChangeConfirmParamsattribute_name?string- The attribute to change: email or phone.
tokenstring- The verification code.
email?string- The pending email address.
phone?string- The pending phone number.
options.redirectTo?string- Redirect destination after confirmation.
options.captchaToken?string- Captcha verification token.
Returns
userPublicUser | nullsessionAccessTokenResponse | null