0 votes

Hi, Im trying to authenticate users in GLPI using the OAuth protocol since Microsoft does not work as a mail receiver without the OAuth plugin.

I am following the steps indicated by GLPI but the indications on obtaining an access token are very vague so I have followed the steps of https://www.limilabs.com/blog/oauth2-web-flow-office365-exchange-imap-pop3-smtp but I don't know where to apply the code about the tokens. I installed .NET on the server that hosts the web but I don't know how the code links to the API created in Azure. All this code can't be set in the app manifest?

Thank you in advance for any information provided.

closed with the note: Not related to Mail.dll
by (200 points)
closed by
Are you using Mail.dll?
No, as it isn't mentioned in the documentation I've checked out.
This is not a right place to ask this question then.
We are not GLPI support forum, and can't help you with this tool.
I know you are not GLPI, I just wanted to know where the code related to tokens you show in https://www.limilabs.com/blog/oauth2-web-flow-office365-exchange-imap-pop3-smtp goes.
The code goes in to the asp.net controller.
Thank you, I look into it. So about mail.dll, it's a requirement in  https://www.limilabs.com/blog/oauth2-web-flow-office365-exchange-imap-pop3-smtp?
Yes it is. The page shows how to use Mail.dll.
Ok, got it. Thank you.
...