Was this article helpful?

Google+

Last modified 14:38, 8 Dec 2014

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.

You may also read our Google+ FAQ.

Clients with sites defined under Gigya's European data center should replace domain references to (http:// or https://) "socialize.gigya.com" (or "socialize.us1.gigya.com") with "socialize.eu1.gigya.com". To verify site location contact your implementation manager.
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

  1. Go to the Google Developers Console at https://cloud.google.com/console
  2. Click the "Create Project" button.
  3. In the "New Project" box:
  • Enter a project name and create a project ID.
  • Check the Terms of Service checkbox.
  • Click "Create".

g+ 01 new project.jpg

  1. In the page that opens for your new project, select "APIs" under "APIs & auth".
  2. Scroll down in the list of APIs until you find "Google+ API", and click the "OFF" button to set it to "ON".

g+ 02 enable google api.jpg
 

  1. In the same list of APIs, scroll to "Contacts API", and set it to "ON" as well.
  2. Select "Consent Screen" and enter your product name. You may also enter your homepage URL, product logo, and the URLs for your privacy policy and terms of service.

g+ 05 consent screen.jpg

  1. Click on "Credentials" and click on "Create new Client ID".

g+ 04 create new client id.jpg

  1. In the "Create Client ID" box:
  • Under "Application Type", select "Web application".
  • For "Authorized JavaScript Origins", enter your website address.
  • For "Authorized Redirect URIs", enter:
    http://socialize.gigya.com/GS/GSLogin.aspx?
    https://socialize.gigya.com/GS/GSLogin.aspx?
  • Or, if your site is defined under one of Gigya's non-US data centers, replace domain references socialize.gigya.com with  socialize.<DC>.gigya.com. Contact your IM for the correct <DC> entry.
    If you are using a CNAME add it to the Authorized Redirect URI:
    http://<CNAME>/GS/GSLogin.aspx?
    https://<CNAME>/GS/GSLogin.aspx? 
  • Click the "Create Client ID" button. (Note that if you have not entered a product name in the Consent Screen yet, the "Create Client ID" button will not appear, and instead you will be prompted to enter your product name.)

g+ 06 create client id ok.jpg

  1. In the "Client ID for web application" section, copy the values in the "Client ID" and "Client Secret" fields, which are required for defining the app in Gigya's website.

g+_07_client_id_for_web_app.jpg

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

  1. Go to the Dashboard section of Gigya's website.
    Note: If you are not signed in to Gigya, please go to http://www.gigya.com/ and sign in.

    newsitesettings.gif
    Press the "Site Settings" button that corresponds to the domain you wish to configure. You will be redirected to the "
    Site Settings" page.
     

  2. Select "Providers Configurations" and click the Google+ icon. 
    Note: If you are interested in opening a standard Google application, click the Google icon.

    sitesetupgoogle.gif
  3. Paste the "Client ID" string from the end of phase 1 into the "Consumer Key" field.
  4. Paste the "Client Secret" string to the "Secret Key" field.
  5. If you are using a CNAME, check the box.
  6. Checking Native SDK Capabilities is required to enable automatic login and using socialize.logout to log the user out of Google+. For more information see Native SDK Capabilities.   

  7. Click "Update".
     Google9.png
  8. The red indication on the Google+ icon should turn green.

Approved google app.png  

  1. Click the "Save Settings" button (located at the lower right-hand corner of the page).
     

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.

Was this article helpful?
Pages that link here
Page statistics
11752 view(s) and 38 edit(s)
Social share
Share this page?

Tags

This page has no custom tags.
This page has no classifications.

Comments

You must to post a comment.

Attachments