Step 1 - Configuring Google Plus

Before we can use Google Plus for federated identity logins with Cognito, we need to follows these steps:

  1. Navigate to https://console.developers.google.com.
  2. Click Library on the left sidebar and accept the terms and conditions (of course after reading them) if displayed.
  3. Scroll down, Select Google+ API, and click Enable on the new page:
  4. Click on Credentials on the left sidebar menu, then click Create to create a new credential. If we have not created a project yet, this should show us a new project window:
  5. In the New Project window, do the following:
    1. Provide a Project Name
    2. Leave the default value for Location as it is
    3. Click the CREATE button

Now, click Create credentials in the Credentials popup:

  1. From the drop-down menu, select OAuth Client ID:

  1. There may be a warning message: To create an OAuth client ID, you must first set a product name on the consent screen:
    1. Click Configure consent screen to the right of it
    2. In the OAuth consent screen tab, do the following:
      1. Give an application name
      2. In the Authorized domains section, add a valid domain name:

      1. Click Save at the bottom of the form to save
  1. We will be redirected to the page for creating an OAuth client ID. Set Application Type as Web application and enter our domain under Authorized JavaScript origins:
  1. Click Create and we will be provided with a client ID:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.221.133