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

ADFS Integration - What claims to use?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • saml-plugin
    • None

      We are trying to saml-plugin working with ADFS 2.0. Unfortunately there isn't much documentation on how to configure it or what claims and formats to use.

      After some trial and error we got the following claims to work (below) and are able to login and logout:
      Userid = (not configured)
      NameID = (windows account name) (eg. <DOMAIN>\<username>)

      However, changing NameID to something like Common Name, breaks with "javax.servlet.ServletException:org.pac4j.saml.exceptions.SamlException: Subject NameID cannot be null". Also trying other settings for NameID would break with identical error, which leads me to believe it cannot handle spaces?

      Is there a list of what claims are required and what are optional that need to be sent to Jenkins?

      Thanks,

      Sijis

            ifernandezcalvo Ivan Fernandez Calvo
            saviles Sijis Aviles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: