[SOLVED] Invalid Scheme. The scheme used (tauri) in the Origin (tauri://localhost) ...
- 0
- Resolved
- 5
- Web
Hi, I'm trying to build an app with appwrite and tauri, my webstack is react and typescript, when connecting I get the following error.
"Invalid Scheme. The scheme used (tauri) in the Origin (tauri://localhost) is not supported. If you are using a custom scheme, please change it to appwrite-callback-<PROJECT_ID>"
Has anyone experienced this before?
I think you need to change the scheme to deeplink to your app in appwrite-callback-<YOUR_PROJECT_ID> Maybe you will find useful info here: https://v2.tauri.app/plugin/deep-linking/
Hi, thanks for the feedback, I've looked at that, it looks like in the web interface, it uses tauri: instead or http: or https: for the URL, which causes some confusion on the SDK. I'm using username/password, in tauri dev mode the app works fine, but when I do a release, no luck.
I've managed to get this working, thank you.
I’m happy for you, I’m sorry that i couldn’t help you more but I don’t know tauri really well
what was the solution?
Oh, also forgot to add that you have to change fetch to this.fetch in the call method in the Client class.
[SOLVED] Invalid Scheme. The scheme used (tauri) in the Origin (tauri://localhost) ...
Hi <@566241373318152202> I actually got this issue too in this day, stucked almost 2 days to figure the error. Your solution really help me and fixed the issue happened, really appreciate and most thank you! I use same environment like you Tauri framework with Next JS frontend. Somehow with that solution, it cause another error that also happened in development environment. Have you faced this issue? Really appreciate for the help cuz I'm stucked quite amount of time right now:
TypeError: window.TAURI_INTERNALS.unregisterCallback is not a function. (In 'window.TAURI_INTERNALS.unregisterCallback(this.id)', 'window.TAURI_INTERNALS.unregisterCallback' is undefined)
Hi, sorry, no I have not seen that error. maybe check with the Tauri community.
yeah sure thanks
Intresting?
How come with eletron.js Appwrite email and passwords works fine but on with tauri it fails
Recommended threads
- Appwrite Sites: ERR_TOO_MANY_REDIRECTS o...
So, my domain was working perfectly fine with Vercel. I was using cloudflare CDN (still am) but CNAME was DNS-only. I switched over to appwrite, CNAME is still ...
- Project restoration button in console
The project restore button in console is taking no effect, i have tried several times and still nothing, it gives same popup if i reload
- 1.9.5 Migration problem
1.9.5 migration problem after run migration command only openruntimes-executor