Skip to content

feat: add client_id_metadata_document_supported tenant settings support#1491

Open
priley86 wants to merge 1 commit intoauth0:mainfrom
priley86:tenant-settings-cimd-support
Open

feat: add client_id_metadata_document_supported tenant settings support#1491
priley86 wants to merge 1 commit intoauth0:mainfrom
priley86:tenant-settings-cimd-support

Conversation

@priley86
Copy link
Copy Markdown

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

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.

1 participant