Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty providerData #23

Closed
gregleleu opened this issue Feb 23, 2022 · 6 comments
Closed

Empty providerData #23

gregleleu opened this issue Feb 23, 2022 · 6 comments

Comments

@gregleleu
Copy link

Hi,
I'm getting an empty list in f$get_signed_in()$response$providerData where previously I would get microsoft.com or other providers being used.
But confusingly when I reload the page ("session" persistence) the providerData field is filled.
I haven't been able to figure out why this is happening :(

(I'm using this to check which provider is being used, if it is email then I check whether the email has been verified).

thanks!

@gregleleu
Copy link
Author

@gregleleu
Copy link
Author

gregleleu commented Feb 24, 2022

After a lof of research, it's actually a bug in firebase.js reported here firebase/firebaseui-web#917 and fixed with version 9.6.6 https://firebase.google.com/support/release-notes/js#version_966_-_february_3_2022
I've updated to the latest firebase (9.6.7) and firebaseui (6.0.1) in my fork and it seems to be working just fine. Do you think you could update here?

Side note: I've tried the user.relaod() workaround mentioned in my previous post's link. It works but for some unknown reason flashs a "setInputValue not defined" error through firebaseui just before the UI container gets hidden.

JohnCoene added a commit that referenced this issue Feb 24, 2022
@JohnCoene
Copy link
Owner

Ok, thanks for looking into this.

I just updated firebase to 9.6.7 (latest) and rebuilt. Can you install the latest dev and let me know if that works?

@gregleleu
Copy link
Author

Seems to be working so far, thanks!

(email+password isn't working – no emails are being sent – but I guess it has nothing to do with this)

@JohnCoene
Copy link
Owner

Emails + password does not send emails.

@gregleleu
Copy link
Author

Didn't it use to do it? I tried "f$get_verification_email()" also but to no avail. I fell back to email link
Probably not the right place for this discussion ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants