Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an example of a list of custom roles when using Keycloak DevServices #22670

Closed
danielpetisme opened this issue Jan 5, 2022 · 1 comment · Fixed by #23241
Closed

Add an example of a list of custom roles when using Keycloak DevServices #22670

danielpetisme opened this issue Jan 5, 2022 · 1 comment · Fixed by #23241
Labels
area/devservices area/housekeeping Issue type for generalized tasks not related to bugs or enhancements area/keycloak
Milestone

Comments

@danielpetisme
Copy link
Contributor

Description

Keycloak DevServices permit to define a custom role map.
1- Map properties are not obvious for new users
2- There are no details on how to create a list of roles for a given user. A naive guess is to use the comma as a role separator but an explicit mention would help.

https://quarkus.io/guides/security-openid-connect#quarkus-oidc_quarkus.keycloak.devservices.roles-roles

The documentation should either provide an example like:

%dev.quarkus.keycloak.devservices.users.duke=dukePassword
%dev.quarkus.keycloak.devservices.roles.duke=reader
%dev.quarkus.keycloak.devservices.users.quarkus=quarkusPassword
%dev.quarkus.keycloak.devservices.roles.quarkus=reader,writer

or explicit these elements in the property's doc.

Implementation ideas

No response

@danielpetisme danielpetisme added the area/housekeeping Issue type for generalized tasks not related to bugs or enhancements label Jan 5, 2022
@quarkus-bot
Copy link

quarkus-bot bot commented Jan 5, 2022

/cc @pedroigor, @sberyozkin, @stuartwdouglas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devservices area/housekeeping Issue type for generalized tasks not related to bugs or enhancements area/keycloak
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants