djimonOriginal post
Web Developer
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]
Summary
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.