-
Notifications
You must be signed in to change notification settings - Fork 127
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
Cannot create 20 or more subGroups #1014
Comments
I'm not that familiar with KC Java API but I got the same issue with >10 groups and it seems to be caused by https://github.com/keycloak/keycloak/blame/69497382d8cc6c622e815184d9bc27cb0dc6a400/services/src/main/java/org/keycloak/services/resources/admin/GroupResource.java#L161 / https://github.com/keycloak/keycloak/blob/ece72cd491b68422940136bc6171392e07db6679/services/src/main/java/org/keycloak/services/resources/admin/GroupResource.java#L172 used in keycloak-config-cli/src/main/java/de/adorsys/keycloak/config/repository/GroupRepository.java Line 122 in 1ce036e
and keycloak-config-cli/src/test/java/de/adorsys/keycloak/config/test/util/SubGroupUtil.java Line 44 in 1ce036e
@jonasvoelcker @st3v0rr Does it make sense to use something like |
- fixes adorsys#1014 (adorsys#1014) - for reference: adorsys#1014 (comment)
Sorry for not responding. Integer.MAX_VALUE seems to be the perfect way. I've added some comment to your PR, please stay on the topic :) |
Current Behavior
Cannot create 20 or more subGroups
Expected Behavior
Create more than 20 subGroups, divided into one or more groups
Steps To Reproduce
With this config :
And run java -jar keycloak-config-cli.jar
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: