feat: add otp_settings support for database connections - #1481
Draft
ankita10119 wants to merge 1 commit into
Draft
feat: add otp_settings support for database connections#1481ankita10119 wants to merge 1 commit into
ankita10119 wants to merge 1 commit into
Conversation
ankita10119
marked this pull request as draft
September 1, 2026 08:07
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1481 +/- ##
=======================================
Coverage 80.81% 80.81%
=======================================
Files 163 163
Lines 7805 7805
Branches 1741 1741
=======================================
Hits 6308 6308
Misses 797 797
Partials 700 700 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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
Adds support for
otp_settingson database connections (strategy: auth0), allowing configuration of OTP length and expiry per delivery channel (email and phone).otp_settingsis accepted and returned by the Management API only on strategy: auth0 connections. The property passes through deploy-cli without any special import/export handling, partial updates (e.g. setting onlyemail.otp_length) are supported natively by the API's PATCH endpoint.Note: The underlying auth0 SDK does not yet include TypeScript types for
otp_settings(the property is currently x-internal in the OAS, targeted to go public soon). This PR pre-emptively adds schema and test coverage; the auth0 package version bump will be a follow-up once the SDK is released.📚 References
🔬 Testing
📝 Checklist