You are not logged in.
Pages: 1
I am having some issues trying to initiate a session.
I try:
curl -X GET \
https://glpi.example.com/apirest.php/initSession \
-H 'App-Token: secret' \
-H 'Authorization: user_token secret' \
-H 'Content-Type: application/json'
I get:
401 Unauthorized
[
"ERROR_GLPI_LOGIN_USER_TOKEN",
"parameter user_token seems invalid"
]
Settings:
user_token:
Api-Token:
Any idea what I might be doing wrong?
Tnx,
Jon
Offline
Same error:
https://xxxxxx/glpi/apirest.php/initSession?user_token=xxxxxxx&app_token=xxxxxxxx
returns
["ERROR_GLPI_LOGIN_USER_TOKEN","el parámetro user_token parece incorrecto"]
GLPI 9.5.2;; FusionInventory: 9.2+1.0;; GLPI Modifications 1.1.4;; Notifications 1.1.9;; Dashboard 0.8.8;; PHP 7.3.33
Offline
Autoresponse: have to check "Enable login with external token "
GLPI 9.5.2;; FusionInventory: 9.2+1.0;; GLPI Modifications 1.1.4;; Notifications 1.1.9;; Dashboard 0.8.8;; PHP 7.3.33
Offline
Pages: 1