google-iam

How to setup an account as the default service account for Firebase?

ぐ巨炮叔叔 提交于 2020-06-26 12:59:39
问题 I have accidentally deleted my default service accounts for firebase and now my functions are unable to access firestore and are returned with the following error. {"code": "400","details": "Getting metadata from plugin failed with error: invalid_grant: Not a valid email or user ID.","metadata": {"internalRepr": {}}} I have created a service account for firebase again with the relevant permissions, but not sure how to set it up as the default account. Any help would be appreciated. If there

How to setup an account as the default service account for Firebase?

限于喜欢 提交于 2020-06-26 12:59:12
问题 I have accidentally deleted my default service accounts for firebase and now my functions are unable to access firestore and are returned with the following error. {"code": "400","details": "Getting metadata from plugin failed with error: invalid_grant: Not a valid email or user ID.","metadata": {"internalRepr": {}}} I have created a service account for firebase again with the relevant permissions, but not sure how to set it up as the default account. Any help would be appreciated. If there