How to set my site name or alias instead of google oauth client_id from response?

When I get a response from the google contacts API using Oauth2.0, it returns a response something like this:

"Website 251543634636.apps.googleusercontent.com is requesting access to your Google account for the products listed below .... etc.

In which, how to display my web application name instead of client_id, for example 251543634636.apps.googleusercontent.com

Any help would be greatly appreciated.

+7
source share
1 answer

All you have to do is register your application, and then a more convenient description can be displayed to the user. Instructions on how to do this are described here:

http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto.html

Check out the section that says:

Domain Description: This optional value should briefly describe the domain that you are registering. In the future, this description may be displayed on the Google Access consent page to provide additional information to your users. You always have the opportunity to change this description or leave it blank.

Good luck

+7
source

All Articles