Replies: 2 comments
-
I already talked to @sschu at the Keycloak Dev Days about this topic. Would be cool to have your feedback here on the discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
-
There is also an old issue about this issue: #640 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There are cases when it's required to run the Keycloak Provider with lower and no admin privileges.
For example, we have customers who try to configure client specific roles but don't have admin access to Keycloak.
This fails, because they can't access "/admin/serverinfo". Keycloak returns with a 401 and the provider stops.
The relevant code snippet is in the bootstrapping function of the Keycloak client.
terraform-provider-keycloak/keycloak/keycloak_client.go
Line 163 in c732685
A common option in other providers is to disable this kind of checks with a flag on the client.
This leads to maybe broken calls, because users can provide non-working input, but at least they can use the provider.
What do you think about wrapping all
GetServerInfo
calls in an if statement to disable the checks?If you are fine with this proposal, I will send a PR soon.
Beta Was this translation helpful? Give feedback.
All reactions