You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to incorrect permission settings within Facebook, I was receiving null as an email for users signed in with Facebook (which was shown as a - (hyphen) in Firebase Console). Now I have fixed those settings, and re-signing in updates user's email in Firebase Console. However, within the app currentUser.email still returns null. Reloading the user doesn't refresh the email, nor does signing out and back in. I see two possible solutions how to refresh the email:
Completely delete and re-create account.
Invoke changeEmail and manually enter the right email.
And both of them cannot be used without bothering the users. My question is - is there any other options to refresh user's email? Shouldn't reload do that?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Due to incorrect permission settings within Facebook, I was receiving
null
as an email for users signed in with Facebook (which was shown as a-
(hyphen) in Firebase Console). Now I have fixed those settings, and re-signing in updates user's email in Firebase Console. However, within the appcurrentUser.email
still returnsnull
. Reloading the user doesn't refresh the email, nor does signing out and back in. I see two possible solutions how to refresh the email:changeEmail
and manually enter the right email.And both of them cannot be used without bothering the users. My question is - is there any other options to refresh user's email? Shouldn't
reload
do that?Thanks in advance for any help!
Beta Was this translation helpful? Give feedback.
All reactions