Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit

Permalink
Add section to provide step for testing SimpleSAMLphp library (#1974)
Browse files Browse the repository at this point in the history
* Add section to provide step for testing library

* refine simplesamlphp testing step language
  • Loading branch information
guitarte authored and grasmash committed Sep 7, 2017
1 parent 4ecd351 commit be8559f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions readme/simplesamlphp-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,16 @@ Request the remote IdP metadata (XML) from the customer. Note that each environm

1. Commit your changes to your Git repository.

## Testing Library Configuration

Once you have completed the code changes above, you should proceed with testing the configuration of SimpleSAMLphp as a Service Provider connecting to your specified Identity Provider.

You can do this by navigating to the path `/simplesaml/module.php/core/authenticate.php` on your application to access the SimpleSAMLphp library Test authentication sources page. On this page you will need to click the authsource to test. It should be default-sp unless configured otherwise.

If it successfully connects and authenticates it will return you to a page in the SimpleSAML interface where it will list the attributes returned by the IdP. Make a note of these attributes because they will be used to configure the SimpleSAMLphp_auth Drupal module.

If you are unable to connect, there’s typically variations in how your authsources.php can be setup depending on the IdP that’s being used, so the testing phase in the library is crucial in determining what changes if any need to be made.

## Module Configuration

Be careful with the following steps as misconfiguration could effectively lock you out of your site. It is probably best to allow at least user 1 to continue to use "local authentication" until you have confirmed that everything works.
Expand Down

0 comments on commit be8559f

Please sign in to comment.