From 86cef7d9f0a01636ee6d03c3aabcea1fd2bbd070 Mon Sep 17 00:00:00 2001 From: Thijs Kinkhorst <thijs@kinkhorst.com> Date: Wed, 7 Jul 2021 19:29:45 +0000 Subject: [PATCH] docs: prefer the new way of enabling modules for exampleauth. closes: #1477 --- docs/simplesamlphp-googleapps.md | 14 +++++++++----- docs/simplesamlphp-idp.md | 13 ++++++++----- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/docs/simplesamlphp-googleapps.md b/docs/simplesamlphp-googleapps.md index 62ac8d755..88a6a5fc4 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 48547ba31..b4df1fa8a 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`. -- GitLab