v-ladynev / keycloak-nodejs-example

A simply step by step Keycloak, MySQL and Node.js integration tutorial. There are some docker examples as well.
292 stars 101 forks source link

Assign roles to Groups #2

Closed divjakLab closed 6 years ago

divjakLab commented 6 years ago

Hey there. Seems you really know what you doing with Keycloak. Could you help me solve my problem? I want to Assign roles to Groups. Tried to do the way do Assing roles to a user, but changed API call. But it seems request doesn't exist.

I used this request I find in official documentation : POST /{realm}/groups/{id}/role-mappings/realm Added realmName ID of a group and in body I sand array of objects each contain a name of a role.