
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!
Recommended threads
- Google Auth Issues in expo react native
I have issues with using appwrite's google auth in my expo react native project. It works perfectly in development mode but when I run the preview profile build...
- OAuth2 Google and Apple throws 409 user ...
Hello everyone. I’m using the cloud appwrite to auth my users. Originally I have had a sign in work successfully and the flow worked well. Suddenly with zero ...
- Custom oauth method on Appwrite cloud
I'm trying to implement an oauth method that isn't available directly on the dashboard in the cloud version of appwrite, do I have to use the local version just...
