firebaseui-web-react icon indicating copy to clipboard operation
firebaseui-web-react copied to clipboard

StyledFirebaseAuth does not render with firebase ^9.8.1

Open relativityboy opened this issue 2 years ago • 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+.

relativityboy avatar May 13 '22 01:05 relativityboy

same issue here

chaoli23 avatar Jun 02 '22 18:06 chaoli23

This issue still happen ?

thanhtutzaw avatar Jul 12 '22 12:07 thanhtutzaw

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.

jarppe avatar Dec 10 '22 13:12 jarppe