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

Upgrade CAS to 1.6.1

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.5
    • 4.3
    • Libraries
    • MOODLE_403_STABLE
    • MOODLE_405_STABLE
    • MDL-78250_upgrade-cas
    • Hide

      Instructions copied from MDL-75479.

      Prerequisites

      1. Docker
      2. Your local site is running on http://localhost (or you can forward ports from your site to the CAS container). Don't use container for running moodle, just mdk is fine
      3. Avoid testing with with Docker running on M1 Mac/ARM system

      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. Since the CAS container is accessed via localhost, set $CFG->wwwroot in config.php to a different value (e.g. by using ngrok)
      3. Login as admin to your site
      4. Open Site admin => Plugins => Authentication => Manage authentication
      5. Edit the settings for CAS server (SSO)
      6. Set the following:
        1. Hostname: localhost
        2. Base URI: cas/
        3. Port: 8443
        4. Multi-authentication: Yes
      7. Save changes
      8. Enable CAS server (SSO)
      9. If you have an existing user with username 's10' delete it
      10. Create a new user with:
        1. Username: s10
        2. Authentication method CAS Server (SSO)
      11. Open a private browsing window and navigate to the site
      12. Click Log in
      13. Click the "Log in using your account on: 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
      14. Login into the CAS server with username "s10" and password "test"
        1. Confirm you were logged into Moodle as the new user
      15. Stop the docker container

        docker stop cas
        

      Show
      Instructions copied from MDL-75479 . Prerequisites Docker Your local site is running on http://localhost (or you can forward ports from your site to the CAS container). Don't use container for running moodle, just mdk is fine Avoid testing with with Docker running on M1 Mac/ARM system Testing instructions Run the docker CAS container: docker run --rm --name cas -p 8080:8080 -p 8443:8443 -dt moodlehq/moodle-docker-cas:dev Since the CAS container is accessed via localhost, set $CFG->wwwroot in config.php to a different value (e.g. by using ngrok) Login as admin to your site Open Site admin => Plugins => Authentication => Manage authentication Edit the settings for CAS server (SSO) Set the following: Hostname: localhost Base URI: cas/ Port: 8443 Multi-authentication: Yes Save changes Enable CAS server (SSO) 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 "Log in using your account on: 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

      CAS    auth/cas/CAS/    1.6.0  -->  1.6.1    https://github.com/apereo/phpCAS

            Daniel Ziegenberg Daniel Ziegenberg
            sarjona Sara Arjona (@sarjona)
            Meirza Meirza
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 34 minutes
                6h 34m

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