Skip to content

Remove redundant MinItems constraint from SAML mappings#1461

Merged
duedares-rvj merged 2 commits intomainfrom
fix_user_attribute_profile
Feb 3, 2026
Merged

Remove redundant MinItems constraint from SAML mappings#1461
duedares-rvj merged 2 commits intomainfrom
fix_user_attribute_profile

Conversation

@bkiran6398
Copy link
Contributor

🔧 Changes

  • Removed the MinItems constraint for SAML mapping fields in the user attribute profile resource.
  • This change does NOT affect any existing logic as both null and zero length SAML mappings are treated the same.
  • Eliminates Attribute user_attributes.0.saml_mapping requires 1 item minimum, but config has only 0 declared. error from terraform file generation in auth0-cli.

📚 References

auth0/auth0-cli#1426

🔬 Testing

Manually tested and verified that this change doesn't affect any existing behavior but resolves the terraform generation issue.

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

…m SAML mappings

- Removed the MinItems constraint for SAML mapping fields in the user attribute profile resource.
- This change does NOT affect any existing logic as both null and zero length SAML mappings are treated the same.
- This change eliminates `Attribute user_attributes.0.saml_mapping requires 1 item minimum, but config has only 0 declared.` error from terraform file generation in auth0-cli.
@bkiran6398 bkiran6398 requested a review from a team as a code owner January 30, 2026 07:57
@duedares-rvj duedares-rvj merged commit a690909 into main Feb 3, 2026
4 checks passed
@duedares-rvj duedares-rvj deleted the fix_user_attribute_profile branch February 3, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants