- Posts: 3
problème après authentification CAS
- jadlamrani
- Topic Author
- New Member
Less
More
2 months 3 weeks ago #5515
by jadlamrani
problème après authentification CAS was created by jadlamrani
Bonjour,J'espère que vous allez bien. Je viens d'installer la dernière version de GRR, la 4.3.5, et j'ai rencontré un problème avec l'authentification CAS. Après m'être identifié en CAS, je suis redirigé vers la page d'accueil par défaut sans authentification. L'authentification locale fonctionne sans problème. Pouvez-vous m'aider, s'il vous plaît ?Merci d'avance.
Please Log in or Create an account to join the conversation.
- Yan
- Developpeur GRR
Less
More
- Posts: 2085
2 months 2 weeks ago #5516
by Yan
Replied by Yan on topic problème après authentification CAS
Bonjour,
il y a visiblement un problème avec l'authentification CAS sur la version 4.3.5, cf site.devome.com/fr/kunena/aide-installat...ntification-cas#5505
Investigation en cours.
Cordialement,
YN
il y a visiblement un problème avec l'authentification CAS sur la version 4.3.5, cf site.devome.com/fr/kunena/aide-installat...ntification-cas#5505
Investigation en cours.
Cordialement,
YN
Please Log in or Create an account to join the conversation.
- Yan
- Developpeur GRR
Less
More
- Posts: 2085
2 months 2 weeks ago #5517
by Yan
Replied by Yan on topic problème après authentification CAS
Il faudrait modifier le fichier /include/cas.inc.php en insérant
entre les lignes 21 et 22 (version 4.3.5) pour en savoir plus sur ce qui dysfonctionne.
Code:
include_once('./include/CAS.php');
// Enable debugging
phpCAS::setDebug();
// Enable verbose error messages. Disable in production!
phpCAS::setVerbose(true);
Please Log in or Create an account to join the conversation.
- jadlamrani
- Topic Author
- New Member
Less
More
- Posts: 3
2 months 2 weeks ago #5522
by jadlamrani
Replied by jadlamrani on topic problème après authentification CAS
Bonjour,
Merci pour votre réponse. J'ai bien modifié le fichier include/cas.inc.php, mais le problème persiste. J'ai remarqué qu'il y a une déclaration pour CAS.php, cependant, il n'y a pas de fichier nommé CAS.php dans le dossier include. Le seul fichier nommé CAS.php se trouve dans le dossier vendor (aux emplacements vendor/apereo/phpcas/CAS.php et vendor/apereo/phpcas/source/CAS.php). J'ai tenté de remplacer le chemin par ceux-ci, mais cela ne fonctionne toujours pas.
Merci pour votre réponse. J'ai bien modifié le fichier include/cas.inc.php, mais le problème persiste. J'ai remarqué qu'il y a une déclaration pour CAS.php, cependant, il n'y a pas de fichier nommé CAS.php dans le dossier include. Le seul fichier nommé CAS.php se trouve dans le dossier vendor (aux emplacements vendor/apereo/phpcas/CAS.php et vendor/apereo/phpcas/source/CAS.php). J'ai tenté de remplacer le chemin par ceux-ci, mais cela ne fonctionne toujours pas.
Please Log in or Create an account to join the conversation.
- Yan
- Developpeur GRR
Less
More
- Posts: 2085
2 months 6 days ago #5532
by Yan
Replied by Yan on topic problème après authentification CAS
Bonjour,
désolé pour cette réponse tardive, je devais faire quelques vérifications avant de répondre et je n'avais pas accès à GRR.
Il ne faut pas inclure la ligne
et vous devriez avoir un fichier phpCAS.log qui apparaît à la racine de GRR et devrait aider à débloquer la situation.
Cordialement,
YN
désolé pour cette réponse tardive, je devais faire quelques vérifications avant de répondre et je n'avais pas accès à GRR.
Il ne faut pas inclure la ligne
Code:
include_once('./include/CAS.php');
Cordialement,
YN
Please Log in or Create an account to join the conversation.
- jadlamrani
- Topic Author
- New Member
Less
More
- Posts: 3
1 week 3 days ago #5570
by jadlamrani
Replied by jadlamrani on topic problème après authentification CAS
Bonjour,
Merci pour votre réponse. Après plusieurs tests, j'ai découvert que le problème venait du fichier session.inc.php. J'ai remplacé ce fichier par celui de ma version précédente (GRR v3.4.1), ce qui m'a permis de me connecter à CAS et cela fonctionne bien. Cependant, cette modification a entraîné la perte de la connexion administrateur.
Merci pour votre réponse. Après plusieurs tests, j'ai découvert que le problème venait du fichier session.inc.php. J'ai remplacé ce fichier par celui de ma version précédente (GRR v3.4.1), ce qui m'a permis de me connecter à CAS et cela fonctionne bien. Cependant, cette modification a entraîné la perte de la connexion administrateur.
Please Log in or Create an account to join the conversation.
- Yan
- Developpeur GRR
Less
More
- Posts: 2085
1 week 2 days ago #5575
by Yan
Replied by Yan on topic problème après authentification CAS
Bonjour,
merci pour votre retour d'expérience. Je suis étonné que cela fonctionne avec le fichier de la version 3.4.1.
La connexion administrateur perdue correspond-elle à l'administrateur en authentification locale ?
Cordialement,
YN
merci pour votre retour d'expérience. Je suis étonné que cela fonctionne avec le fichier de la version 3.4.1.
La connexion administrateur perdue correspond-elle à l'administrateur en authentification locale ?
Cordialement,
YN
Please Log in or Create an account to join the conversation.
Moderators: Yan