Skip to content
This repository was archived by the owner on Jul 22, 2022. It is now read-only.
This repository was archived by the owner on Jul 22, 2022. It is now read-only.

libertempo  #958

Description

@olivierb987

bonjour ,

je ne parviens pas a faire fonctionner l'authentification CAS sur une version 1.13

les fichiers de configuration config_CAS.php est correctement renseigné et référence le serveur ainsi que le port et l'URI de mon serveur CAS .
le mode de connexion (how_to_connect_user) est bien valué a "cas"
l'authentification LDAP fonctionne quant a elle correctement .

voici ce que j'obtiens lors de mes tentatives de connexion apres avoir activé le mode dev dans le fichier env.php
Notice: Undefined index: config in /var/www/html/Libertempo/includes/fonction.php on line 270

Notice: Undefined index: config in /var/www/html/Libertempo/includes/fonction.php on line 271

Notice: Undefined index: config in /var/www/html/Libertempo/includes/fonction.php on line 272

Notice: Undefined index: config in /var/www/html/Libertempo/includes/fonction.php on line 273

Error: Internal script failure

les lignes de code correspondantes dans le fichier functions.php sont les suivantes

function authentification_passwd_conges_CAS()
{
$config_CAS_host =$_SESSION['config']['CAS_host'];
$config_CAS_portNumber =$_SESSION['config']['CAS_portNumber'];
$config_CAS_URI =$_SESSION['config']['CAS_URI'];
$config_CAS_CACERT =$_SESSION['config']['CAS_CACERT'];
$config = new \App\Libraries\Configuration(\includes\SQL::singleton());

j'ai évidement tenté de forcer les variables directement dans le fichier fonctions.php , mais sans effets

savez vous comment faire fonctionner CAS ?

merci pour vos remarques !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions