firebase/firebaseui-web-react

StyledFirebaseAuth does not render with firebase ^9.8.1

relativityboy opened this issue · 3 comments

Description

StyledFirebaseAuth renders no visible output when using firebase: ^9.8.1. No errors in console.

The below illustration is from my local dev environment. Not logged in. HTML is output, but not enough to actually construct a UI.
image

Configuration looks like the following

const uiConfig = {
    signInFlow: 'popup',
    signInOptions: [
        GoogleAuthProvider,
        EmailAuthProvider
    ],
    callbacks: {
        // Avoid redirects after sign-in.
        signInSuccessWithAuthResult: () => false,
    },
}

Have tested firebase auth lib itself and it works as expected for logging users in/out.

I speculate the problem is how StyledFirebaseAuth handles the functional approach of firebase 9+.

same issue here

This issue still happen ?

I managed to get StyledFirebaseAuth working in one project with firebase 9.12.1, firebase-admin 10.0.2, and react-firebaseui 6.0.0. Still, now I have an identical setup in a new project and now the StyledFirebaseAuth does not render anymore. No errors. Seems pretty random, the quality of the Firebase looks pretty low.