In firebase-admin v12.2.0, roles/serviceusage.serviceUsageConsumer
is now required in IAM, but is this officially documented?
#2624
Replies: 1 comment
-
Roles are no longer necessary in v13, so the discussion will be closed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From the PR and Issue below, I determined that
roles/serviceusage.serviceUsageConsumer
is now required for IAM in firebase-admin v12.2.0.However, I could not find any explanation in the Firebase Admin SDK documentation. Is this specification change official?
If you call Firebase Admin's
auth().createSessionCookie()
without adding this role, the following error will occur (the message has been edited for readability):Looking at the error message and the content of the issue, it seems to be within the specifications. However,
serviceusage.serviceUsageConsumer
is a powerful permission. Therefore, I would like to avoid applying it when it is not listed in the official documentation.Therefore, I posted a question about whether it is official or not.
Beta Was this translation helpful? Give feedback.
All reactions