-
Notifications
You must be signed in to change notification settings - Fork 324
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
keycloak_default_roles cannot be used on RedHat SSO 7.5 (Keycloak 15.0.6) #720
Comments
Hi @svenreinhard, thanks for opening this issue. The provider uses the I can fix this issue, but I need your help in order to understand what version string is returned by RedHat SSO. Could you hit the Once I understand how that string is formatted, I think I can use the details here to build a mapping between RedHat SSO versions and Keycloak versions. Thanks! |
Hi @mrparkers, |
Hmm... I was hoping there would be a bit more in there that would clearly identify it as being RedHat SSO. Let's try something else - in the same JSON response, there's a field called If not, I might just add a top-level provider attribute, something like Thanks! |
profileInfo.name says "product" |
Yeah I'm not too happy with using the |
@svenreinhard sorry for the delay, I've published a pre-release for you to test since I don't have the ability to test this myself. Can you try again with the new version |
Hi @mrparkers. No problem. I gald you can help that fast. Thanky you for that. |
Ha, yeah I probably should have told you how to test it, my bad 😅 I added a top level provider attribute that you can set: |
It seems I need a little help here. I don't know how to test the new version. If I try ist with "terraform.exe init -upgrade" the new version is not used. When I replace the file manually he compains about the checksum. And to be sure about the attribute. Is this correct: |
No problem, I published this as a pre-release, so terraform {
required_providers {
keycloak = {
source = "mrparkers/keycloak"
version = "3.11.0-rc.0"
}
}
} |
Ah, thanks allot. That did it. Now the new provider version is used. And now I can change default roles. It works. |
Perfect, I'm happy to hear that it's working for you. I'll publish a real version ( Thanks again for the feedback! |
running into the same issue with RedHat "7.6.0.GA" on 4.0.1. I wonder if it is possible to implement manual override for KeyCloak version |
Hello there. We are using RedHat SSO 7.5.2 based on Keycloak 15.0.6. So far I never had problems and are very happy with Mrparkers.
Howevery today I tried to use the resource type "keycloak_default_roles" for the first time. When I try to apply the config via Terraform I get the follwing error:
Error: this resource requires Keycloak v13 or higher
As the base of RH SSO 7.5.2 ist Keycloak 15.0.6, I thought it should work. Here is my setup:
RedHat SSP 7.5.2 GA
Terraform 1.2.7
Mrparkers 3.10.0
Is the use of RH SSO supported? Is this a known issue?
If you need any further info, please let me know.
Regards
Sven Reinhard
The text was updated successfully, but these errors were encountered: