Skip to content

Commit

Permalink
Remove iga-* triggers [DXEX-4601] (#1063)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Widcket and kushalshit27 authored Oct 31, 2024
1 parent b81a13a commit 90a35dc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/resources/trigger_action.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/trigger_actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 1 addition & 5 deletions internal/auth0/action/resource_trigger_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
7 changes: 1 addition & 6 deletions internal/auth0/action/resource_trigger_actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 90a35dc

Please sign in to comment.