From c53e1ad5d0e1d3df79b0f7a78eaa380fbf1f3269 Mon Sep 17 00:00:00 2001 From: Evangelos Foutras <evangelos@foutras.com> Date: Sun, 24 Dec 2023 01:29:20 +0200 Subject: [PATCH] tf-stage2: remove RegistrationProfile form action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The form action RegistrationProfile has been removed in Keycloak 23. Relevant information from the upgrading guide [1]: > The validation of user attributes as well as creation of the user > including all that user’s attributes is handled by > RegistrationUserCreation form action and hence RegistrationProfile > is not needed anymore. [1] https://www.keycloak.org/docs/23.0.0/upgrading/#removed-registrationprofile-form-action Co-authored-by: Kristian Klausen <kristian@klausen.dk> --- tf-stage2/keycloak.tf | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tf-stage2/keycloak.tf b/tf-stage2/keycloak.tf index 25990285b..c6690460a 100644 --- a/tf-stage2/keycloak.tf +++ b/tf-stage2/keycloak.tf @@ -625,20 +625,12 @@ resource "keycloak_authentication_execution" "registration_user_creation" { requirement = "REQUIRED" } -resource "keycloak_authentication_execution" "registration_profile_action" { - realm_id = "archlinux" - parent_flow_alias = keycloak_authentication_subflow.registration_form.alias - authenticator = "registration-profile-action" - requirement = "REQUIRED" - depends_on = [keycloak_authentication_execution.registration_user_creation] -} - resource "keycloak_authentication_execution" "registration_password_action" { realm_id = "archlinux" parent_flow_alias = keycloak_authentication_subflow.registration_form.alias authenticator = "registration-password-action" requirement = "REQUIRED" - depends_on = [keycloak_authentication_execution.registration_profile_action] + depends_on = [keycloak_authentication_execution.registration_user_creation] } resource "keycloak_authentication_execution" "registration_hcaptcha_action" { -- GitLab