Issue:

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

Explanation:

General

As for GLPI API Errors reference:

ERROR_LOGIN_PARAMETERS_MISSING

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.

Solution:

This is an Apache issue. You will need to add this parameter in your setup:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

->  "Upload incomplete. Failed files" error when uploading a file to Gapp

Pin It on Pinterest

Share This