Open4

firebase カスタム認証

PenginNekoPenginNeko

Firebase Authenticationは、google ログインや Facebook ログインなどに対応しているが、外部連携が多いシステムではカスタム認証が必要になってくることが多い。

PenginNekoPenginNeko

上記の記事に、権限エラーについても書かれているが、さらに下記のエラーも出る。これは下記の通り対応すればいいだけだけど、、、firebaseはドキュメントは充実している方だと思うが、込み入った事をするとなると、それなりに調査が必要

Error: IAM Service Account Credentials API has not been used in project XXXXXXXXX before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/iamcredentials.googleapis.com/overview?project=XXXXXXXXX then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.; Please refer to https://firebase.google.com/docs/auth/admin/create-custom-tokens for more details on how to use and troubleshoot this feature.