Google

The following instructions describe how to configure OAuth2 using Google.

Step 1: Register OAuth2 Provider in MergeBoard

To start the process of adding a new provider, click on the Add OAuth2 Provider button in MergeBoard.

../../_images/oauth2_add.png

Form to add a new OAuth2 provider.

Select the provider type Google from the list and enter a provider name (will be displayed to users in the login dialog). To proceed click on Next.

Step 2: Register OAuth2 Provider in Google

Go to console.developers.google.com/apis/credentials.

Select or Create Project

In the title bar, select the Google Cloud Platform project that you want the OAuth configuration to be associated with. If no project exists yet, you will see the following message. In this case, create a new project by clicking on Create Project and filling out the form.

../../_images/oauth2_google_001.png

Information message shown when there aren’t any Google Cloud Platform projects yet.

Generate Client ID and Secret

To proceed with the setup, select Credentials in the sidebar, and then click Create Credentials at the top. Select OAuth client ID from the dropdown menu. Fill out the form as follows.

Application type

Select Web application.

Name

The name of the application can be chosen arbitrarily, and will not be shown to end users.

Authorized redirect URIs

Click on Add URI and enter the Redirect URL as generated by MergeBoard after completing the first form of the OAuth2 provider creation.

When you are done click on Create. If everything went successful a popup will open showing the generated Client ID and Client Secret. Save both values, as they will be needed to finish the configuration in MergeBoard.

Configuration changed need some time to take effect

Note Google’s warning that it can take anywhere from 5 minutes to several hours for the changes to actually take effect. Please be patient if the login via MergeBoard does not work immediately.

Step 3: Complete Configuration in MergeBoard

Back in MergeBoard, fill out the form as follows.

Enable Provider

Enable the checkbox to allow users to login via this provider.

Client ID

Enter the Client ID as shown by Google.

Client Secret

Enter the Client Secret as shown by Google.

Once you are happy with the settings click on Save.