2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Firebase AuthのGoogleサインインで com.google.android.gms.common.api.ApiException: 12500 が出たときの対処

Posted at

本当に大したことないんですが、小一時間ハマったので共有。

FirebaseやGoogle API Consoleがまっさらな状態で公式ドキュメントに従ってFirebase AuthのGoogleログインをセットアップしていくと、こんなエラーが出てログインに失敗した。

Exception com.google.android.gms.common.api.ApiException: 12500: 
 at com.google.android.gms.common.internal.zzb.zzz(Unknown Source)

原因は、Google API Consoleで「OAuth 同意画面」がセットアップされていなかったこと。OAuth同意画面を開いてサポートメールの部分をちゃんとしたメールアドレスを選択して保存すればログインできた。

2
0
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
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?