Client roles are not reflected in access token received from RH-SSO
Issue
-
We are deploying new RH-SSO 7.6 installation and also have a working instance of RH-SSO 7.4. We have created a new client and client roles in RH-SSO 7.6 similar to already running RH-SSO 7.4 instance. In generated
access tokenusing client_credentials grant we see noclient rolesin RH-SSO 7.6, while the client roles are present in access token generated through RH-SSO 7.4. Why is the client role not available in access token? -
We are using
KeycloakClientCR to create a client and client roles. Why does the access token generated from this client not have theclient rolesincluded?
Environment
- Red Hat Single Sign on (RH-SSO)
- 7.4
- 7.5
- 7.6
- Red Hat Single Sign-On as Operator
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.