| title | string | Title of the login page; used for title tag and h1 header
| lang | string | Language to detect texts in discofeed as 2 letter code; If the language is not found it takes the 1st text item
| mode | string | Selection mode; one of <br>-`"wayf"` Selection with WAYF script from Switch or<br>- `"boxes"` Boxes with images incl. filter field
| mode | string | Selection mode; one of <br>-`"boxes"` Boxes with images incl. filter field<br>- `"list"` Top down list of IDPs with images incl. filter field<br>- `"wayf"` Selection with WAYF script from Switch
| text-info | string | When not empty: show a warning banner with its text on top eg. for maintenance messages
| text-before-wayf | string | Text to show before wayf select box (for mode = "wayf" only)
| text-after-logins | string | Fisnishing text after
...
...
@@ -60,3 +62,15 @@ return [
| return-url | string | Return url to your application afer logging in on then organization url<br>- '/shib_login.php' is for Ilias LMS
| cachettl | integer | Caching time for cache file (discofeed.json ); default: 60 min
### Custom Css
Place a file named "screen_custom.css". If this exists it will be added in the html code after all other css files. There you can override all styles and values.
### Custom look
If you want to modify the look of the Idp selection:
* go to directory "mode"
* Make a copy of a view, eg. copy "boxes" to "myboxes" and make your changes in the copy
* To activate edit the ./config.php and set `'mode' => 'myboxes',`
* Requirements: local installation of php; you can use its internal webservice
* Extract files in a local folder or use git clone
* in functions.js set `var bShowLoginOnError = false;`to `true`
* in functions.js set `var bShowLoginOnError = false;`to `true` to see the Idp selection without having a shibboleth installation
* start `php -S localhost:9000` and open <http://localhost:9000> in your webbrowser
* Get the files of the discofeed from a production machine running shibboleth and store it as discofeed cache file:<br>`curl https://example.com/Shibboleth.sso/DiscoFeed > discofeed.json`
* After reachin cache TTL you can repeat the curl command or `touch discofeed.json`