Skip to content
Snippets Groups Projects
Commit 86cef7d9 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

docs: prefer the new way of enabling modules for exampleauth.

closes: #1477
parent 64fca25a
No related branches found
No related tags found
No related merge requests found
......@@ -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`.
......
......@@ -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`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment