Assign realm and client roles while creating user using Create User API #8586
sachingorade
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In
UsersResource#createUseri.e. create user API,UserRepresentationis accepted and user is created but the provided roles (realm and client both) in theUserRepresentationare not assigned to the newly created user.snippet from
org.keycloak.services.resources.admin.UsersResource-Is there any specific reason for this? I am very much happy to create a PR with a change which will assign the provided.
Beta Was this translation helpful? Give feedback.
All reactions