From aac89758abafb32d51ae42a3f25b4a7c3747aea6 Mon Sep 17 00:00:00 2001 From: Sergiu Ghitea <28300158+sergiught@users.noreply.github.com> Date: Wed, 19 Jul 2023 18:42:50 +0200 Subject: [PATCH] Add password-reset-post-challenge to 1:1 trigger action resource (#746) --- docs/resources/trigger_action.md | 2 +- internal/auth0/action/resource_trigger_action.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/resources/trigger_action.md b/docs/resources/trigger_action.md index 26126d866..ac4a6fae9 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`, `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`, `iga-approval`, `iga-certification`, `iga-fulfillment-assignment`, `iga-fulfillment-execution`. ### Optional diff --git a/internal/auth0/action/resource_trigger_action.go b/internal/auth0/action/resource_trigger_action.go index ddfab9a0d..f72688969 100644 --- a/internal/auth0/action/resource_trigger_action.go +++ b/internal/auth0/action/resource_trigger_action.go @@ -37,12 +37,13 @@ func NewTriggerActionResource() *schema.Resource { "post-user-registration", "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`, `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`, `iga-approval`, `iga-certification`, `iga-fulfillment-assignment`, `iga-fulfillment-execution`.", }, "action_id": { Type: schema.TypeString,