Error after firebase authentication using facebook

I’m trying to authenticate user using facebook through firebase
image
but getting [object Object] error.
image
My code for login is
facebookLogin(): void {
this.fb.login(['email']).then( (response) => {
const facebookCredential = firebase.auth.FacebookAuthProvider
.credential(response.authResponse.accessToken);
firebase.auth().signInWithCredential(facebookCredential)
.then((success) => {
alert("Firebase success: ");
this.userProfile = success;
})
.catch((error) => {
alert(error);
});
}).catch((error) => {alert(error); });
}

Any help?

If you go through Chrome > Tools > Inspect Devices > Console you can see the console and let me know what error it’s showing.