diff --git a/view/unicaen-auth/auth/shibboleth.phtml b/view/unicaen-auth/auth/shibboleth.phtml index eeeacd37cecaf78c7a243d92d8ede6f8fe7a951e..0543055a61199e8a8cd8035821acf0b45bda2b50 100644 --- a/view/unicaen-auth/auth/shibboleth.phtml +++ b/view/unicaen-auth/auth/shibboleth.phtml @@ -25,7 +25,7 @@ <h2>Autre solution : simuler une authentification Shibboleth</h2> <p> Il est possible de faire comme si un utilisateur s'était connecté via Shibboleth. - Cela se fait via la clé de config 'simulate' : + Cela se fait via la clé de config 'simulate', exemple : </p> <pre> 'unicaen-auth' => [ @@ -33,8 +33,13 @@ 'shibboleth' => [ 'enable' => true, 'simulate' => [ - 'eppn' => 'username@domain.fr', - 'supannEmpId' => '00012345', + 'eppn' => $eppn = 'premierf@univ.fr', + 'supannEmpId' => '00012345', + 'displayName' => $eppn, + 'mail' => $eppn, + 'givenName' => 'François', + 'sn' => 'Premier', + 'supannCivilite' => 'M.' ], ], ],