w9jds / firebase-action

GitHub Action for interacting with Firebase
MIT License
922 stars 198 forks source link

Update README.md #198

Closed dbeulen closed 10 months ago

dbeulen commented 10 months ago

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.