Commit 592bf87
authored
feat: add directory provisioning support for
* feat: add directory provisioning support for connections
- src/tools/auth0/handlers/connections.ts: add directory_provisioning_configuration to schema
- src/tools/auth0/handlers/connections.ts: implement methods for retrieving, creating, updating, and deleting directory provisioning configurations
- src/tools/auth0/handlers/connections.ts: process directory provisioning in connection changes
* feat: enhance error handling in connections handler
- src/tools/auth0/handlers/connections.ts: throw ManagementError instead of generic Error for better error classification
- src/tools/auth0/handlers/connections.ts: improve logging for directory provisioning fetch errors
* feat: update error messages and clean up bodyParams for directory provisioning
- src/tools/auth0/handlers/connections.ts: change error messages to use connection ID instead of name
- src/tools/auth0/handlers/scimHandler.ts: remove directory_provisioning_configuration from bodyParams
* feat: add Google Workspace directory provisioning support
- docs/resource-specific-documentation.md: document directory provisioning for Google Workspace connections
- examples/directory/connections/google-apps.json: add example configuration for Google Workspace directory provisioning
- examples/yaml/tenant.yaml: include Google Workspace connection in tenant YAML configuration
- src/tools/auth0/handlers/connections.ts: implement directory provisioning create, update, and delete operations
- test/tools/auth0/handlers/connections.tests.js: add tests for directory provisioning configuration handling
- test/tools/auth0/handlers/scimHandler.tests.js: ensure directory provisioning configuration is removed before updating connection
* feat: enhance directory provisioning handling and tests
- src/tools/auth0/handlers/connections.ts: improve error handling for directory provisioning and add debug logs for create, update, and delete operations
- test/tools/auth0/handlers/connections.tests.js: update test to use sinon.match for more flexible assertions
* feat: update SCIM handler to remove unnecessary configuration
- src/tools/auth0/handlers/scimHandler.ts: delete from bodyParams
* feat: update directory provisioning configuration
- docs/resource-specific-documentation.md: set synchronize_automatically to false
- examples/directory/connections/google-apps.json: set synchronize_automatically to false
- examples/yaml/tenant.yaml: set synchronize_automatically to false
- examples/yaml/tenant.yaml: add api_enable_users field
- examples/directory/connections/google-apps.json: add api_enable_users field
- docs/resource-specific-documentation.md: add api_enable_users fieldconnections (#1246)1 parent 9062d24 commit 592bf87
7 files changed
Lines changed: 567 additions & 4 deletions
File tree
- docs
- examples
- directory/connections
- yaml
- src/tools/auth0/handlers
- test/tools/auth0/handlers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
124 | 179 | | |
125 | 180 | | |
126 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
114 | 132 | | |
115 | 133 | | |
116 | 134 | | |
| |||
0 commit comments