we are encountering an error when attempting to use SAML2 authentication with LibreNMS.
The Error Message is:
SocialiteProviders\Saml2\Provider::getFirstAssertion(): Return value must be of type LightSaml\Model\Assertion\Assertion, null returned {"exception":"[object] (TypeError(code: 0): SocialiteProviders\\Saml2\\Provider::getFirstAssertion(): Return value must be of type LightSaml\\Model\\Assertion\\Assertion, null returned at /librenms/vendor/socialiteproviders/saml2/Provider.php:482)"}
Hi,
we are encountering an error when attempting to use SAML2 authentication with LibreNMS.
The Error Message is:
SocialiteProviders\Saml2\Provider::getFirstAssertion(): Return value must be of type LightSaml\Model\Assertion\Assertion, null returned {"exception":"[object] (TypeError(code: 0): SocialiteProviders\\Saml2\\Provider::getFirstAssertion(): Return value must be of type LightSaml\\Model\\Assertion\\Assertion, null returned at /librenms/vendor/socialiteproviders/saml2/Provider.php:482)"}
System Information:
SAML2 Setup Details:
We have configured the SAML2 authentication by following these steps:
services.php Configuration: We added the following SAML2 configuration to our services.php file:
app.php Configuration: Additionally, we modified app.php as follows: