Skip to content

feat: support token vault#1352

Merged
kushalshit27 merged 8 commits intomainfrom
DXCDT-1170-token-vault-ga-support
Oct 14, 2025
Merged

feat: support token vault#1352
kushalshit27 merged 8 commits intomainfrom
DXCDT-1170-token-vault-ga-support

Conversation

@kushalshit27
Copy link
Contributor

@kushalshit27 kushalshit27 commented Oct 7, 2025

🔧 Changes

Client Applications

  • Added resource_server as a new valid app_type option for applications
  • Introduced --resource-server-identifier flag to link a client to a specific resource server

Resource Servers

  • Added client_id field display for resource servers linked to a resource server client

💡 Example Usage

Creating a Resource Server Client

# Interactive mode
auth0 apps create

# With flags
auth0 apps create \
  --name "My API Client" \
  -d "Client for accessing my API" \
  --type resource_server \
  --resource-server-identifier "https://api.example.com"

Viewing Resource Server Information

# Show specific app details
auth0 apps show <client-id>

# Show resource server with linked client
auth0 apis show <api-identifier>

📌 Note

resource_server_identifier can only be set when app_type=resource_server
  • This field is only valid for resource server type applications
  • Attempting to set it on other app types will result in an error
resource_server_identifier is IMMUTABLE (cannot be updated)
  • This property can only be set during client creation
  • Once the client is created, this property cannot be changed

📚 References

🔬 Testing

  • Unit tests added

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

… in app creation

feat(docs/auth0_apps_update.md): add support for resource_server type in app update
feat(internal/cli/apps.go): define resource_server app type constant
feat(internal/cli/apps_test.go): update tests to include resource_server type
feat(internal/display/apis.go): add ClientID to apiView struct
feat(internal/display/apps.go): include resource server identifier in application view
test(integration/apps-test-cases.yaml): add tests for resource server app creation and display
test(integration/scripts/get-resource-server-app-id.sh): script to retrieve resource server app ID
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 90.32258% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.98%. Comparing base (e4531e2) to head (d023fcd).
⚠️ Report is 14 commits behind head on main.

Files with missing lines Patch % Lines
internal/display/apps.go 86.53% 5 Missing and 2 partials ⚠️
internal/cli/apps.go 94.94% 4 Missing and 1 partial ⚠️
internal/display/apis.go 25.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1352      +/-   ##
==========================================
+ Coverage   64.63%   64.98%   +0.34%     
==========================================
  Files         108      108              
  Lines       17139    17855     +716     
==========================================
+ Hits        11078    11603     +525     
- Misses       5350     5490     +140     
- Partials      711      762      +51     

☔ 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 marked this pull request as ready for review October 8, 2025 06:45
@kushalshit27 kushalshit27 requested a review from a team as a code owner October 8, 2025 06:45
@kushalshit27 kushalshit27 merged commit af49ced into main Oct 14, 2025
6 checks passed
@kushalshit27 kushalshit27 deleted the DXCDT-1170-token-vault-ga-support branch October 14, 2025 08:00
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.

3 participants