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

Upgrade CAS to 1.6.0

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-75479-master
    • Hide

      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
      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
    • 0
    • Team Hedgehog 4.1 sprint 0 rev, Team Hedgehog 4.1 pre 1.1, Team Hedgehog Sprint 1.1

      CAS  (auth/cas/CAS/)    1.4.0  ->   1.5.0  -> 1.6.0  :    https://github.com/apereo/phpCAS 

        1. cas_150.gif
          cas_150.gif
          324 kB
        2. cas_blankpage.gif
          cas_blankpage.gif
          83 kB
        3. MDL-75479.mp4
          1.15 MB

            david.woloszyn@moodle.com David Woloszyn
            sarjona Sara Arjona (@sarjona)
            Huong Nguyen Huong Nguyen
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            John Edward Pedregosa John Edward Pedregosa
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 5 hours Original Estimate - 5 hours
                5h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 3 hours
                1d 3h

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