From 90a35dcb76a96d623632794a53f8892c6e954440 Mon Sep 17 00:00:00 2001 From: Rita Zerrizuela Date: Thu, 31 Oct 2024 07:23:41 +0000 Subject: [PATCH] Remove iga-* triggers [DXEX-4601] (#1063) Remove IGA-* triggers Added explicit check for handling missing env variables for login (#1065) * Added explicit check for handling missing env variables for login * Minor changes * Minor update to test * Updated test case * Updated test case Added support for Custom Email Provider (#1064) * Added support for custom email provider * bump * bump * Dummy Co-authored-by: kushalshit27 <43465488+kushalshit27@users.noreply.github.com> --- docs/resources/trigger_action.md | 2 +- docs/resources/trigger_actions.md | 2 +- internal/auth0/action/resource_trigger_action.go | 6 +----- internal/auth0/action/resource_trigger_actions.go | 7 +------ 4 files changed, 4 insertions(+), 13 deletions(-) diff --git a/docs/resources/trigger_action.md b/docs/resources/trigger_action.md index ac4a6fae9..3f1687c83 100644 --- a/docs/resources/trigger_action.md +++ b/docs/resources/trigger_action.md @@ -45,7 +45,7 @@ resource "auth0_trigger_action" "post_login_alert_action" { ### Required - `action_id` (String) The ID of the action to bind to the trigger. -- `trigger` (String) The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `iga-approval`, `iga-certification`, `iga-fulfillment-assignment`, `iga-fulfillment-execution`. +- `trigger` (String) The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. ### Optional diff --git a/docs/resources/trigger_actions.md b/docs/resources/trigger_actions.md index 72295bef7..d464ce16a 100644 --- a/docs/resources/trigger_actions.md +++ b/docs/resources/trigger_actions.md @@ -66,7 +66,7 @@ resource "auth0_trigger_actions" "login_flow" { ### Required - `actions` (Block List, Min: 1) The list of actions bound to this trigger. (see [below for nested schema](#nestedblock--actions)) -- `trigger` (String) The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `iga-approval` , `iga-certification` , `iga-fulfillment-assignment`, `iga-fulfillment-execution`. +- `trigger` (String) The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. ### Read-Only diff --git a/internal/auth0/action/resource_trigger_action.go b/internal/auth0/action/resource_trigger_action.go index 694d8d813..e03f44357 100644 --- a/internal/auth0/action/resource_trigger_action.go +++ b/internal/auth0/action/resource_trigger_action.go @@ -38,12 +38,8 @@ func NewTriggerActionResource() *schema.Resource { "post-change-password", "send-phone-message", "password-reset-post-challenge", - "iga-approval", - "iga-certification", - "iga-fulfillment-assignment", - "iga-fulfillment-execution", }, false), - Description: "The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `iga-approval`, `iga-certification`, `iga-fulfillment-assignment`, `iga-fulfillment-execution`.", + Description: "The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`.", }, "action_id": { Type: schema.TypeString, diff --git a/internal/auth0/action/resource_trigger_actions.go b/internal/auth0/action/resource_trigger_actions.go index 02cb7fc84..d131aed22 100644 --- a/internal/auth0/action/resource_trigger_actions.go +++ b/internal/auth0/action/resource_trigger_actions.go @@ -39,15 +39,10 @@ func NewTriggerActionsResource() *schema.Resource { "post-change-password", "send-phone-message", "password-reset-post-challenge", - "iga-approval", - "iga-certification", - "iga-fulfillment-assignment", - "iga-fulfillment-execution", }, false), Description: "The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, " + "`pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, " + - "`password-reset-post-challenge`, `iga-approval` , `iga-certification` , `iga-fulfillment-assignment`, " + - "`iga-fulfillment-execution`.", + "`password-reset-post-challenge`.", }, "actions": { Type: schema.TypeList,