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-10 19:13:42

lubochini
Member
Registered: 2025-03-10
Posts: 2

Oauth authorization Error

After changing the password from our IMAP address, we are not able to put it back online on Oauth IMAP plugin. So i deleted everything (registration on portal.azure, the email destination on GLPI, the Oauth IMAP account), and tried to recreate everything from scratch.

But when i try to Oauth authorization, after entering email and password into microsoft page, i receive the error:

Access to GLPI_PUBLIC_IP was denied
You are not authorized to view this page.
HTTP ERROR 403

I dont know if should work this way, but i try to connect to the URL callback (https://GLPI_PUBLIC_IP.com/glpi/marketplace/oauthimap/front/authorization.callback.php), i also receive the same 403 error.

In the php-errors.log in glpi/files/_log, i dont receive any new line when trying to create the new authorization.

Offline

#2 2025-03-11 03:46:00

cconard96
Moderator
Registered: 2018-07-31
Posts: 3,265
Website

Re: Oauth authorization Error

It looks like you reported it as a bug on GitHub. I'm linking it here in case someone else has this issue and sees this post.
https://github.com/pluginsGLPI/oauthimap/issues/79


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2025-03-11 14:45:30

lubochini
Member
Registered: 2025-03-10
Posts: 2

Re: Oauth authorization Error

Thanks for the reply.
I found out the issue.
In Setup > General, my URL of the application was GLPI_PUBLIC_IP.com/glpi, the /glpi was making the mistake when trying to connect to the URL, after changing to only GLPI_PUBLIC_IP.com, the oAuth plugin connected succesfully.

Offline

Board footer

Powered by FluxBB