Configuring Google login provider
contentACCESS also supports Google authentication. To use it, you need a Client ID and Client Secret, which you can obtain by registering the contentACCESS application on the Google Developers Console page. Open the page, sign in with your Google account, and follow these steps.
- After signing in, click Select a project in the upper left corner (if one already exists, its name is displayed there; click the name to open the Select a project menu). Choose an existing one from the list, or click New project in the upper right corner to create one:

- Enter a name for your project and then click Create:

- After you create the project, you will need the APIs & Services page.

- To access your enabled APIs, you must create credentials. However, if the OAuth consent screen is not configured (this is your first time creating a client ID), you cannot configure credentials yet. First, open OAuth consent screen from the left menu, or click Configure consent screen on this page and complete the configuration.

- On the OAuth consent screen, enter the app information (which app is requesting consent and a user support email), choose the Audience (select External), add the contact information so Google can notify you about any project-related changes, accept the Google API Services policies, and then click Create.

- Once the OAuth consent is granted, go back to the APIs & Services page, and select Credentials from the left menu. Click “Create credentials”, then select “OAuth client ID” option from the dropdown menu.

- On this page, set Application type to Web application, enter a name for the OAuth client, and add the required values to Authorized JavaScript origins and Authorized redirect URIs.

The required URLs are accessible from the login provider's window in contentACCESS Central Administration. Click the "NEW" button, select Google as the provider type, and copy the links from the blue frame.

The URLs are case sensitive!
- Click "Create" on the Google Developers Console. The Client ID and Client Secret will be generated automatically. Save these values for later use by copying them to a text file or downloading the JSON file. You will need them to configure the login provider in contentACCESS Central Administration.

Now you can configure your Login provider in contentACCESS Central Administration. Open the Login providers page (System => Security => Login providers), and click +New. In the Login providers window, name your provider, select Google as the provider type, and choose the application that should use this authentication type. Enter the Client ID and Client Secret from step 8) into the respective text fields, click OK, and Save the changes on the Login providers page.
