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

Authorization polices created erlier are getting lost when realm-management client is recreated #1245

Open
ravthiru opened this issue Jan 6, 2025 · 1 comment
Labels

Comments

@ravthiru
Copy link

ravthiru commented Jan 6, 2025

Current Behavior

We use Authorization policies to control token-exchange permissions.
Exsisting realm-managment Authorization policies are getting lost when realm-management is being updated.
Even tried using import.managed.client-authorization-policies=no-delete. , but still Auth Polices are removed from realm-managment

Related issue created #1004

Expected Behavior

When realm-management is being updated exisiting authorization settings should be retained

Steps To Reproduce

1. Create token-exchange permission for any client 
2. Execute keycloak config cli which has update to realm-managment client
3. Go to "realm-managment" client 
4. Under Autherization, check the policies
5. Policies created from step 1 should be retained.

Environment

  • Keycloak Version: 23.0.1
  • keycloak-config-cli Version: 5.10.1
  • Java Version: 1.17

Anything else?

No response

@ravthiru ravthiru added the bug label Jan 6, 2025
@ravthiru
Copy link
Author

ravthiru commented Jan 7, 2025

After some debugging with config cli , found that updating of realm-managment client removes authorization settings raised related ticket with keycloak keycloak/keycloak#35790

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Ready for Dev
Development

No branches or pull requests

1 participant