You are not logged in.
Hi all! I have a problem. I try to connect azure with glpi to authorize users from AD. I installed Oauth IMAP plugin. Added all information frome azure: Client ID, Tenant ID, Client secret. After that i will create new an authorization.
When i clicked on button, i saw nothing. Blank (empty) page with address ../marketplace/oauthimap/front/application.form.php
If F5, then i saw message "Action not available".
Do you know, what is going on?
Thanks!
Offline
Solved. I confused tenant ID..
Offline
hello dear, i am facing the same issue, i checked tenantID Client ID, and Secret, everything is set properly but still getting blank page on
.......httpsmydomain.com//plugins/oauthimap/front/application.form.php
can anyone please advise what can be the issue.
i can see that others are using plugin link as marketplace, but i have installed the plugin manually.
Last edited by montymg (2022-07-21 08:55:30)
Offline
I also ran into this problem while setting up Office 365 Oauth IMAP on a windows server with IIS and php v8.1.(GLPI version 10.0.2)
When I reviewed the php-errors.log file in files\_log I found the following error :
glpiphplog.CRITICAL *** Uncaught Exception GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https : //curl.haxx.se/libcurl/c/libcurl-errors.html) for https : //login.microsoftonline.com/<tenantid>/v2.0/.well-known/open-id-configuration?appid=<clientid> in <glpi install>\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php at line 211
The solution was to download the cacert.pem file from : curl.haxx.se/ca/cacert.pem to the server and update the php.ini file to point at this file, then restart IIS.
[curl]
curl.cainfo = <path to PHP install>\extras\ssl\cacert.pem
I found two sources to help with this :
github.com/guzzle/guzzle/issues/1935
and
martinsblog.dk/windows-iis-with-php-curl-60-ssl-certificate-problem-unable-to-get-local-issuer-certificate/
Hopefully this helps someone else along the way.
Offline
Oh boy! Thanks verry much for posting, we were totally lost on this one.
Just make a note, many people do post the path without quotes but for sure, if you have space in the path, quotes are neeeded.
Withour quotes, glpi just stopped working.
So use this format to the file :
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
curl.cainfo = "C:\Program Files (x86)\PHP\v8.1.5\extras\ssl\cacert.pem"
Thanks again guys!
Last edited by Fox350 (2023-01-23 22:50:20)
Offline