Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-5370

Unable to get LoggedIn user profile details in issued accessToken in RHDH as part of authProvider Module

Create Doc EPIC for Fe...Prepare for Y ReleasePrepare for Z ReleaseXMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      In backstage we have the availability to pass the user profile details including email something like this in the issued accessToken:- 

       
      profileInfo =

      {               email: email,               displayName: name,               picture: picture,             }

      ;
                  
      ctx.issueToken({
                      claims:

      {                   sub: userRef, // The user's own identity                   ent: ownershipRefsArr, // A list of identities that the user claims ownership through                   email: emailId,                   profile: profileInfo,                 }

      ,
                    });
       

              Unassigned Unassigned
              ritikaagarwal Ritika Agarwal (Inactive)
              RHIDP - Security
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: