Bonjour,
Des enseignants viennent de me signaler qu’ils ne peuvent plus se connecter à Moole via ENT et cela depuis la dernière mise à jour.
Nous utilisons un plugin (ELEA CAS server SSO) d’authentification via un ENT (Léo Picardie) qui permet de créer automatiquement les compte sur Moodle depuis la connexion au portail ENT.
Infos mode débogage Moodle :
Exception : CAS URL:
https://ent.picardie.fr/cas/serviceValidate?service=https%3A%2F%2Ffoad.ac-amiens.fr%2Flogin%2Findex.php%3FauthCAS%3DLEO&ticket=ST-b1856e47-3f68-4d8d-a4e1-49f54170ae2c
Authentication failure: Ticket not validated
Reason: [INVALID_TICKET] CAS error: the ticket provided was not valid,
or the ticket did not come from an initial login and "renew" was set on
validation.
CAS response: the ticket provided was not valid, or the ticket did not
come from an initial login and "renew" was set on validation.
Response du serveur CAS :
<cas:serviceResponse xmlns:cas="http://www.yale.edu/tp/cas"> <cas:authenticationFailure code="INVALID_TICKET">the ticket provided was not valid, or the ticket did not come from an initial login and "renew" was set on validation.</cas:authenticationFailure> </cas:serviceResponse>
Extrait logs apache2:
[Tue Apr 23 15:10:42.698340 2019] [proxy_fcgi:error] [pid 21312:tid 140132703205120] [client XXXXXXX:60286] AH01071: Got error 'PHP message: Default exception handler: Exception\xc2\xa0: CAS URL: https://ent.picardie.fr/cas/serviceValidate?service=https%3A%2F%2Ffoad.ac-amiens.fr%2Flogin%2Findex.php%3FauthCAS%3DLEO&ticket=ST-b1856e47-3f68-4d8d-a4e1-49f54170ae2c\nAuthentication failure: Ticket not validated\nReason: [INVALID_TICKET] CAS error: the ticket provided was not valid, or the ticket did not come from an initial login and "renew" was set on validation.\nCAS response: the ticket provided was not valid, or the ticket did not come from an initial login and "renew" was set on validation. Debug: \nError code: generalexceptionmessage\n* line 3236 of /auth/cas/CAS/CAS/Client.php: CAS_AuthenticationException thrown\n* line 1449 of /auth/cas/CAS/CAS/Client.php: call to CAS_Client->validateCAS20()\n* line 1331 of /auth/cas/CAS/CAS/Client.php: call to CAS_Client->isAuthenticated()\n* line 1078 of /auth/cas/CAS/CAS.php: call to CAS_Client->checkAuthentication()\n* line 270 of /auth/eleacas/auth.php: call to phpCAS::checkAuthentication()\n* line 78 ...\n', referer: https://foad.ac-amiens.fr/login/index.php
Error code (CAS protocol 3.0) :
INVALID_TICKET - the ticket provided was not valid, or the ticket did not come from an initial login and renew was set on validation. The body of the \<cas:authenticationFailure\> block of the XML response SHOULD describe the exact details.
Je viens de mettre à jour Moodle version Moodle 3.6.3+ (Build: 20190413) , plugins et thèmes (Version Adaptable 1.8.0.1 (201911701).
Merci d’avance pour vos réponses, dans l’attente de pouvoir échanger.
Crémos