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

CAS authentication does not use Moodle's web proxy settings

XMLWordPrintable

    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • master-MDL-39409-auth-cas-use-moodle-web-proxy
    • 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

      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.

            brianking Brian King
            brianking Brian King
            Petr Skoda Petr Skoda
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Damyon Wiese Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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