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

🐛 [firebase_auth] Cannot set tenantId back to null after setting it to something else #7896

Open
Rexios80 opened this issue Jan 18, 2022 · 3 comments
Labels
blocked: firebase-sdk platform: all Issues / PRs which are for all platforms. plugin: auth type: bug Something isn't working

Comments

@Rexios80
Copy link
Contributor

Rexios80 commented Jan 18, 2022

Bug report

The platform code does not allow setting the tenantId to null. Even though it defaults to null, setting it back to null after setting it to something else does not work. (There are null checks in the platform code. It's pretty obvious why it isn't working.)

Steps to reproduce

Steps to reproduce the behavior:

  1. Set tenantId
  2. Do some auth method to see that the tenantId is set
  3. Attempt to set tenantId to null
  4. Do some auth method to see that the tenantId is actually not null, but the value set in step 1

Expected behavior

Setting the tenantId to null actually sets it to null in the platform code

Sample project

Working on a PR

@Rexios80 Rexios80 added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Jan 18, 2022
@darshankawar darshankawar added the triage Issue is currently being triaged. label Jan 19, 2022
@darshankawar
Copy link

/cc @Salakar

@Salakar
Copy link
Member

Salakar commented Feb 24, 2022

Blocked on firebase/firebase-android-sdk#3398

@Lyokone Lyokone added the platform: all Issues / PRs which are for all platforms. label Mar 19, 2024
@stee1ix
Copy link

stee1ix commented Mar 20, 2024

I am facing this issue as well. Any solutions to this or workarounds?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked: firebase-sdk platform: all Issues / PRs which are for all platforms. plugin: auth type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants