mrparkers / terraform-provider-keycloak

Terraform provider for Keycloak
https://registry.terraform.io/providers/mrparkers/keycloak/latest/docs
MIT License
592 stars 291 forks source link

Terraform provider (client credentials grant) having issue #957

Closed Huzafach closed 2 months ago

Huzafach commented 2 months ago

Hi i am new to this provider and i followed the provider documentation.

Below configuration i am using

provider "keycloak" { client_id = var.client_id client_secret = var.client_secret url = var.url }

I am getting below error, i have already assigned admin role to the new client. Please guide.

Thank you very much

image

Huzafach commented 2 months ago

I figured it out. Actually i was assigning roles under Roles tab, whereas it should be assigned under tab "Service Account roles"