[Aerogear-users] Android: How can i get user's roles from Keycloak(OAuth2 Endpoint)?

Naif nifs.arpegiuz at gmail.com
Thu Sep 3 10:34:59 EDT 2015


Hi everyone

I checked the aerogear android cookbook, and i found the 'ShootAndShare'
demo, it has interesting code in the 'KeycloakHelper.java' with some utility
methods. But, i would like to know, how can i get the roles for a registered
keycloak user?

Are the AuthorizationManager and AuthzModule the right classes for this
task? Or, it is better to use another approach? Because, it would be
necessary to retrieve more user information from Keycloak(i.e. user email,
first name, etc) and to code a correct logout method.

Any ideas?

Thanks in advance.





--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/Android-How-can-i-get-user-s-roles-from-Keycloak-OAuth2-Endpoint-tp230.html
Sent from the aerogear-users mailing list archive at Nabble.com.


More information about the Aerogear-users mailing list