Skip to content

Error: INTERNAL ASSERTION FAILED: Pending promise was never set #7093

@tanuj101

Description

@tanuj101

[REQUIRED] Describe your environment

  • Operating System version: Ubuntu 22.04.1 LTS
  • Browser version: Firefox 110.0.1
  • Firebase SDK version: 9.14.0
  • Firebase Product: auth

[REQUIRED] Describe the problem

When using signInWithPopup to sign in with Microsoft, An unhandled error is thrown INTERNAL 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:

  • Setup sign-in button.
  • Execute signInWithPopup function from firebase/auth.

Relevant Code:

    const provider = new OAuthProvider('microsoft.com');
    const auth = getAuth();
    const credentials = await signInWithPopup(auth, provider);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions