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

Redirect after Kerberos login broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • kerberos-sso-plugin
    • None
    • Jenkins Enterprise 2.46.2.1-rolling
      kerberos-sso-plugin 1.3
      Jenkins Master: RHEL 6.9
      java version "1.8.0_111"
      Apache reverse proxy with context path /jenkins
      Chrome 58
    • 1.5

      My Jenkins server lives behind a /jenkins context path and reverse proxy through Apache and when the login request finishes it redirects back to an extra /jenkins when it logs in via Kerberos.  This only started after we enabled the kerberos-sso plugin.

      Chrome Dev tools login request/response:

      1. Request URL:
        https://<host>/jenkins/login?from=%2Fjenkins%2F

      2. Request Method:
        GET

      3. Status Code:
        302 Found

      4. Response Location:
        https://<host>/jenkins/jenkins/

      If I then navigate back to the proper location, I've been successfully logged in.

            peter_nordquist Peter Nordquist
            peter_nordquist Peter Nordquist
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: