extra_config with syncMode is required in Keycloak 10+
extra_config = {
syncMode = "INHERIT"
attribute = "realmattributeexample" (this one works)
attribute_value = "dummyattributevalue" (there isn't a know match to the User Attribute Value, and neither an error is thrown)
}
}
When defining an hardcoded keycloak_custom_identity_provider_mapper, there is no matching for User Attribute Value.
resource "keycloak_custom_identity_provider_mapper" "realm_mapper" { realm = keycloak_realm.realm.id name = "realm mapper" identity_provider_alias = keycloak_oidc_identity_provider.realm_identity_provider.alias identity_provider_mapper = "hardcoded-attribute-idp-mapper"
extra_config with syncMode is required in Keycloak 10+
extra_config = { syncMode = "INHERIT" attribute = "realmattributeexample" (this one works) attribute_value = "dummyattributevalue" (there isn't a know match to the User Attribute Value, and neither an error is thrown) } }