I developed a website from Firebase Hosting. I have a problem when users do not allow access to their emails from Facebook Authentication, because the email was blanked '-'.
My code:
var facebookAuthProvider = new firebase.auth.FacebookAuthProvider();
facebookAuthProvider.addScope('email');
firebase.auth().signInWithPopup(facebookAuthProvider);
Although I added the email to the scope, user can disallow it. How can I check, before the login, if user allowed or disallowed the email ?
Thank you.