[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
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.
- Inviting members while SMTP is disabled ...
Issue: https://github.com/appwrite/console/issues/3125 PR: https://github.com/appwrite/console/pull/3126