Skip to content

feat: add client_id_metadata_document_supported tenant settings support#1491

Merged
kushalshit27 merged 1 commit intoauth0:mainfrom
priley86:tenant-settings-cimd-support
Apr 15, 2026
Merged

feat: add client_id_metadata_document_supported tenant settings support#1491
kushalshit27 merged 1 commit intoauth0:mainfrom
priley86:tenant-settings-cimd-support

Conversation

@priley86
Copy link
Copy Markdown
Contributor

@priley86 priley86 commented Apr 14, 2026

🔧 Changes

Added support for the client_id_metadata_document_supported tenant setting to the auth0 tenant-settings command.

Changes made:

  • internal/display/tenant-settings.go

    • Added "ClientIDMetadataDocumentSupported": "client_id_metadata_document_supported" to the SupportedTenantSettings map
    • Added case handler in makeTenantSettings() to display the new setting
  • internal/cli/tenant_settings.go

    • Added case handler in setSelectTenantSettings() function to support both friendly name (client_id_metadata_document_supported) and struct name (ClientIDMetadataDocumentSupported)
    • Enables users to enable/disable this setting via auth0 tenant-settings update set and auth0 tenant-settings update unset commands
  • test/integration/tenant-settings-test-cases.yaml

    • Added test assertions for the new setting in all three test scenarios (show, set, unset)

The new setting is now fully integrated and works consistently with existing tenant settings, supporting both interactive and non-interactive command modes.

📚 References

This feature is being added to better support the upcoming Manual CIMD rollout, and will be referenced in the MCP Tenant Settings quickstarts.
https://github.com/auth0-samples/auth0-ai-samples/tree/main/auth-for-mcp/fastmcp-mcp-js#auth0-tenant-setup

🔬 Testing

Tested this to work locally against a DEV tenant today. Some screenshots:

auth0 tenant-settings show :
Screenshot 2026-04-14 at 4 37 26 PM

auth0 tenant-settings update unset (or auth0 tenant-settings update unset client_id_metadata_document_supported):
Screenshot 2026-04-14 at 4 38 16 PM

(validated setting disabled in tenant):
Screenshot 2026-04-14 at 4 38 04 PM

auth0 tenant-settings update set client_id_metadata_document_supported:
Screenshot 2026-04-14 at 4 38 57 PM

(validated setting enabled in tenant):
Screenshot 2026-04-14 at 4 38 47 PM

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

Copy link
Copy Markdown
Contributor

@kushalshit27 kushalshit27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kushalshit27 kushalshit27 merged commit c9af0d7 into auth0:main Apr 15, 2026
6 checks passed
@priley86
Copy link
Copy Markdown
Contributor Author

@kushalshit27 🙇 - thank you!

@kushalshit27 kushalshit27 mentioned this pull request Apr 16, 2026
2 tasks
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