---
title: "Comment by Andreas Wendelboe on \"Building Desktop Applications with Tauri, Nextjs, Firebase\" | Hashnode"
description: "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(au"
url: "https://hashnode.com/posts/building-desktop-applications-with-tauri-nextjs-firebase/63fc7388ce51f9b323334659/comment/6634a823a5dd3ac830ff962c"
---

[Discussion](https://hashnode.com/posts/building-desktop-applications-with-tauri-nextjs-firebase/63fc7388ce51f9b323334659)

Comment [Building Desktop Applications with Tauri, Nextjs, Firebase](https://hashnode.com/posts/building-desktop-applications-with-tauri-nextjs-firebase/63fc7388ce51f9b323334659)

[Andreas Wendelboe](https://hashnode.com/@Pandananana)

[May 3, 2024](https://hashnode.com/posts/building-desktop-applications-with-tauri-nextjs-firebase/63fc7388ce51f9b323334659/comment/6634a823a5dd3ac830ff962c)

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?
