Issue
This issue generally occurs because of SimpleSAML module configuration as it depends on where any customer is installing the SimpleSAML. This error occurs because of the location of your `SimpleSAMLphp_auth`
library that you have added to your `settings.php`
file.
Resolution
When we add the location of the `SimpleSAMLphp_auth` library as follows :
if (file_exists('/var/www/site-php')) {
$settings['simplesamlphp_dir'] = "/var/www/html/" . $_ENV['AH_SITE_NAME'] . "/simplesamlphp";
}
Please once check the file structure and confirm that where have you added the library i.e. where does the lib folder exists and then update the above mentioned code accordingly. For instance if you have installed the library inside the vendor folder which exists at the same level of docroot, i.e. `lib` folder is available under `var/www/html/{env}/vendor/simplesamlphp/simplesamlphp`
then use
$settings['simplesamlphp_dir'] = "/var/www/html/" . $_ENV['AH_SITE_NAME'] . "/vendor/simplesamlphp/simplesamlphp";