Skip to content

feat: add passkey enrollment prompts#1328

Merged
kushalshit27 merged 6 commits intomasterfrom
DXCDT-1479-support-passkeys-in-partials
Apr 2, 2026
Merged

feat: add passkey enrollment prompts#1328
kushalshit27 merged 6 commits intomasterfrom
DXCDT-1479-support-passkeys-in-partials

Conversation

@ramya18101
Copy link
Copy Markdown
Contributor

@ramya18101 ramya18101 commented Mar 23, 2026

🔧 Changes

Add support of passkeys in prompt partials

📚 References

https://auth0.com/docs/api/management/v2/prompts/get-partials
https://auth0.com/docs/api/management/v2/prompts/put-partials

🔬 Testing

Added unit tests

📝 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
Copy Markdown

codecov-commenter commented Mar 23, 2026

Codecov Report

❌ Patch coverage is 87.50000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 80.03%. Comparing base (df4420c) to head (fd519bd).

Files with missing lines Patch % Lines
src/tools/auth0/handlers/prompts.ts 87.50% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1328   +/-   ##
=======================================
  Coverage   80.02%   80.03%           
=======================================
  Files         152      152           
  Lines        6164     6172    +8     
  Branches     1276     1279    +3     
=======================================
+ Hits         4933     4940    +7     
  Misses        699      699           
- Partials      532      533    +1     

☔ 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 marked this pull request as ready for review March 24, 2026 05:12
@ramya18101 ramya18101 requested a review from a team as a code owner March 24, 2026 05:12
Copy link
Copy Markdown
Contributor

@ankita10119 ankita10119 left a comment

Choose a reason for hiding this comment

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

Could you add a unit test for the new error handling path in withErrorHandling, following the same pattern as the existing tests in prompts.tests.ts? Also, was this tested on a tenant with and without passkeys enabled ?

Comment thread package.json
Comment thread docs/resource-specific-documentation.md
@ramya18101
Copy link
Copy Markdown
Contributor Author

Could you add a unit test for the new error handling path in withErrorHandling, following the same pattern as the existing tests in prompts.tests.ts? Also, was this tested on a tenant with and without passkeys enabled ?

Yes, it was tested in all the possible scenarios!

@kushalshit27 kushalshit27 requested review from ankita10119 and removed request for ankita10119 April 2, 2026 10:20
@kushalshit27 kushalshit27 merged commit 9bb3dc0 into master Apr 2, 2026
8 checks passed
@kushalshit27 kushalshit27 deleted the DXCDT-1479-support-passkeys-in-partials branch April 2, 2026 11:09
@kushalshit27 kushalshit27 mentioned this pull request Apr 2, 2026
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