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

Using Identity Providers for Authentication CAS

    XMLWordPrintable

    Details

    • Testing Instructions:
      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
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull Master Branch:
      MDL-60432-master

      Description

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

        Attachments

        1. cas_eg2.png
          118 kB
          Andrew Nicols
        2. cas_example.png
          112 kB
          Andrew Nicols
        3. image-2019-02-06-14-10-20-926.png
          195 kB
          Janelle Barcega

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  20/May/19

                  Time Tracking

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