Skip to content

Empty providerData #23

Closed
Closed

Description

@gregleleu

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!

Activity

  1. gregleleu commented on Feb 23, 2022

    @gregleleu
    Author
  2. gregleleu commented on Feb 24, 2022

    @gregleleu
    Author

    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.

  3. JohnCoene commented on Feb 24, 2022

    @JohnCoene
    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?

  4. gregleleu commented on Feb 24, 2022

    @gregleleu
    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)

  5. JohnCoene commented on Feb 24, 2022

    @JohnCoene
    Owner

    Emails + password does not send emails.

  6. gregleleu commented on Feb 24, 2022

    @gregleleu
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions