DEV Community

shubhamak2
shubhamak2

Posted on

Electron App: How to authorize domain on Firebase

In my electron app, I have integrated the firebase google sign-in authentication method. This method is working properly in the local environment. But after packaging the application (for Linux environment), I am getting an error 'Error while login into Gmail account FirebaseError: Firebase: Error (auth/unauthorized-domain)'. When I tried to find the cause of this error, I found that we have to add the respective domain to the authorization tab but the firebase app domain is already added in settings. As you can see in the screenshot.
Image description

What else do I need to add here in the domain setting?

Top comments (0)