Back

Get secret from account.createVerification()

  • 0
  • Accounts
  • Web
  • Cloud
larkx
7 Oct, 2023, 16:23

Hi, the secret key in the token object is returning empty. How do I resolve this so that I can call account.updateVerification() lateR?

TL;DR
The user is having trouble getting the secret key from the account.createVerification() function. The secret key is necessary to call account.updateVerification() later.
darShan
7 Oct, 2023, 16:32

The secret is sent to the user's email if you've request email verification. When the user clicks the link, you should handle this via update verification with a deeplink if developing for mobile.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more