keycloak / terraform-provider-keycloak

Terraform provider for Keycloak
https://registry.terraform.io/providers/mrparkers/keycloak/latest/docs
Apache License 2.0
648 stars 317 forks source link

Possibility to change authentication registration recaptcha to REQUIRED and activate Recaptcha config #904

Open dionisio-silva-neto opened 11 months ago

dionisio-silva-neto commented 11 months ago

When trying to change the settings of an authentication it informs that it already exists. Error: error sending PUT request to /admin/realms/{my-realm}/authentication/flows/id: 409 Conflict. Response body: {"errorMessage":"Flow alias name already exists"}

resource "keycloak_authentication_flow" "flow" { realm_id = keycloak_realm.realm.id alias = "registration" }

resource "keycloak_authentication_execution" "execution_one" { realm_id = "${keycloak_realm.realm.id}" parent_flow_alias = "${keycloak_authentication_flow.flow.alias}" authenticator = "registration-recaptcha-action" requirement = "REQUIRED"

}