Hello Friends,
We are preparing a keycloak SSO based auth/IDM for our internal applications.

For protecting JS-UI we are using the JS adapter. We are able to get basic user information, using loadUserProfile() api.

Q) How do I get the roles that the user has been assigned at the realm level 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