Project

General

Profile

Bug #7628

CAS : failed redirection after cas login

Added by Kevin LEVRON over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/04/2015
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Tested with 1.9.10.

How to reproduce :
- temporary fix #7627 by commenting https://github.com/chamilo/chamilo-lms/blob/1.9.x/main/inc/lib/main_api.lib.php#L3038
- access directly to a private course (without being logged)
- click on CAS authentication
- Redirection to "page after login" instead of course home

Debug :
- Login link contains course id : firstpage=1234 : https://github.com/chamilo/chamilo-lms/blob/1.9.x/main/inc/lib/main_api.lib.php#L3148
- GotoCourse cookie is course path : https://github.com/chamilo/chamilo-lms/blob/1.9.x/main/inc/lib/main_api.lib.php#L3134
- And redirection needs course path : https://github.com/chamilo/chamilo-lms/blob/1.9.x/main/inc/local.inc.php#L1322


Related issues

Related to Chamilo LMS - Bug #7627: CAS : failed login after direct access to private courseNew10/04/2015

Actions
Related to Chamilo LMS - Feature #6768: When use the course direct link, allow user to login and directly go into courseFeature implemented11/10/2013

Actions

Also available in: Atom PDF