diff --git a/provider/resource_keycloak_attribute_importer_identity_provider_mapper.go b/provider/resource_keycloak_attribute_importer_identity_provider_mapper.go index 8ce09795..2546353f 100644 --- a/provider/resource_keycloak_attribute_importer_identity_provider_mapper.go +++ b/provider/resource_keycloak_attribute_importer_identity_provider_mapper.go @@ -67,7 +67,7 @@ func getAttributeImporterIdentityProviderMapperFromData(ctx context.Context, dat } rec.Config.Claim = data.Get("claim_name").(string) - } else if identityProvider.ProviderId == "facebook" || identityProvider.ProviderId == "google" { + } else if identityProvider.ProviderId == "apple" || identityProvider.ProviderId == "facebook" || identityProvider.ProviderId == "google" { rec.IdentityProviderMapper = fmt.Sprintf("%s-user-attribute-mapper", identityProvider.ProviderId) rec.Config.JsonField = data.Get("claim_name").(string) rec.Config.UserAttributeName = data.Get("user_attribute").(string)