How can I get a user's first name, last name, etc when using RH-SSO?

Solution Verified - Updated -

Issue

When I use keycloak, I need to get member's first name, last name and memberId using Principals class.

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 6.x
  • Red Hat Single-Sign On
    • 7.x
  • KeyCloak

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content