derricksmith / phpsaml

GLPI Plugin - SAML integration using the Onelogin SAML Library
MIT License
32 stars 24 forks source link

Undefined array key "requested_authn_context" #112

Open mauricioasj opened 2 years ago

mauricioasj commented 2 years ago

Hi!

I'm trying to configure the plugin by entering the basic information. But when saving the changes, I get the Error "Error updating settings. Review field values."

When I use tail -f /var/log/apache2/error.log I get the following:

[php:warn] [pid 1523153] [client ] PHP Warning: Undefined array key "requested_authn_context" in /var/www/glpi/plugins/phpsaml/inc/config.class.php on line 336, referer: https:// helpdesk.serafine.com.br/front/plugin.php

Another question I have is what is the correct way to insert the certificate in the plugin? I got the .cer file from Azure AD but I can't get it into the configuration page.

In Service Provider Certificate should I insert the certificates of the web server where GLPI is installed?

Can you kindly help me?

Thank you for your attention.

derricksmith commented 2 years ago

What version of phpsaml plugin? Can you run "SHOW COLUMNS FROM glpi_plugin_phpsaml_configs" in mysql and provide output?

The Service Provider is your GLPI application, your Identity Provider is Azure AD in your case.