auth0-deploy-cli 8.37.0 → 8.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -1
- package/lib/tools/auth0/handlers/branding.js +5 -0
- package/lib/tools/auth0/handlers/clients.d.ts +32 -0
- package/lib/tools/auth0/handlers/clients.js +30 -0
- package/lib/tools/auth0/handlers/resourceServers.d.ts +6 -0
- package/lib/tools/auth0/handlers/resourceServers.js +2 -0
- package/lib/tools/constants.js +2 -0
- package/lib/tools/utils.js +2 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [8.38.0] - 2026-06-25
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add `session_transfer` delegation config support for CTE impersonation on the Client entity. [#1406]
|
|
15
|
+
- Add `fedcm_login` support for Google One Tap / FedCM in Universal Login on the Client entity. [#1407]
|
|
16
|
+
- Add `login-post-identifier` and `signup-post-identifier` as supported action triggers. [#1409]
|
|
17
|
+
- Add `allow_online_access` and `allow_online_access_with_ephemeral_sessions` fields to resource server. [#1398]
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- Fix keyword placeholder validation to allow lowercase Auth0 template variables (e.g. `@@password@@`). [#1408]
|
|
22
|
+
- Re-apply prompt settings after branding update to prevent Authentication Profile reset. [#1404]
|
|
23
|
+
|
|
10
24
|
## [8.37.0] - 2026-06-17
|
|
11
25
|
|
|
12
26
|
### Added
|
|
@@ -1822,10 +1836,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1822
1836
|
[#1391]: https://github.com/auth0/auth0-deploy-cli/issues/1391
|
|
1823
1837
|
[#1392]: https://github.com/auth0/auth0-deploy-cli/issues/1392
|
|
1824
1838
|
[#1396]: https://github.com/auth0/auth0-deploy-cli/issues/1396
|
|
1839
|
+
[#1398]: https://github.com/auth0/auth0-deploy-cli/issues/1398
|
|
1825
1840
|
[#1400]: https://github.com/auth0/auth0-deploy-cli/issues/1400
|
|
1826
1841
|
[#1401]: https://github.com/auth0/auth0-deploy-cli/issues/1401
|
|
1827
1842
|
[#1403]: https://github.com/auth0/auth0-deploy-cli/issues/1403
|
|
1828
|
-
[
|
|
1843
|
+
[#1404]: https://github.com/auth0/auth0-deploy-cli/issues/1404
|
|
1844
|
+
[#1406]: https://github.com/auth0/auth0-deploy-cli/issues/1406
|
|
1845
|
+
[#1407]: https://github.com/auth0/auth0-deploy-cli/issues/1407
|
|
1846
|
+
[#1408]: https://github.com/auth0/auth0-deploy-cli/issues/1408
|
|
1847
|
+
[#1409]: https://github.com/auth0/auth0-deploy-cli/issues/1409
|
|
1848
|
+
[Unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v8.38.0...HEAD
|
|
1849
|
+
[8.38.0]: https://github.com/auth0/auth0-deploy-cli/compare/v8.37.0...v8.38.0
|
|
1829
1850
|
[8.37.0]: https://github.com/auth0/auth0-deploy-cli/compare/v8.36.0...v8.37.0
|
|
1830
1851
|
[8.36.0]: https://github.com/auth0/auth0-deploy-cli/compare/v8.35.0...v8.36.0
|
|
1831
1852
|
[8.35.0]: https://github.com/auth0/auth0-deploy-cli/compare/v8.34.0...v8.35.0
|
|
@@ -130,7 +130,12 @@ class BrandingHandler extends default_1.default {
|
|
|
130
130
|
delete brandingSettings.logo_url;
|
|
131
131
|
}
|
|
132
132
|
if (brandingSettings && Object.keys(brandingSettings).length) {
|
|
133
|
+
// Save prompt settings, update branding, then restore prompt settings to avoid mgmt API overwriting prompt settings
|
|
134
|
+
const promptSettings = await this.client.prompts.getSettings().catch(() => null);
|
|
133
135
|
await this.client.branding.update(brandingSettings);
|
|
136
|
+
if (promptSettings) {
|
|
137
|
+
await this.client.prompts.updateSettings(promptSettings);
|
|
138
|
+
}
|
|
134
139
|
this.updated += 1;
|
|
135
140
|
this.didUpdate(brandingSettings);
|
|
136
141
|
}
|
|
@@ -174,6 +174,22 @@ export declare const schema: {
|
|
|
174
174
|
description: string;
|
|
175
175
|
default: boolean;
|
|
176
176
|
};
|
|
177
|
+
delegation: {
|
|
178
|
+
type: string;
|
|
179
|
+
description: string;
|
|
180
|
+
properties: {
|
|
181
|
+
allow_delegated_access: {
|
|
182
|
+
type: string;
|
|
183
|
+
description: string;
|
|
184
|
+
};
|
|
185
|
+
enforce_device_binding: {
|
|
186
|
+
type: string;
|
|
187
|
+
description: string;
|
|
188
|
+
enum: string[];
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
additionalProperties: boolean;
|
|
192
|
+
};
|
|
177
193
|
};
|
|
178
194
|
additionalProperties: boolean;
|
|
179
195
|
};
|
|
@@ -365,6 +381,22 @@ export declare const schema: {
|
|
|
365
381
|
};
|
|
366
382
|
};
|
|
367
383
|
};
|
|
384
|
+
fedcm_login: {
|
|
385
|
+
type: string[];
|
|
386
|
+
description: string;
|
|
387
|
+
properties: {
|
|
388
|
+
google: {
|
|
389
|
+
type: string;
|
|
390
|
+
properties: {
|
|
391
|
+
is_enabled: {
|
|
392
|
+
type: string;
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
required: string[];
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
required: string[];
|
|
399
|
+
};
|
|
368
400
|
};
|
|
369
401
|
required: string[];
|
|
370
402
|
};
|
|
@@ -202,6 +202,22 @@ exports.schema = {
|
|
|
202
202
|
description: "Indicates whether Refresh Tokens created during a native-to-web session are tied to that session's lifetime. This determines if such refresh tokens should be automatically revoked when their corresponding sessions are. Usually configured in the web application.",
|
|
203
203
|
default: true,
|
|
204
204
|
},
|
|
205
|
+
delegation: {
|
|
206
|
+
type: 'object',
|
|
207
|
+
description: 'Settings for impersonation via session transfer. Required to accept Session Transfer Tokens that contain an Actor.',
|
|
208
|
+
properties: {
|
|
209
|
+
allow_delegated_access: {
|
|
210
|
+
type: 'boolean',
|
|
211
|
+
description: 'Allows clients to access an impersonated session via SSO by accepting STTs that contain an Actor.',
|
|
212
|
+
},
|
|
213
|
+
enforce_device_binding: {
|
|
214
|
+
type: 'string',
|
|
215
|
+
description: "Enforces device binding for impersonation sessions. Defaults to 'ip' when omitted.",
|
|
216
|
+
enum: ['ip', 'asn'],
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
additionalProperties: false,
|
|
220
|
+
},
|
|
205
221
|
},
|
|
206
222
|
additionalProperties: true,
|
|
207
223
|
},
|
|
@@ -379,6 +395,20 @@ exports.schema = {
|
|
|
379
395
|
},
|
|
380
396
|
},
|
|
381
397
|
},
|
|
398
|
+
fedcm_login: {
|
|
399
|
+
type: ['object', 'null'],
|
|
400
|
+
description: 'Configuration for FedCM (Federated Credential Management) login',
|
|
401
|
+
properties: {
|
|
402
|
+
google: {
|
|
403
|
+
type: 'object',
|
|
404
|
+
properties: {
|
|
405
|
+
is_enabled: { type: 'boolean' },
|
|
406
|
+
},
|
|
407
|
+
required: ['is_enabled'],
|
|
408
|
+
},
|
|
409
|
+
},
|
|
410
|
+
required: ['google'],
|
|
411
|
+
},
|
|
382
412
|
},
|
|
383
413
|
required: ['name'],
|
|
384
414
|
},
|
package/lib/tools/constants.js
CHANGED
package/lib/tools/utils.js
CHANGED
|
@@ -259,7 +259,8 @@ const obfuscateSensitiveValues = (data, sensitiveFieldsToObfuscate) => {
|
|
|
259
259
|
return newAsset;
|
|
260
260
|
};
|
|
261
261
|
exports.obfuscateSensitiveValues = obfuscateSensitiveValues;
|
|
262
|
-
|
|
262
|
+
// Uppercase-only to avoid false positives on lowercase Auth0 template variables like @@password@@
|
|
263
|
+
const UNRESOLVED_PLACEHOLDER_REGEX = /^(##[A-Z0-9_]+##|@@[A-Z0-9_]+@@)$/;
|
|
263
264
|
// Recursively collects all fields in an asset that still contain an unresolved
|
|
264
265
|
// ##...## (string) or @@...@@ (array) keyword placeholder.
|
|
265
266
|
const collectUnresolvedPlaceholders = (data, parentPath = '') => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "auth0-deploy-cli",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.38.0",
|
|
4
4
|
"description": "A command line tool for deploying updates to your Auth0 tenant",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"readme": "README.md",
|
|
34
34
|
"homepage": "https://github.com/auth0/auth0-deploy-cli#readme",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@clack/prompts": "1.
|
|
36
|
+
"@clack/prompts": "1.4.0",
|
|
37
37
|
"ajv": "^6.12.6",
|
|
38
|
-
"auth0": "^5.
|
|
38
|
+
"auth0": "^5.13.0",
|
|
39
39
|
"chalk": "5.6.2",
|
|
40
40
|
"dot-prop": "^5.3.0",
|
|
41
41
|
"fs-extra": "^10.1.0",
|