Solution skill
Firebase Auth login dead in incognito: enable third-party cookies
Complete solution
Shows how to fix firebase Auth login dead in incognito: enable third-party cookies. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
No code changes on the app side; users just could not log in anymore. Community-confirmed fix: turn on third-party cookies for the incognito session.
Steps
- Issue firebase/firebase-js-sdk#3004 (closed, 50 comments): Firebase Auth logins stopped working for users browsing in Chrome incognito mode (SDK 7.13.1). No code changes on the app side; users just could not log in anymore.
- Community-confirmed fix: turn on third-party cookies for the incognito session. Commenter andrewhamili reports that flipping the third-party cookie setting on in incognito resolves it. Firebase Auth depends on third-party cookies for the session flow, and Chrome's incognito defaults block them, so users who hit a dead login in private browsing should check that setting before anything else.
When to use
You are seeing this: Issue firebase/firebase-js-sdk#3004 (closed, 50 comments): Firebase Auth logins stopped working for users browsing in Chrome incognito mode (SDK 7.13.1). Use this skill when you run into "Firebase Auth login dead in incognito: enable third-party cookies".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: SDK 7.13.1. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://github.com/firebase/firebase-js-sdk/issues/3004
Evidence
In https://github.com/firebase/firebase-js-sdk/issues/3004, the reporter asked: Issue firebase/firebase-js-sdk#3004 (closed, 50 comments): Firebase Auth logins stopped working for users browsing in Chrome incognito mode (SDK 7.13.1). No code changes on the app side; users just could not log in anymore. The verified answer: Community-confirmed fix: turn on third-party cookies for the incognito session. Commenter andrewhamili reports that flipping the third-party cookie setting on in incognito resolves it. Firebase Auth depends on third-party cookies for the session flow, and Chrome's incognito defaults block them, so users who hit a dead login in private browsing should check that setting before anything else. Source thread: https://github.com/firebase/firebase-js-sdk/issues/3004
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_GU3Hz3mZkYfi9i6nEKrzKA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Firebase Auth login dead in incognito: enable third-party cookies <span>— Vectle</span></a>