feat: add UL identifier input support for themes and tenant settings#1433
Draft
harshithRai wants to merge 1 commit into
Draft
feat: add UL identifier input support for themes and tenant settings#1433harshithRai wants to merge 1 commit into
harshithRai wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1433 +/- ##
=========================================
Coverage ? 80.23%
=========================================
Files ? 163
Lines ? 7533
Branches ? 1663
=========================================
Hits ? 6044
Misses ? 800
Partials ? 689 ☔ 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
This PR adds Deploy CLI support for the UL Identifier Input Refactor & Mobile UX Enhancements initiative, covering two additive Management API surfaces. Both are Early Access and gated behind per-tenant feature flags.
auth0SDK^6.0.0→^6.1.0to pick up theBrandingThemeIdentifiersandTenantSettingsCountryCodestypes, which are wired through the relevant request/response content. No handler logic changes were needed - the fields flow through the existing payload spreads once the types carry them.src/tools/auth0/handlers/themes.ts): added theidentifiersobject to the theme schema -login_display(separate|unified),otp_autocomplete(boolean), andphone_display(formatting:international|regional,masking:hide_country_code|mask_digits|show_all). Gated by theuniversal_login_theme_identifiersflag.src/tools/auth0/handlers/tenant.ts): added the nullablecountry_codesobject -list(ISO 3166-1 alpha-2 codes, unique, non-empty) andmode(allow|deny). Setcountry_codes: nullto remove filtering. Gated by thetenant_country_codes_filteringflag.docs/resource-specific-documentation.md.New configuration shapes
Theme
identifiers(under athemesentry):{ "displayName": "Default theme", "identifiers": { "login_display": "unified", "otp_autocomplete": true, "phone_display": { "masking": "mask_digits", "formatting": "international" } } }Tenant
country_codes(undertenant; set tonullto remove filtering):{ "country_codes": { "list": ["US", "GB", "CA"], "mode": "allow" } }🔬 Testing
identifierspasses through on both create (no existing default theme) and update (existing default theme).country_codesobject is sent on update, andcountry_codes: nullis preserved to clear filtering.tsc --noEmit, ESLint, andprettier --checkall clean.listwithoutmode, invalid ISO codes, flag-off rejection) is enforced by the Management API and requires the feature flags enabled on a live tenant; not replicated client-side.📝 Checklist