Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-5752

Full name to be displayed in the Openshift console instead of the username

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • openshift-4.15.z
    • User Interface
    • False
    • None
    • False
    • Not Selected

      Description:

       The Customer has integrated LDAP with the OAuth server. In the Openshift 4.14 console, this LDAP config would display the full username on the top right in the console but in 4.15name  is displayed instead. 

      This is the oauth config: 

      ```

      spec:
        identityProviders:
        - name: CMN-AD
          mappingMethod: claim
          type: LDAP
          ldap:
            attributes:
              id:
              - dn
              name:
              - displayName
              preferredUsername:
              - cn
      ```

      Based on the Slack discussion link mentioned below,  this is expected behaviour in 4.15, OpenShift console will show name instead of the fullname as this is a needed change in 4.15, because in the console we needed to start using SelfSubjectReview object upon logging into the console, which returns UserInfo object, which does not contain fullName field which we used for displaying the user in the console in4.14 and prior.

      The reason behind this in 4.15 and later is we needed to support besides the internal OAuth server also the external OIDC server. 

      https://redhat-internal.slack.com/archives/C6A3NV5J9/p1720147218596479

       

      Kindly refer to the slack discussion link for the screenshots related to the issue.

       

      The customer is requesting for the feature enhancement to display the full username on the top right in the  OpenShift console instead of username. 

       

              atelang@redhat.com Anjali Telang
              sasakshi@redhat.com Sakshi sakshi
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: