🔥

FirebaseAuthError: Permission 'iam.serviceAccounts.signBlob' denied

2023/06/24に公開

Firebase Functions

FirebaseAuthError: Permission 'iam.serviceAccounts.signBlob' denied

https://firebase.google.com/docs/auth/admin/create-custom-tokens?hl=ja#service_account_does_not_have_required_permissions

※ v2の場合は、 PROJECT_NUMBER-compute@developer.gserviceaccount.com に権限を追加

https://cloud.google.com/functions/docs/securing/authenticating?hl=ja#authenticating_function_to_function_calls

Discussion