How can we help?
Connecting Perfony and Google Cloud
Introduction
The iPerfony for Google Connector offers the following functions:
- Automatic login (SSO) for Google Cloud users in the Perfony web app.
- Access Google Drive documents from Perfony.
The iPerfony for Google Cloud connector lets you link documents stored on Google Drive to iPerfony. The customer thus retains full control over the organisation of its documents and full control over access rights to these documents. For example, participants in an iPerfony folder to which a document stored on Google Drive has been linked will only be able to open the document if they have Google Drive permissions.
Authorisation management in GoogleCloud Console
The following procedure is an illustration of the original procedure:
https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid?hl=fr
Go to the Google console: https://console.cloud.google.com/ :
Click on the resource selector :
Click on ‘NEW PROJECT’ :
Enter the project name, ‘iPerfony for Google’ for example.
Select the organisation and zone.
Then click on ‘CREATE’:
Once the project has been created, click on ‘SELECT A PROJECT’ in the item for the project just created:
Click on ‘API and services’ :
Click on ‘+ ACTIVATE APIs AND SERVICES’:
In the search bar type ‘picker’ and confirm by pressing the ‘enter’ key:
Click on ‘Google Picker API’ :
Cliquer sur “ACTIVER” :
Click on ‘CREATE IDENTIFIERS’ :
Select the ‘Google Picker API’ and ‘Public data’.
Then click on ‘NEXT’:
Copy the client API key to provide it to the Perfony team.
Click on ‘RESTRICT KEY’ :
Enter a name for the key, e.g. ‘iPerfony for Google Drive Picker Key’.
Define a ‘Websites’ type restriction, then enter the address of the iPerfony instance, then click on ‘FINISH’.
Define an API restriction and select ‘Google Picker API’.
Then click on ‘SAVE’:
Click on ‘CANCEL’:
Click on ‘Login’ :
Click on ‘CREATE IDENTIFIERS’ then ‘OAuth client ID’ :
Click on ‘CONFIGURE CONSENT SCREEN’ :
Check ‘Internal’ in the ‘User Type’ section, then click on ‘Create’:
Enter :
- The name of the application (iPerfony for example)
- The user support email address.
- Add the iperfony.com domain to the authorised domains.
- Enter the email address of the person creating this application.
Then click on ‘SAVE AND CONTINUE’:
Click on ‘SAVE AND CONTINUE’:
Click on ‘RETURN TO CONTROL PANEL’ :
Click on ‘Login’ :
Click on ‘CREATE IDENTIFIERS’ then ‘OAuth client ID’ :
Select ‘Web application’ for the Type of application.
Enter a name, such as ‘iPerfony Client’.
Enter the URL https://xxx.iperfony/com where xxx is to be replaced by the name of the client instance, in the ‘Authorised JavaScript origin’ section.
Click on ‘CREATE’:
At the end of this procedure, copy the customer ID and send it to the Perfony teams to finalise the connection: support@perfony.com