Open navigation

Google Cloud Directory: set the synchronization

Google Configuration


Prerequisite: Gespage must be version 9.3.0 or higher.

 

You will find below the steps to follow to synchronise your users from a Google directory.

 

To enable the possibility to scan to Google Drive, you must enable  the Google Drive API, create a service account to use this API and a define authorization for this service account.

Then you must synchronize your users in Gespage.

 

Enable Google API:

Accede to you google console under the following URL: https://console.cloud.google.com

Accede to the API menu by clicking on ‘API and services’ in the quick access menu:

 

Une image contenant texte, capture d’écran, Police, ligne

Le contenu généré par l’IA peut être incorrect.

Go under Library, and do a search on Google Drive API:

 

Une image contenant texte, capture d’écran, Police, nombre

Le contenu généré par l’IA peut être incorrect.

 

Une image contenant texte, capture d’écran, logiciel, Police

Le contenu généré par l’IA peut être incorrect.

 

Then, activate the API:

 

Une image contenant texte, capture d’écran, Police, Système d’exploitation

Le contenu généré par l’IA peut être incorrect.

 

Service account creation:

Go back to the home menu from your Google console, and select ‘IAM and administration’:


Une image contenant texte, capture d’écran, Police, ligne

Le contenu généré par l’IA peut être incorrect.


Then, select ‘Service account’:


Une image contenant texte, capture d’écran, Police, nombre

Le contenu généré par l’IA peut être incorrect.


 

And choose, ‘create a service account’:


Une image contenant texte, Police, capture d’écran, ligne

Le contenu généré par l’IA peut être incorrect.

 

After the service account creation, you must add a key to this account.

Une image contenant texte, capture d’écran, logiciel, Police

Le contenu généré par l’IA peut être incorrect.


The key must be create with JSON format.

Once the key is created, download it.

 

Adding autorisation:

Now, you need to go on the Google Admin console to add authorization on the service account.

You can perform this action, under the ‘API controls’ tabs.


Click on Add:


Une image contenant texte, capture d’écran, logiciel, Page web

Le contenu généré par l’IA peut être incorrect.

 

Set your ID, and add the following authorization:


To synchronise the users:


To allow the Google Drive management:

Une image contenant texte, capture d’écran, Police, affichage

Le contenu généré par l’IA peut être incorrect.

 

 

Allow the user's authentication:


To allow users authentication from you client application, you need to add a customer and allow him the needed rights.


Go in the Applications menu and LDAP:



and add a new customer:



Add a name and click on continue:



We're asked to set the permissions needed for this customer on the domain:



As soon as the customer is created, a certificate appears for this customer that you can downloaded.

Download it, you will need to import it in Gespage during the synchronization configuration:



By default, the customer is disable.

You must click on to enable it.

Click on Service status:



And on enable for all to enable the customer:




Gespage user's synchronization


on Gespage, go under Directory Synchronization menu:



Choose Google Cloud Directory.

Before launch the synchronization, you must set the email for the service account you created, and import the JSON file previously created with the access right for the API regarding the users and the Google Drive access and also the customer certificate:




 

 

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.