Logging into your GLPI installation from Gapp (A GLPI app) is not possible due to this error message:
parameter(s) login or user_token are missing; view documentation in your browser at http://yourglpi/apirest.php/#ERROR_LOGIN_PARAMETERS_MISSING
As for GLPI API Errors reference:
One of theses parameter(s) is missing:
- login and password
- or user_token
In general, this is related to not adding login or password to the request. User_token could be involved in this error, but it is not supported on Gapp.
PHP-FPM virtual host setups
We have received new feedback from users dealing with this issue with correct login and passwords.
Apparently Apache strips the authorization header for security reasons and you need to pass basic auth to your FPM proxy.
This is an Apache issue.
Edit your vhost configuration depending on your distro. Usual paths:
- Debian, Ubuntu: /etc/apache2/sites-enabled/
- CentOS, Fedora, Redhat: /etc/httpd/conf.d/
You will need to add this parameter to your GLPI virtual host configuration file:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1