surfnet/simplesamlphp-module-themesurf

SURF simpleSAMLphp theme

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 11

Watchers: 4

Forks: 13

Open Issues: 0

Type:simplesamlphp-module

dev-main 2024-04-22 14:10 UTC

This package is auto-updated.

Last update: 2024-10-23 08:48:59 UTC


README

This project contains a simpleSAMLphp theme based on the design for an identity provider login screen that is optimized for use on mobile devices like smart phones and tablets. It was tested on a variety of devices.

The original design by Stroom can be found on Github Pages, and also in the gh-pages branch in this repository.

Login Page, Error Page.

The module can be installed in simpleSAMLphp by copying it into the modules directory or by using composer.

License

As this module takes code from simpleSAMLphp which is licensed under the LGPLv2.1 or later, this module has the same license. See included COPYING file.

Installation

We assume simpleSAMLphp is installed in /var/www/simplesamlphp, see the installation instructions.

You can install this theme as follows:

$ cd /var/www/simplesamlphp/modules
$ git clone https://github.com/SURFnet/simpleSAMLphp-theme-SURF.git themesurf

Now you can edit the main configuration file (/var/www/simplesamlphp/config/config.php) to enable the theme, in two places.

First, enable the module that contains the theme by adding it to the list of enabled modules:

'module.enable' => [
    'admin' => true,
    'themesurf' => true,
],

Then, change the following line:

'theme.use'             => 'default',

Into:

'theme.use'             => 'themesurf:surf',

This should enable the theme. You can only see it in action when there is an actual login screen with username and password dialog.