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

404 error while fetching client roles with name containing special characters (=;+) #205

Closed
cthiebault opened this issue Jan 27, 2020 · 1 comment · Fixed by #213
Closed
Labels
bug Something isn't working

Comments

@cthiebault
Copy link
Contributor

My role is named foo=bar;AA;BB/CC+DD.
I can create it using Terraform but I get following error when assigning this role to group:
Error: error sending GET request to /auth/admin/realms/myrealm/clients/xxx/roles/foo=bar;AA;BB/CC+DD: 404 Not Found

It seems related to #176 but with more characters than /.

@mrparkers
Copy link
Contributor

Hmm, I presume that the provider will have to URI encode roles before searching for them using the Keycloak API.

@mrparkers mrparkers added the bug Something isn't working label Feb 4, 2020
cthiebault pushed a commit to cthiebault/terraform-provider-keycloak that referenced this issue Feb 5, 2020
cthiebault pushed a commit to cthiebault/terraform-provider-keycloak that referenced this issue Feb 11, 2020
mrparkers pushed a commit that referenced this issue Feb 13, 2020
chopshop1 pushed a commit to ware2go/terraform-provider-keycloak that referenced this issue Mar 3, 2020
CharlesDerek added a commit to CharlesDerek/terraform-w-keycloak that referenced this issue May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants