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

Support concatenating attributes for display name value

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Do
    • Component/s: saml-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      As recently mentioned inĀ JENKINS-55525 ideally it should be solved at IdP side, but in practice it is currently impossible to get user display name as a single attribute from G Suite SAML. You only get first/last name separately.
      My proposal is to process configuration value as whitespace separated list of attribute names, so for existing setups there will be no visible changes but it will become possible to configure it as "firstName lastName" for G Suite users.

        Attachments

          Activity

          Hide
          ifernandezcalvo Ivan Fernandez Calvo added a comment -

          The SAML plugin is not a place to post-process info from the IdP, it only reads what the IdP send, if we have to implement every custom behavior we would add unnecessary complexity to the SAML plugin. If you need to post-process the user info, you could implement a new plugin that post-process the user info and modifies it on the way that you want.

          Show
          ifernandezcalvo Ivan Fernandez Calvo added a comment - The SAML plugin is not a place to post-process info from the IdP, it only reads what the IdP send, if we have to implement every custom behavior we would add unnecessary complexity to the SAML plugin. If you need to post-process the user info, you could implement a new plugin that post-process the user info and modifies it on the way that you want.

            People

            • Assignee:
              ifernandezcalvo Ivan Fernandez Calvo
              Reporter:
              lightoze Vladimir Kulev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: