Error: Google id_token is not allowed to be used with this application. Firebase access fails after it was working

爷,独闯天下 提交于 2019-12-03 16:06:11
  1. You have to create Web-client Oauth 2.0 id here https://console.developers.google.com . After that you will have client id and secret
  2. Open https://console.firebase.google.com and goto Authentication -> Google -> Settings -> Web SDK and use clien od and secret you have got on the step 1.

Sounds like your sign-in methods have changed. You need to go into the firebase authentication page and make sure that google sign in is still allowed.

Go to Firebase Console -> Authentication -> Sign-in method and in the sign in providers make sure that Google is enabled.

Also, you can do:

Get your web client ID and take note of both the client ID and secret.

Input this Client ID into your Firebase project’s configuration:

Go to the Firebase console at https://console.firebase.google.com Open the Auth section Under Sign-In methods, open the Google configuration, and add the values under the Web SDK configuration section.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!