-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Allow multiple realms to be configured with quarkus.keycloak.devservices.realm-path (multi-tenancy) #28031
Comments
/cc @geoand, @pedroigor, @stuartwdouglas |
@HerrDerb, it can be simpler to support multiple files, and then upload each file in turn as opposed to parsing this JSON document. |
@sberyozkin , yes I'm building a multi-tenancy system. I forgott to mention this. That why I would like to be able to initialize a keycloak devservice with more then one realm. |
It will require a significant effort as importing multiple realms will not in itself affect a DevUI experience. Worth thinking though how it all can be managed |
@HerrDerb I've been thinking about it, I believe we can let users select a realm they would like to login to at the OIDC Dev UI login page if more than one realm is available - I'll have a look |
@sberyozkin That be cool 👍Thanks |
Description
For the keycloak devservice, it is possible to define the property
quarkus.keycloak.devservices.realm-path
with a realm.json which initializes the dev service.This works great if you only need one realm. File content ->
{ ... }
It does not work, when more than one realm are needed.
It would be great if one could define an array of realms inside the realm.json of which all are getting initialized. File content ->
[ { ... }, { ... } ]
Currently, a file like this simply gets ignored.
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: