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 2022-09-27 12:58:39

Afol
Member
Registered: 2021-12-23
Posts: 77

configure imap ouath

Hello,
i am trying to configure the Oauth IMAP plugin but i am stuck when i get to the "Callback url" parameter.
I'm trying to insert the link in the Azure portal but it gives me an error because the link that the plugin generates is in http.
The GLPI portal is in https. Probably the plugin is unable to generate the link in https because there is some setting to fix.
What should I do to fix the problem?

Maybe my glpi site does a redirect from http to https and this creates the problem.

Offline

#2 2022-09-27 13:16:32

Afol
Member
Registered: 2021-12-23
Posts: 77

Re: configure imap ouath

I fix it. The address had to be changed from the GLPI general settings.

But now I can't do the next step:
I create an authorization from the plugin by connecting to the mailbox account. But I get this error: "Unable to save authorization code".
What should I do?

Last edited by Afol (2022-09-27 13:16:41)

Offline

#3 2022-09-27 13:29:47

Afol
Member
Registered: 2021-12-23
Posts: 77

Re: configure imap ouath

I tried to put these "API permissions" from Azure:
Microsoft Graph:
email, imap.AccessAsUser.All
offline_access
openid
profile
User.Read

But it still gives me the same mistake ..

Offline

#4 2022-09-27 15:02:25

Afol
Member
Registered: 2021-12-23
Posts: 77

Re: configure imap ouath

Fix it! I put the secret id instead of the value of the secret id. You can only see the value when you create the secret id the first time.

Offline

Board footer

Powered by FluxBB