In this setup, the SAML IDP will be available at example.com/auth and we will use the ldap server configured in this post.
Start by moving to the directory above the DocumentRoot for the domain. Let’s say that it is /var/www/example.com, so
cd /var/www/
Download the latest simplesamlphp version
wget https://simplesamlphp.org/res/downloads/simplesamlphp-1.14.4.tar.gz && tar xvfz simplesamlphp-1.14.4.tar.gz
Read more “Configuring a SAML IDP with LDAP as authentication source”