I have problems with the Organizations identity-providers endpoint. It expects a string as payload, a plaintext alias like b2c in my example below. What happens is that the string body is wrapped into double quotes like "b2c", and I get {"errorMessage":"Identity provider not found with the given alias"} as a response.
I'm trying to control Keycloak's new Organization features with raw REST API, as the Terraform module https://github.com/mrparkers/terraform-provider-keycloak does not support it yet.
I have problems with the Organizations identity-providers endpoint. It expects a string as payload, a plaintext alias like
b2c
in my example below. What happens is that the string body is wrapped into double quotes like"b2c"
, and I get{"errorMessage":"Identity provider not found with the given alias"}
as a response.I added
stn1slv/http-proxy-logger
into my docker-compose development enviroment, to log the REST API traffic, and this is what I'm seeing: