Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58419

CAS: No redirect after login after updating Monitoring plugin to 1.78.0

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Jenkins core LTS 2.176.1
      Monitoring plugin 1.78.0
      CAS plugin 1.4.3
    • Similar Issues:

      Description

      After updating Monitoring plugin from 1.77.0 to 1.78.0 there's no redirect to the Jenkins dashboard after login using CAS plugin.

      The browser url remains like this and there's no redirect:

      https://$MY_JENKINS_INSTANCE/securityRealm/finishLogin?ticket=$A_SAMPLE_TICKET_VALUE
      

      The status code of the url above is 200, however when I rollback the Monitoring plugin to 1.77.0, the status code of the url above is 302 and the server response also redirects to the Jenkins dashboard.

      When I rollback the Monitoring plugin to 1.77.0 the login works fine again.

        Attachments

          Activity

          Hide
          evernat evernat added a comment -

          It may be related to this commit for this issue in javamelody-core.

          To be sure, I have made a new build without the commit.
          You can download it from http://javamelody.org/downloads/monitoring.hpi and install using the Jenkins plugin manager.
          Can you check if this build works around the issue?

          Show
          evernat evernat added a comment - It may be related to this commit for this issue in javamelody-core. To be sure, I have made a new build without the commit. You can download it from http://javamelody.org/downloads/monitoring.hpi and install using the Jenkins plugin manager. Can you check if this build works around the issue?
          Hide
          jochenafuerbacher Jochen A. Fürbacher added a comment -

          Hello!

          I installed your new build and the login with CAS works fine again.

          Show
          jochenafuerbacher Jochen A. Fürbacher added a comment - Hello! I installed your new build and the login with CAS works fine again.
          Hide
          evernat evernat added a comment -

          Fixed by 068775a, to be released in 1.79 (soon)

          Show
          evernat evernat added a comment - Fixed by 068775a , to be released in 1.79 (soon)
          Hide
          jochenafuerbacher Jochen A. Fürbacher added a comment -

          Thanks!

          Show
          jochenafuerbacher Jochen A. Fürbacher added a comment - Thanks!

            People

            • Assignee:
              evernat evernat
              Reporter:
              jochenafuerbacher Jochen A. Fürbacher
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: