A deploy using blocking functions (beforeCreate or beforeSignin for Authentication with Identity Platform ) needs the functions admin role.
Deploying without the Administrator role results in the following error:
Functions deploy had errors with the following functions:
auth-beforeCreateUser(europe-west1)
Unable to set the invoker for the IAM policy on the following functions:
auth-beforeCreateUser(europe-west1)
Some common causes of this:
- You may not have the roles/functions.admin IAM role. Note that roles/functions.developer does not allow you to change IAM policies.
Adding the Functions admin role resolved the error.
A deploy using blocking functions (beforeCreate or beforeSignin for Authentication with Identity Platform ) needs the functions admin role.
Deploying without the Administrator role results in the following error:
Adding the Functions admin role resolved the error.