After you define and configure your IdP, you must test your connection and configure the simpleSAMLphp Authentication Drupal module to complete SimpleSAMLphp setup.
To test your SimpleSAMLphp connection after defining and configuring your IdP:
http://[example.com]/simplesaml/
in a web browser, replacing
[example.com]
with the domain name of your website.default-sp
unless you have configured another value in authsources.php
.If SimpleSAMLphp connects and authenticates, it redirects you to a page displaying the list of attributes returned by your IdP. You will need these attributes to configure the simpleSAMLphp Authentication Drupal module.
After successfully testing your connection, you must configure the simpleSAMLphp Authentication Drupal module by completing the following steps.
$conf
variable to settings.php
(for Cloud Platform) or to a Factory settings.php hook (for Site Factory) as described
in Installing the SimpleSAMLphp library.http://[example.com]/admin/modules
, where [example.com]
is your website’s URL, and enable the simpleSAMLphp Authentication module.http://[example.com]/admin/config/people/simplesamlphp_auth/
, where
[example.com]
is your website’s URL, and confirm the $conf
variable
has pre-populated the installation directory.http://[example.com]/saml_login
. SimpleSAMLphp redirects the user to
the IdP. Sign in with a username and password.SimpleSAMLphp authenticates the username and password, and signs the user in to your Drupal website.
If the sign-in is successful, single sign-on is now enabled for your website!