問題の状況
ログインボタンをクリックしても、コンソールに下記のエラーメッセージが表示され、firebaseのauth認証が通らない。
{
"code": "auth/unauthorized-domain",
"message": "This domain (xxxxxxxxx.vercel.app) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab."
}
解決方法
Firebaseの承認済みドメインに、デプロイ先のドメインxxxxxxxx.vercel.app
を追加することで解決。