Thanks for the very nice explanation. I got step 2 to work, and also got a custom token back to my Tauri frontend. However, if I try to signInWithCustomToken(auth, token), I get CORS isues. This is because I have to run auth = getAuth(app), and this fails after Tauri build. How to fix?
I'm following your posts from the first IH about doodlepro. Excellent progress Marc Chen! Keep up!
Many thanks for the article.
Can you elaborate a bit why you choose solution 2 as communication method?
At first look is more code to maintain, more points of failure.
Tauri should work on deeplinking. It would be very nice to have a official outh plugin. I too am working on a tauri project, and I am little disappointed with tauri regarding this matter.
Thanks for an interesting article
Very nice and interesting article Marc. will def try Tauri in an upcoming project. btw tried to signup to doodleboard but kept failing, returned a firebase error.
Pavlo Popov
React, JavaScript, TypeScript, Vercel, Next.js, NestJS, UI&UX Design, Startups
Where do you store token once received in Tauri app?