#Need help with email updation after successful registration

3 messages · Page 1 of 1 (latest)

swift thunder
#

Need help with email updation after successful registration

short gulch
#

There's a separate API for email verification. The flow is to have them update but then use the verify email endpoint to verify their email.

swift thunder
#

so basically i have to use this

    '[email protected]', // email
    'password' // password
);

and call the

const result = await account.createVerification(
    'https://example.com' // url 
);

and then email link page

const result = await account.updateVerification(
    '<USER_ID>', // userId
    '<SECRET>' // secret
);