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
The aim of this module is to enhance integration with **simplesamlphp_auth** module, by force triggering **SimpleSAML auth page** redirect when certain criteria are met.
4
6
5
-
#How does it work
7
+
## How does it work
6
8
7
9
Module performs checks on a single redirect triggering page. In order for it to work the cache for anonymous user for that page response is programmatically killed.
8
10
@@ -16,7 +18,7 @@ To improve the performance, the redirect decision is stored in cookies to a limi
16
18
17
19
Additionally module provides a special field for user entity, called **SimpleSAML UID** that allows to create a **SimpleSAML mapping** with the existing Drupal users.
18
20
19
-
#Additional setings
21
+
## Additional setings
20
22
21
23
-**IP's whitelist**
22
24
Comma separate values of IP or IP ranges that will be redirected to SimpleSAML auth page.
@@ -25,3 +27,35 @@ A certain page that triggers the redirect to SimpleSAML auth page if the criteri
25
27
-**Cookies TTL**
26
28
Stores the redirect response in the cookies for a certain period of time (_defaults: 5min_).
27
29
30
+
## Install
31
+
32
+
Module is available to download via composer.
33
+
```
34
+
composer require os2web/os2web_simplesaml
35
+
drush en os2web_simplesaml
36
+
```
37
+
38
+
## Update
39
+
Updating process for OS2Web SimpleSAML module is similar to usual Drupal 8 module.
40
+
Use Composer's built-in command for listing packages that have updates available:
41
+
42
+
```
43
+
composer outdated os2web/os2web_simplesaml
44
+
```
45
+
46
+
## Automated testing and code quality
47
+
See [OS2Web testing and CI information](https://github.com/OS2Web/docs#testing-and-ci)
48
+
49
+
## Contribution
50
+
51
+
Project is opened for new features and os course bugfixes.
52
+
If you have any suggestion or you found a bug in project, you are very welcome
53
+
to create an issue in github repository issue tracker.
54
+
For issue description there is expected that you will provide clear and
55
+
sufficient information about your feature request or bug report.
56
+
57
+
### Code review policy
58
+
See [OS2Web code review policy](https://github.com/OS2Web/docs#code-review)
59
+
60
+
### Git name convention
61
+
See [OS2Web git name convention](https://github.com/OS2Web/docs#git-guideline)
'#description' => t('Number of seconds, after which the positive or negative redirect decision will expire. Setting long time improves the performance, but IP rules change will take longer to become active for all users.'),
'#description' => $simplesamlExample ? t('Example of the existing SimpleSAML entry from authmap table: <b>@simplesaml</b>', array('@simplesaml' => $simplesamlExample)) : t('Provide a string serves the UID of the user.')
158
+
'#description' => $simplesamlExample ? t('Example of the existing SimpleSAML entry from authmap table: <b>@simplesaml</b>', ['@simplesaml' => $simplesamlExample]) : t('Provide a string serves the UID of the user.'),
0 commit comments