LoginSignup
7
3

More than 1 year has passed since last update.

FirebaseのOAuth認証エラー auth/unauthorized-domain

Posted at

問題の状況

ログインボタンをクリックしても、コンソールに下記のエラーメッセージが表示され、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を追加することで解決。

x.jpg

7
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
3