feat: add cross_app_access_requesting_app support for connections (EA)#1422
Open
ankita10119 wants to merge 3 commits into
Open
feat: add cross_app_access_requesting_app support for connections (EA)#1422ankita10119 wants to merge 3 commits into
ankita10119 wants to merge 3 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1422 +/- ##
=======================================
Coverage 80.23% 80.23%
=======================================
Files 163 163
Lines 7533 7533
Branches 1663 1663
=======================================
Hits 6044 6044
Misses 800 800
Partials 689 689 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
kushalshit27
approved these changes
Jul 13, 2026
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 schema support for the
cross_app_access_requesting_appconnection property introduced by the Cross App Access (CAA) feature.What changed:
cross_app_access_requesting_appto the connections JSON schemasrc/tools/auth0/handlers/connections.ts. The field accepts{ active: boolean }and follows the same pattern as the existingauthenticationandconnected_accountsfields.No additional handler logic was required, the property flows through the existing export and deploy paths automatically, as the auth0 Node SDK (
^5.13.0) already includes theCrossAppAccessRequestingApptype onConnectionForList.Usage:
📚 References
🔬 Testing
Requires the token_vault_xaa feature flag enabled on the tenant.
Unit tests - added to
test/tools/auth0/handlers/connections.tests.js:cross_app_access_requesting_appwith active: true/falseManual end-to-end test (verified on dev-ankita-t.us.auth0.com with flag enabled):
cross_app_access_requesting_appabsent from OIDC connectioncross_app_access_requesting_app: active: true to the connection in tenant.yamlcross_app_access_requesting_app: active: true present in exported YAMLRound-trip confirmed. Attempted deploy without the feature flag returns operation_not_supported (400) from the API - expected behavior, no special handling needed in the CLI.
📝 Checklist