Follow the steps below to set up your Google Connector for OAuth 2.0 connection and obtain the Client ID and Secret. You first need to create a new project in Google Cloud Platform. You can either follow the tutorial provided by Google (https://cloud.google.com/resource-manager/docs/creating-managing-projects#creating_a_project) or follow the steps below:
- Go to the Manage resources page in the Cloud Console and login: (https://console.cloud.google.com/cloud-resource-manager). Then, click on “Create Project” from the top left:
- Enter the project name (and optionally choose its location):
- On the top right corner, a notification will show up saying the the project is being created. Once it finishes, click on “Select Project”. Or select the project from the list of the projects on the same page:
- The selected project name should show up on the top left corner. Make sure the right project is selected throughout the process:
- Click on the “hamburger” icon on the top left, then expand “APIs & Services” and click on “Dashboard”:
- At this step, we need to enable the APIs required for the connector, and those are Google Drive, Google Calendar, and Gmail. Click on “Enable APIs and Services” from the “Dashboard” page:
- Search for the three APIs that needs to be enabled, click on them, and “Enable” them:
- Google Drive:
- Google Calendar:
- Gmail:
- Google Drive:
- The next step would be to setup the “OAuth consent screen”. This is the screen that will show up to users when authorizing the connector. Click on the “hamburger” icon on the top left, expand “APIs & Services”, then click on “OAuth consent screen”:
- Choose which users would be allowed to use this connector, then click “Create”:
- Fill up the App Information according to your institution requirements then click “Save and Continue”:
- You don’t need to add any Scopes as the APIs will request the required scopes. Click on “Save and Continue”:
- (Optional) If the app type was set to external, it’ll go through a testing phase while it’s being published and approved by Google. During this testing phase, you can add test users to test out the connection. Click on “Save and Continue” and confirm everything on the Summary page:
- The next step would be setting up the credentials. Click on the “Credentials” link on the left:
- On the top, click on “Create Credentials” and choose “OAuth client ID”:
- On “Create OAuth client ID” screen, choose the Application type as “Web application”:
- Then fill out the credentials name and set the redirect URI to your OneCampus “oauthConnectorCallback” redirect URI (i.e. https://{{OCurl}}/connectors/oauthConnectorCallback) and then click “Create”:
- Copy the client ID and secret to the Google Connector config page on your OneCampus instance:
Related to
Updated