Skip to content

Commit

Permalink
Patch: Removed MinItems validation for precedence on Connection Resou…
Browse files Browse the repository at this point in the history
…rce (auth0#1017)

* Removed min/max validation on precendence slice

* reverted maxItems validation

Signed-off-by: BryanLewis-AtOkta <[email protected]>
  • Loading branch information
duedares-rvj authored and bryanlewis-okta committed Oct 24, 2024
1 parent 23c8865 commit 415ddff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/auth0/connection/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -859,10 +859,9 @@ var optionsSchema = &schema.Schema{
"username",
}, true),
},
MaxItems: 3,
Optional: true,
Computed: false,
MaxItems: 3,
MinItems: 3,
Description: "Order of attributes for precedence in identification." +
"Valid values: email, phone_number, username. " +
"If Precedence is set, it must contain all values (email, phone_number, username) in specific order",
Expand Down

0 comments on commit 415ddff

Please sign in to comment.