Skip to content

Conversation

@ramya18101
Copy link
Contributor

@ramya18101 ramya18101 commented Dec 12, 2025

🔧 Changes

Add token exchange support in the Auth0 Deploy CLI
Add support of new field token_exchange in clients
Document the new resource with YAML and directory examples and seed sample configs in examples/.

Examples

YAML format

tokenExchangeProfiles:
  - name: "Custom Authentication Profile"
    type: "custom_authentication"
    subject_token_type: "urn:ietf:params:oauth:token-type:custom"
    action: "custom-token-exchange-action"

JSON format

{
  "name": "Custom Authentication Profile",
  "type": "custom_authentication",
  "subject_token_type": "urn:ietf:params:oauth:token-type:custom",
  "action": "custom-token-exchange-action"
}

📚 References

Get token exchange profiles
Create a token exchange profile
Get a token exchange profile
Delete a token exchange profile
Update an existing token exchange profile

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

@codecov-commenter
Copy link

codecov-commenter commented Dec 12, 2025

Codecov Report

❌ Patch coverage is 86.29032% with 17 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (beta@0460934). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/tools/auth0/handlers/tokenExchangeProfiles.ts 82.02% 6 Missing and 10 partials ⚠️
...ontext/directory/handlers/tokenExchangeProfiles.ts 95.45% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             beta    #1232   +/-   ##
=======================================
  Coverage        ?   80.60%           
=======================================
  Files           ?      140           
  Lines           ?     5500           
  Branches        ?     1116           
=======================================
  Hits            ?     4433           
  Misses          ?      616           
  Partials        ?      451           

☔ 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.

@ramya18101 ramya18101 changed the title Dxcdt 1315 custom token exchange ea Support for custom token exchange Dec 12, 2025
@ramya18101 ramya18101 marked this pull request as ready for review December 12, 2025 09:57
@ramya18101 ramya18101 requested a review from a team as a code owner December 12, 2025 09:57
@kushalshit27
Copy link
Contributor

@claude

@github-actions

This comment was marked as outdated.

Copy link
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.

Changes look fine to me.
Please review Claude's comments and provide a reply.

Please fix E2E tests.

@kushalshit27 kushalshit27 changed the title Support for custom token exchange feat: support for custom token exchange Dec 16, 2025
@kushalshit27 kushalshit27 merged commit b0db5a2 into beta Dec 16, 2025
6 checks passed
@kushalshit27 kushalshit27 deleted the DXCDT-1315-Custom-Token-Exchange-EA branch December 16, 2025 05:35
kushalshit27 added a commit that referenced this pull request Dec 16, 2025
Upgrading node-auth0 from v4 to v5 [beta] #1207
feat(prompts): add brute force protection in screen types and different screenTypes related to it #1221
feat: support phone templates #1224
feat: support for custom token exchange  #1232
feat: support for custom token exchange  #1232
@kushalshit27 kushalshit27 mentioned this pull request Dec 16, 2025
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.

4 participants