-
Notifications
You must be signed in to change notification settings - Fork 292
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
UpdatePolicy unknown_error #286
Comments
@Nerzal Is anyone else working on this that you are aware of? |
Hi, nope |
Well, I can fix it if you okay with this? |
|
If you would like to, you can contribute/collaborate on my PR, if you are not available soon, I can create a PR today or tomorrow. |
Please go ahead. I might not make it today. |
@mstrYoda If you haven't started this yet, I would like to do this as my first issue. |
Hi, of course, you can implement it 🙏 |
Thank you. I don't have a fix yet but will start understanding the issue once I do my dev setup for gocloak. |
Hello just ran into this problem today for different reasons: On Keycloak These routes work for me on
I don't know if there's a workaround to get the keycloak version and changing the URLs accordingly without adding too much complexity. I'm on v13.9.0 |
Describe the bug
When I use the UpdatePolicy method, I got unknown_error. But when I change the url with debugging, add the path "/role" at the end of the policy path
Put(client.getAdminRealmURL(realm, "clients", clientID, "authz", "resource-server", "policy", *(policy.ID)))
I successfully updated the Policy.When I check from the keycloak UI network, I see that keycloak sends update requests with policy type path. What I mean keycloak adds /role or /group at the end of the path. Gocloak does not include those paths.
To Reproduce
Send an update request for any policy.
Expected behavior
Update policy successfully.
Screenshots
Here is my code:
The text was updated successfully, but these errors were encountered: