Jump to content

Google

You can allow your members to sign in to your community using their Google account.

Applies to self-hosted customers only

Important - Google requires that sites using their login API, are using a secure connection. If your site is not using SSL (HTTPS), please contact your hosting company to obtain a valid SSL certicate, then follow this guide to switch to https.

https://invisioncommunity.com/4guides/advanced-options/configuration-options/using-ssl-https-r273/

To start the process, go to AdminCP -> System -> Login & Registration, click Create New to setup a new login method and choose Google. You will now be prompted to fill in some details which you'll need to acquire by creating a "project" with Google.

 

Creating a project

1. Go to the Google APIs Console and sign in with your Google account. You may have created a project if you have enabled any other Google APIs. If you haven't, click Select a Project in the top-left corner and then create a new project.

No Project Selected.png

No Project Selected

Project Selected.png

Project Selected

2. Go to Library and search for Google Identity. Click on "Cloud Identity" and then click on 'enable' 

Adding Credentials

3. Go to Credentials -> OAuth consent screen and fill out the form.

4. Go to Credentials -> Credentials. Click the Create credentials button and choose OAuth client ID from the dropdown.

Create Credentials.png

Create Credentials Button

Choose Web application as the type, and for the Authorized redirect URIs field, enter the value shown in your AdminCP. 

Credentials Form.png

Credentials Form

Adding to the ACP

You will see a screen displaying a client ID and client secret.

Client Details.png

Issued Credentials

 

 

 

Back in your AdminCP, fill in the form, using the Client ID and Client Secret that you just obtained.

2020-06-24_10-12-49.jpg

Entering details in Invision Community

 

Updating from google+

Updating from the google+ API due to the replacing of these APIs by google can be done in the following manner

1. Go to the Google APIs Console and sign in with your Google account and select your google project.

2. Select to remove the google+ API

3.  Go to Library and search for Google Identity. Click on "Cloud Identity" and then click on 'enable' 

No further steps are required to switch to the new API as you already have credentials created from the previous setup.


  Report Guide


×
×
  • Create New...