-
Notifications
You must be signed in to change notification settings - Fork 928
Error: INTERNAL ASSERTION FAILED: Pending promise was never set #7093
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @tanuj101, thanks for reaching out. I tried replicating, but I wasn't able to reproduce the error. If I can replicate the issue, I can have a better look into it. Please share a minimal, but complete sample of a project that I can run locally. |
Hi @jbalidiong, Thanks for responding. I've created a minimal code project where the issue is still reproducible on firefox https://codepen.io/Tanuj69/pen/wvErMrm, Once you add application configuration in |
Thanks for the additional information @tanuj101. I was able to replicate the issue when running it on Firefox. Let me check what we can do for this issue or bring someone from our Auth team here that can provide more context about it. I’ll update this thread if I have any information to share. |
This might be the same issue as #6956. It seems like there is Firefox specific handling in You can probably confirm this by installing something like https://addons.mozilla.org/en-US/firefox/addon/uaswitcher/ and faking a chrome user-agent. If you don't see the failure anymore, probably the same issue. |
It seems due to this issue, the same bug also exists in firebaseui-web library since April 6, 2022. |
Hi Tanuj, |
@bhparijat Thanks, but faking a user-agent that @silas mentioned is not a hack but a proof that there is some firefox specific code that is causing this issue. We can not ask our users to use this extension :) |
@tanuj101 I think @bhparijat is just asking you to confirm/deny that setting the user-agent fixes the issue, not to actually recommend it as a workaround to your users. |
Oh then yes @bhparijat, it does fix the issue. thanks for the clarification @silas. |
This is fixed |
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
When using
signInWithPopup
to sign in with Microsoft, An unhandled error is thrownINTERNAL ASSERTION FAILED: Pending promise was never set
. This issue happens 5/10 times which makes it difficult to offer authentication with Microsoft.P.S. This flow works perfectly fine on google chrome.
Steps to reproduce:
signInWithPopup
function fromfirebase/auth
.Relevant Code:
The text was updated successfully, but these errors were encountered: