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

Using Identity Providers for Authentication CAS

    XMLWordPrintable

Details

    • MOODLE_33_STABLE, MOODLE_37_STABLE
    • MOODLE_37_STABLE
    • MDL-60432-master
    • Easy
    • Hide
      1. Run the CAS docker image:

        docker run --rm --name cas -p 8443:8443 -dt moodlehq/moodle-docker-cas
        

      2. Login to Moodle as administrator
      3. Navigate to Site administration -> Plugins -> Manage authentication
      4. Enable "CAS Server (SSO)"
      5. Open a private browsing window
      6. Navigate to the login page
        1. Confirm that the page looks totally normal
      7. Back as admin, open the Settings page and set the following settings:
        1. Hostname: localhost
        2. Port: 8443
        3. Base URI: cas/
        4. Multi Auth: Yes
        5. [Save changes]
      8. Refresh the login page view
        1. *Confirm that you now see a button marked "CAS"
      9. Click the button
        1. Confirm that you are redirected to the CAS server (via a mean page telling you it isn't secure)
      10. Go back
      11. Back as admin:
        1. Rename "auth_name" to "Umbrella Corp Login"
        2. Add an image to the logo
        3. [Save changes]
      12. Refresh the login page view
        1. Confirm that the button has been updated to match the name you entered
        2. Confirm that the logo is present
      13. Back as admin:
        1. Set "Multi Auth" to "No"
        2. [Save changes]
      14. Refresh the login page view
        1. Confirm that you are immediately redirected to the CAS server
      Show
      Run the CAS docker image: docker run --rm --name cas -p 8443:8443 -dt moodlehq/moodle-docker-cas Login to Moodle as administrator Navigate to Site administration -> Plugins -> Manage authentication Enable "CAS Server (SSO)" Open a private browsing window Navigate to the login page Confirm that the page looks totally normal Back as admin, open the Settings page and set the following settings: Hostname: localhost Port: 8443 Base URI: cas/ Multi Auth: Yes [Save changes] Refresh the login page view *Confirm that you now see a button marked "CAS" Click the button Confirm that you are redirected to the CAS server (via a mean page telling you it isn't secure) Go back Back as admin: Rename "auth_name" to "Umbrella Corp Login" Add an image to the logo [Save changes] Refresh the login page view Confirm that the button has been updated to match the name you entered Confirm that the logo is present Back as admin: Set "Multi Auth" to "No" [Save changes] Refresh the login page view Confirm that you are immediately redirected to the CAS server

    Description

      Using Identity Providers for  Authentication CAS , instead of cas_form.html

      Attachments

        1. cas_eg2.png
          cas_eg2.png
          118 kB
        2. cas_example.png
          cas_example.png
          112 kB
        3. image-2019-02-06-14-10-20-926.png
          image-2019-02-06-14-10-20-926.png
          195 kB
        4. image-2021-06-08-11-23-41-280.png
          image-2021-06-08-11-23-41-280.png
          64 kB

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              fabmen Fabrice Ménard
              Andrew Lyons Andrew Lyons
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Janelle Barcega Janelle Barcega
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                20/May/19

                Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h