HRP Google Authentication Setup Documentation

Modified on Mon, 8 May, 2023 at 1:17 PM

Google Cloud Platform, offered by Google, is a suite of cloud computing services that runs on the same infrastructure that Google uses internally for its end-user products. Google Cloud Platform provides you with all the features you need to handle authentication in your cloud- based workloads.

Any application that wants to use the capabilities of Google+ Authentication must first be registered in a Google Cloud Platform.

 

 

Setting up Google Authentication

  1. Browse to https://console.developers.google.com.
  2. Create an individual or business account.
  3. Click on Select a project.
  4. In the Select a project modal pop up click on create new project.
  5. Provide a project name.

 


  1. Click Create and after on the Dashboard click on APIs & Services from the right menu item list
  2. In APIs & Services click on Credentials from the right menu item list
  3. Click on Create Credentials



  1. Click on Create Credentials and select OAuth Client Id in the dropdown.
  2. Click on Configure Consent Screen



  1. Choose Internal or External depending on your environment
  2. Fill out the information for the App



  1. Click on Create Credentials and select OAuth Client Id in the dropdown.
  2. Fill out the Client Page. Specify the Javascript Orgin URI to your base URL of HRP. Ie. https://{school}-hrp.edsemblicloud.com.
  3. Omit the back slash at the end. For Authorized redirect URIs specify the base fqdn URI of your app + “/signin-google” as the postfix. Ie. https://{school}-hrp.edsembli.com/signin- google



  1. Click Create
    1. In the OAuth Client modal pop up copy the Client ID and Client Secret. You will need those to configure Google Auth in the HRP AppSettings.json



  1. Enable Google+ API
  2. Go to Library in the Developer console for Google. Click on Enable APIs and Services.
  3. Search for Google+ API and Enable the Google+ API



Back in the Dashboard verify that the Google + API is enabled.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article