{"action":"created","issue":{"url":"https://api.github.com/repos/libertempo/web/issues/632","repository_url":"https://api.github.com/repos/libertempo/web","labels_url":"https://api.github.com/repos/libertempo/web/issues/632/labels{/name}","comments_url":"https://api.github.com/repos/libertempo/web/issues/632/comments","events_url":"https://api.github.com/repos/libertempo/web/issues/632/events","html_url":"https://github.com/libertempo/web/issues/632","id":311554059,"node_id":"MDU6SXNzdWUzMTE1NTQwNTk=","number":632,"title":"Bug config cas mondaran (beta)","user":{"login":"jptran","id":1647293,"node_id":"MDQ6VXNlcjE2NDcyOTM=","avatar_url":"https://avatars0.githubusercontent.com/u/1647293?v=4","gravatar_id":"","url":"https://api.github.com/users/jptran","html_url":"https://github.com/jptran","followers_url":"https://api.github.com/users/jptran/followers","following_url":"https://api.github.com/users/jptran/following{/other_user}","gists_url":"https://api.github.com/users/jptran/gists{/gist_id}","starred_url":"https://api.github.com/users/jptran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jptran/subscriptions","organizations_url":"https://api.github.com/users/jptran/orgs","repos_url":"https://api.github.com/users/jptran/repos","events_url":"https://api.github.com/users/jptran/events{/privacy}","received_events_url":"https://api.github.com/users/jptran/received_events","type":"User","site_admin":false},"labels":[{"id":216500936,"node_id":"MDU6TGFiZWwyMTY1MDA5MzY=","url":"https://api.github.com/repos/libertempo/web/labels/Bug","name":"Bug","color":"fc2929","default":false},{"id":506766430,"node_id":"MDU6TGFiZWw1MDY3NjY0MzA=","url":"https://api.github.com/repos/libertempo/web/labels/LDAP/AD/CAS/SSO","name":"LDAP/AD/CAS/SSO","color":"f6aaA0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-04-05T10:23:28Z","updated_at":"2018-10-09T12:33:34Z","closed_at":null,"author_association":"NONE","body":"[Uniquement pour les bugs]\r\n\r\n### Système et application\r\n\r\n* Système d'exploitation du serveur : Debian\r\n* Serveur HTTP et version : Apache/2.4.10 \r\n* Version MySQL et PHP : 5.7.20 / 5.6.30\r\n* Navigateur et version : firefox\r\n* Version de l'application : Mondaran (beta)\r\n* Avez-vous des notifications dans la console du navigateur :\r\n* Avez-vous des erreurs dans le log du serveur http (ex : /var/log/apache2) :\r\n* Méthodes de connexion [interne / ldap / sso] : cas\r\n\r\n### Reproduction du bug\r\nBonjour, \r\nMême config cas que pour la version kantra 1.10.2, tout était ok.\r\nEn Version Mondaran, en compte local, config 'dbconges', aucun problème.\r\nEn config 'cas' message direct : \"Error: Internal script failure\" \r\n-- phpCas.log --\r\nphpCAS::client('2.0', NULL, NULL, NULL) [fonction.php:342]\r\n981C .|    => phpCAS::error('CAS_TypeMismatchException: type mismatched for parameter $server_hostname (should be \\'string \\'), NULL given. ') [CAS.php:362]\r\n981C .|    |    CAS_TypeMismatchException: type mismatched for parameter $server_hostname (should be 'string '), NULL given.  in /var/www/Libertempo-web-beta/includes/fonction.phpon line 342 [CAS.php:566]\r\n981C .|    <= ''\r\n"},"comment":{"url":"https://api.github.com/repos/libertempo/web/issues/comments/428173977","html_url":"https://github.com/libertempo/web/issues/632#issuecomment-428173977","issue_url":"https://api.github.com/repos/libertempo/web/issues/632","id":428173977,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODE3Mzk3Nw==","user":{"login":"wouldsmina","id":12614881,"node_id":"MDQ6VXNlcjEyNjE0ODgx","avatar_url":"https://avatars2.githubusercontent.com/u/12614881?v=4","gravatar_id":"","url":"https://api.github.com/users/wouldsmina","html_url":"https://github.com/wouldsmina","followers_url":"https://api.github.com/users/wouldsmina/followers","following_url":"https://api.github.com/users/wouldsmina/following{/other_user}","gists_url":"https://api.github.com/users/wouldsmina/gists{/gist_id}","starred_url":"https://api.github.com/users/wouldsmina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wouldsmina/subscriptions","organizations_url":"https://api.github.com/users/wouldsmina/orgs","repos_url":"https://api.github.com/users/wouldsmina/repos","events_url":"https://api.github.com/users/wouldsmina/events{/privacy}","received_events_url":"https://api.github.com/users/wouldsmina/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T12:33:34Z","updated_at":"2018-10-09T12:33:34Z","author_association":"MEMBER","body":"oui et non, j'ai trouvé la source du problème mais pour la corriger il faut \"jouer\" avec le CAS pour obtenir un PT (ou PGT) afin que l'API puisse vérifier que le client est bien authentifier. N'étant pas encore très à l'aise avec le principe de fonctionnement d'un serveur CAS, ça risque de prendre un peu de temps...\r\n\r\nD'ailleurs, si il y a un dev dans l'enseignement supérieur qui maîtrise l'authentification par CAS passe par la, je serai pas contre un coup de main! :smiley_cat: "}}
{"actor":{"display_login":"wouldsmina"}}