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

Support for Scope configuration on realm level is incomplete #470

Open
thomasdarimont opened this issue Jan 25, 2021 · 4 comments
Open

Support for Scope configuration on realm level is incomplete #470

thomasdarimont opened this issue Jan 25, 2021 · 4 comments

Comments

@thomasdarimont
Copy link
Contributor

In PR #464 we introduced support for the configuration of client scopes on realm level.

As it turned out this was not complete and needs to be reworked.

Custom scopes are created during realmImport via RepresentationToModel#realmImport

@blajoie55
Copy link

It's been almost 3 years and this feature still doesn't work (despite the feature being in the documentation for the keycloak_realm resource) and this issue is still open. We have hit this same problem now at my company. Is there going to be any movement on this?

@nicolas-urbantz
Copy link

We also have the same problem and had to make an additional API call. Is it planned to be fixed?

Thanks

@TBeijen
Copy link

TBeijen commented Mar 7, 2024

It might be worth considering moving the attribute realm.default_default_client_scopes to a separate resource. Similar to how it is handled on a per-client basis via keycloak_openid_client_default_scopes

It's easy to hit chicken-egg dependency problems in the current setup:

  • Adding a new client scope requires realm to exist
  • Then how to add a non-built-in client scope to the default_default_client_scopes list that is part of the realm definition?

@pboehm
Copy link
Contributor

pboehm commented Jan 20, 2025

@thomasdarimont @TBeijen I have implemented the management of default and optional client scopes on a realm level via dedicated resources in this PR #1079

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants