Skip to content
Back

Unknown origin using Capacitor

  • 0
  • Auth
  • Web
  • Apple
  • Cloud
Szh
24 Jul, 2025, 19:51

I’m using capacitor to create native apps from angular source code. It was working a month ago, but now when I try to access appwrite through the app I get “Invaid Origin. Register your new client (localhost) as a new platform on your project console dashboard”. I have it registered. I even deleted it and created it again. It’s working in the web app but not in the iOS app. The origin for the requests is capacitor//localhost, but I can’t add this to the appetite platform. Can someone help ?

TL;DR
Developers using Capacitor are encountering an issue with an "Invalid Origin" message when trying to access Appwrite in their iOS app. The requests are showing an origin of capacitor//localhost, which cannot be added to the Appwrite platform.
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