-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot login to Google Drive with new Tauri native build on Windows #351
Comments
Ideally we'd do (4) using deep linking, but that's not released yet, see tracking issue: tauri-apps/tauri#323 So we'll have to opt for (3) for the time being. |
Just because i saw this issue linked in tauri#323. You can't actually use deep-linking via custom uri schemes for google, they don't allow that for win32 apps. Instead you need a localhost server :/ |
Thanks for jumping in here @FabianLars ! That's good to know. I do have a localhost server for Tauri, but since my app uses indexedDB for storage, the storage is tied to the browser/app. I guess the way around that is by using Tauri storage? Or how do you see that working? |
Yeah, alternatively you can send that value back to the frontend via tauri events https://tauri.app/v1/guides/features/events/ For what it's worth i started exploring a minimal approach to this issue here https:/FabianLars/tauri-plugin-oauth/blob/main/src/lib.rs (don't mind the repo example, it's empty right now because i'm too lazy to actually set up oauth :/ ). Anyway, the way that one works is that it spawns a small tcplistener which you'd use as the redirect_uri handler. It's Rust only for now, but i'll try to add the js api somewhat soon. |
Thanks again @FabianLars , really good pointers 👌 I will implement that sometime in the future 👍 Tracking in #353 |
Issue with WebView from Microsoft (which Tauri uses) and Google I guess. More info here: MicrosoftEdge/WebView2Feedback#1647
There's a few solutions:
[Code] We go back to Electron and stop using Tauri.Apparently I'm overriding the user agent as well in my Electron app.The text was updated successfully, but these errors were encountered: