Skip to content

Conversation

@kushalshit27
Copy link
Contributor

@kushalshit27 kushalshit27 commented Jan 27, 2026

🔧 Changes

Added is_default to the deny-list in to exclude it from create operations and update operations.

This change resolves an issue where the Auth0 Management API recently added a new read-only is_default property to customDomains resources.

📚 References

🔬 Testing

  • Unit tests verify that the is_default property is correctly stripped from update payloads when present in the input

📝 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)

- src/tools/auth0/handlers/customDomains.ts: added 'is_default' to fields list
- test/tools/auth0/handlers/customDomains.test.ts: updated tests to strip 'is_default' property
@kushalshit27 kushalshit27 requested a review from a team as a code owner January 27, 2026 13:16
@codecov-commenter
Copy link

codecov-commenter commented Jan 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.41%. Comparing base (553e0f9) to head (94b6e87).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1279   +/-   ##
=======================================
  Coverage   80.41%   80.41%           
=======================================
  Files         146      146           
  Lines        5794     5794           
  Branches     1187     1187           
=======================================
  Hits         4659     4659           
  Misses        645      645           
  Partials      490      490           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kushalshit27 kushalshit27 merged commit 2a1b2a5 into master Jan 28, 2026
6 checks passed
@kushalshit27 kushalshit27 deleted the DXCDT-1406-fix-custom-domains-is-default-property branch January 28, 2026 06:53
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.

Update deny-lists for new customDomains is_default property

4 participants