@@ -14,6 +14,8 @@ Update `/simplesamlphp/config/config.php`:
1414'theme.use' => 'material:material'
1515```
1616
17+ _ [ ssp-base] ( https://github.com/silinternational/ssp-base ) provides a convenience by loading this config with whatever is in the environment variable ` THEME_USE ` ._
18+
1719### Google reCAPTCHA
1820If a site key has been provided in ` $this->data['recaptcha.siteKey'] ` , the
1921username/password page may require the user prove his/her humanity.
@@ -25,8 +27,7 @@ Update `/simplesamlphp/config/config.php`:
2527'theme.color-scheme' => ['indigo-purple'|'blue_grey-teal'|'red-teal'|'orange-light_blue']
2628```
2729
28- The login page will get its images from ` /simplesamlphp/www/favicon.ico ` and
29- ` /simplesamlphp/www/logo.png ` which are ** NOT** provided by default.
30+ The login page looks for ` /simplesamlphp/www/logo.png ` which is ** NOT** provided by default.
3031
3132### Analytics
3233Update ` /simplesamlphp/config/config.php ` :
@@ -35,9 +36,18 @@ Update `/simplesamlphp/config/config.php`:
3536'analytics.trackingId' => 'UA-some-unique-id-for-your-site'
3637```
3738
39+ _ [ ssp-base] ( https://github.com/silinternational/ssp-base ) provides a convenience by loading this config with whatever is in the environment variable ` ANALYTICS_ID ` ._
40+
3841### Announcements
39- If something is found in ` $this->data['announcement'] ` an alert will be shown to the user filled with the
40- content of that announcement. HTML is supported.
42+ Update ` /simplesamlphp/config/config.php ` :
43+
44+ ```
45+ 'announcement' => 'Some <strong>important</strong> announcement'
46+ ```
47+
48+ _ [ ssp-base] ( https://github.com/silinternational/ssp-base ) provides a convenience by loading this config with whatever is returned by ` /simplesamlphp/announcement/announcement.php ` ._
49+
50+ If configured, an alert will be shown to the user filled with the content of that announcement. HTML is supported.
4151
4252## Testing theme
4353
@@ -46,61 +56,87 @@ content of that announcement. HTML is supported.
4656
4757### Setup
4858
49- 1 . Setup ` localhost ` aliases for ` ssp-hub.local ` , ` ssp-hub-idp1.local ` , and ` ssp-hub-idp2.local ` . This is typically done in ` /etc/hosts ` .
59+ 1 . Setup ` localhost ` aliases for ` ssp-hub.local ` , ` ssp-hub2.local ` , ` ssp- hub-idp1.local` , and ` ssp-hub-idp2.local ` . This is typically done in ` /etc/hosts ` .
50602 . Start test environment, e.g., ` make ` from the command line.
51- 3 . Goto [ http://ssp-hub.local ] ( http://ssp-hub.local ) .
52- 4 . Login as hub administrator, e.g., username=admin & password=abc123
53-
54- ### Hub
55- 1 . Click ** Authentication** tab
56- 2 . Click ** Test configured authentication sources**
57- 3 . Click ** hub-discovery**
58-
59- ### Error
60- 1 . Click ** Federation** tab
61- 2 . Click either ** Show metadata** link
62-
63- ### Logout
64- 1 . Click ** Authentication** tab
65- 2 . Click ** Test configured authentication sources**
66- 3 . Click ** admin**
67- 4 . Click ** Logout**
68-
69- ### Login
70- 1 . Click ** Authentication** tab
71- 2 . Click ** Test configured authentication sources**
72- 3 . Click ** hub-discovery**
73- 4 . Click ** Login with idp1** (NOTE: login page should NOT have material design)
74- 5 . Login as idp1 administrator, e.g., username=admin & password=a
75- 6 . Click ** Logout**
76- 7 . Goto [ http://ssp-hub.local ] ( http://ssp-hub.local )
77- 8 . Click ** Authentication** tab
78- 9 . Click ** Test configured authentication sources**
79- 10 . Click ** hub-discovery**
80- 11 . Click ** Login with idp2** (NOTE: login page should have material design)
81- 12 . Login as an idp2 user, e.g., username=distant_future & password=a
82- 13 . Click ** Logout**
8361
84- ### Expiry
62+ ### Hub page
63+ 1 . Goto [ http://ssp-hub.local ] ( http://ssp-hub.local )
64+ 2 . Login as hub administrator, e.g., username=admin & password=abc123
65+ 3 . Click ** Authentication** tab
66+ 4 . Click ** Test configured authentication sources**
67+ 5 . Click ** hub-discovery**
8568
86- #### About to expire
69+ ### Error page
87701 . Goto [ http://ssp-hub.local ] ( http://ssp-hub.local )
88- 2 . Click ** Authentication** tab
89- 3 . Click ** Test configured authentication sources**
90- 4 . Click ** hub-discovery**
91- 5 . Click ** Login with idp2**
92- 6 . Login as an an "about to expire" user, e.g., username=near_future & password=b
93- 7 . Click ** Maybe later**
94- 8 . Click ** Logout**
71+ 2 . Login as hub administrator, e.g., username=admin & password=abc123
72+ 3 . Click ** Federation** tab
73+ 4 . Click either ** Show metadata** link
9574
96- #### Expired
75+ ### Logout page
97761 . Goto [ http://ssp-hub.local ] ( http://ssp-hub.local )
98- 2 . Click ** Authentication ** tab
99- 3 . Click ** Test configured authentication sources **
100- 4 . Click ** hub-discovery **
101- 5 . Click ** Login with idp2 **
102- 6 . Login as an an "expired" user, e.g., username=already_past & password=c
77+ 2 . Login as hub administrator, e.g., username=admin & password=abc123
78+ 3 . Click ** Authentication ** tab
79+ 4 . Click ** Test configured authentication sources **
80+ 5 . Click ** admin **
81+ 6 . Click ** Logout **
10382
83+ ### Login page
84+ 1 . Goto [ http://ssp-hub.local ] ( http://ssp-hub.local )
85+ 2 . Login as hub administrator, e.g., username=admin & password=abc123
86+ 3 . Click ** Authentication** tab
87+ 4 . Click ** Test configured authentication sources**
88+ 5 . Click ** hub-discovery**
89+ 6 . Click ** Login with idp1** (NOTE: login page should NOT have material design)
90+ 7 . Login as idp1 administrator, e.g., username=admin & password=a
91+ 8 . Click ** Logout**
92+ 9 . Goto [ http://ssp-hub.local ] ( http://ssp-hub.local )
93+ 10 . Click ** Authentication** tab
94+ 11 . Click ** Test configured authentication sources**
95+ 12 . Click ** hub-discovery**
96+ 13 . Click ** Login with idp2** (NOTE: login page should have material design)
97+ 14 . Login as an idp2 user, e.g., username=distant_future & password=a
98+ 15 . Click ** Logout**
99+
100+ ### Forgot password functionality
101+ 1 . Goto [ http://ssp-hub.local ] ( http://ssp-hub.local )
102+ 2 . Login as hub administrator, e.g., username=admin & password=abc123
103+ 3 . Click ** Authentication** tab
104+ 4 . Click ** Test configured authentication sources**
105+ 5 . Click ** hub-discovery**
106+ 6 . Click ** Login with idp2**
107+ 7 . Forgot password link should be visible
108+
109+ ### Expiry functionality
110+ #### About to expire page
111+ 1 . Goto [ http://ssp-hub.local ] ( http://ssp-hub.local )
112+ 2 . Login as hub administrator, e.g., username=admin & password=abc123
113+ 3 . Click ** Authentication** tab
114+ 4 . Click ** Test configured authentication sources**
115+ 5 . Click ** hub-discovery**
116+ 6 . Click ** Login with idp2**
117+ 7 . Login as an an "about to expire" user, e.g., username=near_future & password=b
118+ 8 . Click ** Later**
119+ 9 . Click ** Logout**
120+
121+ #### Expired page
122+ 1 . Goto [ http://ssp-hub.local ] ( http://ssp-hub.local )
123+ 2 . Login as hub administrator, e.g., username=admin & password=abc123
124+ 3 . Click ** Authentication** tab
125+ 4 . Click ** Test configured authentication sources**
126+ 5 . Click ** hub-discovery**
127+ 6 . Click ** Login with idp2**
128+ 7 . Login as an an "expired" user, e.g., username=already_past & password=c
129+
130+ ### Announcements functionality
131+ 1 . Goto [ http://ssp-hub2.local:8081 ] ( http://ssp-hub2.local:8081 )
132+ 2 . The announcement should be displayed
133+ 3 . Login as hub2 administrator, e.g., username=admin & password=abc123
134+ 4 . Click ** Authentication** tab
135+ 5 . Click ** Test configured authentication sources**
136+ 6 . Click ** hub-discovery**
137+ 7 . The announcement should be displayed
138+ 8 . Click ** Login with idp3**
139+ 9 . The announcement should be displayed
104140
105141## i18n support
106142Translations are categorized by page in definition files located in the ` dictionaries ` directory.
0 commit comments