Google sign-in showing incorrect project name - iOS

拥有回忆 提交于 2020-01-14 09:09:08

问题


I have been integrating Google sign-in for syncing the calendar events using Google Calendar API. While trying to sign in, I am getting this.

As you can see the name of the project/app is displayed as "project-xxxxxxxxx" rather than the project name itself. How can I display the original project name here?

I have already tried How do I set the project name in the Google iOS Sign-In screen? , but of no use!


回答1:


Atlast I found it! I am also using Firebase for database. So when I checked its console , there is an option "Public-facing name" and renamed it. It worked!

Steps for the solution:

  1. Go to Firebase Console and select the project.
  2. Under Settings, select the General tab.
  3. Change the Public-facing name by clicking the Edit button and then Save.

Please check the below image.




回答2:


You need to create the OAUTH Client_ID by mentioning with your project name. It will display the same name which you specify in Google auth Console. click here to open google auth console.



来源:https://stackoverflow.com/questions/50854283/google-sign-in-showing-incorrect-project-name-ios

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