[keycloak-user] JS Adapter- Get user realm-roles and client specific roles.
subhrajyotim at gmail.com
Tue Jul 28 06:22:21 EDT 2015
Thanks a lot Stian for the very quick reply. Should have checked this out
Got it working!!
On Tue, Jul 28, 2015 at 3:21 PM, Stian Thorgersen <stian at redhat.com> wrote:
> tokenParsed contains all details in the token, including the roles
> ----- Original Message -----
> > From: "Subhrajyoti Moitra" <subhrajyotim at gmail.com>
> > To: keycloak-user at lists.jboss.org
> > Sent: Tuesday, 28 July, 2015 11:39:25 AM
> > Subject: [keycloak-user] JS Adapter- Get user realm-roles and client
> specific roles.
> > Hello Friends,
> > We are preparing a keycloak SSO based auth/IDM for our internal
> > For protecting JS-UI we are using the JS adapter. We are able to get
> > user information, using loadUserProfile() api.
> > Q) How do I get the roles that the user has been assigned at the realm
> > as well as the client specific roles?
> > Pl guide me how i can accomplish this. Even a server side solution would
> > work, need not be just JS based.
> > Thanks a lot in advance.
> > Subhro.
> > PS: Using KC 1.3.1 Final with MySQL
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the keycloak-user