How to get reference to dedicated client scope #36955
Unanswered
cdecinkoKnight
asked this question in
Q&A
Replies: 2 comments
|
It appears to be the default scope for a given client, so assuming data "keycloak_openid_client" "xxx_client" {
realm_id = "rrr"
client_id = "xxx"
}
resource "keycloak_openid_audience_protocol_mapper" "xxx_client_audience" {
realm_id = "rrr"
client_id = data.keycloak_openid_client.xxx_client.id
name = "yyy"
included_client_audience = "yyy"
} |
0 replies
|
Got the same issue. I know 1,5 y is a long time. But for the next one: For me it worked to set a "-scope" postfix data "keycloak_openid_client_scope" "myclient_scope" {
realm_id = "MY-REALM"
name = "myclient-scope"
} |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In Keycloak 24 with Terraform mrparkers 4.4.0 I need to add a mapper to a dedicated client scope. All of the docs tell me to do it like this:
However, no matter what value I use for name, "loadboard" or "loadboard-dedicated" or "scope-loadboard" I keep getting an error during plan and/or apply:
expected provided client scope name to match 1 scope, but matched 0 scopes
How am I expected to add a mapper to the dedicated client scope?
All reactions