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

Upgrade phpCAS to 1.3.7

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8
    • Fix Version/s: 3.8
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide

      Prerequisites

      1. Docker

      Testing instructions

      1. Run the docker CAS container:

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

      2. Login as admin to your siste
      3. Open Site admin => Plugins => Authentication => Manage authentication
      4. Edit the settings for CAS
      5. Set the following:
        1. Hostname: localhost
        2. Port: 8443
        3. Base URI: cas/
        4. Multi Auth: Yes
      6. Save changes
      7. Enable CAS
      8. If you have an existing user with username 's10' delete it
      9. Create a new user with:
        1. Username: s10
        2. Authentication method {{CAS Server (SSO)}
      10. Open a private browsing window and navigate to the site
      11. Click Log in
      12. Click the "CAS" button
        Note: You may have to ignore the certificate being invalid. Generally this is under "Advanced" and then there's a link to "Proceed". This is just because we're using a testing image with a self-generated SSL certificate
      13. Login into the CAS server with username "s10" and password "test"
        1. Confirm you were logged into Moodle as the new user
      14. Stop the docker container

        docker stop cas
        

      Show
      Prerequisites Docker Testing instructions Run the docker CAS container: docker run --rm --name cas -p 8080:8080 -p 8443:8443 -dt moodlehq/moodle-docker-cas:dev Login as admin to your siste Open Site admin => Plugins => Authentication => Manage authentication Edit the settings for CAS Set the following: Hostname: localhost Port: 8443 Base URI: cas/ Multi Auth: Yes Save changes Enable CAS If you have an existing user with username 's10' delete it Create a new user with: Username: s10 Authentication method {{CAS Server (SSO)} Open a private browsing window and navigate to the site Click Log in Click the "CAS" button Note: You may have to ignore the certificate being invalid. Generally this is under "Advanced" and then there's a link to "Proceed". This is just because we're using a testing image with a self-generated SSL certificate Login into the CAS server with username " s10 " and password " test " Confirm you were logged into Moodle as the new user Stop the docker container docker stop cas
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Epic Link:
    • Pull from Repository:
    • Pull Master Branch:
      MDL-65768-master
    • Sprint:
      Internationals - 3.8 Sprint 2

      Description

      CAS /auth/cas/CAS/ 1.3.5 1.3.7 Yes https://github.com/apereo/phpCAS/releases

      https://github.com/apereo/phpCAS/compare/1.3.5...1.3.7

      Alternatively investigate seeing whether anyone in the community would like to take over maintenance of auth_cas. We do not have the expertise in-house to maintain this plugin as well as we would like.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lameze Simey Lameze
              Reporter:
              dobedobedoh Andrew Nicols
              Peer reviewer:
              Mihail Geshoski
              Integrator:
              Andrew Nicols
              Tester:
              Anna Carissa Sadia
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 28 minutes
                  2h 28m