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

Upgrade phpCAS to latest version

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-71713-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

      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 site
      3. Open Site admin => Plugins => Authentication => Manage authentication
      4. Edit the settings for CAS server (SSO)
      5. Set the following:
        1. Hostname: localhost
        2. Base URI: cas/
        3. Port: 8443
        4. Multi-authentication: Yes
      6. Save changes
      7. Enable CAS server (SSO)
      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 "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
      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 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 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 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
    • Moppies Kanban

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

            cescobedo Carlos Escobedo
            sarjona Sara Arjona (@sarjona)
            Paul Holden Paul Holden
            Ilya Tregubov Ilya Tregubov
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 2 hours, 15 minutes
                2d 2h 15m

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