Gmail Imap OAuth2 - what is 929645059575.apps.googleusercontent.com

In this article Access Mail Services using OAuth|Documentation in particular this code, what is 929645059575.apps.googleusercontent.com ? Is it unique to the aspose demo or a fixed webaddress for gmail?

internal static string GetAccessToken(string authorizationCode)

{

string actionUrl = “https://accounts.google.com/o/oauth2/token”;

        HttpWebRequest request = (HttpWebRequest)WebRequest.Create(actionUrl);

request.CookieContainer = new CookieContainer();

request.Method = “POST”;

request.ContentType = “application/x-www-form-urlencoded”;

string encodedParameters = string.Format(

“client_id={1}&code={0}&client_secret={2}&redirect_uri={3}&grant_type={4}”,

HttpUtility.UrlEncode(authorizationCode),

HttpUtility.UrlEncode(“929645059575.apps.googleusercontent.com 1”),

HttpUtility.UrlEncode(“USnH5eQRsC4XrjJbpGG7WVq5”),

HttpUtility.UrlEncode(“urn:ietf:wg:oauth:2.0:oob”),

HttpUtility.UrlEncode(“authorization_code”)

);

Hi Dominic,


Thank you for your inquiry.

The highlighted string refers to the Client Id generated in “Google Developer’s Console” and is different for each user. You may refer to our documentation section, Creating Project in Google Developer Console, for this purpose if required.