Closed missedone closed 3 months ago
ah, looks like the client_scope_id
is supported per the PR https://github.com/mrparkers/terraform-provider-keycloak/pull/253, let me try out
nevermind, the PR was for keycloak_generic_client_role_mapper
but not keycloak_generic_client_protocol_mapper
, but may follow the similar idea that to make keycloak_generic_client_protocol_mapper
support client_scope_id
after digging into the code, it turned out that the feature has been supported https://github.com/mrparkers/terraform-provider-keycloak/blob/master/provider/resource_keycloak_generic_protocol_mapper.go#L45
however, i didn't see the doc https://registry.terraform.io/providers/edflex-tech/keycloak/latest/docs/resources/generic_client_protocol_mapper
we have a custom protocol mapper and would like to add the
protocolMapper
to the realm client scopsimilar to
keycloak_generic_client_protocol_mapper
https://registry.terraform.io/providers/edflex-tech/keycloak/latest/docs/resources/generic_client_protocol_mapperi'd like to be able to add protocol mapper to client scope, the tf code could looks like below: