-
Notifications
You must be signed in to change notification settings - Fork 211
v2 Functions Auth Context does not carry tenant information when using Identity Platform #1574
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
Labels
Comments
I found a few problems with this issue:
|
My bad, the missing section should be there now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[REQUIRED] Version info
node:
20.14.0
firebase-functions:
5.0.1
firebase-tools:
13.11.2
firebase-admin:
12.1.1
[REQUIRED] Test case
See below
[REQUIRED] Steps to reproduce
[REQUIRED] Expected behavior
Tenant id should be in Auth Context of v2 Functions. This seems to be a regression from v1 Functions where the tenantId is carried in context.
[REQUIRED] Actual behavior
Auth Context of v2 Functions does not carry tenant information. This makes it impossible to access a tenant-scoped user's information unless tenantId is tracked outside of the auth stack because Firebase Auth is tenant specific and requires to be initiated with tenantId.
Were you able to successfully deploy your functions?
Yes
The text was updated successfully, but these errors were encountered: