phpsaml icon indicating copy to clipboard operation
phpsaml copied to clipboard

Does not save changes

Open gustavo1321 opened this issue 3 years ago • 10 comments

Hello, thank you all for the input, I have a question.. has it happened to them that at the time of saving the configuration, return to central and do not save the changes? I was doing some research and something appeared regarding a table, but I checked and the table exists, the strange thing is that it does not report logs of any error.

gustavo1321 avatar Apr 22 '22 15:04 gustavo1321

Version?

derricksmith avatar Apr 28 '22 13:04 derricksmith

Version 9.5.7, I did an update to 9.5.4

gustavo1321 avatar Apr 29 '22 02:04 gustavo1321

Hi Derrick, I seem to be having the same problem. I fill in the form (config.php) and click update at the bottom, but it just returns me back to the blank form, nothing has been saved. Any ideas? I've tried with both FF and chrome phpsaml1.2.0; glpi 10.0.0; Ubuntu 20.04 LTS (I know I'm using unsupported versions) Kind regards DP

icttpzgithub avatar May 05 '22 13:05 icttpzgithub

If I manually create the entry in the table INSERT INTO glpi_plugin_phpsaml_configs (id,version, enforced, strict, debug, jit, saml_sp_certificate, saml_sp_certificate_key, saml_sp_nameid_format, saml_idp_entity_id, saml_idp_single_sign_on_service, saml_idp_single_logout_service, saml_idp_certificate, requested_authn_context, requested_authn_context_comparison) -> VALUES ('1', '1.2.0', '0', '1','0','1', '', '', '', .blah, blah, blah. Then afterwards modifying the values via the config.php is working fine.

icttpzgithub avatar May 05 '22 14:05 icttpzgithub

The new version puts all the phpsaml logs into a file called phosaml in the _logs directory of glpi. Can you upload that file?

derricksmith avatar May 05 '22 14:05 derricksmith

sure, here you go:-

phpsaml.log

icttpzgithub avatar May 05 '22 14:05 icttpzgithub

Suggest removing plugin and installing latest version 1.2.0 from Github

derricksmith avatar Jul 14 '22 16:07 derricksmith

Hello derrick, I have the same problem, keycloack saml, phpsaml 1.2.0 and glpi 10.0.2. I downloaded phpsaml from the github 1.2.0 release and modified the plugin_phpsaml_check_prerequisites function to make installable. My phpsaml.log is the same as icttpzgithub

edit: It's the same if I clone directly the 1.2.1 branch

brunoMichelFromFrance avatar Aug 01 '22 08:08 brunoMichelFromFrance

Can you check the database and let me know what columns exist in the phpsaml plugin table?

derricksmith avatar Aug 09 '22 20:08 derricksmith

Hi,

I have the same problem. I cannot setup the phpSAML settings via the GUI, I inserted them via SQL

This is the name of columns exist in the phpsaml plugin table: id version enforced strict debug jit saml_sp_certificate saml_sp_certificate_key saml_sp_nameid_format saml_idp_entity_id saml_idp_single_sign_on_service saml_idp_single_logout_service saml_idp_certificate requested_authn_context requested_authn_context_comparison saml_security_nameidencrypted saml_security_authnrequestssigned saml_security_logoutrequestsigned saml_security_logoutresponsesigned

jviadair avatar Oct 03 '22 11:10 jviadair

Hello, i'm having the same issue. Can someone detail how to fix it please ?

WilliamDR35 avatar Nov 16 '22 16:11 WilliamDR35

Issue was resolved in #106

Can you confirm

derricksmith avatar Nov 17 '22 02:11 derricksmith

It's working, thank you !

WilliamDR35 avatar Nov 17 '22 09:11 WilliamDR35