You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2025-03-14 15:01:26

marcosbarros
Member
Registered: 2025-03-12
Posts: 4

Issue with OAuth Authentication for Email Sending in GLPI Using Gmail

Hello, everyone, 

I'm trying to configure email sending in GLPI using OAuth authentication with Gmail, but I'm encountering the following error: 

**"The access token does not provide a refresh token. Check the application configuration."** 

Steps I've already taken: 

- Created a project on Google Cloud Platform (GCP) and enabled the Gmail API. 
- Configured OAuth 2.0 credentials, including the client ID and client secret. 
- Added the redirect URI in GCP. 
- Configured the scopes in GLPI to include: 
  - `/gmail.send` 
  - `/gmail.modify` 
  - `./auth/userinfo.email` 
  - `./auth/userinfo.profile` 
  - `openid` 
- Completed authentication in GLPI, but the refresh token is not provided, and I keep getting this error.

Offline

#2 2025-03-26 11:37:02

claumagagnotti
Member
Registered: 2025-03-26
Posts: 1

Re: Issue with OAuth Authentication for Email Sending in GLPI Using Gmail

Hi there, same issue here. Did you find a solution?

Offline

Board footer

Powered by FluxBB