---
title: "Discussion on \"Building Desktop Applications with Tauri, Nextjs, Firebase\" | Hashnode"
description: "Discussion on \"Building Desktop Applications with Tauri, Nextjs, Firebase\". TL;DR\nIn this article, I will compare Tauri and Electron and explore the possible challenges when applying Tauri to real-world projects, especially when integrating with Firebase.\nBackground\nI'm working on a whiteboard product at https://doodleboard...."
url: "https://hashnode.com/posts/building-desktop-applications-with-tauri-nextjs-firebase/63fc7388ce51f9b323334659"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building Desktop Applications with Tauri, Nextjs, Firebase](https://marcchen.hashnode.dev/building-desktop-applications-with-tauri-nextjs-firebase?utm_source=hashnode&utm_medium=feed)

TL;DR In this article, I will compare Tauri and Electron and explore the possible challenges when applying Tauri to real-world projects, especially when integrating with Firebase. Background I'm working on a whiteboard product at https://doodleboard....

Feb 27, 2023 · 7 min read · marcchen.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[Marc Chen](https://hashnode.com/@marcchen)

@marcchen

  
[View profile](https://hashnode.com/@marcchen)

Founder of https://doodleboard.pro

Founder of https://doodleboard.pro

## Responses 8

Markdown supported · ⌘↵ to post

[Pavlo Popov](https://hashnode.com/@monotype)

[Jun 21, 2024](https://hashnode.com/posts/building-desktop-applications-with-tauri-nextjs-firebase/63fc7388ce51f9b323334659/comment/6675d4503910d8caafb482f9)

Where do you store token once received in Tauri app?

[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?

[Ozenc Celik](https://hashnode.com/@ozenc)

[Mar 3, 2023](https://hashnode.com/posts/building-desktop-applications-with-tauri-nextjs-firebase/63fc7388ce51f9b323334659/comment/640193f552d0c16bb2222976)

I'm following your posts from the first IH about doodlepro. Excellent progress [Marc Chen](https://hashnode.com/@marcchen)! Keep up!

[Luiz Americo Pereira Camara](https://hashnode.com/@blikblum)

[Mar 2, 2023](https://hashnode.com/posts/building-desktop-applications-with-tauri-nextjs-firebase/63fc7388ce51f9b323334659/comment/6400fd4452d0c16bb22217c1)

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.

[uahnbu](https://hashnode.com/@uahnbu)

[Mar 2, 2023](https://hashnode.com/posts/building-desktop-applications-with-tauri-nextjs-firebase/63fc7388ce51f9b323334659/comment/6400a8a152d0c16bb22207d2)

Really cool article. And cool app, too!

[Anurag Dhamala](https://hashnode.com/@anurag814)

[Feb 28, 2023](https://hashnode.com/posts/building-desktop-applications-with-tauri-nextjs-firebase/63fc7388ce51f9b323334659/comment/63fd5e235b969e24bab6e867)

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

[TEYIM ASOBO](https://hashnode.com/@Teyim)

[Feb 27, 2023](https://hashnode.com/posts/building-desktop-applications-with-tauri-nextjs-firebase/63fc7388ce51f9b323334659/comment/63fc789542967b0d40d38cf8)

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.

[Marc Chen](https://hashnode.com/@marcchen)

[Feb 27, 2023](https://hashnode.com/posts/building-desktop-applications-with-tauri-nextjs-firebase/63fc7388ce51f9b323334659/comment/63fc789542967b0d40d38cf8#reply-63fc877942967b0d40d38fef)

Got it, I will check the error then, can you share the error code ? Thx :-)
