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
Support Multi tenancy #1515
Comments
Hi @posva , having done a bit of digging and testing the issue comes from here:
If that were replaced with something along the lines of: const tenantManager = getAdminAuth(adminApp).tenantManager();
const adminAuth = tenantManager.authForTenant(xxxx); Then the error would go away and the |
Nice, thanks for the help! I'm currently busy with other stuff so feel free to give it a try in your own projects and open a PR with what you found. It could always be helpful in the future to add the feature |
Reproduction
Reproduction on localhost below
Steps to reproduce the bug
VueFire is currently not tenants aware which leads to 500 errors.
On localhost with the auth emulator:
sessionCookies: true
app.vue
nuxt.config.ts
Expected behavior
Full support of multi tenancy for authentication and session cookies
Actual behavior
The
__session
endpoint currently returns a 500 error with the following message when trying to authenticate with a tenantWhich leads to this error:
Additional information
This bug only occurs when session cookies and tenants are combined. Either of these features work when not put together.
Thanks
The text was updated successfully, but these errors were encountered: