Open nunopedrosilva opened 1 year ago
When creating an hardcoded identity provider mapper, attribute can be added, but there doesn't seem to have a working pair for the User attribute value.
After running terraform apply, only the attribute is added.
Server Version | 18.0.2
Part of the code:
terraform { required_providers { keycloak = { source = "mrparkers/keycloak" version = "= 4.1.0" } } }
resource "keycloak_custom_identity_provider_mapper" "oidc_original" { realm = keycloak_realm.realm.id name = "original mapper" identity_provider_alias = keycloak_oidc_identity_provider.realm_identity_provider-user.alias identity_provider_mapper = "hardcoded-attribute-idp-mapper"
extra_config = { syncMode = "INHERIT" attribute = "origin" attribute_value = "email"
} }
When creating an hardcoded identity provider mapper, attribute can be added, but there doesn't seem to have a working pair for the User attribute value.
After running terraform apply, only the attribute is added.
Server Version | 18.0.2
Part of the code:
terraform { required_providers { keycloak = { source = "mrparkers/keycloak" version = "= 4.1.0" } } }
resource "keycloak_custom_identity_provider_mapper" "oidc_original" { realm = keycloak_realm.realm.id name = "original mapper" identity_provider_alias = keycloak_oidc_identity_provider.realm_identity_provider-user.alias identity_provider_mapper = "hardcoded-attribute-idp-mapper"
extra_config with syncMode is required in Keycloak 10+
extra_config = { syncMode = "INHERIT" attribute = "origin" attribute_value = "email"
} }