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

CAS authentication does not use Moodle's web proxy settings

    Details

    • Testing Instructions:
      Hide

      1. Configure Moodle to use CAS authentication, and test that it's working
      2. Configure Moodle to use a proxy for it's web traffic
      3. Ensure that Moodle can only communicate with the outside world via the proxy (e.g. configure a firewall so that outward communication is blocked except to the proxy server)
      4. Test without the fix: CAS authentication will fail
      5. Test with the fix: CAS authentication will succeed

      Show
      1. Configure Moodle to use CAS authentication, and test that it's working 2. Configure Moodle to use a proxy for it's web traffic 3. Ensure that Moodle can only communicate with the outside world via the proxy (e.g. configure a firewall so that outward communication is blocked except to the proxy server) 4. Test without the fix: CAS authentication will fail 5. Test with the fix: CAS authentication will succeed
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      master-MDL-39409-auth-cas-use-moodle-web-proxy

      Description

      Under Site Administration -> Server -> HTTP you can configure a web proxy to use.

      CAS authentication will fail if the server is firewalled and does not use the configured web proxy.

      The CAS module uses the phpCAS library, which uses curl. The appropriate proxy-related curl settings need to be set.

      The solution is fairly simple.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    8/Jul/13