Skip to main content

Good morning,

we are trying to set up SAML authentication with our EntraID application
We´ve published application, we´ve remote login url, entity id and user id attribute

But when we try to login appears the following error: Authentication method 'X509, MultiFactor, X509Device' by which the user authenticated with the service doesn't match requested authentication method 'Password, ProtectedTransport'

How can we fix it?

This is a known error that shows in certain set ups. This should be fixed in an upcoming release but let me find out if there is a workaround.


Hi, this workaround should help you with this issue : 

On Central platform, edit the following file  (l. 543)

/usr/share/centreon/vendor/onelogin/php-saml/src/Saml2/Auth.php

 

set $forceAuthn to true : 

public function login($returnTo = null, array $parameters = array(), $forceAuthn = true, $isPassive = false, $stay = false, $setNameIdPolicy = true, $nameIdValueReq = null)

 

close the browser and reconnect

 

Let me know if you encounter any issue

 


Reply