You are not logged in.
Pages: 1
Hi people,
we are having problems with the authentication method in the webservices plugin (glpi.doLogin). We use the authentication against a CAS server (Central Authentication Service) but it doesn't work with webservices (we can login without problems in the GLPI web interface).
The command we use is:
php testxmlrpc.php --host=192.168.1.7 --method=glpi.doLogin --login_password=1234 --login_name=user1234
where host is the ip where the glpi is.
and the error we get:
+ Calling 'glpi.doLogin' on http://192.168.1.7//glpi/plugins/webservices/xmlrpc.php
xmlrpc error(1): Access Denied
If we try to login with a local user (it means that we don't do the authentication against the CAS server) we can use the webservices without problems.
We are using the WebServices 1.0.0, GLPI 0.78.1 and Ubuntu 10.04 LTS.
Thanks in advance!
Offline
Any suggestion how to solve it?
Offline
Hi all! I am still breaking my brain with this.
Now, I achieved to have the ST (service ticket) necessary to access the glpi, but I don't know how to use it to authenticate over webservices.
Does anyone have any idea about that?
Offline
That's seems normal.
If you want to use both webservice and SSO, you must create a CAS enable client (testxmlrpc.php is only a minimal test client)
+
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
Pages: 1