Google

Skip to end of metadata
Go to start of metadata

 

This page is a step-by-step guide for the process of opening and setting up an external Google application as part of the Gigya Setup process.

Note: If your site is defined under one of Gigya's non-US data centers, replace domain references to (http:// or https://) "socialize.gigya.com" (or "socialize.us1.gigya.com") with https://socialize.<data_center>/

Where <Data_Center> is:
  • us1.gigya.com - For the US data center.
  • eu1.gigya.com - For the European data center.
  • au1.gigya.com - For the Australian data center.
  • ru1.gigya.com - For the Russian data center.
  • cn1.gigya-api.cn - For the Chinese data center.

If you are not sure of your site's data center, see Finding Your Data Center.

Domain references are defined in Gigya's dashboard, externally in social network app definition pages, and when using Gigya's SDKs to set the domain (in particular the APIDomain field in class GSRequest). 

 

Phase 1 - Setting up a Google Application

Creating a project

  1. Go to the Google Developers Console at https://console.developers.google.com.
  2. Press the 'Project' menu to open the Create Project screen, then press the + symbol to add a new app.




  3. In the "New Project" box:
    • Enter a project name.
    • Select whether or not to receive updates from Google. 
    • Read and confirm the terms of service. 
    • Click "Create". 

Selecting your APIs for use with Gigya 

  1. In the Library tab of the API Manager, scroll down and select "Google+ API" (under 'Social APIs').

  2. On the following page press the ENABLE button.

  3. Press the "Enable" button on the next page to activate the Contacts API.

Get your Google credentials

  1. In the left-hand menu, select "Credentials". 
  2. Click Create credentials and select OAuth client ID from the drop-down.




  3. You will see a notice that you must first set a product name on the consent screen. Click the blue button to Configure consent screen.



  4. Enter the name of your product or service in the applicable field and press Save.



  5. Select Web application as the Application type. This will open the URL options.

  6. In the Authorized JavaScript origins field, enter the URL of the website that will be hosting the App (your website).


  7. In the Authorized redirect URIs field, enter the following and press Create. Note that Google will only Verify apps that use HTTPS redirect URIs as of November 18th, 2017.

    • If using Gigya - https://socialize.<data_center>/GS/GSLogin.aspx?
    • If using a CName - https://<CNAME>/GS/GSLogin.aspx?

    Where <Data_Center> is:
    • us1.gigya.com - For the US data center.
    • eu1.gigya.com - For the European data center.
    • au1.gigya.com - For the Australian data center.
    • ru1.gigya.com - For the Russian data center.
    • cn1.gigya-api.cn - For the Chinese data center.

    If you are not sure of your site's data center, see Finding Your Data Center.



  8. A window will appear with your client ID and Secret. Copy the information for use below, then click OK.



  9. (This step is only for first time users) - On the page that opens, fill in:
    • Your email address
    • Your app's product name
    • Additional optional fields (e.g., Homepage URL, Product logo URL, Privacy Policy).
  10. Your credentials are now ready.

 

Phase 2 - Configuring Google Application Keys in Gigya's Website

Setting your keys in the Google Configuration Editor

  1. Log into your Gigya account and go to the Providers Configurations page.
  2. Click on the Google logo to open its configuration window.

  3. In the Google Configuration window enter:
    • Your "Client ID" from the Google Developers Dashboard into the "Consumer Key" field. (The entire string, including .apps.googleusercontent.com)
    • Your "Client Secret" into the "Secret Key" field.
    • If you are using a CNAME, be sure to check the "Enable CName" checkbox.
    • Checking "Enable Native SDK Capabilities" is required to enable automatic login. For more information see Native SDK Capabilities.
  4. Click "OK".
  5. Click "Save Settings" on the bottom right-hand corner.

 

That's it, Google configuration is complete! Please note that it might take up to 10 minutes for our system to become synchronized with Google.

 

Additional Information

App Verification

To ensure the best possible user experience when users engage your app, you will now need to get it verified by Google. The verification process can take between 3 and 7 business days and possibly longer, so should be started as soon as possible after creating and setting up your application. If you do not get your app verified, whenever users log in to your site using your Google App they will be presented with a warning screen stating This app isn't verified (it is important to note that the number of users able to use an unverified app via passing through the warning screen will be capped at an undisclosed number of users determined by Google. See https://developers.google.com/apps-script/guides/client-verification for more information). 

The steps necessary to get your app verified are as follows:

For additional information, visit https://support.google.com/cloud/answer/7454865.

 

Unable to render {include} The included page could not be found.