imi/shibboleth-contao-login-client-bundle

Contao Shibboleth Login Client

v0.2.1 2023-09-19 08:37 UTC

This package is auto-updated.

Last update: 2024-04-19 09:55:45 UTC


README

Some notes about installing the Apache module are in INSTALL-SERVER.md

Prerequisites

  • shibd / mod_shib is installed
  • The Shibboleth login handler is available in /Shibboleth.sso/Login (this is the default in mod_shib)
  • Verify that the login works in general by opening /Shibboleth.sso/Login.
  • The module currently expects the following fields to be set in the env by the Apache shibd module:
    REDIRECT_unscoped-affiliation
    REDIRECT_uid
    REDIRECT_sn
    REDIRECT_mail
    REDIRECT_cn
    

Installation

  1. Install the package via composer
  2. Add the frontend module to your page for the frontend login

Configuration

Add to config/config.yaml (see config/config.yaml for all options)

shibboleth_auth_client:
    shibboleth:
        auto_create_frontend_user: false

Development

Testing

  1. CREATE DATABASE contaoshibboleth
  2. composer install (in the module directory)
  3. vendor/bin/phpunit

Acknowledgements