I have managed to initialize the widget and the sing-in buttons are showing just fine:

But when I click on them, nothing happens... No popup, no error in the console.
The config I use:
return {
callbacks: {
signInSuccessWithAuthResult: function (authResult, redirectUrl) {
// User successfully signed in.
// Return type determines whether we continue the redirect automatically
// or whether we leave that to developer to handle.
console.log("success " + authResult);
return false;
},
uiShown: function () {
// The widget is rendered.
console.log("widget show");
},
signInFailure: function(error) {
console.log("singin failure "+ error);
},
},
// Will use popup for IDP Providers sign-in flow instead of the default, redirect.
signInFlow: 'popup',
// signInSuccessUrl: '/',
signInOptions: [
// Leave the lines as is for the providers you want to offer your users.
firebase.auth.GoogleAuthProvider.PROVIDER_ID,
firebase.auth.EmailAuthProvider.PROVIDER_ID,
],
autoUpgradeAnonymousUsers: true,
};
};
And the code to load the widget:
var that = this;
firebase.auth().onAuthStateChanged(function (user) {
console.log("auth change: " + user)
if (user == null || ui.isPendingRedirect()) {
// The start method will wait until the DOM is loaded.
that.signinUI.start('#firebaseui-auth-container', that.getAuthUIConfig());
}
that.initAuth(user);
});
Any idea how I can debug this problem ?
I have managed to initialize the widget and the sing-in buttons are showing just fine:

But when I click on them, nothing happens... No popup, no error in the console.
The config I use:
And the code to load the widget:
Any idea how I can debug this problem ?