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

Plugin doesn't work with mama-cas: /login endpoint is queried with TARGET parameter, specification suggests it should be "service" instead [SAML 1.1]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • cas-plugin

      Currently, the plugin doesn't work with mama-cas when in SAML 1.1 mode (CAS 2.0 on the other hand works fine).

      The problem appears to be the following:

      According to https://github.com/Jasig/cas/blob/master/cas-server-documentation/protocol/CAS-Protocol-Specification.md in section 2.1.1, the /login endpoint only knows the "service" parameter, but not the TARGET parameter which your plugin appears to send (visible as GET parameter).

      In section 4.2.1, /samlValidate describes a TARGET parameter that must match the "service" parameter of /login - that seems to be an obvious hint that /login has the same value as this parameter but named "service" and not TARGET.

      If your assessment has the same result (that this is indeed incorrect), then it would be nice if you could fix it (:

            fcrespel Fabien Crespel
            jonasthiem Jonas Thiem
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: