[keycloak-user] Api for adding roles to users
bburke at redhat.com
Fri Nov 7 21:22:20 EST 2014
Are you writing a custom federation adapter? Two options:
* Define default roles within the admin console. When your user is
imported into a UserModel, the default roles will be added
* Extract role mappings from your external store, and populate the user
model with them when you import the user into the keycloak database.
On 11/7/2014 4:46 PM, Raghuram wrote:
> How do we add users to the default roles? I am using the key cloak federation api to do custom authentication for a realm. Noticed that the users are not able to login to the application after being authenticated unless roles are added manually to them. Wondering if the roles can be added within the federation provider code after authenticating the users?
> Sent from my iPhone
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
JBoss, a division of Red Hat
More information about the keycloak-user