
Hi everyone,
I am trying to use account.createVerification(url) in a React Native app, but I keep getting this error: My verification request looks like this: But Appwrite only allows specific domains and does not let me use my own hosted verification page.
I’ve tried the following workarounds, but they all fail:
1️⃣ Using an external verification page (Not allowed) 2️⃣ Using a deep link to open the app directly (myapp://verify) (Doesn’t work) 3️⃣ Using an Appwrite Function (Runs on *.appwrite.global, which is also blocked) 4️⃣ Trying to host a page inside Appwrite (No clear way to do this)
So my question is:
How are React Native developers supposed to handle email verification when Appwrite forces verification links to open cloud.appwrite.io, which just shows a login page instead of verifying the email?
the docs say
const promise = account.createVerification('https://example.com/verify');
and not limit the url
but when try my code
await account.createVerification('https://appwrite.zaidmka.com');
its replay this error
(NOBRIDGE) LOG Error: [AppwriteException: Invalid url
param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io, *.appwrite.io]
Thanks!

FYI, it's best to wrap code in backticks to format a bit nicer. You can use 1 backtick for inline code (https://www.markdownguide.org/basic-syntax/#code) and 3 backticks for multiline code (https://www.markdownguide.org/extended-syntax/#syntax-highlighting).

add a web platform that matches the URL you're trying to use

Steven, did you even read my question? I’m asking about Appwrite’s restrictive verification URL policy, not how to format a message. Your Markdown tip is completely irrelevant, and your second reply is vague at best. If you have a real solution to bypass Appwrite’s domain limitation, share it. Otherwise, please don’t derail the discussion with off-topic advice.

Yes, I read your question.
The comment was just an FYI to let you know how to better format messages and make it easier for others to read your post.
Web platforms are additional allowed domains for your project. To add a web platform:
- open your project in the Appwrite Console
- scroll down to Integrations
- Click Add platform
- Click Web app
This will allow you to add the external verification page or Appwrite function.
Deep linking with a url scheme is not supported at the moment.
Recommended threads
- Insights🐛 Bug Report: Missing Tables AP...
Hi. First time appwrite user. i'm building a new mobile app with react-native & expo and decided to use appwrite as a tech for this app. i found the react-nativ...
- Trouble Getting Google oAuth Working in ...
I am having multiple issues. I had auth and google auth working with clerk. But decided to simplify and just go with appwrite. So fare I can get email working b...
- CSV Import Shows Success but Data Not Ap...
I tried importing a CSV file into my PRODUCTS collection. The dashboard shows the message “Import to PRODUCTS completed successfully,” but no data appears in th...
