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
- Browse to https://console.developers.google.com.
- Create an individual or business account.
- Click on Select a project.
- In the Select a project modal pop up click on create new project.
- Provide a project name.
- Click Create and after on the Dashboard click on APIs & Services from the right menu item list
- In APIs & Services click on Credentials from the right menu item list
- Click on Create Credentials
- Click on Create Credentials and select OAuth Client Id in the dropdown.
- Click on Configure Consent Screen
- Choose Internal or External depending on your environment
- Fill out the information for the App
- Click on Create Credentials and select OAuth Client Id in the dropdown.
- Fill out the Client Page. Specify the Javascript Orgin URI to your base URL of HRP. Ie. https://{school}-hrp.edsemblicloud.com.
- 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
- Click Create
- 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
- Enable Google+ API
- Go to Library in the Developer console for Google. Click on Enable APIs and Services.
- Search for Google+ API and Enable the Google+ API
Back in the Dashboard verify that the Google + API is enabled.