feat: Add CIMD client registration support and tenant metadata settings#1369
Merged
ankita10119 merged 13 commits intomasterfrom Apr 23, 2026
Merged
feat: Add CIMD client registration support and tenant metadata settings#1369ankita10119 merged 13 commits intomasterfrom
ankita10119 merged 13 commits intomasterfrom
Conversation
* refactor: Getting enabled clients for connection * feat(test): add test for fetching enabled clients while preserving connection order - test/tools/auth0/handlers/connections.tests.js: implement test to validate pool usage for enabled clients
feat(clients.tests.js): implement tests for CIMD client creation and updates - src/tools/auth0/handlers/clients.ts: added external_client_id, external_metadata_type, external_metadata_created_by, jwks_uri fields - src/tools/auth0/handlers/clients.ts: implemented createClient and updateClient methods for CIMD clients - test/tools/auth0/handlers/clients.tests.js: added tests for creating and updating CIMD clients - test/tools/auth0/handlers/clients.tests.js: added validation test for external_metadata_type without external_client_id
- src/tools/auth0/handlers/clients.ts: replace omit with pick to specify editable fields - src/tools/auth0/handlers/clients.ts: add new editable fields for CIMD clients
… client change calculations feat(src/tools/auth0/handlers/clients.ts): update identifiers for client handling
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1369 +/- ##
==========================================
- Coverage 79.75% 79.75% -0.01%
==========================================
Files 153 153
Lines 6969 6998 +29
Branches 1525 1530 +5
==========================================
+ Hits 5558 5581 +23
- Misses 781 783 +2
- Partials 630 634 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ankita10119
requested changes
Apr 23, 2026
ramya18101
approved these changes
Apr 23, 2026
ankita10119
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔧 Changes
external_client_idmetadata document instead of treating them like standard clients. This adds schema support forexternal_client_id,external_metadata_type,external_metadata_created_by, andjwks_uri.client_id_metadata_document_supportedandresource_parameter_profile, so these tenant settings can be exported and imported alongside the existing tenant configuration.Examples
YAML format
CIMD Client:
Tenant:
JSON format
CIMD Client:
{ "name": "MCP Tool Server", "external_client_id": "https://mcpserver.example.com/client.json", "external_metadata_type": "cimd", "external_metadata_created_by": "admin", "jwks_uri": "https://mcpserver.example.com/jwks.json", "description": "editable after registration" }Tenant:
{ "client_id_metadata_document_supported": true, "resource_parameter_profile": "compatibility" }🔬 Testing
test/tools/auth0/handlers/clients.tests.js:registerCimdClientwithout issuing a follow-up patchexternal_client_idand update only editable fieldstest/tools/auth0/handlers/tenant.tests.tsto confirm the new tenant settings are preserved on export and included on update.📝 Checklist