feat: add org-to-app entitlement (EA) support for organizations - #1454
Open
ankita10119 wants to merge 2 commits into
Open
feat: add org-to-app entitlement (EA) support for organizations#1454ankita10119 wants to merge 2 commits into
ankita10119 wants to merge 2 commits into
Conversation
harshithRai
reviewed
Aug 7, 2026
Comment on lines
+507
to
+511
| if (orgClientsToRemove.length > 0) { | ||
| await this.deleteOrganizationClients(params.id, orgClientsToRemove).catch((err) => { | ||
| throw new Error(`Problem removing org clients for organization ${params.id}\n${err}`); | ||
| }); | ||
| } |
Contributor
There was a problem hiding this comment.
Should this match the discovery_domains pattern? That one gates removals behind AUTH0_ALLOW_DELETE and warns instead of deleting (organizations.ts:406), whereas here clients removes unconditionally. A stale config with clients: [] would silently wipe out associations set up outside the CLI.
Contributor
|
LGTM! Just had the one open-ended question above |
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
Add
is_app_entitlement_activeand org-client associations (clients) support for organizations (Org-to-App Entitlement EA).What changed:
is_app_entitlement_activeboolean is now exported/deployed on all organizations when theorg_to_app_entitlement_enabledfeature flag is enabled on the tenantclientssub-resource on organizations: manages which client applications org members are entitled to use for login viause_for_member_accessclient_idvalues are resolved to client names for portability across environments; on deploy, names are resolved back to IDsread:organization_clients,create:organization_clients,update:organization_clients,delete:organization_clientsscopes on the M2M application📚 References
🔬 Testing
org_to_app_entitlement_enabledFF enabled: export → modify org → deploy → re-export confirmed the association was applied correctly📝 Checklist