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 2024-10-17 10:53:47

citydweller
Member
Registered: 2024-10-17
Posts: 1

Issue with IMAP Authentication via Oauth Authorization (Microsoft 365)

Hello Community,

I’m encountering an issue that I’m unable to resolve on my own. My goal is to authenticate users via an external mail server using Microsoft 365/Exchange using IMAP (OAuth). I have installed and configured the "Oauth IMAP" plugin for this purpose.

I followed these steps:
- I configured the plugin settings, and registered an App in Entra admin center.
- I created an "Oauth authorization".

The "Oauth authorization" was created using an administrative user who was then given the appropriate tenant permissions. When I click on "Diagnose" in the plugin, everything works perfectly without any errors.

After that, I proceeded to configure the IMAP settings under Authentication  -> Mail Servers.

However, I’m running into a problem:
When I try to log in to GLPI using the authentication via IMAP, only the administrative user that was set up under the "Oauth authorization" can authenticate successfully. This user is automatically created in the system upon login. None of the other users are able to authenticate. I also tried testing different test user accounts under Authentication  -> Mail Servers  -> Test, but only the administrative account works.

What am I missing? Has anyone encountered this issue and found a solution? I’ve checked that all test users can successfully access their mailboxes via IMAP (OAuth), yet they still can’t authenticate through GLPI.

Is this type of authentication even supported by the plugin I’m using, or would I need to consider alternative (potentially paid or subscription-based) plugins for this use case?

Unfortunately, I am not allowed to attach screenshots to this post in the forum.

I would greatly appreciate any insights or suggestions to resolve this issue. If you need any further information, I will gladly provide it.
Thank you in advance for your assistance!
citydweller

Offline

Board footer

Powered by FluxBB