You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-43
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ NOTE: This is software establishes a SAML identity provider (IdP) using Drupal a
11
11
### simpleSAMLphp module
12
12
13
13
This module for SimpleSAMLphp provides an Authentication Source for authenticating users against a local Drupal site. This allows the administrator to leverage the user management and integration capabilities of Drupal for managing the identity life cycle and the power of SimpleSAMLphp for identity integration. This is a simpleSAMLphp module, NOT a Drupal module.
14
-
Download and enabme simpleSAMLmodule only if case if you want to use Drupal as Identity Provider.
14
+
Download this module only if you want to use Drupal as Identity Provider.
15
15
16
16
17
17
### Drupal modules
@@ -22,15 +22,16 @@ If you want to connect your Drupal site as Service Provider to a SAML or Shibbol
22
22
## Installation
23
23
24
24
#### Reqirements
25
-
1. Install Drupal 7.x
25
+
1. Install Drupal 8.x
26
26
2. Install simpleSAMLphp
27
-
3. Configure SimpleSAMLphp to use something other than `phpsession` for session storage, e.g., SQL or memcache (See: `store.type` in `simplesamlphp/config/config.php`).
28
-
4. Download drupalauth and unpack drupalauth
29
-
5. Move the drupalauth module directory into `simplesamlphp/modules` directory
30
-
6. Configure the authentication source in `simplesamlphp/config/authsources.php` as described below.
27
+
3. Install drupalauth
28
+
4. Configure SimpleSAMLphp to use something other than `phpsession` for session storage, e.g., SQL or memcache (See: `store.type` in `simplesamlphp/config/config.php`).
29
+
5. Configure the authentication source in `simplesamlphp/config/authsources.php` as described below.
31
30
32
31
#### Authenticate against Drupal but use the Drupal login page
33
32
33
+
**Not supported yet!!!**
34
+
34
35
The advantage of this approach is that the SimpleSAMLphp IdP session is tied to a Drupal session. This allows the user who is already logged into the Drupal site to then navigate to a SAML SP that uses the IdP without the need to authenticate again.
35
36
36
37
**Details**
@@ -67,54 +68,33 @@ Configure the authentication source by putting following code into `simplesamlph
67
68
68
69
#### Authenticate against Drupal but use the SimpleSAMLphp login page
69
70
70
-
The advantage of this approach is that their is no obvious connection between SimpleSAMLphp IdP and the Drupal site.
71
+
The advantage of this approach is that there is no obvious connection between SimpleSAMLphp IdP and the Drupal site.
71
72
72
73
**Details**
73
74
74
75
Configure the authentication source by putting following code into `simplesamlphp/config/authsources.php`
75
76
76
77
```php
77
-
'drupal-userpass' => array('drupalauth:UserPass',
78
+
'drupal-userpass' => array(
79
+
'drupalauth:UserPass',
78
80
79
-
// The filesystem path of the Drupal directory.
80
-
'drupalroot' => '/home/drupal',
81
+
// The filesystem path of the Drupal directory.
82
+
'drupalroot' => '/var/www/drupal-8.0',
81
83
82
84
// Whether to turn on debug
83
85
'debug' => true,
84
86
85
87
// Which attributes should be retrieved from the Drupal site.
86
-
// This can be an associate array of attribute names, or NULL, in which case
87
-
// all attributes are fetched.
88
-
//
89
-
// If you want everything (except) the password hash do this:
90
-
// 'attributes' => NULL,
91
-
//
92
-
// If you want to pick and choose do it like this:
0 commit comments