How can I get a custom attribute through KeycloakPrincipal?
Issue
- I have added a custom attribute through Attributes tab on Red Had Single Sign-On, how do I get this value in my application?
- Where are a user's custom Attribute located in the KeycloakPrincipal?
Environment
- Red Hat Single Sign On (RH-SSO)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
