Commit 0a56644
committed
feat: add discovery domain handling to organizations
- src/tools/auth0/handlers/organizations.ts: implement discovery domain creation, update, and deletion logic
- src/context/directory/handlers/organizations.ts: map discovery domains to remove computed field id
- src/context/yaml/handlers/organizations.ts: map discovery domains to remove computed field id
- src/tools/auth0/handlers/userAttributeProfiles.ts: format pagination call for clarity
feat: add discovery domain support to organizations
- src/context/directory/handlers/organizations.ts: check for existence of discovery_domains before accessing length
- src/context/yaml/handlers/organizations.ts: check for existence of discovery_domains before accessing length
- test/context/directory/organizations.test.js: update test cases to include discovery_domains in organization data
- test/context/yaml/organizations.test.js: add discovery_domains to YAML organization test data
- test/tools/auth0/handlers/organizations.tests.js: add sample discovery domain and update organization handler tests
feat(clients.ts): rename multiResourceRefreshTokenPolicies to multiResourceRefreshTokenPoliciesSchema
feat(clients.ts): add organization_usage, organization_require_behavior, and organization_discovery_methods to schema
test(clients.tests.js): add tests for client creation with organization properties
test(clients.tests.js): add tests for handling multiple organization discovery methods
test(clients.tests.js): add test for updating client organization_usage while preserving organization_require_behavior
test(clients.tests.js): add test for removing organization_discovery_methods by setting to null
feat(clients.ts): allow organization_discovery_methods to accept null values
- src/tools/auth0/handlers/clients.ts: change type from 'array' to ['array', 'null']1 parent 4ce981f commit 0a56644
File tree
9 files changed
+637
-17
lines changed- src
- context
- directory/handlers
- yaml/handlers
- tools/auth0/handlers
- test
- context
- directory
- yaml
- tools/auth0/handlers
9 files changed
+637
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
64 | 75 | | |
65 | 76 | | |
66 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
39 | 49 | | |
40 | 50 | | |
41 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
148 | 163 | | |
149 | 164 | | |
150 | 165 | | |
| |||
0 commit comments