Firebase Auth is no longer working in incognito mode
[REQUIRED] Describe your environment
- Operating System version: Windows 10
- Browser version: Version 81.0.4044.129 (Official Build) (64-bit)
- Firebase SDK version: 7.13.1
- Firebase Product: auth
[REQUIRED] Describe the problem
Multiple of our users has reported, they are no longer able to login and use our product... After some investigation, it seems to happen for all the users, which accesses our platform in incognito mode.
It seems to no longer be possible to use the firebase auth SDK in Google Incognito mode. The exact same users can log in with the exact same credentials or SSO integrations through firebase in non-incognito.
Steps to reproduce:
If users try to use firebase authentication on our platform in incognito mode, the error:
{code: "auth/web-storage-unsupported", message: "This browser is not supported or 3rd party cookies and data may be disabled.", a: null}
is thrown from the SDK.
I believe it potentially can be an issue in a newer Chrome update, as I know Google has been experimenting with having Chrome block 3rd Party Cookies (I believe they experimented with it in version 83 of Chrome, which I am not using though).
@opolo which sign in method and provider are you using? We are aware that popup-based signs in particular require localStorage and will not work when it is disabled. As a potential workaround you can try signing directly with the provider (Google, Facebook, etc) using their SDK and then signing into Firebase using signInWithCredential().
Hey @opolo. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
I just started getting this error with Google Chrome 83 today, trying to sign in via a Google account while in Incognito mode.

Just updated to Chrome Version 83.0.4103.61 (Official Build) (64-bit) Our firebase auth integration no longer appears to work..investigating. This is not in incognito mode.
Still works with Chrome Canary Version 85.0.4157.4 (Official Build) canary (64-bit), Firebox, and Safari.
Update: Clearing Site Data instantly allowed Firebase Auth UI to appear correctly. Not sure of the specific cause. Sorry for the issue noise. Cheers.
@avolkovi it was one of our users that faced this issue; I do not believe I can get the information again. Perhaps the comments by @brianmhunt or @tmcf helps.
Also getting this error after upgrading to Chrome 83.0.4103.61 (OSX).
- Firebase v4.12.0
- GoogleAuthProvider
- signInWithRedirect
- incognito mode
Also getting this issue after updating to Chrome 83. It had been working consistently in incognito mode before that. Same error message as @brianmhunt
{
"code": "auth/web-storage-unsupported",
"message": "This browser is not supported or 3rd party cookies and data may be disabled."
}
Also getting this issue after updating to Chrome 83. It had been working consistently in incognito mode before that. Same error message as @brianmhunt
{ "code": "auth/web-storage-unsupported", "message": "This browser is not supported or 3rd party cookies and data may be disabled." }
Same problem with my app. It happens in incognito mode randomly and for some users it is consistent.
This is happening to my app - https://app.zenuml.com . For myself, it is consistent on Chrome - Version 83.0.4103.106 (Official Build) (64-bit). Haven't heard anything from our users.
It works fine on Chrome Canary Version 85.0.4175.0 (Official Build) canary (64-bit). So I am not sure if it is the browser's issue or not.
Sorry, I think this may have been closed by mistake. Re-opening.
If you change the Chrome browser cookie settings from the default value of "Block third-party cookies in Incognito" to "Allow all cookies", Google authentication then succeeds in Chrome incognito:

(Not that this should be a work-around, of course -- just as additional information for the issue.)
Note also that once all cookies have been allowed, authentication then triggers console warnings regarding a missing 'SameSite' attribute:

I'm also having this issue only in Chrome in Incognito:
- Version 83.0.4103.116 (Official Build) (64-bit)
- MacOS 10.15.5 (19F101)
Happy to provide more info to debug if needed.
Any solutions?? I am facing the same issues
Any solutions?? I am facing the same issues
I am facing the same issue intermittently. But, if I login using this sample app - https://fir-ui-demo-84a6c.firebaseapp.com/ and try logging in my app, it seems to work. You can use this as a workaround, if it is happens occasionally.
Any solutions?? I am facing the same issues
I am facing the same issue intermittently. But, if I login using this sample app - https://fir-ui-demo-84a6c.firebaseapp.com/ and try logging in my app, it seems to work. You can use this as a workaround, if it is happens occasionally.
I am able to login normally but not in incognito mode
I deleted my previous comment. I will try to give this issue more light
chrome://settings/cookies?search=allow+all
Allow All Cookies !
(Repeating my previous comment that changing the client browser settings to "allow all" -- or per the comment of @curiouscod3 -- is NOT an acceptable work-around. We cannot expect our users to make this kind of change in their browsers.)
I have 10K users of my application. @curiouscod3 are you suggesting that I should ask all my users to do that changes in there browser seriously????
tracking internally via b/161150773