firebase / firebase/quickstart-js

Auth error: A network error (such as timeout, interrupted connection or unreachable host) has occurred.

Open
#467 11 comments 8 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5.4k
Forks
3.7k
Avg merge
2d 13h
Merged PRs (30d)
6

Description

Hi, I have searched everywhere trying to resolve this error without success. I'm using Firebase in a chrome extension. I'm using signInWithPopup(provider) to sign in my users using their google account. It works for some of my users without any issues but also fails for thousands of users with the aforementioned error. In my development environment the error doesn't occur.
I tried adding my custom auth domain (auth.mysite.com) to the content security policy:
`"content_security_policy":"script-src 'self' https://www.gstatic.com/ https://*.firebaseio.com https://www.googleapis.com https://auth.mysite.com; object-src 'self'" `
, but it didn't change anything.
I found online that it's suggested to remove `` tag, in case your action button is inside a `` but it's not the case for me, my action button looks like this:
`

`

Any help is much appreciated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.