diff --git a/docs/simplesamlphp-googleapps.md b/docs/simplesamlphp-googleapps.md index 62ac8d7553457d82bd2bffe8dd4e022d0be9636b..88a6a5fc42673eedcc27fd6b18091abee3f8c837 100644 --- a/docs/simplesamlphp-googleapps.md +++ b/docs/simplesamlphp-googleapps.md @@ -89,11 +89,15 @@ After you have successfuly tested that everything is working with the simple `ex Configuring the authentication source ------------------------------------- -The `exampleauth:UserPass` authentication source is part of the `exampleauth` module. This module isn't enabled by default, so you will have to enable it. This is done by creating a file named `enable` in `modules/exampleauth/`. - -On unix, this can be done by running (from the SimpleSAMLphp installation directory): - - touch modules/exampleauth/enable +The `exampleauth:UserPass` authentication module is part of the `exampleauth` module. This module isn't enabled by default, so you will have to enable it. In +`config.php`, search for the `module.enable` key and set `exampleauth` to true: + +``` + 'module.enable' => [ + 'exampleauth' => true, + … + ], +``` The next step is to create an authentication source with this module. An authentication source is an authentication module with a specific configuration. Each authentication source has a name, which is used to refer to this specific configuration in the IdP configuration. Configuration for authentication sources can be found in `config/authsources.php`. diff --git a/docs/simplesamlphp-idp.md b/docs/simplesamlphp-idp.md index 48547ba31f59f64586b43bedc58008fb2be035a3..b4df1fa8a02d1ab4e727a65178bede3a7905ff43 100644 --- a/docs/simplesamlphp-idp.md +++ b/docs/simplesamlphp-idp.md @@ -84,12 +84,15 @@ In this guide, we will use the `exampleauth:UserPass` authentication module. Thi Configuring the authentication module ------------------------------------- -The `exampleauth:UserPass` authentication module is part of the `exampleauth` module. This module isn't enabled by default, so you will have to enable it. This is done by creating a file named `enable` in `modules/exampleauth/`. +The `exampleauth:UserPass` authentication module is part of the `exampleauth` module. This module isn't enabled by default, so you will have to enable it. In +`config.php`, search for the `module.enable` key and set `exampleauth` to true: -On unix, this can be done by running (from the SimpleSAMLphp -installation directory): - - touch modules/exampleauth/enable +``` + 'module.enable' => [ + 'exampleauth' => true, + … + ], +``` The next step is to create an authentication source with this module. An authentication source is an authentication module with a specific configuration. Each authentication source has a name, which is used to refer to this specific configuration in the IdP configuration. Configuration for authentication sources can be found in `config/authsources.php`.