Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-52851

CAS login enters a loop of redirections.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 2.7.10
    • Authentication
    • MySQL
    • MOODLE_27_STABLE

      we have a infrastructure with 3 webservers behind a load balancer F5 BigIP. The F5 load balancer is in ssl Offload, so the session is in https between the client and the F5, then in en the F5 and moodle server. On moodle we have enabled the $CFG->sslproxy=true, the loginhttps is set to true.
      We use a jasig cas server (version 3) ant it seems like phpCAS (moodle 2.6.3 phpCAS 1.3.2 and 1.3.4+) is not compatible withe offload SSL, it build the url of service not in https but in http. When we change the code of phpCAS library to force it to put a service in https (/auth/cas/CAS/CAS/Client.php line 3059), after the cas authentification, it looks like we get an infinite loop of redirections.
      Is anyone get an idea about this?

      thanks

      ps:
      I have read this already whitout success
      https://tracker.moodle.org/browse/MDL-21303
      https://tracker.moodle.org/browse/MDL-28026

            Unassigned Unassigned
            adminlyon2 adminlyon2
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.