Closed bcoghe closed 1 month ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Hi @bcoghe, it seems that you’ve done some research before reaching out to this channel. Let me commend you for doing that.
Per checking, there were similar issues reported before in #4256. One of our engineers mentioned that this error typically occurs when the auth helper code and the main application are on different origins. Have you tried checking one of the recommended approaches for using signInWithRedirect()
in this documentation and see if it resolves your issue?
If nothing works for you, would you mind describing the setup of your app and additional steps that I can use to replicate the issue? Also, please include the browser version that you’re using.
Hey @bcoghe. 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!
Since there haven't been any recent updates here, I am going to close this issue.
@bcoghe if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.
Operating System
MacOS 14.5 (23F79)
Environment (if applicable)
Chrome and Safari
Firebase SDK Version
10.13.1 (but also my previous version)
Firebase SDK Product(s)
Auth
Project Tooling
React app
Detailed Problem Description
I used Firebaseui before for authentication with Google. Two weeks everything was working. However, today i tested again and it broke. I reduced this to a minimal app and no errors are logged.. After some debugging, i get the following in one of the links the authentication redirects me to:
Unable to process request due to missing initial state. This may happen if browser sessionStorage is inaccessible or accidentally cleared. Some specific scenarios are - 1) Using IDP-Initiated SAML SSO. 2) Using signInWithRedirect in a storage-partitioned browser environment.
I checked, double checked the configs and i tried in different browsers and incognito mode. All out of ideas here..
Not sure if related, but in the network logs, i see the init.json request has failed as well. (Request URL: https://jointly-lp2.firebaseapp.com/__/firebase/init.json Request Method: GET Status Code: 404 Not Found)
Steps and code to reproduce issue