Hi guys,
For a long time now Zabbix has had an issue with SAML when using Azure. This issue only seems to accur when using MS Edge if you are logged in to the same Microsoft account with Edge Profile. Issue relating to requestedAuthnContext. If I ling via Inprivate or a different profile in Edge, there is no issues.
There was an easy solution in Zabbix 5.x that seems to have been broken in 6 and 6.2. In 5 I added
to /etc/zabbix/web/zabbix.conf.php. V6 this doesn't seem to do anything.
Now in v6.2 I change in file /usr/share/zabbix/vendor/onelogin/php-saml/src/Saml2/Settings.php:
to:
This fixes the issue, but I think this file is not protected from upgrades as I have had to change a few times.
Would be awesome to add a tickbox to the SAML settings that disabled this setting and protected against upgrades.
For a long time now Zabbix has had an issue with SAML when using Azure. This issue only seems to accur when using MS Edge if you are logged in to the same Microsoft account with Edge Profile. Issue relating to requestedAuthnContext. If I ling via Inprivate or a different profile in Edge, there is no issues.
There was an easy solution in Zabbix 5.x that seems to have been broken in 6 and 6.2. In 5 I added
Code:
$SSO['SETTINGS'] = ['requestedAuthnContext' => false];
Now in v6.2 I change in file /usr/share/zabbix/vendor/onelogin/php-saml/src/Saml2/Settings.php:
Code:
if (!isset($this->_security['requestedAuthnContext'])) {
$this->_security['requestedAuthnContext'] = true;
}
Code:
if (!isset($this->_security['requestedAuthnContext'])) {
$this->_security['requestedAuthnContext'] = false;
}
Would be awesome to add a tickbox to the SAML settings that disabled this setting and protected against upgrades.
Comment