Back

Email verification + deep link?

  • 0
  • React Native
djimon
10 Aug, 2024, 14:23

Hi, Im currently trying to figure out how can I set up deep linking redirect whenever the user wants to confirm his email by clicking on the link in the email. I am super confused because the account.createVerification() expects either localhost, cloud.appwrite.io, appwrite.io as url host which I don't get why. Like how am I supposed to create my own redirect if I cannot pass the user to my own domain? How do I go on from here?

[AppwriteException: Invalid url param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io]

TL;DR
Developers are having trouble setting up email verification with deep linking redirect. The issue is due to restrictions within account.createVerification() function. The solution is to modify the allowed URL hosts in the function's parameters to include the developer's domain for successful redirection.
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