For the complete documentation index, see llms.txt. This page is also available as Markdown.

Oauth SMTP Google

Create a project

  • From your Google console (administrator access required), go to your organization and then select New Project.

Create a project
  • Enter your project name

  • Click Create

Configure project information
  • Return to your organization, Select your project

Sélection du projet nouvellement créé

Configuring OAuth access

  • In the menu, click on APIs & Services

  • Then click on the OAuth Consent Screen.

OAuth consent selection

Overview

  • In the Overview tab, click Get Started.

  • Enter the application information.

Application information

Audience

  • The next tab takes you to the Audience section and allows you to specify who this application is intended for:

    • Internal: only users within the organization

    • External: anyone with a Google account

Selection of the relevant audience

Contact information

Any changes to the created application will be sent to the contact identified in this section.

Contact information in case of application changes

Google API Services Privacy Policy

  • Accept the privacy policy and click Continue.

Acceptance of the privacy policy

Clients

Creating the client will allow you to specify the redirection URL(s) (identified as callback in GLPI) as well as the client secret.

Information

Specify the application type Web Application and the client name.

Adding a web application

URI de redirection autorisés

L'URL de retour devra être indiquée dans cette partie. Cette URL est indiquée dans GLPI dans la section Configuration > Notifications > Configuration des notifications par email

URLs redirect authorised

Secret Client

The information on the next screen will need to be entered in GLPI Setup> Notifications > Email Notification Configuration

Visualizing customer secrets
  • Select Google in the OAuth Provider section. Enter the Client ID and Client Secret.

Reflection of information from the Google application in GLPI

Finalizing the configuration in GLPI

  • Enter the information below in GLPI to finalize the configuration:

Champs
Valeurs

Hôte SMTP

smtp.gmail.com

Port

587

Email sender

If empty, the value will be the sender's email address. If the value is different from the sender's email address, the configuration will fail; the two values ​​must be identical.

GLPI configuration finalized
  • Click Save.

You will be asked for a Gmail account, and then you will need to grant the necessary permissions.

Sending test

Last updated