diff --git a/examples/yaml/tenant.yaml b/examples/yaml/tenant.yaml index b2a3f80c..f9119456 100644 --- a/examples/yaml/tenant.yaml +++ b/examples/yaml/tenant.yaml @@ -103,6 +103,9 @@ databases: identifier: active: false # Set to true when email.unique is false profile_required: false + # custom_password_hash: # (Early Availability) Reference action by name + # action_id: "MyPasswordHashAction" + # hash_algorithm: "bcrypt" connections: - name: "myad-waad" diff --git a/src/tools/auth0/handlers/databases.ts b/src/tools/auth0/handlers/databases.ts index 1f24f6e8..eef951be 100644 --- a/src/tools/auth0/handlers/databases.ts +++ b/src/tools/auth0/handlers/databases.ts @@ -1,7 +1,12 @@ import { Management } from 'auth0'; import DefaultAPIHandler, { order } from './default'; import constants from '../../constants'; -import { filterExcluded, getEnabledClients } from '../../utils'; +import { + filterExcluded, + getEnabledClients, + convertActionNameToId, + convertActionIdToName, +} from '../../utils'; import { CalculatedChanges, Assets, Asset } from '../../../types'; import { paginate } from '../client'; import log from '../../../logger'; @@ -11,6 +16,7 @@ import { processConnectionEnabledClients, } from './connections'; import { Client } from './clients'; +import { Action } from './actions'; export const schema = { type: 'array', @@ -138,6 +144,12 @@ export const schema = { }, }, }, + custom_password_hash: { + type: 'object', + properties: { + action_id: { type: 'string' }, + }, + }, }, }, }, @@ -158,6 +170,24 @@ export default class DatabaseHandler extends DefaultAPIHandler { return super.objString({ name: db.name, id: db.id }); } + getFormattedOptions(options, actions: Action[] = []) { + try { + const formattedOptions = { ...options }; + + // Handle custom_password_hash.action_id conversion + if (options?.custom_password_hash?.action_id) { + formattedOptions.custom_password_hash = { + ...options.custom_password_hash, + action_id: convertActionNameToId(options.custom_password_hash.action_id, actions), + }; + } + + return formattedOptions; + } catch (e) { + return {}; + } + } + async validate(assets: Assets): Promise { const { databases } = assets; @@ -269,24 +299,55 @@ export default class DatabaseHandler extends DefaultAPIHandler { async getType() { if (this.existing) return this.existing; - const connections = await paginate(this.client.connections.list, { - strategy: [Management.ConnectionStrategyEnum.Auth0], - checkpoint: true, - }); + // Fetch connections and actions concurrently + const [connections, actions] = await Promise.all([ + paginate(this.client.connections.list, { + strategy: [Management.ConnectionStrategyEnum.Auth0], + checkpoint: true, + }), + paginate(this.client.actions.list, { + paginate: true, + include_totals: true, + }), + ]); const dbConnectionsWithEnabledClients = await Promise.all( connections.map(async (con) => { if (!con?.id) return con; + const enabledClients = await getConnectionEnabledClients(this.client, con.id); + const connection = { ...con }; + if (enabledClients && enabledClients?.length) { - return { ...con, enabled_clients: enabledClients }; + connection.enabled_clients = enabledClients; } - return con; + + return connection; }) ); + // Convert action ID back to action name for export + const dbConnectionsWithActionNames = dbConnectionsWithEnabledClients.map((connection) => { + if (connection.options && 'custom_password_hash' in connection.options) { + const customPasswordHash = (connection.options as any)?.custom_password_hash; + if (customPasswordHash?.action_id) { + return { + ...connection, + options: { + ...connection.options, + custom_password_hash: { + ...customPasswordHash, + action_id: convertActionIdToName(customPasswordHash.action_id, actions), + }, + }, + }; + } + } + return connection; + }); + // If options option is empty for all connection, log the missing options scope. - const isOptionExists = dbConnectionsWithEnabledClients.every( + const isOptionExists = dbConnectionsWithActionNames.every( (c) => c.options && Object.keys(c.options).length > 0 ); if (!isOptionExists) { @@ -295,7 +356,7 @@ export default class DatabaseHandler extends DefaultAPIHandler { ); } - this.existing = dbConnectionsWithEnabledClients; + this.existing = dbConnectionsWithActionNames; return this.existing; } @@ -313,25 +374,37 @@ export default class DatabaseHandler extends DefaultAPIHandler { }; // Convert enabled_clients by name to the id + // Fetch clients, connections, and actions concurrently + const [clients, existingDatabasesConnections, actions] = await Promise.all([ + paginate(this.client.clients.list, { + paginate: true, + }), + paginate(this.client.connections.list, { + strategy: [Management.ConnectionStrategyEnum.Auth0], + checkpoint: true, + include_totals: true, + }), + paginate(this.client.actions.list, { + paginate: true, + include_totals: true, + }), + ]); - const clients = await paginate(this.client.clients.list, { - paginate: true, - }); - - const existingDatabasesConnections = await paginate(this.client.connections.list, { - strategy: [Management.ConnectionStrategyEnum.Auth0], - checkpoint: true, - include_totals: true, - }); const formatted = databases.map((db) => { + const { options, ...rest } = db; + const formattedOptions = this.getFormattedOptions(options, actions); + const formattedDb: any = { ...rest, options: formattedOptions }; + if (db.enabled_clients) { - return { - ...db, - enabled_clients: getEnabledClients(assets, db, existingDatabasesConnections, clients), - }; + formattedDb.enabled_clients = getEnabledClients( + assets, + db, + existingDatabasesConnections, + clients + ); } - return db; + return formattedDb; }); return super.calcChanges({ ...assets, databases: formatted }); diff --git a/src/tools/utils.ts b/src/tools/utils.ts index c642d28a..3ee62558 100644 --- a/src/tools/utils.ts +++ b/src/tools/utils.ts @@ -72,6 +72,16 @@ export function convertClientNameToId(name: string, clients: Asset[]): string { return (found && found.client_id) || name; } +export function convertActionNameToId(name: string, actions: Asset[]): string { + const found = actions.find((a) => a.name === name); + return (found && found.id) || name; +} + +export function convertActionIdToName(id: string, actions: Asset[]): string { + const found = actions.find((a) => a.id === id); + return (found && found.name) || id; +} + export function convertClientNamesToIds(names: string[], clients: Asset[]): string[] { const resolvedNames = names.map((name) => ({ name, resolved: false })); const result = clients.reduce((acc: string[], client): string[] => { diff --git a/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json b/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json index e76696c5..7e822101 100644 --- a/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json +++ b/test/e2e/recordings/should-deploy-while-deleting-resources-if-AUTH0_ALLOW_DELETE-is-true.json @@ -874,6 +874,22 @@ "description": "Delete SCIM token", "value": "delete:scim_token" }, + { + "description": "Read directory provisioning configurations", + "value": "read:directory_provisionings" + }, + { + "description": "Create directory provisioning configurations", + "value": "create:directory_provisionings" + }, + { + "description": "Update directory provisioning configurations", + "value": "update:directory_provisionings" + }, + { + "description": "Delete directory provisioning configurations", + "value": "delete:directory_provisionings" + }, { "description": "Delete a Phone Notification Provider", "value": "delete:phone_providers" @@ -1235,16 +1251,16 @@ "value": "delete:token_exchange_profiles" }, { - "value": "read:organization_client_grants", - "description": "Read Organization Client Grants" + "description": "Read Organization Client Grants", + "value": "read:organization_client_grants" }, { - "value": "create:organization_client_grants", - "description": "Create Organization Client Grants" + "description": "Create Organization Client Grants", + "value": "create:organization_client_grants" }, { - "value": "delete:organization_client_grants", - "description": "Delete Organization Client Grants" + "description": "Delete Organization Client Grants", + "value": "delete:organization_client_grants" }, { "value": "read:security_metrics", @@ -1261,22 +1277,6 @@ { "value": "create:connections_keys", "description": "Create connection keys" - }, - { - "value": "create:directory_provisionings", - "description": "Create Directory Provisionings" - }, - { - "value": "read:directory_provisionings", - "description": "Read Directory Provisionings" - }, - { - "value": "update:directory_provisionings", - "description": "Update Directory Provisionings" - }, - { - "value": "delete:directory_provisionings", - "description": "Delete Directory Provisionings" } ], "is_system": true @@ -1379,7 +1379,7 @@ "subject": "deprecated" } ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1432,7 +1432,7 @@ "subject": "deprecated" } ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1487,7 +1487,7 @@ } ], "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1536,7 +1536,7 @@ "subject": "deprecated" } ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1577,7 +1577,7 @@ "subject": "deprecated" } ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1630,7 +1630,7 @@ "subject": "deprecated" } ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1652,14 +1652,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -1673,13 +1668,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -1690,7 +1685,7 @@ "subject": "deprecated" } ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1699,15 +1694,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -1715,9 +1705,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -1731,13 +1726,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -1748,7 +1743,7 @@ "subject": "deprecated" } ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1757,10 +1752,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true } @@ -1772,7 +1772,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", + "path": "/api/v2/clients/0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "body": "", "status": 204, "response": "", @@ -1782,7 +1782,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", + "path": "/api/v2/clients/sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "body": { "name": "API Explorer Application", "allowed_clients": [], @@ -1860,7 +1860,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1882,7 +1882,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", + "path": "/api/v2/clients/Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "body": { "name": "Quickstarts API (Test Application)", "app_type": "non_interactive", @@ -1943,7 +1943,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1964,7 +1964,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", + "path": "/api/v2/clients/HWCESYt02wdq5klo9idda5UuNqLyvRiE", "body": { "name": "Node App", "allowed_clients": [], @@ -2050,7 +2050,7 @@ } ], "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2076,7 +2076,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", + "path": "/api/v2/clients/gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "body": { "name": "Terraform Provider", "app_type": "non_interactive", @@ -2131,7 +2131,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2152,7 +2152,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", + "path": "/api/v2/clients/7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "body": { "name": "The Default App", "allowed_clients": [], @@ -2234,7 +2234,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2258,7 +2258,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", + "path": "/api/v2/clients/WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "body": { "name": "Test SPA", "allowed_clients": [], @@ -2351,7 +2351,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2378,7 +2378,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", + "path": "/api/v2/clients/z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "body": { "name": "auth0-deploy-cli-extension", "allowed_clients": [], @@ -2456,7 +2456,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2478,7 +2478,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -2492,7 +2492,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -2520,13 +2520,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { - "enabled": true + "enabled": false }, "status": 200, "response": { - "enabled": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -2534,7 +2534,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -2548,7 +2548,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -2562,13 +2562,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/push-notification", "body": { - "enabled": false + "enabled": true }, "status": 200, "response": { - "enabled": false + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -2576,7 +2576,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/duo", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -2654,7 +2654,7 @@ "response": { "actions": [ { - "id": "6cdf1896-7209-4560-a805-476b21c72654", + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", "name": "My Custom Action", "supported_triggers": [ { @@ -2662,34 +2662,34 @@ "version": "v2" } ], - "created_at": "2025-12-22T11:19:23.989403751Z", - "updated_at": "2026-01-29T08:17:49.351150840Z", + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:06:13.458251716Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node18", "status": "built", "secrets": [], "current_version": { - "id": "d5414ada-0ffe-44c4-923e-3131c5359315", + "id": "d1913639-6a19-44aa-a614-2552a581df2f", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node18", "status": "BUILT", - "number": 3, - "build_time": "2026-01-29T08:17:50.168060247Z", - "created_at": "2026-01-29T08:17:50.080755414Z", - "updated_at": "2026-01-29T08:17:50.169212895Z" + "number": 1, + "build_time": "2026-02-12T11:06:14.290933675Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "d5414ada-0ffe-44c4-923e-3131c5359315", + "id": "d1913639-6a19-44aa-a614-2552a581df2f", "deployed": true, - "number": 3, - "built_at": "2026-01-29T08:17:50.168060247Z", + "number": 1, + "built_at": "2026-02-12T11:06:14.290933675Z", "secrets": [], "status": "built", - "created_at": "2026-01-29T08:17:50.080755414Z", - "updated_at": "2026-01-29T08:17:50.169212895Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z", "runtime": "node18", "supported_triggers": [ { @@ -2710,7 +2710,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/actions/actions/6cdf1896-7209-4560-a805-476b21c72654", + "path": "/api/v2/actions/actions/15a1b773-dd11-469d-87ba-237b0bc6517c", "body": { "name": "My Custom Action", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", @@ -2726,7 +2726,7 @@ }, "status": 200, "response": { - "id": "6cdf1896-7209-4560-a805-476b21c72654", + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", "name": "My Custom Action", "supported_triggers": [ { @@ -2734,34 +2734,34 @@ "version": "v2" } ], - "created_at": "2025-12-22T11:19:23.989403751Z", - "updated_at": "2026-01-29T08:20:01.492108518Z", + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:11:10.880574890Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node18", "status": "pending", "secrets": [], "current_version": { - "id": "d5414ada-0ffe-44c4-923e-3131c5359315", + "id": "d1913639-6a19-44aa-a614-2552a581df2f", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node18", "status": "BUILT", - "number": 3, - "build_time": "2026-01-29T08:17:50.168060247Z", - "created_at": "2026-01-29T08:17:50.080755414Z", - "updated_at": "2026-01-29T08:17:50.169212895Z" + "number": 1, + "build_time": "2026-02-12T11:06:14.290933675Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "d5414ada-0ffe-44c4-923e-3131c5359315", + "id": "d1913639-6a19-44aa-a614-2552a581df2f", "deployed": true, - "number": 3, - "built_at": "2026-01-29T08:17:50.168060247Z", + "number": 1, + "built_at": "2026-02-12T11:06:14.290933675Z", "secrets": [], "status": "built", - "created_at": "2026-01-29T08:17:50.080755414Z", - "updated_at": "2026-01-29T08:17:50.169212895Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z", "runtime": "node18", "supported_triggers": [ { @@ -2784,7 +2784,7 @@ "response": { "actions": [ { - "id": "6cdf1896-7209-4560-a805-476b21c72654", + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", "name": "My Custom Action", "supported_triggers": [ { @@ -2792,34 +2792,34 @@ "version": "v2" } ], - "created_at": "2025-12-22T11:19:23.989403751Z", - "updated_at": "2026-01-29T08:20:01.492108518Z", + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:11:10.880574890Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node18", "status": "built", "secrets": [], "current_version": { - "id": "d5414ada-0ffe-44c4-923e-3131c5359315", + "id": "d1913639-6a19-44aa-a614-2552a581df2f", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node18", "status": "BUILT", - "number": 3, - "build_time": "2026-01-29T08:17:50.168060247Z", - "created_at": "2026-01-29T08:17:50.080755414Z", - "updated_at": "2026-01-29T08:17:50.169212895Z" + "number": 1, + "build_time": "2026-02-12T11:06:14.290933675Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "d5414ada-0ffe-44c4-923e-3131c5359315", + "id": "d1913639-6a19-44aa-a614-2552a581df2f", "deployed": true, - "number": 3, - "built_at": "2026-01-29T08:17:50.168060247Z", + "number": 1, + "built_at": "2026-02-12T11:06:14.290933675Z", "secrets": [], "status": "built", - "created_at": "2026-01-29T08:17:50.080755414Z", - "updated_at": "2026-01-29T08:17:50.169212895Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z", "runtime": "node18", "supported_triggers": [ { @@ -2840,19 +2840,19 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "POST", - "path": "/api/v2/actions/actions/6cdf1896-7209-4560-a805-476b21c72654/deploy", + "path": "/api/v2/actions/actions/15a1b773-dd11-469d-87ba-237b0bc6517c/deploy", "body": "", "status": 200, "response": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "27de605a-96d4-4d6e-8543-282990789c56", + "id": "0835d6d1-0314-4e7c-826f-96161ce5c9a5", "deployed": false, - "number": 4, + "number": 2, "secrets": [], "status": "built", - "created_at": "2026-01-29T08:20:02.684073976Z", - "updated_at": "2026-01-29T08:20:02.684073976Z", + "created_at": "2026-02-12T11:11:11.692200676Z", + "updated_at": "2026-02-12T11:11:11.692200676Z", "runtime": "node18", "supported_triggers": [ { @@ -2861,7 +2861,7 @@ } ], "action": { - "id": "6cdf1896-7209-4560-a805-476b21c72654", + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", "name": "My Custom Action", "supported_triggers": [ { @@ -2869,42 +2869,14 @@ "version": "v2" } ], - "created_at": "2025-12-22T11:19:23.989403751Z", - "updated_at": "2026-01-29T08:20:01.483587399Z", + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:11:10.870774868Z", "all_changes_deployed": false } }, "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", - "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard" - }, - "status": 200, - "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - }, - "pre-change-password": { - "shields": [] - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -2983,6 +2955,34 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/breached-password-detection", + "body": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" + }, + "status": 200, + "response": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + }, + "pre-change-password": { + "shields": [] + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -3010,7 +3010,7 @@ } }, "created_at": "2026-01-29T08:17:51.522Z", - "updated_at": "2026-01-29T08:17:51.522Z", + "updated_at": "2026-02-12T11:06:15.436Z", "id": "acl_5EgHsY1h2Apnv4cvsM6Q9J" } ] @@ -3055,7 +3055,7 @@ } }, "created_at": "2026-01-29T08:17:51.522Z", - "updated_at": "2026-01-29T08:20:04.867Z", + "updated_at": "2026-02-12T11:11:12.936Z", "id": "acl_5EgHsY1h2Apnv4cvsM6Q9J" }, "rawHeaders": [], @@ -3119,9 +3119,9 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/user-attribute-profiles/uap_1csDj3szFsgxGS1oTZTdFm", + "path": "/api/v2/user-attribute-profiles/uap_1csDj3sAVu6n5eTzLw6XZg", "body": { - "name": "test-user-attribute-profile-2", + "name": "test-user-attribute-profile", "user_attributes": { "email": { "description": "Email of the User", @@ -3137,8 +3137,8 @@ }, "status": 200, "response": { - "id": "uap_1csDj3szFsgxGS1oTZTdFm", - "name": "test-user-attribute-profile-2", + "id": "uap_1csDj3sAVu6n5eTzLw6XZg", + "name": "test-user-attribute-profile", "user_id": { "oidc_mapping": "sub", "saml_mapping": [ @@ -3163,9 +3163,9 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/user-attribute-profiles/uap_1csDj3sAVu6n5eTzLw6XZg", + "path": "/api/v2/user-attribute-profiles/uap_1csDj3szFsgxGS1oTZTdFm", "body": { - "name": "test-user-attribute-profile", + "name": "test-user-attribute-profile-2", "user_attributes": { "email": { "description": "Email of the User", @@ -3181,8 +3181,8 @@ }, "status": 200, "response": { - "id": "uap_1csDj3sAVu6n5eTzLw6XZg", - "name": "test-user-attribute-profile", + "id": "uap_1csDj3szFsgxGS1oTZTdFm", + "name": "test-user-attribute-profile-2", "user_id": { "oidc_mapping": "sub", "saml_mapping": [ @@ -3207,81 +3207,269 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "path": "/api/v2/actions/actions?page=0&per_page=100", "body": "", "status": 200, "response": { - "total": 9, - "start": 0, - "limit": 100, - "clients": [ + "actions": [ { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": false, - "allowed_clients": [], - "callbacks": [], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "signing_keys": [ + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", + "name": "My Custom Action", + "supported_triggers": [ { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" + "id": "post-login", + "version": "v2" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:11:10.880574890Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node18", + "status": "built", + "secrets": [], + "current_version": { + "id": "0835d6d1-0314-4e7c-826f-96161ce5c9a5", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node18", + "status": "BUILT", + "number": 2, + "build_time": "2026-02-12T11:11:11.841362519Z", + "created_at": "2026-02-12T11:11:11.692200676Z", + "updated_at": "2026-02-12T11:11:11.843585674Z" }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials", - "implicit", - "authorization_code", - "refresh_token" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "0835d6d1-0314-4e7c-826f-96161ce5c9a5", + "deployed": true, + "number": 2, + "built_at": "2026-02-12T11:11:11.841362519Z", + "secrets": [], + "status": "built", + "created_at": "2026-02-12T11:11:11.692200676Z", + "updated_at": "2026-02-12T11:11:11.843585674Z", + "runtime": "node18", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?take=50&strategy=auth0", + "body": "", + "status": 200, + "response": { + "connections": [ + { + "id": "con_JT3yKg3eipOJqxIc", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true, + "disable_self_service_change_password": false + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "authentication": { + "active": true + }, + "connected_accounts": { + "active": false + }, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" + ] + }, + { + "id": "con_HWfhKNZplN4EmRoh", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "disable_self_service_change_password": false + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "authentication": { + "active": true + }, + "connected_accounts": { + "active": false + }, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 9, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": false, + "allowed_clients": [], + "callbacks": [], + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials", + "implicit", + "authorization_code", + "refresh_token" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_authentication": false, + "is_first_party": true, + "native_social_login": { + "apple": { "enabled": false }, "facebook": { @@ -3307,7 +3495,7 @@ "subject": "deprecated" } ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3362,7 +3550,7 @@ } ], "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3411,7 +3599,7 @@ "subject": "deprecated" } ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3452,7 +3640,7 @@ "subject": "deprecated" } ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3505,7 +3693,7 @@ "subject": "deprecated" } ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3527,14 +3715,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -3548,13 +3731,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -3565,7 +3748,7 @@ "subject": "deprecated" } ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3574,15 +3757,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -3590,11 +3768,16 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_authentication": false, "is_first_party": true, "native_social_login": { "apple": { @@ -3606,13 +3789,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -3623,7 +3806,7 @@ "subject": "deprecated" } ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3632,10 +3815,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -3690,7 +3878,7 @@ "response": { "connections": [ { - "id": "con_i7HUXAErZAALFghC", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -3728,7 +3916,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -3754,12 +3943,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_2rOPbLt331fHmJcF", + "id": "con_HWfhKNZplN4EmRoh", "options": { "mfa": { "active": true, @@ -3778,7 +3967,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -3808,123 +3998,61 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?take=50&strategy=auth0", + "path": "/api/v2/actions/actions?page=0&per_page=100", "body": "", "status": 200, "response": { - "connections": [ + "actions": [ { - "id": "con_i7HUXAErZAALFghC", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "boo-baz-db-connection-test" + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } ], - "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" - ] - }, - { - "id": "con_2rOPbLt331fHmJcF", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "authentication": { - "active": true + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:11:10.880574890Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node18", + "status": "built", + "secrets": [], + "current_version": { + "id": "0835d6d1-0314-4e7c-826f-96161ce5c9a5", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node18", + "status": "BUILT", + "number": 2, + "build_time": "2026-02-12T11:11:11.841362519Z", + "created_at": "2026-02-12T11:11:11.692200676Z", + "updated_at": "2026-02-12T11:11:11.843585674Z" }, - "connected_accounts": { - "active": false + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "0835d6d1-0314-4e7c-826f-96161ce5c9a5", + "deployed": true, + "number": 2, + "built_at": "2026-02-12T11:11:11.841362519Z", + "secrets": [], + "status": "built", + "created_at": "2026-02-12T11:11:11.692200676Z", + "updated_at": "2026-02-12T11:11:11.843585674Z", + "runtime": "node18", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] }, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" - ] + "all_changes_deployed": true } - ] + ], + "total": 1, + "per_page": 100 }, "rawHeaders": [], "responseIsBinary": false @@ -3932,16 +4060,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_i7HUXAErZAALFghC/clients?take=50", + "path": "/api/v2/connections/con_JT3yKg3eipOJqxIc/clients?take=50", "body": "", "status": 200, "response": { "clients": [ { - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8" + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE" }, { - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" } ] }, @@ -3951,7 +4079,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_2rOPbLt331fHmJcF/clients?take=50", + "path": "/api/v2/connections/con_HWfhKNZplN4EmRoh/clients?take=50", "body": "", "status": 200, "response": { @@ -3967,11 +4095,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_2rOPbLt331fHmJcF", + "path": "/api/v2/connections/con_HWfhKNZplN4EmRoh", "body": "", "status": 202, "response": { - "deleted_at": "2026-01-29T08:20:09.597Z" + "deleted_at": "2026-02-12T11:11:15.431Z" }, "rawHeaders": [], "responseIsBinary": false @@ -3979,11 +4107,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_i7HUXAErZAALFghC", + "path": "/api/v2/connections/con_JT3yKg3eipOJqxIc", "body": "", "status": 200, "response": { - "id": "con_i7HUXAErZAALFghC", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -4021,7 +4149,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -4044,8 +4173,8 @@ "active": false }, "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ], "realms": [ "boo-baz-db-connection-test" @@ -4057,13 +4186,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_i7HUXAErZAALFghC", + "path": "/api/v2/connections/con_JT3yKg3eipOJqxIc", "body": { "enabled_clients": [ - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ], "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], "options": { "mfa": { "active": true, @@ -4101,7 +4233,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -4113,14 +4246,11 @@ }, "enabledDatabaseCustomization": true, "disable_self_service_change_password": false - }, - "realms": [ - "boo-baz-db-connection-test" - ] + } }, "status": 200, "response": { - "id": "con_i7HUXAErZAALFghC", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -4158,7 +4288,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -4181,8 +4312,8 @@ "active": false }, "enabled_clients": [ - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ], "realms": [ "boo-baz-db-connection-test" @@ -4194,14 +4325,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_i7HUXAErZAALFghC/clients", + "path": "/api/v2/connections/con_JT3yKg3eipOJqxIc/clients", "body": [ { - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "status": true }, { - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "status": true } ], @@ -4313,7 +4444,7 @@ "subject": "deprecated" } ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4368,7 +4499,7 @@ } ], "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4417,7 +4548,7 @@ "subject": "deprecated" } ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4458,7 +4589,7 @@ "subject": "deprecated" } ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4511,7 +4642,7 @@ "subject": "deprecated" } ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4533,14 +4664,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -4554,13 +4680,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -4571,7 +4697,7 @@ "subject": "deprecated" } ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4580,15 +4706,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -4596,9 +4717,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -4612,13 +4738,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -4629,7 +4755,7 @@ "subject": "deprecated" } ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4638,10 +4764,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -4696,7 +4827,7 @@ "response": { "connections": [ { - "id": "con_i7HUXAErZAALFghC", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -4734,7 +4865,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -4760,12 +4892,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_5PfCFRgL3RkxrwYu", + "id": "con_ttBywYyXWa3lGzRc", "options": { "email": true, "scope": [ @@ -4787,8 +4919,8 @@ "google-oauth2" ], "enabled_clients": [ - "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8" + "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] } ] @@ -4796,6 +4928,21 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections-directory-provisionings?take=50", + "body": "", + "status": 403, + "response": { + "statusCode": 403, + "error": "Forbidden", + "message": "Insufficient scope, expected any of: read:directory_provisionings", + "errorCode": "insufficient_scope" + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -4805,7 +4952,7 @@ "response": { "connections": [ { - "id": "con_i7HUXAErZAALFghC", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -4843,7 +4990,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -4869,12 +5017,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_5PfCFRgL3RkxrwYu", + "id": "con_ttBywYyXWa3lGzRc", "options": { "email": true, "scope": [ @@ -4896,8 +5044,8 @@ "google-oauth2" ], "enabled_clients": [ - "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8" + "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] } ] @@ -4908,16 +5056,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_5PfCFRgL3RkxrwYu/clients?take=50", + "path": "/api/v2/connections/con_ttBywYyXWa3lGzRc/clients?take=50", "body": "", "status": 200, "response": { "clients": [ { - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8" + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY" }, { - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo" + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" } ] }, @@ -4927,11 +5075,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_5PfCFRgL3RkxrwYu", + "path": "/api/v2/connections/con_ttBywYyXWa3lGzRc", "body": { "enabled_clients": [ - "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8" + "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ], "is_domain_connection": false, "options": { @@ -4945,7 +5093,7 @@ }, "status": 200, "response": { - "id": "con_5PfCFRgL3RkxrwYu", + "id": "con_ttBywYyXWa3lGzRc", "options": { "email": true, "scope": [ @@ -4964,8 +5112,8 @@ "active": false }, "enabled_clients": [ - "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8" + "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ], "realms": [ "google-oauth2" @@ -4977,14 +5125,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_5PfCFRgL3RkxrwYu/clients", + "path": "/api/v2/connections/con_ttBywYyXWa3lGzRc/clients", "body": [ { - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "status": true }, { - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "status": true } ], @@ -5133,7 +5281,7 @@ "subject": "deprecated" } ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5188,7 +5336,7 @@ } ], "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5237,7 +5385,7 @@ "subject": "deprecated" } ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5278,7 +5426,7 @@ "subject": "deprecated" } ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5331,7 +5479,7 @@ "subject": "deprecated" } ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5353,14 +5501,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -5374,13 +5517,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -5391,7 +5534,7 @@ "subject": "deprecated" } ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5400,15 +5543,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -5416,9 +5554,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -5432,13 +5575,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -5449,7 +5592,7 @@ "subject": "deprecated" } ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5458,10 +5601,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -5516,8 +5664,8 @@ "response": { "client_grants": [ { - "id": "cgr_Rp8YDYtzbAoelua0", - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", + "id": "cgr_kvDZQ4c82zfHALM4", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5654,8 +5802,8 @@ "subject_type": "client" }, { - "id": "cgr_Z7oHNWCX7PzwXNP8", - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", + "id": "cgr_nxeisdDjbeRRlGtB", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -6039,7 +6187,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/client-grants/cgr_Rp8YDYtzbAoelua0", + "path": "/api/v2/client-grants/cgr_nxeisdDjbeRRlGtB", "body": { "scope": [ "read:client_grants", @@ -6176,8 +6324,8 @@ }, "status": 200, "response": { - "id": "cgr_Rp8YDYtzbAoelua0", - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", + "id": "cgr_nxeisdDjbeRRlGtB", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -6319,7 +6467,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/client-grants/cgr_Z7oHNWCX7PzwXNP8", + "path": "/api/v2/client-grants/cgr_kvDZQ4c82zfHALM4", "body": { "scope": [ "read:client_grants", @@ -6456,8 +6604,8 @@ }, "status": 200, "response": { - "id": "cgr_Z7oHNWCX7PzwXNP8", - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", + "id": "cgr_kvDZQ4c82zfHALM4", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -6605,22 +6753,22 @@ "response": { "roles": [ { - "id": "rol_GuY3RUFXNV3Vw4s8", + "id": "rol_cn1NFD8OdoyFWSs8", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_zeyP6bXU3wJ0PoZW", + "id": "rol_xrhFUwuvA7BRRaYf", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_QSF9Vg6MzQq4ECkD", + "id": "rol_fprSPkuQtD0Nntr0", "name": "read_only", "description": "Read Only" }, { - "id": "rol_rtEH3uIfRpFBeJbD", + "id": "rol_oyNpvpUrHKdKlH5k", "name": "read_osnly", "description": "Readz Only" } @@ -6635,7 +6783,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_GuY3RUFXNV3Vw4s8/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_cn1NFD8OdoyFWSs8/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -6650,7 +6798,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_zeyP6bXU3wJ0PoZW/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_xrhFUwuvA7BRRaYf/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -6665,7 +6813,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_QSF9Vg6MzQq4ECkD/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_fprSPkuQtD0Nntr0/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -6680,7 +6828,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_rtEH3uIfRpFBeJbD/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_oyNpvpUrHKdKlH5k/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -6695,14 +6843,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_zeyP6bXU3wJ0PoZW", + "path": "/api/v2/roles/rol_xrhFUwuvA7BRRaYf", "body": { "name": "Reader", "description": "Can only read things" }, "status": 200, "response": { - "id": "rol_zeyP6bXU3wJ0PoZW", + "id": "rol_xrhFUwuvA7BRRaYf", "name": "Reader", "description": "Can only read things" }, @@ -6712,16 +6860,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_QSF9Vg6MzQq4ECkD", + "path": "/api/v2/roles/rol_cn1NFD8OdoyFWSs8", "body": { - "name": "read_only", - "description": "Read Only" + "name": "Admin", + "description": "Can read and write things" }, "status": 200, "response": { - "id": "rol_QSF9Vg6MzQq4ECkD", - "name": "read_only", - "description": "Read Only" + "id": "rol_cn1NFD8OdoyFWSs8", + "name": "Admin", + "description": "Can read and write things" }, "rawHeaders": [], "responseIsBinary": false @@ -6729,16 +6877,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_rtEH3uIfRpFBeJbD", + "path": "/api/v2/roles/rol_fprSPkuQtD0Nntr0", "body": { - "name": "read_osnly", - "description": "Readz Only" + "name": "read_only", + "description": "Read Only" }, "status": 200, "response": { - "id": "rol_rtEH3uIfRpFBeJbD", - "name": "read_osnly", - "description": "Readz Only" + "id": "rol_fprSPkuQtD0Nntr0", + "name": "read_only", + "description": "Read Only" }, "rawHeaders": [], "responseIsBinary": false @@ -6746,16 +6894,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_GuY3RUFXNV3Vw4s8", + "path": "/api/v2/roles/rol_oyNpvpUrHKdKlH5k", "body": { - "name": "Admin", - "description": "Can read and write things" + "name": "read_osnly", + "description": "Readz Only" }, "status": 200, "response": { - "id": "rol_GuY3RUFXNV3Vw4s8", - "name": "Admin", - "description": "Can read and write things" + "id": "rol_oyNpvpUrHKdKlH5k", + "name": "read_osnly", + "description": "Readz Only" }, "rawHeaders": [], "responseIsBinary": false @@ -6789,7 +6937,7 @@ "okta" ], "created_at": "2024-11-26T11:58:18.962Z", - "updated_at": "2026-01-29T08:18:06.055Z", + "updated_at": "2026-02-12T11:06:28.894Z", "branding": { "colors": { "primary": "#19aecc" @@ -6865,7 +7013,7 @@ "okta" ], "created_at": "2024-11-26T11:58:18.962Z", - "updated_at": "2026-01-29T08:20:22.505Z", + "updated_at": "2026-02-12T11:11:25.569Z", "branding": { "colors": { "primary": "#19aecc" @@ -6878,25 +7026,27 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/email-templates/verify_email", + "path": "/api/v2/email-templates/welcome_email", "body": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", - "enabled": true, + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "enabled": false, "from": "", - "subject": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", "syntax": "liquid", - "urlLifetimeInSeconds": 432000 + "urlLifetimeInSeconds": 3600 }, "status": 200, "response": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", "from": "", - "subject": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", "syntax": "liquid", - "urlLifetimeInSeconds": 432000, - "enabled": true + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -6904,27 +7054,25 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/verify_email", "body": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "enabled": false, + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "enabled": true, "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", + "subject": "", "syntax": "liquid", - "urlLifetimeInSeconds": 3600 + "urlLifetimeInSeconds": 432000 }, "status": 200, "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", + "subject": "", "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false + "urlLifetimeInSeconds": 432000, + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -7032,7 +7180,7 @@ "subject": "deprecated" } ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7087,7 +7235,7 @@ } ], "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7136,7 +7284,7 @@ "subject": "deprecated" } ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7177,7 +7325,7 @@ "subject": "deprecated" } ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7230,7 +7378,7 @@ "subject": "deprecated" } ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7252,14 +7400,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -7273,13 +7416,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -7290,7 +7433,7 @@ "subject": "deprecated" } ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7299,15 +7442,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -7315,9 +7453,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -7331,13 +7474,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -7348,7 +7491,7 @@ "subject": "deprecated" } ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7357,10 +7500,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -7415,12 +7563,7 @@ "response": { "organizations": [ { - "id": "org_dwsXwbutprxLQ7gl", - "name": "org2", - "display_name": "Organization2" - }, - { - "id": "org_k1k4elV3eYiPmJX0", + "id": "org_LNp0DTmiD80b8scl", "name": "org1", "display_name": "Organization", "branding": { @@ -7429,6 +7572,11 @@ "primary": "#57ddff" } } + }, + { + "id": "org_b624ufp3gFH2qgUc", + "name": "org2", + "display_name": "Organization2" } ] }, @@ -7438,7 +7586,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl/enabled_connections?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_LNp0DTmiD80b8scl/enabled_connections?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -7453,7 +7601,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl/client-grants?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_LNp0DTmiD80b8scl/client-grants?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -7468,7 +7616,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl/discovery-domains?take=50", + "path": "/api/v2/organizations/org_LNp0DTmiD80b8scl/discovery-domains?take=50", "body": "", "status": 200, "response": { @@ -7480,7 +7628,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0/enabled_connections?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_b624ufp3gFH2qgUc/enabled_connections?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -7495,7 +7643,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0/client-grants?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_b624ufp3gFH2qgUc/client-grants?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -7510,7 +7658,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0/discovery-domains?take=50", + "path": "/api/v2/organizations/org_b624ufp3gFH2qgUc/discovery-domains?take=50", "body": "", "status": 200, "response": { @@ -7528,7 +7676,7 @@ "response": { "connections": [ { - "id": "con_i7HUXAErZAALFghC", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -7566,7 +7714,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -7592,12 +7741,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_5PfCFRgL3RkxrwYu", + "id": "con_ttBywYyXWa3lGzRc", "options": { "email": true, "scope": [ @@ -7619,8 +7768,8 @@ "google-oauth2" ], "enabled_clients": [ - "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8" + "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] } ] @@ -7631,491 +7780,290 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "path": "/api/v2/client-grants?take=50", "body": "", "status": 200, "response": { - "total": 9, - "start": 0, - "limit": 100, - "clients": [ + "client_grants": [ { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": false, - "allowed_clients": [], - "callbacks": [], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials", - "implicit", - "authorization_code", - "refresh_token" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" + "id": "cgr_kvDZQ4c82zfHALM4", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "read:clients", + "update:clients", + "delete:clients", + "create:clients", + "read:client_keys", + "update:client_keys", + "delete:client_keys", + "create:client_keys", + "read:connections", + "update:connections", + "delete:connections", + "create:connections", + "read:resource_servers", + "update:resource_servers", + "delete:resource_servers", + "create:resource_servers", + "read:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" ], - "web_origins": [], - "custom_login_page_on": true + "subject_type": "client" }, { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" + "id": "cgr_nxeisdDjbeRRlGtB", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "read:clients", + "update:clients", + "delete:clients", + "create:clients", + "read:client_keys", + "update:client_keys", + "delete:client_keys", + "create:client_keys", + "read:connections", + "update:connections", + "delete:connections", + "create:connections", + "read:resource_servers", + "update:resource_servers", + "delete:resource_servers", + "create:resource_servers", + "read:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" ], - "custom_login_page_on": true + "subject_type": "client" }, { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819", - "mr|google-oauth2|112839029247827700155", - "mr|samlp|okta|ewan.harris@auth0.com" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/client-grants?take=50", - "body": "", - "status": 200, - "response": { - "client_grants": [ - { - "id": "cgr_Rp8YDYtzbAoelua0", - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", + "id": "cgr_pbwejzhwoujrsNE8", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -8142,6 +8090,10 @@ "update:client_keys", "delete:client_keys", "create:client_keys", + "read:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "create:client_credentials", "read:connections", "update:connections", "delete:connections", @@ -8231,299 +8183,19 @@ "read:entitlements", "read:attack_protection", "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", "read:organizations", "update:organizations", "create:organizations", "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ], - "subject_type": "client" - }, - { - "id": "cgr_Z7oHNWCX7PzwXNP8", - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ], - "subject_type": "client" - }, - { - "id": "cgr_pbwejzhwoujrsNE8", - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:client_credentials", - "update:client_credentials", - "delete:client_credentials", - "create:client_credentials", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "read:organization_discovery_domains", - "update:organization_discovery_domains", - "create:organization_discovery_domains", - "delete:organization_discovery_domains", + "read:organization_discovery_domains", + "update:organization_discovery_domains", + "create:organization_discovery_domains", + "delete:organization_discovery_domains", "create:organization_members", "read:organization_members", "delete:organization_members", @@ -8627,7 +8299,484 @@ "update:connections_keys", "create:connections_keys" ], - "subject_type": "client" + "subject_type": "client" + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 9, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": false, + "allowed_clients": [], + "callbacks": [], + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials", + "implicit", + "authorization_code", + "refresh_token" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_authentication": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_auth": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_authentication": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_auth": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_authentication": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_auth": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_authentication": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_auth": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_authentication": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso": false, + "sso_disabled": false, + "cross_origin_auth": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_authentication": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_auth": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_authentication": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "expiring", + "leeway": 0, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" + }, + "sso_disabled": false, + "cross_origin_auth": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819", + "mr|google-oauth2|112839029247827700155", + "mr|samlp|okta|ewan.harris@auth0.com" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true } ] }, @@ -8637,13 +8786,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl", + "path": "/api/v2/organizations/org_b624ufp3gFH2qgUc", "body": { "display_name": "Organization2" }, "status": 200, "response": { - "id": "org_dwsXwbutprxLQ7gl", + "id": "org_b624ufp3gFH2qgUc", "display_name": "Organization2", "name": "org2" }, @@ -8653,7 +8802,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0", + "path": "/api/v2/organizations/org_LNp0DTmiD80b8scl", "body": { "branding": { "colors": { @@ -8671,7 +8820,7 @@ "primary": "#57ddff" } }, - "id": "org_k1k4elV3eYiPmJX0", + "id": "org_LNp0DTmiD80b8scl", "display_name": "Organization", "name": "org1" }, @@ -8686,10 +8835,10 @@ "status": 200, "response": [ { - "id": "lst_0000000000025632", + "id": "lst_0000000000026529", "name": "Suspended DD Log Stream", "type": "datadog", - "status": "suspended", + "status": "active", "sink": { "datadogApiKey": "some-sensitive-api-key", "datadogRegion": "us" @@ -8697,14 +8846,14 @@ "isPriority": false }, { - "id": "lst_0000000000026037", + "id": "lst_0000000000026530", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-e6ee9573-ebd0-404b-8ffe-e8fd1afaf024/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c4d4f85f-7908-4d9c-8b6e-e4831576de81/auth0.logs" }, "filters": [ { @@ -8753,7 +8902,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/log-streams/lst_0000000000025632", + "path": "/api/v2/log-streams/lst_0000000000026529", "body": { "name": "Suspended DD Log Stream", "sink": { @@ -8763,10 +8912,10 @@ }, "status": 200, "response": { - "id": "lst_0000000000025632", + "id": "lst_0000000000026529", "name": "Suspended DD Log Stream", "type": "datadog", - "status": "suspended", + "status": "active", "sink": { "datadogApiKey": "some-sensitive-api-key", "datadogRegion": "us" @@ -8779,7 +8928,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/log-streams/lst_0000000000026037", + "path": "/api/v2/log-streams/lst_0000000000026530", "body": { "name": "Amazon EventBridge", "filters": [ @@ -8824,14 +8973,14 @@ }, "status": 200, "response": { - "id": "lst_0000000000026037", + "id": "lst_0000000000026530", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-e6ee9573-ebd0-404b-8ffe-e8fd1afaf024/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c4d4f85f-7908-4d9c-8b6e-e4831576de81/auth0.logs" }, "filters": [ { @@ -8922,7 +9071,7 @@ "name": "Blank-form", "flow_count": 0, "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2026-01-29T08:18:17.857Z" + "updated_at": "2026-02-12T11:06:36.052Z" } ] }, @@ -8993,7 +9142,7 @@ } }, "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2026-01-29T08:18:17.857Z" + "updated_at": "2026-02-12T11:06:36.052Z" }, "rawHeaders": [], "responseIsBinary": false @@ -9118,7 +9267,7 @@ } }, "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2026-01-29T08:20:35.035Z" + "updated_at": "2026-02-12T11:11:35.165Z" }, "rawHeaders": [], "responseIsBinary": false @@ -9915,6 +10064,22 @@ "description": "Delete SCIM token", "value": "delete:scim_token" }, + { + "description": "Read directory provisioning configurations", + "value": "read:directory_provisionings" + }, + { + "description": "Create directory provisioning configurations", + "value": "create:directory_provisionings" + }, + { + "description": "Update directory provisioning configurations", + "value": "update:directory_provisionings" + }, + { + "description": "Delete directory provisioning configurations", + "value": "delete:directory_provisionings" + }, { "description": "Delete a Phone Notification Provider", "value": "delete:phone_providers" @@ -10276,16 +10441,16 @@ "value": "delete:token_exchange_profiles" }, { - "value": "read:organization_client_grants", - "description": "Read Organization Client Grants" + "description": "Read Organization Client Grants", + "value": "read:organization_client_grants" }, { - "value": "create:organization_client_grants", - "description": "Create Organization Client Grants" + "description": "Create Organization Client Grants", + "value": "create:organization_client_grants" }, { - "value": "delete:organization_client_grants", - "description": "Delete Organization Client Grants" + "description": "Delete Organization Client Grants", + "value": "delete:organization_client_grants" }, { "value": "read:security_metrics", @@ -10302,22 +10467,6 @@ { "value": "create:connections_keys", "description": "Create connection keys" - }, - { - "value": "create:directory_provisionings", - "description": "Create Directory Provisionings" - }, - { - "value": "read:directory_provisionings", - "description": "Read Directory Provisionings" - }, - { - "value": "update:directory_provisionings", - "description": "Update Directory Provisionings" - }, - { - "value": "delete:directory_provisionings", - "description": "Delete Directory Provisionings" } ], "is_system": true @@ -10430,7 +10579,7 @@ "subject": "deprecated" } ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10485,7 +10634,7 @@ } ], "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10534,7 +10683,7 @@ "subject": "deprecated" } ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10575,7 +10724,7 @@ "subject": "deprecated" } ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10628,7 +10777,7 @@ "subject": "deprecated" } ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10650,14 +10799,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -10671,13 +10815,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -10688,7 +10832,7 @@ "subject": "deprecated" } ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10697,15 +10841,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -10713,9 +10852,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -10729,13 +10873,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -10746,7 +10890,7 @@ "subject": "deprecated" } ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10755,10 +10899,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true } @@ -10770,7 +10919,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", + "path": "/api/v2/clients/sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "body": "", "status": 204, "response": "", @@ -10780,7 +10929,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", + "path": "/api/v2/clients/Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "body": "", "status": 204, "response": "", @@ -10790,7 +10939,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", + "path": "/api/v2/clients/HWCESYt02wdq5klo9idda5UuNqLyvRiE", "body": "", "status": 204, "response": "", @@ -10800,7 +10949,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", + "path": "/api/v2/clients/gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "body": "", "status": 204, "response": "", @@ -10810,7 +10959,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", + "path": "/api/v2/clients/z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "body": "", "status": 204, "response": "", @@ -10820,7 +10969,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", + "path": "/api/v2/clients/7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "body": "", "status": 204, "response": "", @@ -10830,7 +10979,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", + "path": "/api/v2/clients/WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "body": "", "status": 204, "response": "", @@ -10901,7 +11050,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10937,7 +11086,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -10951,7 +11100,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -10965,7 +11114,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -10979,7 +11128,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/duo", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -11007,7 +11156,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -11021,7 +11170,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -11094,7 +11243,7 @@ "response": { "actions": [ { - "id": "6cdf1896-7209-4560-a805-476b21c72654", + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", "name": "My Custom Action", "supported_triggers": [ { @@ -11102,34 +11251,34 @@ "version": "v2" } ], - "created_at": "2025-12-22T11:19:23.989403751Z", - "updated_at": "2026-01-29T08:20:01.492108518Z", + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:11:10.880574890Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node18", "status": "built", "secrets": [], "current_version": { - "id": "27de605a-96d4-4d6e-8543-282990789c56", + "id": "0835d6d1-0314-4e7c-826f-96161ce5c9a5", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node18", "status": "BUILT", - "number": 4, - "build_time": "2026-01-29T08:20:02.756900782Z", - "created_at": "2026-01-29T08:20:02.684073976Z", - "updated_at": "2026-01-29T08:20:02.758166757Z" + "number": 2, + "build_time": "2026-02-12T11:11:11.841362519Z", + "created_at": "2026-02-12T11:11:11.692200676Z", + "updated_at": "2026-02-12T11:11:11.843585674Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "27de605a-96d4-4d6e-8543-282990789c56", + "id": "0835d6d1-0314-4e7c-826f-96161ce5c9a5", "deployed": true, - "number": 4, - "built_at": "2026-01-29T08:20:02.756900782Z", + "number": 2, + "built_at": "2026-02-12T11:11:11.841362519Z", "secrets": [], "status": "built", - "created_at": "2026-01-29T08:20:02.684073976Z", - "updated_at": "2026-01-29T08:20:02.758166757Z", + "created_at": "2026-02-12T11:11:11.692200676Z", + "updated_at": "2026-02-12T11:11:11.843585674Z", "runtime": "node18", "supported_triggers": [ { @@ -11150,7 +11299,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/actions/actions/6cdf1896-7209-4560-a805-476b21c72654?force=true", + "path": "/api/v2/actions/actions/15a1b773-dd11-469d-87ba-237b0bc6517c?force=true", "body": "", "status": 204, "response": "", @@ -11173,27 +11322,27 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/attack-protection/breached-password-detection", "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" }, "status": 200, "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + }, + "pre-change-password": { + "shields": [] + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -11249,27 +11398,40 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", + "path": "/api/v2/attack-protection/brute-force-protection", "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard" + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 }, "status": 200, "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - }, - "pre-change-password": { - "shields": [] - } - } + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [], + "per_page": 100 }, "rawHeaders": [], "responseIsBinary": false @@ -11367,7 +11529,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11434,7 +11596,7 @@ "response": { "connections": [ { - "id": "con_i7HUXAErZAALFghC", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -11472,7 +11634,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -11513,7 +11676,7 @@ "response": { "connections": [ { - "id": "con_i7HUXAErZAALFghC", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -11551,7 +11714,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -11586,7 +11750,20 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_i7HUXAErZAALFghC/clients?take=50", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [], + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections/con_JT3yKg3eipOJqxIc/clients?take=50", "body": "", "status": 200, "response": { @@ -11598,11 +11775,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_i7HUXAErZAALFghC", + "path": "/api/v2/connections/con_JT3yKg3eipOJqxIc", "body": "", "status": 202, "response": { - "deleted_at": "2026-01-29T08:20:53.237Z" + "deleted_at": "2026-02-12T11:11:49.148Z" }, "rawHeaders": [], "responseIsBinary": false @@ -11616,9 +11793,12 @@ "strategy": "auth0", "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" ], "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], "options": { "mfa": { "active": true, @@ -11628,14 +11808,11 @@ "strategy_version": 2, "brute_force_protection": true, "disable_self_service_change_password": false - }, - "realms": [ - "Username-Password-Authentication" - ] + } }, "status": 201, "response": { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_hs0JNGk6M5oYHR3T", "options": { "mfa": { "active": true, @@ -11648,7 +11825,8 @@ "authentication_methods": { "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" }, "passkey": { "enabled": false @@ -11671,7 +11849,7 @@ }, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" ], "realms": [ "Username-Password-Authentication" @@ -11689,7 +11867,7 @@ "response": { "connections": [ { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_hs0JNGk6M5oYHR3T", "options": { "mfa": { "active": true, @@ -11708,7 +11886,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -11728,7 +11907,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" ] } ] @@ -11739,14 +11918,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_MRA4eGO9o9D9p6B8/clients", + "path": "/api/v2/connections/con_hs0JNGk6M5oYHR3T/clients", "body": [ { "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "status": true }, { - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "status": true } ], @@ -11848,7 +12027,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11915,7 +12094,7 @@ "response": { "connections": [ { - "id": "con_5PfCFRgL3RkxrwYu", + "id": "con_ttBywYyXWa3lGzRc", "options": { "email": true, "scope": [ @@ -11939,7 +12118,7 @@ "enabled_clients": [] }, { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_hs0JNGk6M5oYHR3T", "options": { "mfa": { "active": true, @@ -11958,7 +12137,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -11978,7 +12158,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" ] } ] @@ -11995,7 +12175,7 @@ "response": { "connections": [ { - "id": "con_5PfCFRgL3RkxrwYu", + "id": "con_ttBywYyXWa3lGzRc", "options": { "email": true, "scope": [ @@ -12019,7 +12199,7 @@ "enabled_clients": [] }, { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_hs0JNGk6M5oYHR3T", "options": { "mfa": { "active": true, @@ -12038,7 +12218,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -12058,7 +12239,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" ] } ] @@ -12069,7 +12250,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_5PfCFRgL3RkxrwYu/clients?take=50", + "path": "/api/v2/connections-directory-provisionings?take=50", + "body": "", + "status": 403, + "response": { + "statusCode": 403, + "error": "Forbidden", + "message": "Insufficient scope, expected any of: read:directory_provisionings", + "errorCode": "insufficient_scope" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections/con_ttBywYyXWa3lGzRc/clients?take=50", "body": "", "status": 200, "response": { @@ -12081,11 +12277,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_5PfCFRgL3RkxrwYu", + "path": "/api/v2/connections/con_ttBywYyXWa3lGzRc", "body": "", "status": 202, "response": { - "deleted_at": "2026-01-29T08:21:02.607Z" + "deleted_at": "2026-02-12T11:11:55.136Z" }, "rawHeaders": [], "responseIsBinary": false @@ -12217,7 +12413,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12537,22 +12733,22 @@ "response": { "roles": [ { - "id": "rol_GuY3RUFXNV3Vw4s8", + "id": "rol_cn1NFD8OdoyFWSs8", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_zeyP6bXU3wJ0PoZW", + "id": "rol_xrhFUwuvA7BRRaYf", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_QSF9Vg6MzQq4ECkD", + "id": "rol_fprSPkuQtD0Nntr0", "name": "read_only", "description": "Read Only" }, { - "id": "rol_rtEH3uIfRpFBeJbD", + "id": "rol_oyNpvpUrHKdKlH5k", "name": "read_osnly", "description": "Readz Only" } @@ -12567,7 +12763,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_GuY3RUFXNV3Vw4s8/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_cn1NFD8OdoyFWSs8/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -12582,7 +12778,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_zeyP6bXU3wJ0PoZW/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_xrhFUwuvA7BRRaYf/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -12597,7 +12793,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_QSF9Vg6MzQq4ECkD/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_fprSPkuQtD0Nntr0/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -12612,7 +12808,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_rtEH3uIfRpFBeJbD/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_oyNpvpUrHKdKlH5k/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -12627,7 +12823,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_GuY3RUFXNV3Vw4s8", + "path": "/api/v2/roles/rol_cn1NFD8OdoyFWSs8", "body": "", "status": 200, "response": {}, @@ -12637,7 +12833,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_zeyP6bXU3wJ0PoZW", + "path": "/api/v2/roles/rol_xrhFUwuvA7BRRaYf", "body": "", "status": 200, "response": {}, @@ -12647,7 +12843,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_rtEH3uIfRpFBeJbD", + "path": "/api/v2/roles/rol_fprSPkuQtD0Nntr0", "body": "", "status": 200, "response": {}, @@ -12657,7 +12853,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_QSF9Vg6MzQq4ECkD", + "path": "/api/v2/roles/rol_oyNpvpUrHKdKlH5k", "body": "", "status": 200, "response": {}, @@ -12673,12 +12869,7 @@ "response": { "organizations": [ { - "id": "org_dwsXwbutprxLQ7gl", - "name": "org2", - "display_name": "Organization2" - }, - { - "id": "org_k1k4elV3eYiPmJX0", + "id": "org_LNp0DTmiD80b8scl", "name": "org1", "display_name": "Organization", "branding": { @@ -12687,6 +12878,11 @@ "primary": "#57ddff" } } + }, + { + "id": "org_b624ufp3gFH2qgUc", + "name": "org2", + "display_name": "Organization2" } ] }, @@ -12786,7 +12982,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12847,7 +13043,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl/enabled_connections?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_LNp0DTmiD80b8scl/enabled_connections?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -12862,7 +13058,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl/client-grants?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_LNp0DTmiD80b8scl/client-grants?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -12877,7 +13073,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl/discovery-domains?take=50", + "path": "/api/v2/organizations/org_LNp0DTmiD80b8scl/discovery-domains?take=50", "body": "", "status": 200, "response": { @@ -12889,7 +13085,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0/enabled_connections?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_b624ufp3gFH2qgUc/enabled_connections?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -12904,7 +13100,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0/client-grants?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_b624ufp3gFH2qgUc/client-grants?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -12919,7 +13115,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0/discovery-domains?take=50", + "path": "/api/v2/organizations/org_b624ufp3gFH2qgUc/discovery-domains?take=50", "body": "", "status": 200, "response": { @@ -12937,7 +13133,7 @@ "response": { "connections": [ { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_hs0JNGk6M5oYHR3T", "options": { "mfa": { "active": true, @@ -12956,7 +13152,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -12976,7 +13173,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" ] } ] @@ -13077,7 +13274,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13391,7 +13588,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl", + "path": "/api/v2/organizations/org_LNp0DTmiD80b8scl", "body": "", "status": 204, "response": "", @@ -13401,7 +13598,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0", + "path": "/api/v2/organizations/org_b624ufp3gFH2qgUc", "body": "", "status": 204, "response": "", @@ -13416,10 +13613,10 @@ "status": 200, "response": [ { - "id": "lst_0000000000025632", + "id": "lst_0000000000026529", "name": "Suspended DD Log Stream", "type": "datadog", - "status": "suspended", + "status": "active", "sink": { "datadogApiKey": "some-sensitive-api-key", "datadogRegion": "us" @@ -13427,14 +13624,14 @@ "isPriority": false }, { - "id": "lst_0000000000026037", + "id": "lst_0000000000026530", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-e6ee9573-ebd0-404b-8ffe-e8fd1afaf024/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c4d4f85f-7908-4d9c-8b6e-e4831576de81/auth0.logs" }, "filters": [ { @@ -13483,7 +13680,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/log-streams/lst_0000000000025632", + "path": "/api/v2/log-streams/lst_0000000000026529", "body": "", "status": 204, "response": "", @@ -13493,7 +13690,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/log-streams/lst_0000000000026037", + "path": "/api/v2/log-streams/lst_0000000000026530", "body": "", "status": 204, "response": "", @@ -14372,6 +14569,22 @@ "description": "Delete SCIM token", "value": "delete:scim_token" }, + { + "description": "Read directory provisioning configurations", + "value": "read:directory_provisionings" + }, + { + "description": "Create directory provisioning configurations", + "value": "create:directory_provisionings" + }, + { + "description": "Update directory provisioning configurations", + "value": "update:directory_provisionings" + }, + { + "description": "Delete directory provisioning configurations", + "value": "delete:directory_provisionings" + }, { "description": "Delete a Phone Notification Provider", "value": "delete:phone_providers" @@ -14733,16 +14946,16 @@ "value": "delete:token_exchange_profiles" }, { - "value": "read:organization_client_grants", - "description": "Read Organization Client Grants" + "description": "Read Organization Client Grants", + "value": "read:organization_client_grants" }, { - "value": "create:organization_client_grants", - "description": "Create Organization Client Grants" + "description": "Create Organization Client Grants", + "value": "create:organization_client_grants" }, { - "value": "delete:organization_client_grants", - "description": "Delete Organization Client Grants" + "description": "Delete Organization Client Grants", + "value": "delete:organization_client_grants" }, { "value": "read:security_metrics", @@ -14759,22 +14972,6 @@ { "value": "create:connections_keys", "description": "Create connection keys" - }, - { - "value": "create:directory_provisionings", - "description": "Create Directory Provisionings" - }, - { - "value": "read:directory_provisionings", - "description": "Read Directory Provisionings" - }, - { - "value": "update:directory_provisionings", - "description": "Update Directory Provisionings" - }, - { - "value": "delete:directory_provisionings", - "description": "Delete Directory Provisionings" } ], "is_system": true @@ -14877,7 +15074,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14907,7 +15104,7 @@ "response": { "connections": [ { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_hs0JNGk6M5oYHR3T", "options": { "mfa": { "active": true, @@ -14926,7 +15123,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -14946,7 +15144,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" ] } ] @@ -14957,13 +15155,26 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_MRA4eGO9o9D9p6B8/clients?take=50", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [], + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections/con_hs0JNGk6M5oYHR3T/clients?take=50", "body": "", "status": 200, "response": { "clients": [ { - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" }, { "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" @@ -14973,6 +15184,21 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections-directory-provisionings?take=50", + "body": "", + "status": 403, + "response": { + "statusCode": 403, + "error": "Forbidden", + "message": "Insufficient scope, expected any of: read:directory_provisionings", + "errorCode": "insufficient_scope" + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -14982,7 +15208,7 @@ "response": { "connections": [ { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_hs0JNGk6M5oYHR3T", "options": { "mfa": { "active": true, @@ -15001,7 +15227,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -15021,7 +15248,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" ] } ] @@ -15116,6 +15343,21 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/email-templates/verify_email_by_code", + "body": "", + "status": 404, + "response": { + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -15137,7 +15379,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email_by_code", + "path": "/api/v2/email-templates/enrollment_email", "body": "", "status": 404, "response": { @@ -15152,14 +15394,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/welcome_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -15167,7 +15413,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email_by_code", + "path": "/api/v2/email-templates/reset_email", "body": "", "status": 404, "response": { @@ -15182,7 +15428,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/email-templates/blocked_account", "body": "", "status": 404, "response": { @@ -15197,7 +15443,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/enrollment_email", + "path": "/api/v2/email-templates/password_reset", "body": "", "status": 404, "response": { @@ -15212,7 +15458,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/user_invitation", "body": "", "status": 404, "response": { @@ -15227,7 +15473,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", "status": 404, "response": { @@ -15257,7 +15503,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/async_approval", "body": "", "status": 404, "response": { @@ -15272,7 +15518,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/async_approval", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", "status": 404, "response": { @@ -15287,7 +15533,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/mfa_oob_code", + "path": "/api/v2/email-templates/reset_email_by_code", "body": "", "status": 404, "response": { @@ -15299,25 +15545,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/email-templates/welcome_email", - "body": "", - "status": 200, - "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -15753,7 +15980,7 @@ }, "credentials": null, "created_at": "2025-12-09T12:24:00.604Z", - "updated_at": "2026-01-29T08:16:37.178Z" + "updated_at": "2026-02-10T09:28:21.012Z" } ] }, @@ -15769,20 +15996,19 @@ "response": { "templates": [ { - "id": "tem_dL83uTmWn8moGzm8UgAk4Q", + "id": "tem_o4LBTt4NQyX8K4vC9dPafR", "tenant": "auth0-deploy-cli-e2e", "channel": "phone", - "type": "blocked_account", + "type": "otp_verify", "disabled": false, - "created_at": "2025-12-09T12:22:47.683Z", - "updated_at": "2026-01-29T08:16:39.526Z", + "created_at": "2025-12-09T12:26:30.547Z", + "updated_at": "2026-02-10T09:28:22.844Z", "content": { "syntax": "liquid", "body": { - "text": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message.", - "voice": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message." - }, - "from": "0032232323" + "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}", + "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" + } } }, { @@ -15792,7 +16018,7 @@ "type": "change_password", "disabled": false, "created_at": "2025-12-09T12:26:20.243Z", - "updated_at": "2026-01-29T08:16:39.875Z", + "updated_at": "2026-02-10T09:28:22.857Z", "content": { "syntax": "liquid", "body": { @@ -15802,35 +16028,36 @@ } }, { - "id": "tem_o4LBTt4NQyX8K4vC9dPafR", + "id": "tem_qarYST5TTE5pbMNB5NHZAj", "tenant": "auth0-deploy-cli-e2e", "channel": "phone", - "type": "otp_verify", + "type": "otp_enroll", "disabled": false, - "created_at": "2025-12-09T12:26:30.547Z", - "updated_at": "2026-01-29T08:16:39.493Z", + "created_at": "2025-12-09T12:26:25.327Z", + "updated_at": "2026-02-10T09:28:23.169Z", "content": { "syntax": "liquid", "body": { - "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}", + "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}. Please enter this code to verify your enrollment.", "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" } } }, { - "id": "tem_qarYST5TTE5pbMNB5NHZAj", + "id": "tem_dL83uTmWn8moGzm8UgAk4Q", "tenant": "auth0-deploy-cli-e2e", "channel": "phone", - "type": "otp_enroll", + "type": "blocked_account", "disabled": false, - "created_at": "2025-12-09T12:26:25.327Z", - "updated_at": "2026-01-29T08:16:39.523Z", + "created_at": "2025-12-09T12:22:47.683Z", + "updated_at": "2026-02-10T09:28:22.812Z", "content": { "syntax": "liquid", "body": { - "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}. Please enter this code to verify your enrollment.", - "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" - } + "text": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message.", + "voice": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message." + }, + "from": "0032232323" } } ] @@ -15956,7 +16183,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-email-verification/custom-text/en", + "path": "/api/v2/prompts/login-passwordless/custom-text/en", "body": "", "status": 200, "response": {}, @@ -15966,7 +16193,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-passwordless/custom-text/en", + "path": "/api/v2/prompts/login-email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -15986,7 +16213,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/custom-text/en", + "path": "/api/v2/prompts/signup-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -15996,7 +16223,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/phone-identifier-enrollment/custom-text/en", + "path": "/api/v2/prompts/signup-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16006,7 +16233,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-password/custom-text/en", + "path": "/api/v2/prompts/phone-identifier-enrollment/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16016,7 +16243,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/phone-identifier-challenge/custom-text/en", + "path": "/api/v2/prompts/email-identifier-challenge/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16026,7 +16253,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-identifier-challenge/custom-text/en", + "path": "/api/v2/prompts/phone-identifier-challenge/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16086,7 +16313,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-otp/custom-text/en", + "path": "/api/v2/prompts/mfa-push/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16096,7 +16323,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-push/custom-text/en", + "path": "/api/v2/prompts/mfa-otp/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16136,7 +16363,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-email/custom-text/en", + "path": "/api/v2/prompts/mfa-sms/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16146,7 +16373,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-sms/custom-text/en", + "path": "/api/v2/prompts/mfa-email/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16206,7 +16433,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-otp-challenge/custom-text/en", + "path": "/api/v2/prompts/organizations/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16216,7 +16443,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/invitation/custom-text/en", + "path": "/api/v2/prompts/email-otp-challenge/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16226,7 +16453,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/organizations/custom-text/en", + "path": "/api/v2/prompts/invitation/custom-text/en", "body": "", "status": 200, "response": {}, @@ -16276,7 +16503,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/partials", + "path": "/api/v2/prompts/login-password/partials", "body": "", "status": 200, "response": {}, @@ -16286,7 +16513,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/partials", + "path": "/api/v2/prompts/login-id/partials", "body": "", "status": 200, "response": {}, @@ -16421,24 +16648,24 @@ }, { "id": "credentials-exchange", - "version": "v1", - "status": "DEPRECATED", + "version": "v2", + "status": "CURRENT", "runtimes": [ + "node18-actions", "node22" ], - "default_runtime": "node12", + "default_runtime": "node22", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { "id": "credentials-exchange", - "version": "v2", - "status": "CURRENT", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node18-actions", "node22" ], - "default_runtime": "node22", + "default_runtime": "node12", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -16467,24 +16694,24 @@ }, { "id": "post-user-registration", - "version": "v2", - "status": "CURRENT", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node18-actions", "node22" ], - "default_runtime": "node22", + "default_runtime": "node12", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { "id": "post-user-registration", - "version": "v1", - "status": "DEPRECATED", + "version": "v2", + "status": "CURRENT", "runtimes": [ + "node18-actions", "node22" ], - "default_runtime": "node12", + "default_runtime": "node22", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -16894,7 +17121,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -16952,6 +17179,25 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": "", + "status": 200, + "response": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -17006,25 +17252,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/attack-protection/brute-force-protection", - "body": "", - "status": 200, - "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -17080,11 +17307,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/risk-assessments/settings", + "path": "/api/v2/risk-assessments/settings/new-device", "body": "", "status": 200, "response": { - "enabled": false + "remember_for": 30 }, "rawHeaders": [], "responseIsBinary": false @@ -17092,11 +17319,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/risk-assessments/settings/new-device", + "path": "/api/v2/risk-assessments/settings", "body": "", "status": 200, "response": { - "remember_for": 30 + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -17139,22 +17366,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/forms?page=0&per_page=100&include_totals=true", + "path": "/api/v2/flows?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { "limit": 100, "start": 0, - "total": 1, - "forms": [ - { - "id": "ap_6JUSCU7qq1CravnoU6d6jr", - "name": "Blank-form", - "flow_count": 0, - "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2026-01-29T08:20:35.035Z" - } - ] + "total": 0, + "flows": [] }, "rawHeaders": [], "responseIsBinary": false @@ -17162,14 +17381,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/flows?page=0&per_page=100&include_totals=true", + "path": "/api/v2/forms?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { "limit": 100, "start": 0, - "total": 0, - "flows": [] + "total": 1, + "forms": [ + { + "id": "ap_6JUSCU7qq1CravnoU6d6jr", + "name": "Blank-form", + "flow_count": 0, + "created_at": "2024-11-26T11:58:18.187Z", + "updated_at": "2026-02-12T11:11:35.165Z" + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -17238,7 +17465,7 @@ } }, "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2026-01-29T08:20:35.035Z" + "updated_at": "2026-02-12T11:11:35.165Z" }, "rawHeaders": [], "responseIsBinary": false @@ -17246,14 +17473,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/flows?page=0&per_page=100&include_totals=true", + "path": "/api/v2/flows/vault/connections?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { - "limit": 100, + "limit": 50, "start": 0, "total": 0, - "flows": [] + "connections": [] }, "rawHeaders": [], "responseIsBinary": false @@ -17261,14 +17488,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/flows/vault/connections?page=0&per_page=50&include_totals=true", + "path": "/api/v2/flows?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "limit": 50, + "limit": 100, "start": 0, "total": 0, - "connections": [] + "flows": [] }, "rawHeaders": [], "responseIsBinary": false @@ -17317,7 +17544,7 @@ "okta" ], "created_at": "2024-11-26T11:58:18.962Z", - "updated_at": "2026-01-29T08:20:22.505Z", + "updated_at": "2026-02-12T11:11:25.569Z", "branding": { "colors": { "primary": "#19aecc" @@ -17369,7 +17596,7 @@ } }, "created_at": "2026-01-29T08:17:51.522Z", - "updated_at": "2026-01-29T08:20:04.867Z", + "updated_at": "2026-02-12T11:11:12.936Z", "id": "acl_5EgHsY1h2Apnv4cvsM6Q9J" } ] diff --git a/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json b/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json index 30290346..8b7f4e6d 100644 --- a/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json +++ b/test/e2e/recordings/should-deploy-without-deleting-resources-if-AUTH0_ALLOW_DELETE-is-false.json @@ -874,6 +874,22 @@ "description": "Delete SCIM token", "value": "delete:scim_token" }, + { + "description": "Read directory provisioning configurations", + "value": "read:directory_provisionings" + }, + { + "description": "Create directory provisioning configurations", + "value": "create:directory_provisionings" + }, + { + "description": "Update directory provisioning configurations", + "value": "update:directory_provisionings" + }, + { + "description": "Delete directory provisioning configurations", + "value": "delete:directory_provisionings" + }, { "description": "Delete a Phone Notification Provider", "value": "delete:phone_providers" @@ -1235,16 +1251,16 @@ "value": "delete:token_exchange_profiles" }, { - "value": "read:organization_client_grants", - "description": "Read Organization Client Grants" + "description": "Read Organization Client Grants", + "value": "read:organization_client_grants" }, { - "value": "create:organization_client_grants", - "description": "Create Organization Client Grants" + "description": "Create Organization Client Grants", + "value": "create:organization_client_grants" }, { - "value": "delete:organization_client_grants", - "description": "Delete Organization Client Grants" + "description": "Delete Organization Client Grants", + "value": "delete:organization_client_grants" }, { "value": "read:security_metrics", @@ -1261,22 +1277,6 @@ { "value": "create:connections_keys", "description": "Create connection keys" - }, - { - "value": "create:directory_provisionings", - "description": "Create Directory Provisionings" - }, - { - "value": "read:directory_provisionings", - "description": "Read Directory Provisionings" - }, - { - "value": "update:directory_provisionings", - "description": "Update Directory Provisionings" - }, - { - "value": "delete:directory_provisionings", - "description": "Delete Directory Provisionings" } ], "is_system": true @@ -1379,7 +1379,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1484,7 +1484,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1595,7 +1595,7 @@ } ], "allowed_origins": [], - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1679,7 +1679,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1764,7 +1764,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1870,7 +1870,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1896,23 +1896,16 @@ "method": "POST", "path": "/api/v2/clients", "body": { - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "app_type": "spa", - "callbacks": [ - "http://localhost:3000" - ], + "app_type": "non_interactive", + "callbacks": [], "client_aliases": [], "client_metadata": {}, "cross_origin_authentication": false, "custom_login_page_on": true, "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" + "client_credentials" ], "is_first_party": true, "is_token_endpoint_ip_header_trusted": false, @@ -1931,33 +1924,25 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, - "token_endpoint_auth_method": "none", - "web_origins": [ - "http://localhost:3000" - ] + "token_endpoint_auth_method": "client_secret_post" }, "status": 201, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -1971,13 +1956,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -1990,7 +1975,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1999,15 +1984,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -2019,16 +1999,23 @@ "method": "POST", "path": "/api/v2/clients", "body": { - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "app_type": "non_interactive", - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "app_type": "spa", + "callbacks": [ + "http://localhost:3000" + ], "client_aliases": [], "client_metadata": {}, "cross_origin_authentication": false, "custom_login_page_on": true, "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" ], "is_first_party": true, "is_token_endpoint_ip_header_trusted": false, @@ -2047,25 +2034,33 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" + "token_endpoint_auth_method": "none", + "web_origins": [ + "http://localhost:3000" + ] }, "status": 201, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -2079,13 +2074,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -2098,7 +2093,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2107,10 +2102,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -2120,7 +2120,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -2134,7 +2134,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/duo", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -2162,7 +2162,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -2190,7 +2190,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -2218,7 +2218,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -2319,7 +2319,7 @@ }, "status": 201, "response": { - "id": "de79b7e4-3d92-4f84-b215-ed506bdac09d", + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", "name": "My Custom Action", "supported_triggers": [ { @@ -2327,8 +2327,8 @@ "version": "v2" } ], - "created_at": "2026-01-29T08:22:57.593938583Z", - "updated_at": "2026-01-29T08:22:57.600269544Z", + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:06:13.458251716Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node18", @@ -2348,7 +2348,7 @@ "response": { "actions": [ { - "id": "de79b7e4-3d92-4f84-b215-ed506bdac09d", + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", "name": "My Custom Action", "supported_triggers": [ { @@ -2356,8 +2356,8 @@ "version": "v2" } ], - "created_at": "2026-01-29T08:22:57.593938583Z", - "updated_at": "2026-01-29T08:22:57.600269544Z", + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:06:13.458251716Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node18", @@ -2375,19 +2375,19 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "POST", - "path": "/api/v2/actions/actions/de79b7e4-3d92-4f84-b215-ed506bdac09d/deploy", + "path": "/api/v2/actions/actions/15a1b773-dd11-469d-87ba-237b0bc6517c/deploy", "body": "", "status": 200, "response": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "9c396565-368c-4901-b718-b28d07bbfae1", + "id": "d1913639-6a19-44aa-a614-2552a581df2f", "deployed": false, "number": 1, "secrets": [], "status": "built", - "created_at": "2026-01-29T08:22:58.612060855Z", - "updated_at": "2026-01-29T08:22:58.612060855Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.207292210Z", "runtime": "node18", "supported_triggers": [ { @@ -2396,7 +2396,7 @@ } ], "action": { - "id": "de79b7e4-3d92-4f84-b215-ed506bdac09d", + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", "name": "My Custom Action", "supported_triggers": [ { @@ -2404,42 +2404,14 @@ "version": "v2" } ], - "created_at": "2026-01-29T08:22:57.593938583Z", - "updated_at": "2026-01-29T08:22:57.593938583Z", + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:06:13.443266687Z", "all_changes_deployed": false } }, "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", - "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard" - }, - "status": 200, - "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - }, - "pre-change-password": { - "shields": [] - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -2468,6 +2440,34 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/breached-password-detection", + "body": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" + }, + "status": 200, + "response": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + }, + "pre-change-password": { + "shields": [] + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -2545,7 +2545,7 @@ } }, "created_at": "2026-01-29T08:17:51.522Z", - "updated_at": "2026-01-29T08:20:04.867Z", + "updated_at": "2026-02-10T09:31:16.239Z", "id": "acl_5EgHsY1h2Apnv4cvsM6Q9J" } ] @@ -2590,7 +2590,7 @@ } }, "created_at": "2026-01-29T08:17:51.522Z", - "updated_at": "2026-01-29T08:23:00.514Z", + "updated_at": "2026-02-12T11:06:15.436Z", "id": "acl_5EgHsY1h2Apnv4cvsM6Q9J" }, "rawHeaders": [], @@ -2742,51 +2742,170 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "path": "/api/v2/connections?take=50&strategy=auth0", "body": "", "status": 200, "response": { - "total": 10, - "start": 0, - "limit": 100, - "clients": [ + "connections": [ { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": false, - "allowed_clients": [], - "callbacks": [], - "native_social_login": { - "apple": { - "enabled": false + "id": "con_HWfhKNZplN4EmRoh", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - "facebook": { - "enabled": false - } - }, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "disable_self_service_change_password": false + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "authentication": { + "active": true + }, + "connected_accounts": { + "active": false + }, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [ + { + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:06:13.458251716Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node18", + "status": "built", + "secrets": [], + "current_version": { + "id": "d1913639-6a19-44aa-a614-2552a581df2f", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node18", + "status": "BUILT", + "number": 1, + "build_time": "2026-02-12T11:06:14.290933675Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z" + }, + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "d1913639-6a19-44aa-a614-2552a581df2f", + "deployed": true, + "number": 1, + "built_at": "2026-02-12T11:06:14.290933675Z", + "secrets": [], + "status": "built", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z", + "runtime": "node18", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 10, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": false, + "allowed_clients": [], + "callbacks": [], + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2832,7 +2951,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2885,7 +3004,7 @@ "subject": "deprecated" } ], - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2940,7 +3059,7 @@ } ], "allowed_origins": [], - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2989,7 +3108,7 @@ "subject": "deprecated" } ], - "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3030,7 +3149,7 @@ "subject": "deprecated" } ], - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3083,7 +3202,7 @@ "subject": "deprecated" } ], - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3105,14 +3224,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -3126,13 +3240,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -3143,7 +3257,7 @@ "subject": "deprecated" } ], - "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3152,15 +3266,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -3168,9 +3277,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -3184,13 +3298,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -3201,7 +3315,7 @@ "subject": "deprecated" } ], - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3210,10 +3324,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -3259,6 +3378,68 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [ + { + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:06:13.458251716Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node18", + "status": "built", + "secrets": [], + "current_version": { + "id": "d1913639-6a19-44aa-a614-2552a581df2f", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node18", + "status": "BUILT", + "number": 1, + "build_time": "2026-02-12T11:06:14.290933675Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z" + }, + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "d1913639-6a19-44aa-a614-2552a581df2f", + "deployed": true, + "number": 1, + "built_at": "2026-02-12T11:06:14.290933675Z", + "secrets": [], + "status": "built", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z", + "runtime": "node18", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -3268,7 +3449,7 @@ "response": { "connections": [ { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_HWfhKNZplN4EmRoh", "options": { "mfa": { "active": true, @@ -3287,7 +3468,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -3307,7 +3489,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" ] } ] @@ -3318,69 +3500,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?take=50&strategy=auth0", + "path": "/api/v2/connections/con_HWfhKNZplN4EmRoh/clients?take=50", "body": "", "status": 200, "response": { - "connections": [ + "clients": [ { - "id": "con_MRA4eGO9o9D9p6B8", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_MRA4eGO9o9D9p6B8/clients?take=50", - "body": "", - "status": 200, - "response": { - "clients": [ - { - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" }, { "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" @@ -3398,10 +3524,13 @@ "name": "boo-baz-db-connection-test", "strategy": "auth0", "enabled_clients": [ - "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ], "is_domain_connection": false, + "realms": [ + "boo-baz-db-connection-test" + ], "options": { "mfa": { "active": true, @@ -3437,14 +3566,11 @@ }, "enabledDatabaseCustomization": true, "disable_self_service_change_password": false - }, - "realms": [ - "boo-baz-db-connection-test" - ] + } }, "status": 201, "response": { - "id": "con_kVFZpeo22LiRkuZX", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -3483,7 +3609,8 @@ "authentication_methods": { "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" }, "passkey": { "enabled": false @@ -3505,8 +3632,8 @@ "active": false }, "enabled_clients": [ - "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ], "realms": [ "boo-baz-db-connection-test" @@ -3524,7 +3651,7 @@ "response": { "connections": [ { - "id": "con_kVFZpeo22LiRkuZX", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -3562,7 +3689,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -3588,8 +3716,8 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] } ] @@ -3600,14 +3728,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_kVFZpeo22LiRkuZX/clients", + "path": "/api/v2/connections/con_JT3yKg3eipOJqxIc/clients", "body": [ { - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "status": true }, { - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "status": true } ], @@ -3709,7 +3837,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3762,7 +3890,7 @@ "subject": "deprecated" } ], - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3817,7 +3945,7 @@ } ], "allowed_origins": [], - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3866,7 +3994,7 @@ "subject": "deprecated" } ], - "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3907,7 +4035,7 @@ "subject": "deprecated" } ], - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3960,7 +4088,7 @@ "subject": "deprecated" } ], - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3982,14 +4110,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -4003,13 +4126,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -4020,7 +4143,7 @@ "subject": "deprecated" } ], - "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4029,15 +4152,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -4045,9 +4163,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -4061,13 +4184,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -4078,7 +4201,7 @@ "subject": "deprecated" } ], - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4087,10 +4210,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -4145,7 +4273,7 @@ "response": { "connections": [ { - "id": "con_kVFZpeo22LiRkuZX", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -4183,7 +4311,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -4209,12 +4338,39 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" + ] + }, + { + "id": "con_ttBywYyXWa3lGzRc", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "authentication": { + "active": true + }, + "connected_accounts": { + "active": false + }, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] }, { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_HWfhKNZplN4EmRoh", "options": { "mfa": { "active": true, @@ -4233,7 +4389,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -4253,7 +4410,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" ] } ] @@ -4270,7 +4427,7 @@ "response": { "connections": [ { - "id": "con_kVFZpeo22LiRkuZX", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -4308,7 +4465,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -4334,12 +4492,39 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" + ] + }, + { + "id": "con_ttBywYyXWa3lGzRc", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "authentication": { + "active": true + }, + "connected_accounts": { + "active": false + }, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] }, { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_HWfhKNZplN4EmRoh", "options": { "mfa": { "active": true, @@ -4358,7 +4543,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -4378,7 +4564,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" ] } ] @@ -4388,14 +4574,46 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/connections", + "method": "GET", + "path": "/api/v2/connections-directory-provisionings?take=50", + "body": "", + "status": 403, + "response": { + "statusCode": 403, + "error": "Forbidden", + "message": "Insufficient scope, expected any of: read:directory_provisionings", + "errorCode": "insufficient_scope" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections/con_ttBywYyXWa3lGzRc/clients?take=50", + "body": "", + "status": 200, + "response": { + "clients": [ + { + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" + }, + { + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/connections/con_ttBywYyXWa3lGzRc", "body": { - "name": "google-oauth2", - "strategy": "google-oauth2", "enabled_clients": [ - "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ], "is_domain_connection": false, "options": { @@ -4407,9 +4625,9 @@ "profile": true } }, - "status": 201, + "status": 200, "response": { - "id": "con_ofYLTrH65uc11uHU", + "id": "con_ttBywYyXWa3lGzRc", "options": { "email": true, "scope": [ @@ -4428,8 +4646,8 @@ "active": false }, "enabled_clients": [ - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", - "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08" + "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ], "realms": [ "google-oauth2" @@ -4438,57 +4656,17 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?take=1&name=google-oauth2&include_fields=true", - "body": "", - "status": 200, - "response": { - "connections": [ - { - "id": "con_ofYLTrH65uc11uHU", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "google-oauth2" - ], - "enabled_clients": [ - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", - "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_ofYLTrH65uc11uHU/clients", + "path": "/api/v2/connections/con_ttBywYyXWa3lGzRc/clients", "body": [ { - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "status": true }, { - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "status": true } ], @@ -4627,7 +4805,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4680,7 +4858,7 @@ "subject": "deprecated" } ], - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4735,7 +4913,7 @@ } ], "allowed_origins": [], - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4784,7 +4962,7 @@ "subject": "deprecated" } ], - "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4825,7 +5003,7 @@ "subject": "deprecated" } ], - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4878,7 +5056,7 @@ "subject": "deprecated" } ], - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4900,14 +5078,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -4921,13 +5094,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -4938,7 +5111,7 @@ "subject": "deprecated" } ], - "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4947,15 +5120,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -4963,9 +5131,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -4979,13 +5152,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -4996,7 +5169,7 @@ "subject": "deprecated" } ], - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -5005,10 +5178,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -5312,7 +5490,7 @@ "method": "POST", "path": "/api/v2/client-grants", "body": { - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5449,8 +5627,8 @@ }, "status": 201, "response": { - "id": "cgr_mM8jzwNihrFtx89p", - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "id": "cgr_nxeisdDjbeRRlGtB", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5594,7 +5772,7 @@ "method": "POST", "path": "/api/v2/client-grants", "body": { - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5731,8 +5909,8 @@ }, "status": 201, "response": { - "id": "cgr_iPFkIWsW1niwPulu", - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "id": "cgr_kvDZQ4c82zfHALM4", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5891,14 +6069,14 @@ "method": "POST", "path": "/api/v2/roles", "body": { - "name": "Admin", - "description": "Can read and write things" + "name": "Reader", + "description": "Can only read things" }, "status": 200, "response": { - "id": "rol_KuqJfEaHcrAOSaWr", - "name": "Admin", - "description": "Can read and write things" + "id": "rol_xrhFUwuvA7BRRaYf", + "name": "Reader", + "description": "Can only read things" }, "rawHeaders": [], "responseIsBinary": false @@ -5908,14 +6086,14 @@ "method": "POST", "path": "/api/v2/roles", "body": { - "name": "read_only", - "description": "Read Only" + "name": "Admin", + "description": "Can read and write things" }, "status": 200, "response": { - "id": "rol_Q1OogAZSOXBxR0mS", - "name": "read_only", - "description": "Read Only" + "id": "rol_cn1NFD8OdoyFWSs8", + "name": "Admin", + "description": "Can read and write things" }, "rawHeaders": [], "responseIsBinary": false @@ -5925,14 +6103,14 @@ "method": "POST", "path": "/api/v2/roles", "body": { - "name": "Reader", - "description": "Can only read things" + "name": "read_only", + "description": "Read Only" }, "status": 200, "response": { - "id": "rol_XrPBqiiUpBMrQ1Co", - "name": "Reader", - "description": "Can only read things" + "id": "rol_fprSPkuQtD0Nntr0", + "name": "read_only", + "description": "Read Only" }, "rawHeaders": [], "responseIsBinary": false @@ -5947,7 +6125,7 @@ }, "status": 200, "response": { - "id": "rol_8cl9Rbs5GmO6L8O1", + "id": "rol_oyNpvpUrHKdKlH5k", "name": "read_osnly", "description": "Readz Only" }, @@ -5983,7 +6161,7 @@ "okta" ], "created_at": "2024-11-26T11:58:18.962Z", - "updated_at": "2026-01-29T08:20:22.505Z", + "updated_at": "2026-02-10T09:31:27.699Z", "branding": { "colors": { "primary": "#19aecc" @@ -6059,7 +6237,7 @@ "okta" ], "created_at": "2024-11-26T11:58:18.962Z", - "updated_at": "2026-01-29T08:23:17.397Z", + "updated_at": "2026-02-12T11:06:28.894Z", "branding": { "colors": { "primary": "#19aecc" @@ -6123,6 +6301,18 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations?take=50", + "body": "", + "status": 200, + "response": { + "organizations": [] + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -6216,7 +6406,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6269,7 +6459,7 @@ "subject": "deprecated" } ], - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6324,7 +6514,7 @@ } ], "allowed_origins": [], - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6373,7 +6563,7 @@ "subject": "deprecated" } ], - "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6414,7 +6604,7 @@ "subject": "deprecated" } ], - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6467,7 +6657,7 @@ "subject": "deprecated" } ], - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6489,14 +6679,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -6510,13 +6695,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -6527,7 +6712,7 @@ "subject": "deprecated" } ], - "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6536,15 +6721,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -6552,9 +6732,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -6568,13 +6753,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -6585,7 +6770,7 @@ "subject": "deprecated" } ], - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6594,10 +6779,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -6643,18 +6833,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations?take=50", - "body": "", - "status": 200, - "response": { - "organizations": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -6664,7 +6842,7 @@ "response": { "connections": [ { - "id": "con_kVFZpeo22LiRkuZX", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -6702,7 +6880,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -6728,12 +6907,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_ofYLTrH65uc11uHU", + "id": "con_ttBywYyXWa3lGzRc", "options": { "email": true, "scope": [ @@ -6755,12 +6934,12 @@ "google-oauth2" ], "enabled_clients": [ - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", - "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08" + "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_HWfhKNZplN4EmRoh", "options": { "mfa": { "active": true, @@ -6779,7 +6958,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -6799,7 +6979,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" ] } ] @@ -6816,8 +6996,8 @@ "response": { "client_grants": [ { - "id": "cgr_iPFkIWsW1niwPulu", - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "id": "cgr_kvDZQ4c82zfHALM4", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -6954,8 +7134,8 @@ "subject_type": "client" }, { - "id": "cgr_mM8jzwNihrFtx89p", - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "id": "cgr_nxeisdDjbeRRlGtB", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -7429,7 +7609,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7482,7 +7662,7 @@ "subject": "deprecated" } ], - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7537,7 +7717,7 @@ } ], "allowed_origins": [], - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7586,7 +7766,7 @@ "subject": "deprecated" } ], - "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7627,7 +7807,7 @@ "subject": "deprecated" } ], - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7680,7 +7860,7 @@ "subject": "deprecated" } ], - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7702,14 +7882,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -7723,13 +7898,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -7740,7 +7915,7 @@ "subject": "deprecated" } ], - "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7749,15 +7924,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -7765,9 +7935,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -7781,13 +7956,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -7798,7 +7973,7 @@ "subject": "deprecated" } ], - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7807,10 +7982,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -7872,7 +8052,7 @@ }, "status": 201, "response": { - "id": "org_xWa07kdbbwu2lRcF", + "id": "org_LNp0DTmiD80b8scl", "display_name": "Organization", "name": "org1", "branding": { @@ -7895,7 +8075,7 @@ }, "status": 201, "response": { - "id": "org_gDr714haDt65Zd3H", + "id": "org_b624ufp3gFH2qgUc", "display_name": "Organization2", "name": "org2" }, @@ -7926,7 +8106,7 @@ }, "status": 200, "response": { - "id": "lst_0000000000026038", + "id": "lst_0000000000026529", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", @@ -7991,14 +8171,14 @@ }, "status": 200, "response": { - "id": "lst_0000000000026039", + "id": "lst_0000000000026530", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-988b6f71-63f1-41c3-9367-a83c0be14ece/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c4d4f85f-7908-4d9c-8b6e-e4831576de81/auth0.logs" }, "filters": [ { @@ -8089,7 +8269,7 @@ "name": "Blank-form", "flow_count": 0, "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2026-01-29T08:20:35.035Z" + "updated_at": "2026-02-10T09:31:36.268Z" } ] }, @@ -8160,7 +8340,7 @@ } }, "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2026-01-29T08:20:35.035Z" + "updated_at": "2026-02-10T09:31:36.268Z" }, "rawHeaders": [], "responseIsBinary": false @@ -8285,7 +8465,7 @@ } }, "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2026-01-29T08:23:25.494Z" + "updated_at": "2026-02-12T11:06:36.052Z" }, "rawHeaders": [], "responseIsBinary": false @@ -9082,6 +9262,22 @@ "description": "Delete SCIM token", "value": "delete:scim_token" }, + { + "description": "Read directory provisioning configurations", + "value": "read:directory_provisionings" + }, + { + "description": "Create directory provisioning configurations", + "value": "create:directory_provisionings" + }, + { + "description": "Update directory provisioning configurations", + "value": "update:directory_provisionings" + }, + { + "description": "Delete directory provisioning configurations", + "value": "delete:directory_provisionings" + }, { "description": "Delete a Phone Notification Provider", "value": "delete:phone_providers" @@ -9443,16 +9639,16 @@ "value": "delete:token_exchange_profiles" }, { - "value": "read:organization_client_grants", - "description": "Read Organization Client Grants" + "description": "Read Organization Client Grants", + "value": "read:organization_client_grants" }, { - "value": "create:organization_client_grants", - "description": "Create Organization Client Grants" + "description": "Create Organization Client Grants", + "value": "create:organization_client_grants" }, { - "value": "delete:organization_client_grants", - "description": "Delete Organization Client Grants" + "description": "Delete Organization Client Grants", + "value": "delete:organization_client_grants" }, { "value": "read:security_metrics", @@ -9469,22 +9665,6 @@ { "value": "create:connections_keys", "description": "Create connection keys" - }, - { - "value": "create:directory_provisionings", - "description": "Create Directory Provisionings" - }, - { - "value": "read:directory_provisionings", - "description": "Read Directory Provisionings" - }, - { - "value": "update:directory_provisionings", - "description": "Update Directory Provisionings" - }, - { - "value": "delete:directory_provisionings", - "description": "Delete Directory Provisionings" } ], "is_system": true @@ -9587,7 +9767,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9640,7 +9820,7 @@ "subject": "deprecated" } ], - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9695,7 +9875,7 @@ } ], "allowed_origins": [], - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9744,7 +9924,7 @@ "subject": "deprecated" } ], - "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9785,7 +9965,7 @@ "subject": "deprecated" } ], - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9838,7 +10018,7 @@ "subject": "deprecated" } ], - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9860,14 +10040,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -9881,13 +10056,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -9898,7 +10073,7 @@ "subject": "deprecated" } ], - "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9907,15 +10082,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -9923,9 +10093,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -9939,13 +10114,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -9956,7 +10131,7 @@ "subject": "deprecated" } ], - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9965,10 +10140,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true } @@ -9980,7 +10160,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "path": "/api/v2/clients/0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "body": { "name": "Default App", "callbacks": [], @@ -10038,7 +10218,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10074,7 +10254,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -10088,7 +10268,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -10102,7 +10282,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -10116,7 +10296,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -10130,7 +10310,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -10144,7 +10324,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -10158,7 +10338,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/push-notification", "body": { "enabled": false }, @@ -10231,7 +10411,7 @@ "response": { "actions": [ { - "id": "de79b7e4-3d92-4f84-b215-ed506bdac09d", + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", "name": "My Custom Action", "supported_triggers": [ { @@ -10239,34 +10419,34 @@ "version": "v2" } ], - "created_at": "2026-01-29T08:22:57.593938583Z", - "updated_at": "2026-01-29T08:22:57.600269544Z", + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:06:13.458251716Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node18", "status": "built", "secrets": [], "current_version": { - "id": "9c396565-368c-4901-b718-b28d07bbfae1", + "id": "d1913639-6a19-44aa-a614-2552a581df2f", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node18", "status": "BUILT", "number": 1, - "build_time": "2026-01-29T08:22:58.678829844Z", - "created_at": "2026-01-29T08:22:58.612060855Z", - "updated_at": "2026-01-29T08:22:58.679766962Z" + "build_time": "2026-02-12T11:06:14.290933675Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "9c396565-368c-4901-b718-b28d07bbfae1", + "id": "d1913639-6a19-44aa-a614-2552a581df2f", "deployed": true, "number": 1, - "built_at": "2026-01-29T08:22:58.678829844Z", + "built_at": "2026-02-12T11:06:14.290933675Z", "secrets": [], "status": "built", - "created_at": "2026-01-29T08:22:58.612060855Z", - "updated_at": "2026-01-29T08:22:58.679766962Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z", "runtime": "node18", "supported_triggers": [ { @@ -10293,7 +10473,7 @@ "response": { "actions": [ { - "id": "de79b7e4-3d92-4f84-b215-ed506bdac09d", + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", "name": "My Custom Action", "supported_triggers": [ { @@ -10301,34 +10481,34 @@ "version": "v2" } ], - "created_at": "2026-01-29T08:22:57.593938583Z", - "updated_at": "2026-01-29T08:22:57.600269544Z", + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:06:13.458251716Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node18", "status": "built", "secrets": [], "current_version": { - "id": "9c396565-368c-4901-b718-b28d07bbfae1", + "id": "d1913639-6a19-44aa-a614-2552a581df2f", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node18", "status": "BUILT", "number": 1, - "build_time": "2026-01-29T08:22:58.678829844Z", - "created_at": "2026-01-29T08:22:58.612060855Z", - "updated_at": "2026-01-29T08:22:58.679766962Z" + "build_time": "2026-02-12T11:06:14.290933675Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "9c396565-368c-4901-b718-b28d07bbfae1", + "id": "d1913639-6a19-44aa-a614-2552a581df2f", "deployed": true, "number": 1, - "built_at": "2026-01-29T08:22:58.678829844Z", + "built_at": "2026-02-12T11:06:14.290933675Z", "secrets": [], "status": "built", - "created_at": "2026-01-29T08:22:58.612060855Z", - "updated_at": "2026-01-29T08:22:58.679766962Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z", "runtime": "node18", "supported_triggers": [ { @@ -10349,47 +10529,27 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "path": "/api/v2/attack-protection/brute-force-protection", "body": { "enabled": true, "shields": [ - "admin_notification", - "block" + "block", + "user_notification" ], + "mode": "count_per_identifier_and_ip", "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } + "max_attempts": 10 }, "status": 200, "response": { "enabled": true, "shields": [ - "admin_notification", - "block" + "block", + "user_notification" ], + "mode": "count_per_identifier_and_ip", "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - }, - "pre-custom-token-exchange": { - "max_attempts": 10, - "rate": 600000 - } - } + "max_attempts": 10 }, "rawHeaders": [], "responseIsBinary": false @@ -10425,27 +10585,47 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", "body": { "enabled": true, "shields": [ - "block", - "user_notification" + "admin_notification", + "block" ], - "mode": "count_per_identifier_and_ip", "allowlist": [], - "max_attempts": 10 + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } }, "status": 200, "response": { "enabled": true, "shields": [ - "block", - "user_notification" + "admin_notification", + "block" ], - "mode": "count_per_identifier_and_ip", "allowlist": [], - "max_attempts": 10 + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + }, + "pre-custom-token-exchange": { + "max_attempts": 10, + "rate": 600000 + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -10453,103 +10633,292 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "path": "/api/v2/actions/actions?page=0&per_page=100", "body": "", "status": 200, "response": { - "total": 10, - "start": 0, - "limit": 100, - "clients": [ + "actions": [ { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": false, - "allowed_clients": [], - "callbacks": [], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "signing_keys": [ + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", + "name": "My Custom Action", + "supported_triggers": [ { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" + "id": "post-login", + "version": "v2" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:06:13.458251716Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node18", + "status": "built", + "secrets": [], + "current_version": { + "id": "d1913639-6a19-44aa-a614-2552a581df2f", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node18", + "status": "BUILT", + "number": 1, + "build_time": "2026-02-12T11:06:14.290933675Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z" }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials", - "implicit", - "authorization_code", - "refresh_token" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "d1913639-6a19-44aa-a614-2552a581df2f", + "deployed": true, + "number": 1, + "built_at": "2026-02-12T11:06:14.290933675Z", + "secrets": [], + "status": "built", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z", + "runtime": "node18", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "all_changes_deployed": true + } + ], + "total": 1, + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?take=50&strategy=auth0", + "body": "", + "status": 200, + "response": { + "connections": [ + { + "id": "con_JT3yKg3eipOJqxIc", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "import_mode": false, + "customScripts": { + "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", + "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" + }, + "disable_signup": false, + "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "password_history": { + "size": 5, + "enable": false + }, + "strategy_version": 2, + "requires_username": true, + "password_dictionary": { + "enable": true, + "dictionary": [] + }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true, + "disable_self_service_change_password": false + }, + "strategy": "auth0", + "name": "boo-baz-db-connection-test", + "is_domain_connection": false, + "authentication": { + "active": true + }, + "connected_accounts": { + "active": false + }, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" + ] + }, + { + "id": "con_HWfhKNZplN4EmRoh", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "disable_self_service_change_password": false + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "authentication": { + "active": true + }, + "connected_accounts": { + "active": false + }, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 10, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": false, + "allowed_clients": [], + "callbacks": [], + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials", + "implicit", + "authorization_code", + "refresh_token" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_authentication": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_auth": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false }, "grant_types": [ "authorization_code", @@ -10596,7 +10965,7 @@ "subject": "deprecated" } ], - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10651,7 +11020,7 @@ } ], "allowed_origins": [], - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10700,7 +11069,7 @@ "subject": "deprecated" } ], - "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10741,7 +11110,7 @@ "subject": "deprecated" } ], - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10794,7 +11163,7 @@ "subject": "deprecated" } ], - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10816,14 +11185,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -10837,13 +11201,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -10854,7 +11218,7 @@ "subject": "deprecated" } ], - "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10863,15 +11227,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -10879,9 +11238,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -10895,13 +11259,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -10912,7 +11276,7 @@ "subject": "deprecated" } ], - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10921,10 +11285,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -10973,124 +11342,61 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?take=50&strategy=auth0", + "path": "/api/v2/actions/actions?page=0&per_page=100", "body": "", "status": 200, "response": { - "connections": [ + "actions": [ { - "id": "con_kVFZpeo22LiRkuZX", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "boo-baz-db-connection-test" + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } ], - "enabled_clients": [ - "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" - ] - }, - { - "id": "con_MRA4eGO9o9D9p6B8", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "authentication": { - "active": true + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:06:13.458251716Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node18", + "status": "built", + "secrets": [], + "current_version": { + "id": "d1913639-6a19-44aa-a614-2552a581df2f", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node18", + "status": "BUILT", + "number": 1, + "build_time": "2026-02-12T11:06:14.290933675Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z" }, - "connected_accounts": { - "active": false + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "d1913639-6a19-44aa-a614-2552a581df2f", + "deployed": true, + "number": 1, + "built_at": "2026-02-12T11:06:14.290933675Z", + "secrets": [], + "status": "built", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z", + "runtime": "node18", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] }, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" - ] + "all_changes_deployed": true } - ] + ], + "total": 1, + "per_page": 100 }, "rawHeaders": [], "responseIsBinary": false @@ -11104,7 +11410,7 @@ "response": { "connections": [ { - "id": "con_kVFZpeo22LiRkuZX", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -11142,7 +11448,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -11168,12 +11475,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_HWfhKNZplN4EmRoh", "options": { "mfa": { "active": true, @@ -11192,7 +11499,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -11212,7 +11520,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" ] } ] @@ -11223,16 +11531,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_kVFZpeo22LiRkuZX/clients?take=50", + "path": "/api/v2/connections/con_JT3yKg3eipOJqxIc/clients?take=50", "body": "", "status": 200, "response": { "clients": [ { - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0" + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE" }, { - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" } ] }, @@ -11242,13 +11550,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_MRA4eGO9o9D9p6B8/clients?take=50", + "path": "/api/v2/connections/con_HWfhKNZplN4EmRoh/clients?take=50", "body": "", "status": 200, "response": { "clients": [ { - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" }, { "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" @@ -11261,11 +11569,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_MRA4eGO9o9D9p6B8", + "path": "/api/v2/connections/con_HWfhKNZplN4EmRoh", "body": "", "status": 200, "response": { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_HWfhKNZplN4EmRoh", "options": { "mfa": { "active": true, @@ -11284,7 +11592,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -11301,7 +11610,7 @@ }, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" ], "realms": [ "Username-Password-Authentication" @@ -11313,13 +11622,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_MRA4eGO9o9D9p6B8", + "path": "/api/v2/connections/con_HWfhKNZplN4EmRoh", "body": { "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" ], "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], "options": { "mfa": { "active": true, @@ -11338,19 +11650,17 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, "disable_self_service_change_password": false - }, - "realms": [ - "Username-Password-Authentication" - ] + } }, "status": 200, "response": { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_HWfhKNZplN4EmRoh", "options": { "mfa": { "active": true, @@ -11369,7 +11679,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -11386,7 +11697,7 @@ }, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" ], "realms": [ "Username-Password-Authentication" @@ -11398,14 +11709,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_MRA4eGO9o9D9p6B8/clients", + "path": "/api/v2/connections/con_HWfhKNZplN4EmRoh/clients", "body": [ { "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "status": true }, { - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "status": true } ], @@ -11507,7 +11818,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11560,7 +11871,7 @@ "subject": "deprecated" } ], - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11615,7 +11926,7 @@ } ], "allowed_origins": [], - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11664,7 +11975,7 @@ "subject": "deprecated" } ], - "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11705,7 +12016,7 @@ "subject": "deprecated" } ], - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11758,7 +12069,7 @@ "subject": "deprecated" } ], - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11780,14 +12091,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -11801,13 +12107,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -11818,7 +12124,7 @@ "subject": "deprecated" } ], - "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11827,15 +12133,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -11843,9 +12144,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -11859,13 +12165,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -11876,7 +12182,7 @@ "subject": "deprecated" } ], - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11885,10 +12191,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -11943,7 +12254,7 @@ "response": { "connections": [ { - "id": "con_kVFZpeo22LiRkuZX", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -11981,7 +12292,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -12007,12 +12319,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_ofYLTrH65uc11uHU", + "id": "con_ttBywYyXWa3lGzRc", "options": { "email": true, "scope": [ @@ -12034,12 +12346,12 @@ "google-oauth2" ], "enabled_clients": [ - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", - "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08" + "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_HWfhKNZplN4EmRoh", "options": { "mfa": { "active": true, @@ -12058,7 +12370,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -12078,7 +12391,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" ] } ] @@ -12086,6 +12399,21 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections-directory-provisionings?take=50", + "body": "", + "status": 403, + "response": { + "statusCode": 403, + "error": "Forbidden", + "message": "Insufficient scope, expected any of: read:directory_provisionings", + "errorCode": "insufficient_scope" + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -12095,7 +12423,7 @@ "response": { "connections": [ { - "id": "con_kVFZpeo22LiRkuZX", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -12133,7 +12461,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -12159,12 +12488,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_ofYLTrH65uc11uHU", + "id": "con_ttBywYyXWa3lGzRc", "options": { "email": true, "scope": [ @@ -12186,12 +12515,12 @@ "google-oauth2" ], "enabled_clients": [ - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", - "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08" + "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_HWfhKNZplN4EmRoh", "options": { "mfa": { "active": true, @@ -12210,7 +12539,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -12230,7 +12560,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" ] } ] @@ -12241,16 +12571,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_ofYLTrH65uc11uHU/clients?take=50", + "path": "/api/v2/connections/con_ttBywYyXWa3lGzRc/clients?take=50", "body": "", "status": 200, "response": { "clients": [ { - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY" }, { - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08" + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" } ] }, @@ -12365,7 +12695,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12418,7 +12748,7 @@ "subject": "deprecated" } ], - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12473,7 +12803,7 @@ } ], "allowed_origins": [], - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12522,7 +12852,7 @@ "subject": "deprecated" } ], - "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12563,7 +12893,7 @@ "subject": "deprecated" } ], - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12616,7 +12946,7 @@ "subject": "deprecated" } ], - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12638,14 +12968,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -12659,13 +12984,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -12676,7 +13001,7 @@ "subject": "deprecated" } ], - "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12685,15 +13010,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -12701,9 +13021,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -12717,13 +13042,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -12734,7 +13059,7 @@ "subject": "deprecated" } ], - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -12743,10 +13068,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -12801,8 +13131,8 @@ "response": { "client_grants": [ { - "id": "cgr_iPFkIWsW1niwPulu", - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "id": "cgr_kvDZQ4c82zfHALM4", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -12939,8 +13269,8 @@ "subject_type": "client" }, { - "id": "cgr_mM8jzwNihrFtx89p", - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "id": "cgr_nxeisdDjbeRRlGtB", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -13330,22 +13660,22 @@ "response": { "roles": [ { - "id": "rol_KuqJfEaHcrAOSaWr", + "id": "rol_cn1NFD8OdoyFWSs8", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_XrPBqiiUpBMrQ1Co", + "id": "rol_xrhFUwuvA7BRRaYf", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_Q1OogAZSOXBxR0mS", + "id": "rol_fprSPkuQtD0Nntr0", "name": "read_only", "description": "Read Only" }, { - "id": "rol_8cl9Rbs5GmO6L8O1", + "id": "rol_oyNpvpUrHKdKlH5k", "name": "read_osnly", "description": "Readz Only" } @@ -13360,7 +13690,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_KuqJfEaHcrAOSaWr/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_cn1NFD8OdoyFWSs8/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -13375,7 +13705,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_XrPBqiiUpBMrQ1Co/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_xrhFUwuvA7BRRaYf/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -13390,7 +13720,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_Q1OogAZSOXBxR0mS/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_fprSPkuQtD0Nntr0/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -13405,7 +13735,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_8cl9Rbs5GmO6L8O1/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_oyNpvpUrHKdKlH5k/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -13417,6 +13747,35 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations?take=50", + "body": "", + "status": 200, + "response": { + "organizations": [ + { + "id": "org_LNp0DTmiD80b8scl", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_b624ufp3gFH2qgUc", + "name": "org2", + "display_name": "Organization2" + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -13510,7 +13869,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13563,7 +13922,7 @@ "subject": "deprecated" } ], - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13618,7 +13977,7 @@ } ], "allowed_origins": [], - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13667,7 +14026,7 @@ "subject": "deprecated" } ], - "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13708,7 +14067,7 @@ "subject": "deprecated" } ], - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13761,7 +14120,7 @@ "subject": "deprecated" } ], - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13783,14 +14142,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -13804,13 +14158,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -13821,7 +14175,7 @@ "subject": "deprecated" } ], - "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13830,15 +14184,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -13846,9 +14195,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -13862,13 +14216,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -13879,7 +14233,7 @@ "subject": "deprecated" } ], - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -13888,10 +14242,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -13940,36 +14299,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?take=50", - "body": "", - "status": 200, - "response": { - "organizations": [ - { - "id": "org_xWa07kdbbwu2lRcF", - "name": "org1", - "display_name": "Organization", - "branding": { - "colors": { - "page_background": "#fff5f5", - "primary": "#57ddff" - } - } - }, - { - "id": "org_gDr714haDt65Zd3H", - "name": "org2", - "display_name": "Organization2" - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_xWa07kdbbwu2lRcF/enabled_connections?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_LNp0DTmiD80b8scl/enabled_connections?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -13984,7 +14314,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_xWa07kdbbwu2lRcF/client-grants?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_LNp0DTmiD80b8scl/client-grants?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -13999,7 +14329,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_xWa07kdbbwu2lRcF/discovery-domains?take=50", + "path": "/api/v2/organizations/org_LNp0DTmiD80b8scl/discovery-domains?take=50", "body": "", "status": 200, "response": { @@ -14011,7 +14341,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_gDr714haDt65Zd3H/enabled_connections?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_b624ufp3gFH2qgUc/enabled_connections?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -14026,7 +14356,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_gDr714haDt65Zd3H/client-grants?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_b624ufp3gFH2qgUc/client-grants?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -14041,7 +14371,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_gDr714haDt65Zd3H/discovery-domains?take=50", + "path": "/api/v2/organizations/org_b624ufp3gFH2qgUc/discovery-domains?take=50", "body": "", "status": 200, "response": { @@ -14059,7 +14389,7 @@ "response": { "connections": [ { - "id": "con_kVFZpeo22LiRkuZX", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -14097,7 +14427,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -14123,12 +14454,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_ofYLTrH65uc11uHU", + "id": "con_ttBywYyXWa3lGzRc", "options": { "email": true, "scope": [ @@ -14150,12 +14481,12 @@ "google-oauth2" ], "enabled_clients": [ - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", - "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08" + "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_HWfhKNZplN4EmRoh", "options": { "mfa": { "active": true, @@ -14174,7 +14505,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -14194,7 +14526,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" ] } ] @@ -14205,605 +14537,76 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/client-grants?take=50", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "client_grants": [ + "total": 10, + "start": 0, + "limit": 100, + "clients": [ { - "id": "cgr_iPFkIWsW1niwPulu", - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": false, + "allowed_clients": [], + "callbacks": [], + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "subject_type": "client" - }, - { - "id": "cgr_mM8jzwNihrFtx89p", - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials", + "implicit", + "authorization_code", + "refresh_token" ], - "subject_type": "client" + "custom_login_page_on": true }, - { - "id": "cgr_pbwejzhwoujrsNE8", - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:client_credentials", - "update:client_credentials", - "delete:client_credentials", - "create:client_credentials", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "read:organization_discovery_domains", - "update:organization_discovery_domains", - "create:organization_discovery_domains", - "delete:organization_discovery_domains", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:sessions", - "update:sessions", - "delete:sessions", - "read:refresh_tokens", - "update:refresh_tokens", - "delete:refresh_tokens", - "create:self_service_profiles", - "read:self_service_profiles", - "update:self_service_profiles", - "delete:self_service_profiles", - "create:sso_access_tickets", - "delete:sso_access_tickets", - "read:forms", - "update:forms", - "delete:forms", - "create:forms", - "read:flows", - "update:flows", - "delete:flows", - "create:flows", - "read:flows_vault", - "read:flows_vault_connections", - "update:flows_vault_connections", - "delete:flows_vault_connections", - "create:flows_vault_connections", - "read:flows_executions", - "delete:flows_executions", - "read:connections_options", - "update:connections_options", - "read:self_service_profile_custom_texts", - "update:self_service_profile_custom_texts", - "create:network_acls", - "update:network_acls", - "read:network_acls", - "delete:network_acls", - "delete:vdcs_templates", - "read:vdcs_templates", - "create:vdcs_templates", - "update:vdcs_templates", - "create:custom_signing_keys", - "read:custom_signing_keys", - "update:custom_signing_keys", - "delete:custom_signing_keys", - "read:federated_connections_tokens", - "delete:federated_connections_tokens", - "create:user_attribute_profiles", - "read:user_attribute_profiles", - "update:user_attribute_profiles", - "delete:user_attribute_profiles", - "read:event_streams", - "create:event_streams", - "delete:event_streams", - "update:event_streams", - "read:event_deliveries", - "update:event_deliveries", - "create:connection_profiles", - "read:connection_profiles", - "update:connection_profiles", - "delete:connection_profiles", - "read:organization_client_grants", - "create:organization_client_grants", - "delete:organization_client_grants", - "create:token_exchange_profiles", - "read:token_exchange_profiles", - "update:token_exchange_profiles", - "delete:token_exchange_profiles", - "read:security_metrics", - "read:connections_keys", - "update:connections_keys", - "create:connections_keys" - ], - "subject_type": "client" - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 10, - "start": 0, - "limit": 100, - "clients": [ { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": false, - "allowed_clients": [], - "callbacks": [], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials", - "implicit", - "authorization_code", - "refresh_token" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_authentication": false, + "name": "Default App", + "callbacks": [], + "cross_origin_authentication": false, "is_first_party": true, "oidc_conformant": true, "refresh_token": { @@ -14824,7 +14627,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14877,7 +14680,7 @@ "subject": "deprecated" } ], - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14932,7 +14735,7 @@ } ], "allowed_origins": [], - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -14981,7 +14784,7 @@ "subject": "deprecated" } ], - "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -15022,7 +14825,7 @@ "subject": "deprecated" } ], - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -15075,7 +14878,7 @@ "subject": "deprecated" } ], - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -15097,14 +14900,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -15118,13 +14916,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -15135,7 +14933,7 @@ "subject": "deprecated" } ], - "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -15144,15 +14942,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -15160,9 +14953,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -15176,13 +14974,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -15193,7 +14991,7 @@ "subject": "deprecated" } ], - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -15202,10 +15000,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -15242,9 +15045,538 @@ "subject": "deprecated" } ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/client-grants?take=50", + "body": "", + "status": 200, + "response": { + "client_grants": [ + { + "id": "cgr_kvDZQ4c82zfHALM4", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "read:clients", + "update:clients", + "delete:clients", + "create:clients", + "read:client_keys", + "update:client_keys", + "delete:client_keys", + "create:client_keys", + "read:connections", + "update:connections", + "delete:connections", + "create:connections", + "read:resource_servers", + "update:resource_servers", + "delete:resource_servers", + "create:resource_servers", + "read:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ], + "subject_type": "client" + }, + { + "id": "cgr_nxeisdDjbeRRlGtB", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "read:clients", + "update:clients", + "delete:clients", + "create:clients", + "read:client_keys", + "update:client_keys", + "delete:client_keys", + "create:client_keys", + "read:connections", + "update:connections", + "delete:connections", + "create:connections", + "read:resource_servers", + "update:resource_servers", + "delete:resource_servers", + "create:resource_servers", + "read:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations" + ], + "subject_type": "client" + }, + { + "id": "cgr_pbwejzhwoujrsNE8", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "read:clients", + "update:clients", + "delete:clients", + "create:clients", + "read:client_keys", + "update:client_keys", + "delete:client_keys", + "create:client_keys", + "read:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "create:client_credentials", + "read:connections", + "update:connections", + "delete:connections", + "create:connections", + "read:resource_servers", + "update:resource_servers", + "delete:resource_servers", + "create:resource_servers", + "read:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "read:organization_discovery_domains", + "update:organization_discovery_domains", + "create:organization_discovery_domains", + "delete:organization_discovery_domains", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "update:sessions", + "delete:sessions", + "read:refresh_tokens", + "update:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "delete:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "create:network_acls", + "update:network_acls", + "read:network_acls", + "delete:network_acls", + "delete:vdcs_templates", + "read:vdcs_templates", + "create:vdcs_templates", + "update:vdcs_templates", + "create:custom_signing_keys", + "read:custom_signing_keys", + "update:custom_signing_keys", + "delete:custom_signing_keys", + "read:federated_connections_tokens", + "delete:federated_connections_tokens", + "create:user_attribute_profiles", + "read:user_attribute_profiles", + "update:user_attribute_profiles", + "delete:user_attribute_profiles", + "read:event_streams", + "create:event_streams", + "delete:event_streams", + "update:event_streams", + "read:event_deliveries", + "update:event_deliveries", + "create:connection_profiles", + "read:connection_profiles", + "update:connection_profiles", + "delete:connection_profiles", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants", + "create:token_exchange_profiles", + "read:token_exchange_profiles", + "update:token_exchange_profiles", + "delete:token_exchange_profiles", + "read:security_metrics", + "read:connections_keys", + "update:connections_keys", + "create:connections_keys" + ], + "subject_type": "client" } ] }, @@ -15259,7 +15591,7 @@ "status": 200, "response": [ { - "id": "lst_0000000000026038", + "id": "lst_0000000000026529", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", @@ -15270,14 +15602,14 @@ "isPriority": false }, { - "id": "lst_0000000000026039", + "id": "lst_0000000000026530", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-988b6f71-63f1-41c3-9367-a83c0be14ece/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c4d4f85f-7908-4d9c-8b6e-e4831576de81/auth0.logs" }, "filters": [ { @@ -16195,6 +16527,22 @@ "description": "Delete SCIM token", "value": "delete:scim_token" }, + { + "description": "Read directory provisioning configurations", + "value": "read:directory_provisionings" + }, + { + "description": "Create directory provisioning configurations", + "value": "create:directory_provisionings" + }, + { + "description": "Update directory provisioning configurations", + "value": "update:directory_provisionings" + }, + { + "description": "Delete directory provisioning configurations", + "value": "delete:directory_provisionings" + }, { "description": "Delete a Phone Notification Provider", "value": "delete:phone_providers" @@ -16556,16 +16904,16 @@ "value": "delete:token_exchange_profiles" }, { - "value": "read:organization_client_grants", - "description": "Read Organization Client Grants" + "description": "Read Organization Client Grants", + "value": "read:organization_client_grants" }, { - "value": "create:organization_client_grants", - "description": "Create Organization Client Grants" + "description": "Create Organization Client Grants", + "value": "create:organization_client_grants" }, { - "value": "delete:organization_client_grants", - "description": "Delete Organization Client Grants" + "description": "Delete Organization Client Grants", + "value": "delete:organization_client_grants" }, { "value": "read:security_metrics", @@ -16582,22 +16930,6 @@ { "value": "create:connections_keys", "description": "Create connection keys" - }, - { - "value": "create:directory_provisionings", - "description": "Create Directory Provisionings" - }, - { - "value": "read:directory_provisionings", - "description": "Read Directory Provisionings" - }, - { - "value": "update:directory_provisionings", - "description": "Update Directory Provisionings" - }, - { - "value": "delete:directory_provisionings", - "description": "Delete Directory Provisionings" } ], "is_system": true @@ -16700,7 +17032,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -16753,7 +17085,7 @@ "subject": "deprecated" } ], - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -16808,7 +17140,7 @@ } ], "allowed_origins": [], - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -16857,7 +17189,7 @@ "subject": "deprecated" } ], - "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -16898,7 +17230,7 @@ "subject": "deprecated" } ], - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -16951,7 +17283,7 @@ "subject": "deprecated" } ], - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -16973,14 +17305,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -16994,13 +17321,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -17011,7 +17338,7 @@ "subject": "deprecated" } ], - "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -17020,15 +17347,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -17036,9 +17358,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -17052,13 +17379,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -17069,7 +17396,7 @@ "subject": "deprecated" } ], - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -17078,10 +17405,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true } @@ -17099,7 +17431,7 @@ "response": { "connections": [ { - "id": "con_kVFZpeo22LiRkuZX", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -17137,7 +17469,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -17163,12 +17496,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_HWfhKNZplN4EmRoh", "options": { "mfa": { "active": true, @@ -17187,7 +17520,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -17199,18 +17533,80 @@ "authentication": { "active": true }, - "connected_accounts": { - "active": false + "connected_accounts": { + "active": false + }, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [ + { + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:06:13.458251716Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node18", + "status": "built", + "secrets": [], + "current_version": { + "id": "d1913639-6a19-44aa-a614-2552a581df2f", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node18", + "status": "BUILT", + "number": 1, + "build_time": "2026-02-12T11:06:14.290933675Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z" + }, + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "d1913639-6a19-44aa-a614-2552a581df2f", + "deployed": true, + "number": 1, + "built_at": "2026-02-12T11:06:14.290933675Z", + "secrets": [], + "status": "built", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z", + "runtime": "node18", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] }, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" - ] + "all_changes_deployed": true } - ] + ], + "total": 1, + "per_page": 100 }, "rawHeaders": [], "responseIsBinary": false @@ -17218,16 +17614,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_kVFZpeo22LiRkuZX/clients?take=50", + "path": "/api/v2/connections/con_JT3yKg3eipOJqxIc/clients?take=50", "body": "", "status": 200, "response": { "clients": [ { - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0" + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE" }, { - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" } ] }, @@ -17237,13 +17633,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_MRA4eGO9o9D9p6B8/clients?take=50", + "path": "/api/v2/connections/con_HWfhKNZplN4EmRoh/clients?take=50", "body": "", "status": 200, "response": { "clients": [ { - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" }, { "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" @@ -17253,6 +17649,21 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections-directory-provisionings?take=50", + "body": "", + "status": 403, + "response": { + "statusCode": 403, + "error": "Forbidden", + "message": "Insufficient scope, expected any of: read:directory_provisionings", + "errorCode": "insufficient_scope" + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -17262,7 +17673,7 @@ "response": { "connections": [ { - "id": "con_kVFZpeo22LiRkuZX", + "id": "con_JT3yKg3eipOJqxIc", "options": { "mfa": { "active": true, @@ -17300,7 +17711,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -17326,12 +17738,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "HWCESYt02wdq5klo9idda5UuNqLyvRiE", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_ofYLTrH65uc11uHU", + "id": "con_ttBywYyXWa3lGzRc", "options": { "email": true, "scope": [ @@ -17353,12 +17765,12 @@ "google-oauth2" ], "enabled_clients": [ - "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", - "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08" + "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", + "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" ] }, { - "id": "con_MRA4eGO9o9D9p6B8", + "id": "con_HWfhKNZplN4EmRoh", "options": { "mfa": { "active": true, @@ -17377,7 +17789,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -17397,7 +17810,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" ] } ] @@ -17408,16 +17821,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_ofYLTrH65uc11uHU/clients?take=50", + "path": "/api/v2/connections/con_ttBywYyXWa3lGzRc/clients?take=50", "body": "", "status": 200, "response": { "clients": [ { - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY" }, { - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08" + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw" } ] }, @@ -17511,6 +17924,21 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/email-templates/verify_email_by_code", + "body": "", + "status": 404, + "response": { + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -17532,7 +17960,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email_by_code", + "path": "/api/v2/email-templates/user_invitation", "body": "", "status": 404, "response": { @@ -17547,7 +17975,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/async_approval", "body": "", "status": 404, "response": { @@ -17562,7 +17990,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/async_approval", + "path": "/api/v2/email-templates/change_password", "body": "", "status": 404, "response": { @@ -17577,7 +18005,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/reset_email", "body": "", "status": 404, "response": { @@ -17592,7 +18020,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", "status": 404, "response": { @@ -17607,7 +18035,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/password_reset", "body": "", "status": 404, "response": { @@ -17622,14 +18050,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email_by_code", + "path": "/api/v2/email-templates/welcome_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -17637,7 +18069,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/email-templates/blocked_account", "body": "", "status": 404, "response": { @@ -17652,7 +18084,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/enrollment_email", + "path": "/api/v2/email-templates/reset_email_by_code", "body": "", "status": 404, "response": { @@ -17667,26 +18099,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/welcome_email", - "body": "", - "status": 200, - "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", "status": 404, "response": { @@ -17701,7 +18114,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/mfa_oob_code", + "path": "/api/v2/email-templates/enrollment_email", "body": "", "status": 404, "response": { @@ -17722,8 +18135,8 @@ "response": { "client_grants": [ { - "id": "cgr_iPFkIWsW1niwPulu", - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "id": "cgr_kvDZQ4c82zfHALM4", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -17860,8 +18273,8 @@ "subject_type": "client" }, { - "id": "cgr_mM8jzwNihrFtx89p", - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "id": "cgr_nxeisdDjbeRRlGtB", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -18369,22 +18782,22 @@ "response": { "roles": [ { - "id": "rol_KuqJfEaHcrAOSaWr", + "id": "rol_cn1NFD8OdoyFWSs8", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_XrPBqiiUpBMrQ1Co", + "id": "rol_xrhFUwuvA7BRRaYf", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_Q1OogAZSOXBxR0mS", + "id": "rol_fprSPkuQtD0Nntr0", "name": "read_only", "description": "Read Only" }, { - "id": "rol_8cl9Rbs5GmO6L8O1", + "id": "rol_oyNpvpUrHKdKlH5k", "name": "read_osnly", "description": "Readz Only" } @@ -18399,7 +18812,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_KuqJfEaHcrAOSaWr/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_cn1NFD8OdoyFWSs8/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -18414,7 +18827,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_XrPBqiiUpBMrQ1Co/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_xrhFUwuvA7BRRaYf/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -18429,7 +18842,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_Q1OogAZSOXBxR0mS/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_fprSPkuQtD0Nntr0/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -18444,7 +18857,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_8cl9Rbs5GmO6L8O1/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_oyNpvpUrHKdKlH5k/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -18505,7 +18918,7 @@ }, "credentials": null, "created_at": "2025-12-09T12:24:00.604Z", - "updated_at": "2026-01-29T08:16:37.178Z" + "updated_at": "2026-02-10T09:28:21.012Z" } ] }, @@ -18521,20 +18934,19 @@ "response": { "templates": [ { - "id": "tem_dL83uTmWn8moGzm8UgAk4Q", + "id": "tem_o4LBTt4NQyX8K4vC9dPafR", "tenant": "auth0-deploy-cli-e2e", "channel": "phone", - "type": "blocked_account", + "type": "otp_verify", "disabled": false, - "created_at": "2025-12-09T12:22:47.683Z", - "updated_at": "2026-01-29T08:16:39.526Z", + "created_at": "2025-12-09T12:26:30.547Z", + "updated_at": "2026-02-10T09:28:22.844Z", "content": { "syntax": "liquid", "body": { - "text": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message.", - "voice": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message." - }, - "from": "0032232323" + "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}", + "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" + } } }, { @@ -18544,7 +18956,7 @@ "type": "change_password", "disabled": false, "created_at": "2025-12-09T12:26:20.243Z", - "updated_at": "2026-01-29T08:16:39.875Z", + "updated_at": "2026-02-10T09:28:22.857Z", "content": { "syntax": "liquid", "body": { @@ -18554,35 +18966,36 @@ } }, { - "id": "tem_o4LBTt4NQyX8K4vC9dPafR", + "id": "tem_qarYST5TTE5pbMNB5NHZAj", "tenant": "auth0-deploy-cli-e2e", "channel": "phone", - "type": "otp_verify", + "type": "otp_enroll", "disabled": false, - "created_at": "2025-12-09T12:26:30.547Z", - "updated_at": "2026-01-29T08:16:39.493Z", + "created_at": "2025-12-09T12:26:25.327Z", + "updated_at": "2026-02-10T09:28:23.169Z", "content": { "syntax": "liquid", "body": { - "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}", + "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}. Please enter this code to verify your enrollment.", "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" } } }, { - "id": "tem_qarYST5TTE5pbMNB5NHZAj", + "id": "tem_dL83uTmWn8moGzm8UgAk4Q", "tenant": "auth0-deploy-cli-e2e", "channel": "phone", - "type": "otp_enroll", + "type": "blocked_account", "disabled": false, - "created_at": "2025-12-09T12:26:25.327Z", - "updated_at": "2026-01-29T08:16:39.523Z", + "created_at": "2025-12-09T12:22:47.683Z", + "updated_at": "2026-02-10T09:28:22.812Z", "content": { "syntax": "liquid", "body": { - "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}. Please enter this code to verify your enrollment.", - "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" - } + "text": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message.", + "voice": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message." + }, + "from": "0032232323" } } ] @@ -18708,7 +19121,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-email-verification/custom-text/en", + "path": "/api/v2/prompts/login-passwordless/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18718,7 +19131,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/custom-text/en", + "path": "/api/v2/prompts/login-email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18728,7 +19141,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-passwordless/custom-text/en", + "path": "/api/v2/prompts/signup/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18738,7 +19151,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-password/custom-text/en", + "path": "/api/v2/prompts/signup-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18748,7 +19161,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/custom-text/en", + "path": "/api/v2/prompts/signup-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18758,7 +19171,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/phone-identifier-challenge/custom-text/en", + "path": "/api/v2/prompts/phone-identifier-enrollment/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18768,7 +19181,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/reset-password/custom-text/en", + "path": "/api/v2/prompts/phone-identifier-challenge/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18788,7 +19201,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/custom-form/custom-text/en", + "path": "/api/v2/prompts/reset-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18798,7 +19211,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/consent/custom-text/en", + "path": "/api/v2/prompts/custom-form/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18808,7 +19221,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/logout/custom-text/en", + "path": "/api/v2/prompts/customized-consent/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18818,7 +19231,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/customized-consent/custom-text/en", + "path": "/api/v2/prompts/consent/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18828,7 +19241,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-push/custom-text/en", + "path": "/api/v2/prompts/logout/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18838,7 +19251,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-otp/custom-text/en", + "path": "/api/v2/prompts/mfa-push/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18848,7 +19261,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-phone/custom-text/en", + "path": "/api/v2/prompts/mfa-otp/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18868,7 +19281,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-webauthn/custom-text/en", + "path": "/api/v2/prompts/mfa-phone/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18878,7 +19291,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-sms/custom-text/en", + "path": "/api/v2/prompts/mfa-webauthn/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18888,7 +19301,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/phone-identifier-enrollment/custom-text/en", + "path": "/api/v2/prompts/mfa-sms/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18908,7 +19321,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa/custom-text/en", + "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18918,7 +19331,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", + "path": "/api/v2/prompts/mfa/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18938,7 +19351,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-verification/custom-text/en", + "path": "/api/v2/prompts/device-flow/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18958,7 +19371,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/device-flow/custom-text/en", + "path": "/api/v2/prompts/email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18988,7 +19401,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/captcha/custom-text/en", + "path": "/api/v2/prompts/common/custom-text/en", "body": "", "status": 200, "response": {}, @@ -18998,7 +19411,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/common/custom-text/en", + "path": "/api/v2/prompts/captcha/custom-text/en", "body": "", "status": 200, "response": {}, @@ -19008,7 +19421,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/brute-force-protection/custom-text/en", + "path": "/api/v2/prompts/passkeys/custom-text/en", "body": "", "status": 200, "response": {}, @@ -19018,7 +19431,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/passkeys/custom-text/en", + "path": "/api/v2/prompts/brute-force-protection/custom-text/en", "body": "", "status": 200, "response": {}, @@ -19028,7 +19441,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/partials", + "path": "/api/v2/prompts/login-id/partials", "body": "", "status": 200, "response": {}, @@ -19038,7 +19451,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/partials", + "path": "/api/v2/prompts/login-password/partials", "body": "", "status": 200, "response": {}, @@ -19048,7 +19461,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/partials", + "path": "/api/v2/prompts/login/partials", "body": "", "status": 200, "response": {}, @@ -19058,7 +19471,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/partials", + "path": "/api/v2/prompts/login-passwordless/partials", "body": "", "status": 200, "response": {}, @@ -19068,7 +19481,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/partials", + "path": "/api/v2/prompts/signup/partials", "body": "", "status": 200, "response": {}, @@ -19078,7 +19491,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-passwordless/partials", + "path": "/api/v2/prompts/signup-id/partials", "body": "", "status": 200, "response": {}, @@ -19119,7 +19532,7 @@ "response": { "actions": [ { - "id": "de79b7e4-3d92-4f84-b215-ed506bdac09d", + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", "name": "My Custom Action", "supported_triggers": [ { @@ -19127,34 +19540,34 @@ "version": "v2" } ], - "created_at": "2026-01-29T08:22:57.593938583Z", - "updated_at": "2026-01-29T08:22:57.600269544Z", + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:06:13.458251716Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node18", "status": "built", "secrets": [], "current_version": { - "id": "9c396565-368c-4901-b718-b28d07bbfae1", + "id": "d1913639-6a19-44aa-a614-2552a581df2f", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node18", "status": "BUILT", "number": 1, - "build_time": "2026-01-29T08:22:58.678829844Z", - "created_at": "2026-01-29T08:22:58.612060855Z", - "updated_at": "2026-01-29T08:22:58.679766962Z" + "build_time": "2026-02-12T11:06:14.290933675Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "9c396565-368c-4901-b718-b28d07bbfae1", + "id": "d1913639-6a19-44aa-a614-2552a581df2f", "deployed": true, "number": 1, - "built_at": "2026-01-29T08:22:58.678829844Z", + "built_at": "2026-02-12T11:06:14.290933675Z", "secrets": [], "status": "built", - "created_at": "2026-01-29T08:22:58.612060855Z", - "updated_at": "2026-01-29T08:22:58.679766962Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z", "runtime": "node18", "supported_triggers": [ { @@ -19180,23 +19593,6 @@ "status": 200, "response": { "triggers": [ - { - "id": "post-login", - "version": "v3", - "status": "CURRENT", - "runtimes": [ - "node18-actions", - "node22" - ], - "default_runtime": "node22", - "binding_policy": "trigger-bound", - "compatible_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] - }, { "id": "post-login", "version": "v2", @@ -19221,15 +19617,21 @@ "compatible_triggers": [] }, { - "id": "credentials-exchange", - "version": "v1", - "status": "DEPRECATED", + "id": "post-login", + "version": "v3", + "status": "CURRENT", "runtimes": [ + "node18-actions", "node22" ], - "default_runtime": "node12", + "default_runtime": "node22", "binding_policy": "trigger-bound", - "compatible_triggers": [] + "compatible_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] }, { "id": "credentials-exchange", @@ -19243,26 +19645,37 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, + { + "id": "credentials-exchange", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node22" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, { "id": "pre-user-registration", - "version": "v2", - "status": "CURRENT", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node18-actions", "node22" ], - "default_runtime": "node22", + "default_runtime": "node12", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { "id": "pre-user-registration", - "version": "v1", - "status": "DEPRECATED", + "version": "v2", + "status": "CURRENT", "runtimes": [ + "node18-actions", "node22" ], - "default_runtime": "node12", + "default_runtime": "node22", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -19314,24 +19727,24 @@ }, { "id": "send-phone-message", - "version": "v2", - "status": "CURRENT", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node18-actions", "node22" ], - "default_runtime": "node22", + "default_runtime": "node12", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { "id": "send-phone-message", - "version": "v1", - "status": "DEPRECATED", + "version": "v2", + "status": "CURRENT", "runtimes": [ + "node18-actions", "node22" ], - "default_runtime": "node12", + "default_runtime": "node22", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -19590,6 +20003,35 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations?take=50", + "body": "", + "status": 200, + "response": { + "organizations": [ + { + "id": "org_LNp0DTmiD80b8scl", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_b624ufp3gFH2qgUc", + "name": "org2", + "display_name": "Organization2" + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -19683,7 +20125,7 @@ "subject": "deprecated" } ], - "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -19736,7 +20178,7 @@ "subject": "deprecated" } ], - "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", + "client_id": "sPDTtdLRMj2jpaFlsxTBrIwEjJZVq8fF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -19791,7 +20233,7 @@ } ], "allowed_origins": [], - "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "client_id": "HWCESYt02wdq5klo9idda5UuNqLyvRiE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -19840,7 +20282,7 @@ "subject": "deprecated" } ], - "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", + "client_id": "Q0kQl6lTzcNdIcuznko5pHOR1SdcT7rX", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -19881,7 +20323,7 @@ "subject": "deprecated" } ], - "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", + "client_id": "gc9PV4puvCCshMKlRKjnkuLyvcR3wKdQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -19934,7 +20376,7 @@ "subject": "deprecated" } ], - "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", + "client_id": "7YB9tqA7UDJs1HY5R4q0tahqZOZhQQvY", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -19956,14 +20398,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "auth0-deploy-cli-extension", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -19977,13 +20414,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -19994,7 +20431,7 @@ "subject": "deprecated" } ], - "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", + "client_id": "z5wD0UmHH6y35tVhvy92pKVzg4M5PzWw", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -20003,15 +20440,10 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -20019,9 +20451,14 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, @@ -20035,13 +20472,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -20052,7 +20489,7 @@ "subject": "deprecated" } ], - "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "client_id": "WrUngkPkh43jz6ldkUFgzj79b8UWHUAZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -20061,10 +20498,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -20113,36 +20555,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?take=50", - "body": "", - "status": 200, - "response": { - "organizations": [ - { - "id": "org_xWa07kdbbwu2lRcF", - "name": "org1", - "display_name": "Organization", - "branding": { - "colors": { - "page_background": "#fff5f5", - "primary": "#57ddff" - } - } - }, - { - "id": "org_gDr714haDt65Zd3H", - "name": "org2", - "display_name": "Organization2" - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_xWa07kdbbwu2lRcF/enabled_connections?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_LNp0DTmiD80b8scl/enabled_connections?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -20157,7 +20570,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_xWa07kdbbwu2lRcF/client-grants?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_LNp0DTmiD80b8scl/client-grants?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -20172,7 +20585,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_xWa07kdbbwu2lRcF/discovery-domains?take=50", + "path": "/api/v2/organizations/org_LNp0DTmiD80b8scl/discovery-domains?take=50", "body": "", "status": 200, "response": { @@ -20184,7 +20597,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_gDr714haDt65Zd3H/enabled_connections?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_b624ufp3gFH2qgUc/enabled_connections?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -20199,7 +20612,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_gDr714haDt65Zd3H/client-grants?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_b624ufp3gFH2qgUc/client-grants?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -20214,7 +20627,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_gDr714haDt65Zd3H/discovery-domains?take=50", + "path": "/api/v2/organizations/org_b624ufp3gFH2qgUc/discovery-domains?take=50", "body": "", "status": 200, "response": { @@ -20246,6 +20659,25 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": "", + "status": 200, + "response": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -20277,42 +20709,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/attack-protection/brute-force-protection", - "body": "", - "status": 200, - "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/attack-protection/bot-detection", - "body": "", - "status": 200, - "response": { - "challenge_password_policy": "never", - "challenge_passwordless_policy": "never", - "challenge_password_reset_policy": "never", - "allowlist": [], - "bot_detection_level": "medium", - "monitoring_mode_enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -20348,6 +20744,23 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/attack-protection/bot-detection", + "body": "", + "status": 200, + "response": { + "challenge_password_policy": "never", + "challenge_passwordless_policy": "never", + "challenge_password_reset_policy": "never", + "allowlist": [], + "bot_detection_level": "medium", + "monitoring_mode_enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -20380,7 +20793,7 @@ "status": 200, "response": [ { - "id": "lst_0000000000026038", + "id": "lst_0000000000026529", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", @@ -20391,14 +20804,14 @@ "isPriority": false }, { - "id": "lst_0000000000026039", + "id": "lst_0000000000026530", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-988b6f71-63f1-41c3-9367-a83c0be14ece/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-c4d4f85f-7908-4d9c-8b6e-e4831576de81/auth0.logs" }, "filters": [ { @@ -20472,22 +20885,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/forms?page=0&per_page=100&include_totals=true", + "path": "/api/v2/flows?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { "limit": 100, "start": 0, - "total": 1, - "forms": [ - { - "id": "ap_6JUSCU7qq1CravnoU6d6jr", - "name": "Blank-form", - "flow_count": 0, - "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2026-01-29T08:23:25.494Z" - } - ] + "total": 0, + "flows": [] }, "rawHeaders": [], "responseIsBinary": false @@ -20495,14 +20900,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/flows?page=0&per_page=100&include_totals=true", + "path": "/api/v2/forms?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { "limit": 100, "start": 0, - "total": 0, - "flows": [] + "total": 1, + "forms": [ + { + "id": "ap_6JUSCU7qq1CravnoU6d6jr", + "name": "Blank-form", + "flow_count": 0, + "created_at": "2024-11-26T11:58:18.187Z", + "updated_at": "2026-02-12T11:06:36.052Z" + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -20571,7 +20984,7 @@ } }, "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2026-01-29T08:23:25.494Z" + "updated_at": "2026-02-12T11:06:36.052Z" }, "rawHeaders": [], "responseIsBinary": false @@ -20579,14 +20992,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/flows?page=0&per_page=100&include_totals=true", + "path": "/api/v2/flows/vault/connections?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { - "limit": 100, + "limit": 50, "start": 0, "total": 0, - "flows": [] + "connections": [] }, "rawHeaders": [], "responseIsBinary": false @@ -20594,14 +21007,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/flows/vault/connections?page=0&per_page=50&include_totals=true", + "path": "/api/v2/flows?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "limit": 50, + "limit": 100, "start": 0, "total": 0, - "connections": [] + "flows": [] }, "rawHeaders": [], "responseIsBinary": false @@ -20650,7 +21063,7 @@ "okta" ], "created_at": "2024-11-26T11:58:18.962Z", - "updated_at": "2026-01-29T08:23:17.397Z", + "updated_at": "2026-02-12T11:06:28.894Z", "branding": { "colors": { "primary": "#19aecc" @@ -20702,7 +21115,7 @@ } }, "created_at": "2026-01-29T08:17:51.522Z", - "updated_at": "2026-01-29T08:23:00.514Z", + "updated_at": "2026-02-12T11:06:15.436Z", "id": "acl_5EgHsY1h2Apnv4cvsM6Q9J" } ] @@ -20798,7 +21211,7 @@ "response": { "actions": [ { - "id": "de79b7e4-3d92-4f84-b215-ed506bdac09d", + "id": "15a1b773-dd11-469d-87ba-237b0bc6517c", "name": "My Custom Action", "supported_triggers": [ { @@ -20806,34 +21219,34 @@ "version": "v2" } ], - "created_at": "2026-01-29T08:22:57.593938583Z", - "updated_at": "2026-01-29T08:22:57.600269544Z", + "created_at": "2026-02-12T11:06:13.443266687Z", + "updated_at": "2026-02-12T11:06:13.458251716Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node18", "status": "built", "secrets": [], "current_version": { - "id": "9c396565-368c-4901-b718-b28d07bbfae1", + "id": "d1913639-6a19-44aa-a614-2552a581df2f", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node18", "status": "BUILT", "number": 1, - "build_time": "2026-01-29T08:22:58.678829844Z", - "created_at": "2026-01-29T08:22:58.612060855Z", - "updated_at": "2026-01-29T08:22:58.679766962Z" + "build_time": "2026-02-12T11:06:14.290933675Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "9c396565-368c-4901-b718-b28d07bbfae1", + "id": "d1913639-6a19-44aa-a614-2552a581df2f", "deployed": true, "number": 1, - "built_at": "2026-01-29T08:22:58.678829844Z", + "built_at": "2026-02-12T11:06:14.290933675Z", "secrets": [], "status": "built", - "created_at": "2026-01-29T08:22:58.612060855Z", - "updated_at": "2026-01-29T08:22:58.679766962Z", + "created_at": "2026-02-12T11:06:14.207292210Z", + "updated_at": "2026-02-12T11:06:14.292137049Z", "runtime": "node18", "supported_triggers": [ { diff --git a/test/e2e/recordings/should-deploy-without-throwing-an-error.json b/test/e2e/recordings/should-deploy-without-throwing-an-error.json index 0dad11f6..91318aea 100644 --- a/test/e2e/recordings/should-deploy-without-throwing-an-error.json +++ b/test/e2e/recordings/should-deploy-without-throwing-an-error.json @@ -628,6 +628,22 @@ "description": "Delete SCIM token", "value": "delete:scim_token" }, + { + "description": "Read directory provisioning configurations", + "value": "read:directory_provisionings" + }, + { + "description": "Create directory provisioning configurations", + "value": "create:directory_provisionings" + }, + { + "description": "Update directory provisioning configurations", + "value": "update:directory_provisionings" + }, + { + "description": "Delete directory provisioning configurations", + "value": "delete:directory_provisionings" + }, { "description": "Delete a Phone Notification Provider", "value": "delete:phone_providers" @@ -989,16 +1005,16 @@ "value": "delete:token_exchange_profiles" }, { - "value": "read:organization_client_grants", - "description": "Read Organization Client Grants" + "description": "Read Organization Client Grants", + "value": "read:organization_client_grants" }, { - "value": "create:organization_client_grants", - "description": "Create Organization Client Grants" + "description": "Create Organization Client Grants", + "value": "create:organization_client_grants" }, { - "value": "delete:organization_client_grants", - "description": "Delete Organization Client Grants" + "description": "Delete Organization Client Grants", + "value": "delete:organization_client_grants" }, { "value": "read:security_metrics", @@ -1015,22 +1031,6 @@ { "value": "create:connections_keys", "description": "Create connection keys" - }, - { - "value": "create:directory_provisionings", - "description": "Create Directory Provisionings" - }, - { - "value": "read:directory_provisionings", - "description": "Read Directory Provisionings" - }, - { - "value": "update:directory_provisionings", - "description": "Update Directory Provisionings" - }, - { - "value": "delete:directory_provisionings", - "description": "Delete Directory Provisionings" } ], "is_system": true @@ -1047,7 +1047,7 @@ "body": "", "status": 200, "response": { - "total": 9, + "total": 2, "start": 0, "limit": 100, "clients": [ @@ -1133,115 +1133,7 @@ "subject": "deprecated" } ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1249,342 +1141,81 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", "grant_types": [ "authorization_code", "implicit", "refresh_token", "client_credentials" ], - "web_origins": [], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", - "body": { - "name": "Default App", - "callbacks": [], - "cross_origin_authentication": false, - "custom_login_page_on": true, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000 - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false - }, - "status": 200, - "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", + "body": { + "name": "Default App", + "callbacks": [], + "cross_origin_authentication": false, + "custom_login_page_on": true, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000 + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_authentication": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_auth": false, + "signing_keys": [ { "cert": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1620,7 +1251,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -1634,7 +1265,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -1648,7 +1279,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -1662,7 +1293,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -1676,7 +1307,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/push-notification", "body": { "enabled": false }, @@ -1690,7 +1321,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -1704,7 +1335,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -1775,56 +1406,7 @@ "body": "", "status": 200, "response": { - "actions": [ - { - "id": "6cdf1896-7209-4560-a805-476b21c72654", - "name": "My Custom Action", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ], - "created_at": "2025-12-22T11:19:23.989403751Z", - "updated_at": "2025-12-22T11:19:24.001954258Z", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node18", - "status": "built", - "secrets": [], - "current_version": { - "id": "09c84305-99b3-4ea0-ab52-e29a4da70640", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node18", - "status": "BUILT", - "number": 1, - "build_time": "2025-12-22T11:19:24.946586480Z", - "created_at": "2025-12-22T11:19:24.882146412Z", - "updated_at": "2025-12-22T11:19:24.947065302Z" - }, - "deployed_version": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "09c84305-99b3-4ea0-ab52-e29a4da70640", - "deployed": true, - "number": 1, - "built_at": "2025-12-22T11:19:24.946586480Z", - "secrets": [], - "status": "built", - "created_at": "2025-12-22T11:19:24.882146412Z", - "updated_at": "2025-12-22T11:19:24.947065302Z", - "runtime": "node18", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] - }, - "all_changes_deployed": true - } - ], - "total": 1, + "actions": [], "per_page": 100 }, "rawHeaders": [], @@ -1837,56 +1419,7 @@ "body": "", "status": 200, "response": { - "actions": [ - { - "id": "6cdf1896-7209-4560-a805-476b21c72654", - "name": "My Custom Action", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ], - "created_at": "2025-12-22T11:19:23.989403751Z", - "updated_at": "2025-12-22T11:19:24.001954258Z", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node18", - "status": "built", - "secrets": [], - "current_version": { - "id": "09c84305-99b3-4ea0-ab52-e29a4da70640", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node18", - "status": "BUILT", - "number": 1, - "build_time": "2025-12-22T11:19:24.946586480Z", - "created_at": "2025-12-22T11:19:24.882146412Z", - "updated_at": "2025-12-22T11:19:24.947065302Z" - }, - "deployed_version": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "09c84305-99b3-4ea0-ab52-e29a4da70640", - "deployed": true, - "number": 1, - "built_at": "2025-12-22T11:19:24.946586480Z", - "secrets": [], - "status": "built", - "created_at": "2025-12-22T11:19:24.882146412Z", - "updated_at": "2025-12-22T11:19:24.947065302Z", - "runtime": "node18", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] - }, - "all_changes_deployed": true - } - ], - "total": 1, + "actions": [], "per_page": 100 }, "rawHeaders": [], @@ -1895,47 +1428,27 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "path": "/api/v2/attack-protection/brute-force-protection", "body": { "enabled": true, "shields": [ - "admin_notification", - "block" + "block", + "user_notification" ], + "mode": "count_per_identifier_and_ip", "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } + "max_attempts": 10 }, "status": 200, "response": { "enabled": true, "shields": [ - "admin_notification", - "block" + "block", + "user_notification" ], + "mode": "count_per_identifier_and_ip", "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - }, - "pre-custom-token-exchange": { - "max_attempts": 10, - "rate": 600000 - } - } + "max_attempts": 10 }, "rawHeaders": [], "responseIsBinary": false @@ -1971,27 +1484,47 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", "body": { "enabled": true, "shields": [ - "block", - "user_notification" + "admin_notification", + "block" ], - "mode": "count_per_identifier_and_ip", "allowlist": [], - "max_attempts": 10 + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } }, "status": 200, "response": { "enabled": true, "shields": [ - "block", - "user_notification" + "admin_notification", + "block" ], - "mode": "count_per_identifier_and_ip", "allowlist": [], - "max_attempts": 10 + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + }, + "pre-custom-token-exchange": { + "max_attempts": 10, + "rate": 600000 + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -2006,6 +1539,76 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [], + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?take=50&strategy=auth0", + "body": "", + "status": 200, + "response": { + "connections": [ + { + "id": "con_HWfhKNZplN4EmRoh", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "disable_self_service_change_password": false + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "authentication": { + "active": true + }, + "connected_accounts": { + "active": false + }, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2013,7 +1616,7 @@ "body": "", "status": 200, "response": { - "total": 10, + "total": 3, "start": 0, "limit": 100, "clients": [ @@ -2099,7 +1702,7 @@ "subject": "deprecated" } ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2117,34 +1720,30 @@ }, { "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], + "global": true, "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, + "name": "All Applications", "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, - "sso_disabled": false, - "cross_origin_auth": false, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819", + "mr|google-oauth2|112839029247827700155", + "mr|samlp|okta|ewan.harris@auth0.com" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -2152,92 +1751,283 @@ "subject": "deprecated" } ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "callback_url_template": false, + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], "custom_login_page_on": true - }, + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?take=50&strategy=auth0", + "body": "", + "status": 200, + "response": { + "connections": [ { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false + "id": "con_HWfhKNZplN4EmRoh", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - "facebook": { - "enabled": false - } + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "disable_self_service_change_password": false }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "authentication": { + "active": true }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "connected_accounts": { + "active": false }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" + "realms": [ + "Username-Password-Authentication" ], - "web_origins": [], - "custom_login_page_on": true + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [], + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections/con_HWfhKNZplN4EmRoh/clients?take=50", + "body": "", + "status": 200, + "response": { + "clients": [ + { + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" + }, + { + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections/con_HWfhKNZplN4EmRoh", + "body": "", + "status": 200, + "response": { + "id": "con_HWfhKNZplN4EmRoh", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "disable_self_service_change_password": false + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "authentication": { + "active": true + }, + "connected_accounts": { + "active": false + }, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" + ], + "realms": [ + "Username-Password-Authentication" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/connections/con_HWfhKNZplN4EmRoh", + "body": { + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" + ], + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "disable_self_service_change_password": false + } + }, + "status": 200, + "response": { + "id": "con_HWfhKNZplN4EmRoh", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } }, + "brute_force_protection": true, + "disable_self_service_change_password": false + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "authentication": { + "active": true + }, + "connected_accounts": { + "active": false + }, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" + ], + "realms": [ + "Username-Password-Authentication" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/connections/con_HWfhKNZplN4EmRoh/clients", + "body": [ + { + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "status": true + }, + { + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", + "status": true + } + ], + "status": 204, + "response": "", + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "clients": [ { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, + "name": "Deploy CLI", "is_first_party": true, "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -2247,8 +2037,17 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso_disabled": false, - "cross_origin_auth": false, + "cross_origin_authentication": false, + "allowed_clients": [], + "callbacks": [], + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "signing_keys": [ { "cert": "[REDACTED]", @@ -2256,7 +2055,7 @@ "subject": "deprecated" } ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2264,10 +2063,14 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ - "client_credentials" + "client_credentials", + "implicit", + "authorization_code", + "refresh_token" ], "custom_login_page_on": true }, @@ -2275,7 +2078,8 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Default App", + "callbacks": [], "cross_origin_authentication": false, "is_first_party": true, "oidc_conformant": true, @@ -2284,8 +2088,8 @@ "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -2297,7 +2101,7 @@ "subject": "deprecated" } ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2305,191 +2109,20 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], + "global": true, "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", + "name": "All Applications", "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -2529,64 +2162,40 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?take=50&strategy=auth0", + "path": "/api/v2/connections?take=50", "body": "", "status": 200, "response": { "connections": [ { - "id": "con_i7HUXAErZAALFghC", + "id": "con_HWfhKNZplN4EmRoh", "options": { "mfa": { "active": true, "return_enroll_settings": true }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", + "passwordPolicy": "good", "passkey_options": { "challenge_ui": "both", "local_enrollment_enabled": true, "progressive_enrollment_enabled": true }, - "password_history": { - "size": 5, - "enable": false - }, "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, "authentication_methods": { "passkey": { "enabled": false }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true + "disable_self_service_change_password": false }, "strategy": "auth0", - "name": "boo-baz-db-connection-test", + "name": "Username-Password-Authentication", "is_domain_connection": false, "authentication": { "active": true @@ -2595,15 +2204,43 @@ "active": false }, "realms": [ - "boo-baz-db-connection-test" + "Username-Password-Authentication" ], "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" ] - }, + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections-directory-provisionings?take=50", + "body": "", + "status": 403, + "response": { + "statusCode": 403, + "error": "Forbidden", + "message": "Insufficient scope, expected any of: read:directory_provisionings", + "errorCode": "insufficient_scope" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?take=50", + "body": "", + "status": 200, + "response": { + "connections": [ { - "id": "con_2rOPbLt331fHmJcF", + "id": "con_HWfhKNZplN4EmRoh", "options": { "mfa": { "active": true, @@ -2622,10 +2259,12 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, - "brute_force_protection": true + "brute_force_protection": true, + "disable_self_service_change_password": false }, "strategy": "auth0", "name": "Username-Password-Authentication", @@ -2641,7 +2280,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" ] } ] @@ -2649,67 +2288,78 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "POST", + "path": "/api/v2/connections", + "body": { + "name": "google-oauth2", + "strategy": "google-oauth2", + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" + ], + "is_domain_connection": false, + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + } + }, + "status": 201, + "response": { + "id": "con_ttBywYyXWa3lGzRc", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "authentication": { + "active": true + }, + "connected_accounts": { + "active": false + }, + "enabled_clients": [ + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ], + "realms": [ + "google-oauth2" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?take=50&strategy=auth0", + "path": "/api/v2/connections?take=1&name=google-oauth2&include_fields=true", "body": "", "status": 200, "response": { "connections": [ { - "id": "con_i7HUXAErZAALFghC", + "id": "con_ttBywYyXWa3lGzRc", "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", + "strategy": "google-oauth2", + "name": "google-oauth2", "is_domain_connection": false, "authentication": { "active": true @@ -2718,245 +2368,29 @@ "active": false }, "realms": [ - "boo-baz-db-connection-test" + "google-oauth2" ], "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] - }, - { - "id": "con_2rOPbLt331fHmJcF", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_i7HUXAErZAALFghC/clients?take=50", - "body": "", - "status": 200, - "response": { - "clients": [ - { - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8" - }, - { - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_2rOPbLt331fHmJcF/clients?take=50", - "body": "", - "status": 200, - "response": { - "clients": [ - { - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - }, - { - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" } ] }, "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_2rOPbLt331fHmJcF", - "body": "", - "status": 200, - "response": { - "id": "con_2rOPbLt331fHmJcF", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ], - "realms": [ - "Username-Password-Authentication" - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/connections/con_2rOPbLt331fHmJcF", - "body": { - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ], - "is_domain_connection": false, - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "disable_self_service_change_password": false - }, - "realms": [ - "Username-Password-Authentication" - ] - }, - "status": 200, - "response": { - "id": "con_2rOPbLt331fHmJcF", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ], - "realms": [ - "Username-Password-Authentication" - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_2rOPbLt331fHmJcF/clients", + "path": "/api/v2/connections/con_ttBywYyXWa3lGzRc/clients", "body": [ { "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "status": true }, { - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "status": true } ], @@ -2965,6 +2399,21 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/emails/provider?fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address&include_fields=true", + "body": "", + "status": 200, + "response": { + "name": "mandrill", + "credentials": {}, + "default_from_address": "auth0-user@auth0.com", + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2972,7 +2421,7 @@ "body": "", "status": 200, "response": { - "total": 10, + "total": 3, "start": 0, "limit": 100, "clients": [ @@ -3058,7 +2507,7 @@ "subject": "deprecated" } ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3076,34 +2525,30 @@ }, { "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], + "global": true, "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, + "name": "All Applications", "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, - "sso_disabled": false, - "cross_origin_auth": false, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819", + "mr|google-oauth2|112839029247827700155", + "mr|samlp|okta|ewan.harris@auth0.com" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -3111,2708 +2556,9 @@ "subject": "deprecated" } ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "callback_url_template": false, + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "web_origins": [], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819", - "mr|google-oauth2|112839029247827700155", - "mr|samlp|okta|ewan.harris@auth0.com" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?take=50", - "body": "", - "status": 200, - "response": { - "connections": [ - { - "id": "con_i7HUXAErZAALFghC", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" - ] - }, - { - "id": "con_5PfCFRgL3RkxrwYu", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "google-oauth2" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - }, - { - "id": "con_2rOPbLt331fHmJcF", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?take=50", - "body": "", - "status": 200, - "response": { - "connections": [ - { - "id": "con_i7HUXAErZAALFghC", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" - ] - }, - { - "id": "con_5PfCFRgL3RkxrwYu", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "google-oauth2" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - }, - { - "id": "con_2rOPbLt331fHmJcF", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_5PfCFRgL3RkxrwYu/clients?take=50", - "body": "", - "status": 200, - "response": { - "clients": [ - { - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - }, - { - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/connections/con_5PfCFRgL3RkxrwYu", - "body": { - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ], - "is_domain_connection": false, - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - } - }, - "status": 200, - "response": { - "id": "con_5PfCFRgL3RkxrwYu", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ], - "realms": [ - "google-oauth2" - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/connections/con_5PfCFRgL3RkxrwYu/clients", - "body": [ - { - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "status": true - }, - { - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", - "status": true - } - ], - "status": 204, - "response": "", - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/emails/provider?fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address&include_fields=true", - "body": "", - "status": 200, - "response": { - "name": "mandrill", - "credentials": {}, - "default_from_address": "auth0-user@auth0.com", - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 10, - "start": 0, - "limit": 100, - "clients": [ - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": false, - "allowed_clients": [], - "callbacks": [], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials", - "implicit", - "authorization_code", - "refresh_token" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "web_origins": [], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819", - "mr|google-oauth2|112839029247827700155", - "mr|samlp|okta|ewan.harris@auth0.com" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/client-grants?take=50", - "body": "", - "status": 200, - "response": { - "client_grants": [ - { - "id": "cgr_Rp8YDYtzbAoelua0", - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ], - "subject_type": "client" - }, - { - "id": "cgr_Z7oHNWCX7PzwXNP8", - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ], - "subject_type": "client" - }, - { - "id": "cgr_pbwejzhwoujrsNE8", - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:client_credentials", - "update:client_credentials", - "delete:client_credentials", - "create:client_credentials", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "read:organization_discovery_domains", - "update:organization_discovery_domains", - "create:organization_discovery_domains", - "delete:organization_discovery_domains", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:sessions", - "update:sessions", - "delete:sessions", - "read:refresh_tokens", - "update:refresh_tokens", - "delete:refresh_tokens", - "create:self_service_profiles", - "read:self_service_profiles", - "update:self_service_profiles", - "delete:self_service_profiles", - "create:sso_access_tickets", - "delete:sso_access_tickets", - "read:forms", - "update:forms", - "delete:forms", - "create:forms", - "read:flows", - "update:flows", - "delete:flows", - "create:flows", - "read:flows_vault", - "read:flows_vault_connections", - "update:flows_vault_connections", - "delete:flows_vault_connections", - "create:flows_vault_connections", - "read:flows_executions", - "delete:flows_executions", - "read:connections_options", - "update:connections_options", - "read:self_service_profile_custom_texts", - "update:self_service_profile_custom_texts", - "create:network_acls", - "update:network_acls", - "read:network_acls", - "delete:network_acls", - "delete:vdcs_templates", - "read:vdcs_templates", - "create:vdcs_templates", - "update:vdcs_templates", - "create:custom_signing_keys", - "read:custom_signing_keys", - "update:custom_signing_keys", - "delete:custom_signing_keys", - "read:federated_connections_tokens", - "delete:federated_connections_tokens", - "create:user_attribute_profiles", - "read:user_attribute_profiles", - "update:user_attribute_profiles", - "delete:user_attribute_profiles", - "read:event_streams", - "create:event_streams", - "delete:event_streams", - "update:event_streams", - "read:event_deliveries", - "update:event_deliveries", - "create:connection_profiles", - "read:connection_profiles", - "update:connection_profiles", - "delete:connection_profiles", - "read:organization_client_grants", - "create:organization_client_grants", - "delete:organization_client_grants", - "create:token_exchange_profiles", - "read:token_exchange_profiles", - "update:token_exchange_profiles", - "delete:token_exchange_profiles", - "read:security_metrics", - "read:connections_keys", - "update:connections_keys", - "create:connections_keys" - ], - "subject_type": "client" - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "roles": [ - { - "id": "rol_GuY3RUFXNV3Vw4s8", - "name": "Admin", - "description": "Can read and write things" - }, - { - "id": "rol_zeyP6bXU3wJ0PoZW", - "name": "Reader", - "description": "Can only read things" - }, - { - "id": "rol_QSF9Vg6MzQq4ECkD", - "name": "read_only", - "description": "Read Only" - }, - { - "id": "rol_rtEH3uIfRpFBeJbD", - "name": "read_osnly", - "description": "Readz Only" - } - ], - "start": 0, - "limit": 100, - "total": 4 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_GuY3RUFXNV3Vw4s8/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_zeyP6bXU3wJ0PoZW/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_QSF9Vg6MzQq4ECkD/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_rtEH3uIfRpFBeJbD/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 10, - "start": 0, - "limit": 100, - "clients": [ - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": false, - "allowed_clients": [], - "callbacks": [], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials", - "implicit", - "authorization_code", - "refresh_token" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "web_origins": [], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819", - "mr|google-oauth2|112839029247827700155", - "mr|samlp|okta|ewan.harris@auth0.com" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations?take=50", - "body": "", - "status": 200, - "response": { - "organizations": [ - { - "id": "org_dwsXwbutprxLQ7gl", - "name": "org2", - "display_name": "Organization2" - }, - { - "id": "org_k1k4elV3eYiPmJX0", - "name": "org1", - "display_name": "Organization", - "branding": { - "colors": { - "page_background": "#fff5f5", - "primary": "#57ddff" - } - } - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl/enabled_connections?page=0&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "enabled_connections": [], - "start": 0, - "limit": 0, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl/client-grants?page=0&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "client_grants": [], - "start": 0, - "limit": 50, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl/discovery-domains?take=50", - "body": "", - "status": 200, - "response": { - "domains": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0/enabled_connections?page=0&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "enabled_connections": [], - "start": 0, - "limit": 0, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0/client-grants?page=0&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "client_grants": [], - "start": 0, - "limit": 50, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0/discovery-domains?take=50", - "body": "", - "status": 200, - "response": { - "domains": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?take=50", - "body": "", - "status": 200, - "response": { - "connections": [ - { - "id": "con_i7HUXAErZAALFghC", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" - ] - }, - { - "id": "con_5PfCFRgL3RkxrwYu", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "google-oauth2" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - }, - { - "id": "con_2rOPbLt331fHmJcF", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] } ] }, @@ -5828,8 +2574,8 @@ "response": { "client_grants": [ { - "id": "cgr_Rp8YDYtzbAoelua0", - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", + "id": "cgr_pbwejzhwoujrsNE8", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5856,6 +2602,10 @@ "update:client_keys", "delete:client_keys", "create:client_keys", + "read:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "create:client_credentials", "read:connections", "update:connections", "delete:connections", @@ -5945,10 +2695,19 @@ "read:entitlements", "read:attack_protection", "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", "read:organizations", "update:organizations", "create:organizations", "delete:organizations", + "read:organization_discovery_domains", + "update:organization_discovery_domains", + "create:organization_discovery_domains", + "delete:organization_discovery_domains", "create:organization_members", "read:organization_members", "delete:organization_members", @@ -5961,148 +2720,374 @@ "delete:organization_member_roles", "create:organization_invitations", "read:organization_invitations", - "delete:organization_invitations" + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "update:sessions", + "delete:sessions", + "read:refresh_tokens", + "update:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "delete:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "create:network_acls", + "update:network_acls", + "read:network_acls", + "delete:network_acls", + "delete:vdcs_templates", + "read:vdcs_templates", + "create:vdcs_templates", + "update:vdcs_templates", + "create:custom_signing_keys", + "read:custom_signing_keys", + "update:custom_signing_keys", + "delete:custom_signing_keys", + "read:federated_connections_tokens", + "delete:federated_connections_tokens", + "create:user_attribute_profiles", + "read:user_attribute_profiles", + "update:user_attribute_profiles", + "delete:user_attribute_profiles", + "read:event_streams", + "create:event_streams", + "delete:event_streams", + "update:event_streams", + "read:event_deliveries", + "update:event_deliveries", + "create:connection_profiles", + "read:connection_profiles", + "update:connection_profiles", + "delete:connection_profiles", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants", + "create:token_exchange_profiles", + "read:token_exchange_profiles", + "update:token_exchange_profiles", + "delete:token_exchange_profiles", + "read:security_metrics", + "read:connections_keys", + "update:connections_keys", + "create:connections_keys" + ], + "subject_type": "client" + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "roles": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations?take=50", + "body": "", + "status": 200, + "response": { + "organizations": [] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": false, + "allowed_clients": [], + "callbacks": [], + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "subject_type": "client" + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials", + "implicit", + "authorization_code", + "refresh_token" + ], + "custom_login_page_on": true }, { - "id": "cgr_Z7oHNWCX7PzwXNP8", - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_authentication": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_auth": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819", + "mr|google-oauth2|112839029247827700155", + "mr|samlp|okta|ewan.harris@auth0.com" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?take=50", + "body": "", + "status": 200, + "response": { + "connections": [ + { + "id": "con_ttBywYyXWa3lGzRc", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "authentication": { + "active": true + }, + "connected_accounts": { + "active": false + }, + "realms": [ + "google-oauth2" ], - "subject_type": "client" + "enabled_clients": [ + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ] }, + { + "id": "con_HWfhKNZplN4EmRoh", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "disable_self_service_change_password": false + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "authentication": { + "active": true + }, + "connected_accounts": { + "active": false + }, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/client-grants?take=50", + "body": "", + "status": 200, + "response": { + "client_grants": [ { "id": "cgr_pbwejzhwoujrsNE8", "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", @@ -6311,275 +3296,63 @@ "update:vdcs_templates", "create:custom_signing_keys", "read:custom_signing_keys", - "update:custom_signing_keys", - "delete:custom_signing_keys", - "read:federated_connections_tokens", - "delete:federated_connections_tokens", - "create:user_attribute_profiles", - "read:user_attribute_profiles", - "update:user_attribute_profiles", - "delete:user_attribute_profiles", - "read:event_streams", - "create:event_streams", - "delete:event_streams", - "update:event_streams", - "read:event_deliveries", - "update:event_deliveries", - "create:connection_profiles", - "read:connection_profiles", - "update:connection_profiles", - "delete:connection_profiles", - "read:organization_client_grants", - "create:organization_client_grants", - "delete:organization_client_grants", - "create:token_exchange_profiles", - "read:token_exchange_profiles", - "update:token_exchange_profiles", - "delete:token_exchange_profiles", - "read:security_metrics", - "read:connections_keys", - "update:connections_keys", - "create:connections_keys" - ], - "subject_type": "client" - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 10, - "start": 0, - "limit": 100, - "clients": [ - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": false, - "allowed_clients": [], - "callbacks": [], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials", - "implicit", - "authorization_code", - "refresh_token" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" + "update:custom_signing_keys", + "delete:custom_signing_keys", + "read:federated_connections_tokens", + "delete:federated_connections_tokens", + "create:user_attribute_profiles", + "read:user_attribute_profiles", + "update:user_attribute_profiles", + "delete:user_attribute_profiles", + "read:event_streams", + "create:event_streams", + "delete:event_streams", + "update:event_streams", + "read:event_deliveries", + "update:event_deliveries", + "create:connection_profiles", + "read:connection_profiles", + "update:connection_profiles", + "delete:connection_profiles", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants", + "create:token_exchange_profiles", + "read:token_exchange_profiles", + "update:token_exchange_profiles", + "delete:token_exchange_profiles", + "read:security_metrics", + "read:connections_keys", + "update:connections_keys", + "create:connections_keys" ], - "custom_login_page_on": true - }, + "subject_type": "client" + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "clients": [ { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, + "name": "Deploy CLI", "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, "sso_disabled": false, "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "web_origins": [], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -6589,81 +3362,9 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", "allowed_clients": [], "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, "native_social_login": { "apple": { "enabled": false @@ -6672,19 +3373,6 @@ "enabled": false } }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -6692,7 +3380,7 @@ "subject": "deprecated" } ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6702,103 +3390,31 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", + "client_credentials", "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ "authorization_code", - "implicit", "refresh_token" ], - "web_origins": [ - "http://localhost:3000" - ], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], + "name": "Default App", "callbacks": [], - "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -6810,7 +3426,7 @@ "subject": "deprecated" } ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", + "client_id": "0Mf2v8jotGpD56f2Aov2HIq8qhSG18gx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6818,10 +3434,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -6874,19 +3490,7 @@ "path": "/api/v2/log-streams", "body": "", "status": 200, - "response": [ - { - "id": "lst_0000000000025632", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "suspended", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - } - ], + "response": [], "rawHeaders": [], "responseIsBinary": false }, diff --git a/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json b/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json index add61159..1cfc9bdd 100644 --- a/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json +++ b/test/e2e/recordings/should-dump-and-deploy-without-throwing-an-error.json @@ -793,6 +793,22 @@ "description": "Delete SCIM token", "value": "delete:scim_token" }, + { + "description": "Read directory provisioning configurations", + "value": "read:directory_provisionings" + }, + { + "description": "Create directory provisioning configurations", + "value": "create:directory_provisionings" + }, + { + "description": "Update directory provisioning configurations", + "value": "update:directory_provisionings" + }, + { + "description": "Delete directory provisioning configurations", + "value": "delete:directory_provisionings" + }, { "description": "Delete a Phone Notification Provider", "value": "delete:phone_providers" @@ -1154,16 +1170,16 @@ "value": "delete:token_exchange_profiles" }, { - "value": "read:organization_client_grants", - "description": "Read Organization Client Grants" + "description": "Read Organization Client Grants", + "value": "read:organization_client_grants" }, { - "value": "create:organization_client_grants", - "description": "Create Organization Client Grants" + "description": "Create Organization Client Grants", + "value": "create:organization_client_grants" }, { - "value": "delete:organization_client_grants", - "description": "Delete Organization Client Grants" + "description": "Delete Organization Client Grants", + "value": "delete:organization_client_grants" }, { "value": "read:security_metrics", @@ -1180,22 +1196,6 @@ { "value": "create:connections_keys", "description": "Create connection keys" - }, - { - "value": "create:directory_provisionings", - "description": "Create Directory Provisionings" - }, - { - "value": "read:directory_provisionings", - "description": "Read Directory Provisionings" - }, - { - "value": "update:directory_provisionings", - "description": "Update Directory Provisionings" - }, - { - "value": "delete:directory_provisionings", - "description": "Delete Directory Provisionings" } ], "is_system": true @@ -1212,7 +1212,7 @@ "body": "", "status": 200, "response": { - "total": 9, + "total": 2, "start": 0, "limit": 100, "clients": [ @@ -1298,7 +1298,7 @@ "subject": "deprecated" } ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1313,375 +1313,167 @@ "client_credentials" ], "custom_login_page_on": true - }, + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?take=50&strategy=auth0", + "body": "", + "status": 200, + "response": { + "connections": [ { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false + "id": "con_hs0JNGk6M5oYHR3T", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - "facebook": { - "enabled": false - } + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "disable_self_service_change_password": false }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "authentication": { + "active": true }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "connected_accounts": { + "active": false }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" + "realms": [ + "Username-Password-Authentication" ], - "custom_login_page_on": true + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [], + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections/con_hs0JNGk6M5oYHR3T/clients?take=50", + "body": "", + "status": 200, + "response": { + "clients": [ + { + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" }, { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections-directory-provisionings?take=50", + "body": "", + "status": 403, + "response": { + "statusCode": 403, + "error": "Forbidden", + "message": "Insufficient scope, expected any of: read:directory_provisionings", + "errorCode": "insufficient_scope" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?take=50", + "body": "", + "status": 200, + "response": { + "connections": [ + { + "id": "con_hs0JNGk6M5oYHR3T", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - "facebook": { - "enabled": false - } + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "disable_self_service_change_password": false }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "authentication": { + "active": true }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "connected_accounts": { + "active": false }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" + "realms": [ + "Username-Password-Authentication" ], - "web_origins": [], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" + ] } ] }, @@ -1691,339 +1483,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?take=50&strategy=auth0", - "body": "", - "status": 200, - "response": { - "connections": [ - { - "id": "con_i7HUXAErZAALFghC", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" - ] - }, - { - "id": "con_2rOPbLt331fHmJcF", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_i7HUXAErZAALFghC/clients?take=50", - "body": "", - "status": 200, - "response": { - "clients": [ - { - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8" - }, - { - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_2rOPbLt331fHmJcF/clients?take=50", - "body": "", - "status": 200, - "response": { - "clients": [ - { - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - }, - { - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?take=50", - "body": "", - "status": 200, - "response": { - "connections": [ - { - "id": "con_i7HUXAErZAALFghC", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" - ] - }, - { - "id": "con_5PfCFRgL3RkxrwYu", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "google-oauth2" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - }, - { - "id": "con_2rOPbLt331fHmJcF", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_5PfCFRgL3RkxrwYu/clients?take=50", - "body": "", - "status": 200, - "response": { - "clients": [ - { - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - }, - { - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/tenants/settings", + "path": "/api/v2/tenants/settings", "body": "", "status": 200, "response": { @@ -2107,21 +1567,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/email-templates/verify_email_by_code", - "body": "", - "status": 404, - "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2140,6 +1585,21 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/email-templates/verify_email_by_code", + "body": "", + "status": 404, + "response": { + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2162,7 +1622,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", "status": 404, "response": { @@ -2177,7 +1637,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/user_invitation", "body": "", "status": 404, "response": { @@ -2192,7 +1652,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/enrollment_email", + "path": "/api/v2/email-templates/change_password", "body": "", "status": 404, "response": { @@ -2207,7 +1667,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/email-templates/blocked_account", "body": "", "status": 404, "response": { @@ -2222,7 +1682,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email_by_code", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", "status": 404, "response": { @@ -2237,7 +1697,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/mfa_oob_code", + "path": "/api/v2/email-templates/reset_email_by_code", "body": "", "status": 404, "response": { @@ -2252,7 +1712,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/email-templates/enrollment_email", "body": "", "status": 404, "response": { @@ -2267,7 +1727,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/reset_email", "body": "", "status": 404, "response": { @@ -2297,7 +1757,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/password_reset", "body": "", "status": 404, "response": { @@ -2318,146 +1778,8 @@ "response": { "client_grants": [ { - "id": "cgr_Rp8YDYtzbAoelua0", - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ], - "subject_type": "client" - }, - { - "id": "cgr_Z7oHNWCX7PzwXNP8", - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", + "id": "cgr_pbwejzhwoujrsNE8", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -2484,6 +1806,10 @@ "update:client_keys", "delete:client_keys", "create:client_keys", + "read:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "create:client_credentials", "read:connections", "update:connections", "delete:connections", @@ -2573,10 +1899,19 @@ "read:entitlements", "read:attack_protection", "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", "read:organizations", "update:organizations", "create:organizations", "delete:organizations", + "read:organization_discovery_domains", + "update:organization_discovery_domains", + "create:organization_discovery_domains", + "delete:organization_discovery_domains", "create:organization_members", "read:organization_members", "delete:organization_members", @@ -2589,247 +1924,96 @@ "delete:organization_member_roles", "create:organization_invitations", "read:organization_invitations", - "delete:organization_invitations" - ], - "subject_type": "client" - }, - { - "id": "cgr_pbwejzhwoujrsNE8", - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:client_credentials", - "update:client_credentials", - "delete:client_credentials", - "create:client_credentials", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "read:organization_discovery_domains", - "update:organization_discovery_domains", - "create:organization_discovery_domains", - "delete:organization_discovery_domains", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:sessions", - "update:sessions", - "delete:sessions", - "read:refresh_tokens", - "update:refresh_tokens", - "delete:refresh_tokens", - "create:self_service_profiles", - "read:self_service_profiles", - "update:self_service_profiles", - "delete:self_service_profiles", - "create:sso_access_tickets", - "delete:sso_access_tickets", - "read:forms", - "update:forms", - "delete:forms", - "create:forms", - "read:flows", - "update:flows", - "delete:flows", - "create:flows", - "read:flows_vault", - "read:flows_vault_connections", - "update:flows_vault_connections", - "delete:flows_vault_connections", - "create:flows_vault_connections", - "read:flows_executions", - "delete:flows_executions", - "read:connections_options", - "update:connections_options", - "read:self_service_profile_custom_texts", - "update:self_service_profile_custom_texts", - "create:network_acls", - "update:network_acls", - "read:network_acls", - "delete:network_acls", - "delete:vdcs_templates", - "read:vdcs_templates", - "create:vdcs_templates", - "update:vdcs_templates", - "create:custom_signing_keys", - "read:custom_signing_keys", - "update:custom_signing_keys", - "delete:custom_signing_keys", - "read:federated_connections_tokens", - "delete:federated_connections_tokens", - "create:user_attribute_profiles", - "read:user_attribute_profiles", - "update:user_attribute_profiles", - "delete:user_attribute_profiles", - "read:event_streams", - "create:event_streams", - "delete:event_streams", - "update:event_streams", - "read:event_deliveries", - "update:event_deliveries", - "create:connection_profiles", - "read:connection_profiles", - "update:connection_profiles", - "delete:connection_profiles", - "read:organization_client_grants", - "create:organization_client_grants", - "delete:organization_client_grants", - "create:token_exchange_profiles", - "read:token_exchange_profiles", - "update:token_exchange_profiles", - "delete:token_exchange_profiles", - "read:security_metrics", - "read:connections_keys", - "update:connections_keys", - "create:connections_keys" + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "update:sessions", + "delete:sessions", + "read:refresh_tokens", + "update:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "delete:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "create:network_acls", + "update:network_acls", + "read:network_acls", + "delete:network_acls", + "delete:vdcs_templates", + "read:vdcs_templates", + "create:vdcs_templates", + "update:vdcs_templates", + "create:custom_signing_keys", + "read:custom_signing_keys", + "update:custom_signing_keys", + "delete:custom_signing_keys", + "read:federated_connections_tokens", + "delete:federated_connections_tokens", + "create:user_attribute_profiles", + "read:user_attribute_profiles", + "update:user_attribute_profiles", + "delete:user_attribute_profiles", + "read:event_streams", + "create:event_streams", + "delete:event_streams", + "update:event_streams", + "read:event_deliveries", + "update:event_deliveries", + "create:connection_profiles", + "read:connection_profiles", + "update:connection_profiles", + "delete:connection_profiles", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants", + "create:token_exchange_profiles", + "read:token_exchange_profiles", + "update:token_exchange_profiles", + "delete:token_exchange_profiles", + "read:security_metrics", + "read:connections_keys", + "update:connections_keys", + "create:connections_keys" ], "subject_type": "client" } @@ -2963,31 +2147,10 @@ "body": "", "status": 200, "response": { - "roles": [ - { - "id": "rol_GuY3RUFXNV3Vw4s8", - "name": "Admin", - "description": "Can read and write things" - }, - { - "id": "rol_zeyP6bXU3wJ0PoZW", - "name": "Reader", - "description": "Can only read things" - }, - { - "id": "rol_QSF9Vg6MzQq4ECkD", - "name": "read_only", - "description": "Read Only" - }, - { - "id": "rol_rtEH3uIfRpFBeJbD", - "name": "read_osnly", - "description": "Readz Only" - } - ], + "roles": [], "start": 0, "limit": 100, - "total": 4 + "total": 0 }, "rawHeaders": [], "responseIsBinary": false @@ -2995,14 +2158,15 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_GuY3RUFXNV3Vw4s8/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/branding", "body": "", "status": 200, "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 + "colors": { + "primary": "#F8F8F2", + "page_background": "#222221" + }, + "logo_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png" }, "rawHeaders": [], "responseIsBinary": false @@ -3010,78 +2174,17 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_zeyP6bXU3wJ0PoZW/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/custom-domains", "body": "", "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, + "response": [], "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_QSF9Vg6MzQq4ECkD/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_rtEH3uIfRpFBeJbD/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/branding", - "body": "", - "status": 200, - "response": { - "colors": { - "primary": "#F8F8F2", - "page_background": "#222221" - }, - "logo_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/custom-domains", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/branding/phone/providers", + "path": "/api/v2/branding/phone/providers", "body": "", "status": 200, "response": { @@ -3101,7 +2204,7 @@ }, "credentials": null, "created_at": "2025-12-09T12:24:00.604Z", - "updated_at": "2025-12-22T11:15:41.025Z" + "updated_at": "2026-02-10T09:28:21.012Z" } ] }, @@ -3123,7 +2226,7 @@ "type": "otp_verify", "disabled": false, "created_at": "2025-12-09T12:26:30.547Z", - "updated_at": "2025-12-22T11:15:43.286Z", + "updated_at": "2026-02-10T09:28:22.844Z", "content": { "syntax": "liquid", "body": { @@ -3133,20 +2236,19 @@ } }, { - "id": "tem_dL83uTmWn8moGzm8UgAk4Q", + "id": "tem_xqbUSF83fpnRv8r8rqXFDZ", "tenant": "auth0-deploy-cli-e2e", "channel": "phone", - "type": "blocked_account", + "type": "change_password", "disabled": false, - "created_at": "2025-12-09T12:22:47.683Z", - "updated_at": "2025-12-22T11:15:43.165Z", + "created_at": "2025-12-09T12:26:20.243Z", + "updated_at": "2026-02-10T09:28:22.857Z", "content": { "syntax": "liquid", "body": { - "text": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message.", - "voice": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message." - }, - "from": "0032232323" + "text": "{{ code | escape }} is your password change code for {{ friendly_name | escape }}", + "voice": "Hello. Your password change code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your password change code is {{ pause }} {{ code | escape }}" + } } }, { @@ -3156,7 +2258,7 @@ "type": "otp_enroll", "disabled": false, "created_at": "2025-12-09T12:26:25.327Z", - "updated_at": "2025-12-22T11:15:43.609Z", + "updated_at": "2026-02-10T09:28:23.169Z", "content": { "syntax": "liquid", "body": { @@ -3166,19 +2268,20 @@ } }, { - "id": "tem_xqbUSF83fpnRv8r8rqXFDZ", + "id": "tem_dL83uTmWn8moGzm8UgAk4Q", "tenant": "auth0-deploy-cli-e2e", "channel": "phone", - "type": "change_password", + "type": "blocked_account", "disabled": false, - "created_at": "2025-12-09T12:26:20.243Z", - "updated_at": "2025-12-22T11:15:43.231Z", + "created_at": "2025-12-09T12:22:47.683Z", + "updated_at": "2026-02-10T09:28:22.812Z", "content": { "syntax": "liquid", "body": { - "text": "{{ code | escape }} is your password change code for {{ friendly_name | escape }}", - "voice": "Hello. Your password change code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your password change code is {{ pause }} {{ code | escape }}" - } + "text": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message.", + "voice": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message." + }, + "from": "0032232323" } } ] @@ -3284,7 +2387,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/custom-text/en", + "path": "/api/v2/prompts/login-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3294,7 +2397,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/custom-text/en", + "path": "/api/v2/prompts/login-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3384,7 +2487,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/custom-form/custom-text/en", + "path": "/api/v2/prompts/reset-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3394,7 +2497,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/reset-password/custom-text/en", + "path": "/api/v2/prompts/custom-form/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3514,7 +2617,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/status/custom-text/en", + "path": "/api/v2/prompts/mfa/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3524,7 +2627,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa/custom-text/en", + "path": "/api/v2/prompts/status/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3544,7 +2647,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-otp-challenge/custom-text/en", + "path": "/api/v2/prompts/email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3554,7 +2657,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/organizations/custom-text/en", + "path": "/api/v2/prompts/email-otp-challenge/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3564,7 +2667,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-verification/custom-text/en", + "path": "/api/v2/prompts/organizations/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3584,7 +2687,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/captcha/custom-text/en", + "path": "/api/v2/prompts/common/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3594,7 +2697,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/common/custom-text/en", + "path": "/api/v2/prompts/captcha/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3624,7 +2727,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/partials", + "path": "/api/v2/prompts/login-password/partials", "body": "", "status": 200, "response": {}, @@ -3634,7 +2737,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/partials", + "path": "/api/v2/prompts/login-id/partials", "body": "", "status": 200, "response": {}, @@ -3644,7 +2747,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/partials", + "path": "/api/v2/prompts/login/partials", "body": "", "status": 200, "response": {}, @@ -3674,7 +2777,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-password/partials", + "path": "/api/v2/prompts/signup-id/partials", "body": "", "status": 200, "response": {}, @@ -3684,7 +2787,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/partials", + "path": "/api/v2/prompts/signup-password/partials", "body": "", "status": 200, "response": {}, @@ -3713,56 +2816,7 @@ "body": "", "status": 200, "response": { - "actions": [ - { - "id": "6cdf1896-7209-4560-a805-476b21c72654", - "name": "My Custom Action", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ], - "created_at": "2025-12-22T11:19:23.989403751Z", - "updated_at": "2025-12-22T11:19:24.001954258Z", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node18", - "status": "built", - "secrets": [], - "current_version": { - "id": "09c84305-99b3-4ea0-ab52-e29a4da70640", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node18", - "status": "BUILT", - "number": 1, - "build_time": "2025-12-22T11:19:24.946586480Z", - "created_at": "2025-12-22T11:19:24.882146412Z", - "updated_at": "2025-12-22T11:19:24.947065302Z" - }, - "deployed_version": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "09c84305-99b3-4ea0-ab52-e29a4da70640", - "deployed": true, - "number": 1, - "built_at": "2025-12-22T11:19:24.946586480Z", - "secrets": [], - "status": "built", - "created_at": "2025-12-22T11:19:24.882146412Z", - "updated_at": "2025-12-22T11:19:24.947065302Z", - "runtime": "node18", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] - }, - "all_changes_deployed": true - } - ], - "total": 1, + "actions": [], "per_page": 100 }, "rawHeaders": [], @@ -3776,17 +2830,6 @@ "status": 200, "response": { "triggers": [ - { - "id": "post-login", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node22" - ], - "default_runtime": "node12", - "binding_policy": "trigger-bound", - "compatible_triggers": [] - }, { "id": "post-login", "version": "v2", @@ -3817,14 +2860,13 @@ ] }, { - "id": "credentials-exchange", - "version": "v2", - "status": "CURRENT", + "id": "post-login", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node18-actions", "node22" ], - "default_runtime": "node22", + "default_runtime": "node12", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -3840,13 +2882,14 @@ "compatible_triggers": [] }, { - "id": "pre-user-registration", - "version": "v1", - "status": "DEPRECATED", + "id": "credentials-exchange", + "version": "v2", + "status": "CURRENT", "runtimes": [ + "node18-actions", "node22" ], - "default_runtime": "node12", + "default_runtime": "node22", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -3863,14 +2906,13 @@ "compatible_triggers": [] }, { - "id": "post-user-registration", - "version": "v2", - "status": "CURRENT", + "id": "pre-user-registration", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node18-actions", "node22" ], - "default_runtime": "node22", + "default_runtime": "node12", "binding_policy": "trigger-bound", "compatible_triggers": [] }, @@ -3885,6 +2927,18 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, + { + "id": "post-user-registration", + "version": "v2", + "status": "CURRENT", + "runtimes": [ + "node18-actions", + "node22" + ], + "default_runtime": "node22", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, { "id": "post-change-password", "version": "v2", @@ -4193,24 +3247,7 @@ "body": "", "status": 200, "response": { - "organizations": [ - { - "id": "org_dwsXwbutprxLQ7gl", - "name": "org2", - "display_name": "Organization2" - }, - { - "id": "org_k1k4elV3eYiPmJX0", - "name": "org1", - "display_name": "Organization", - "branding": { - "colors": { - "page_background": "#fff5f5", - "primary": "#57ddff" - } - } - } - ] + "organizations": [] }, "rawHeaders": [], "responseIsBinary": false @@ -4222,7 +3259,7 @@ "body": "", "status": 200, "response": { - "total": 10, + "total": 3, "start": 0, "limit": 100, "clients": [ @@ -4308,7 +3345,7 @@ "subject": "deprecated" } ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4326,34 +3363,30 @@ }, { "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], + "global": true, "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, + "name": "All Applications", "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, - "sso_disabled": false, - "cross_origin_auth": false, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819", + "mr|google-oauth2|112839029247827700155", + "mr|samlp|okta|ewan.harris@auth0.com" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -4361,460 +3394,65 @@ "subject": "deprecated" } ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "callback_url_template": false, + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/attack-protection/breached-password-detection", + "body": "", + "status": 200, + "response": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "web_origins": [], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true + "pre-change-password": { + "shields": [] + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "body": "", + "status": 200, + "response": { + "enabled": true, + "shields": [ + "admin_notification", + "block" + ], + "allowlist": [], + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819", - "mr|google-oauth2|112839029247827700155", - "mr|samlp|okta|ewan.harris@auth0.com" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true + "pre-custom-token-exchange": { + "max_attempts": 10, + "rate": 600000 } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl/enabled_connections?page=0&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "enabled_connections": [], - "start": 0, - "limit": 0, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl/client-grants?page=0&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "client_grants": [], - "start": 0, - "limit": 50, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl/discovery-domains?take=50", - "body": "", - "status": 200, - "response": { - "domains": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0/enabled_connections?page=0&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "enabled_connections": [], - "start": 0, - "limit": 0, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0/client-grants?page=0&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "client_grants": [], - "start": 0, - "limit": 50, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0/discovery-domains?take=50", - "body": "", - "status": 200, - "response": { - "domains": [] + } }, "rawHeaders": [], "responseIsBinary": false @@ -4838,60 +3476,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/attack-protection/breached-password-detection", - "body": "", - "status": 200, - "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - }, - "pre-change-password": { - "shields": [] - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", - "body": "", - "status": 200, - "response": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - }, - "pre-custom-token-exchange": { - "max_attempts": 10, - "rate": 600000 - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -4947,11 +3531,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/risk-assessments/settings", + "path": "/api/v2/risk-assessments/settings/new-device", "body": "", "status": 200, "response": { - "enabled": false + "remember_for": 30 }, "rawHeaders": [], "responseIsBinary": false @@ -4959,11 +3543,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/risk-assessments/settings/new-device", + "path": "/api/v2/risk-assessments/settings", "body": "", "status": 200, "response": { - "remember_for": 30 + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -4974,19 +3558,7 @@ "path": "/api/v2/log-streams", "body": "", "status": 200, - "response": [ - { - "id": "lst_0000000000025632", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "suspended", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - } - ], + "response": [], "rawHeaders": [], "responseIsBinary": false }, @@ -5018,22 +3590,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/forms?page=0&per_page=100&include_totals=true", + "path": "/api/v2/flows?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { "limit": 100, "start": 0, - "total": 1, - "forms": [ - { - "id": "ap_6JUSCU7qq1CravnoU6d6jr", - "name": "Blank-form", - "flow_count": 0, - "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2026-01-29T07:32:23.739Z" - } - ] + "total": 0, + "flows": [] }, "rawHeaders": [], "responseIsBinary": false @@ -5041,14 +3605,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/flows?page=0&per_page=100&include_totals=true", + "path": "/api/v2/forms?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { "limit": 100, "start": 0, - "total": 0, - "flows": [] + "total": 1, + "forms": [ + { + "id": "ap_6JUSCU7qq1CravnoU6d6jr", + "name": "Blank-form", + "flow_count": 0, + "created_at": "2024-11-26T11:58:18.187Z", + "updated_at": "2026-02-12T11:11:35.165Z" + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -5117,7 +3689,7 @@ } }, "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2026-01-29T07:32:23.739Z" + "updated_at": "2026-02-12T11:11:35.165Z" }, "rawHeaders": [], "responseIsBinary": false @@ -5125,14 +3697,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/flows?page=0&per_page=100&include_totals=true", + "path": "/api/v2/flows/vault/connections?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { - "limit": 100, + "limit": 50, "start": 0, "total": 0, - "flows": [] + "connections": [] }, "rawHeaders": [], "responseIsBinary": false @@ -5140,14 +3712,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/flows/vault/connections?page=0&per_page=50&include_totals=true", + "path": "/api/v2/flows?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { - "limit": 50, + "limit": 100, "start": 0, "total": 0, - "connections": [] + "flows": [] }, "rawHeaders": [], "responseIsBinary": false @@ -5196,7 +3768,7 @@ "okta" ], "created_at": "2024-11-26T11:58:18.962Z", - "updated_at": "2025-12-22T11:19:41.693Z", + "updated_at": "2026-02-12T11:11:25.569Z", "branding": { "colors": { "primary": "#19aecc" @@ -5228,12 +3800,32 @@ "body": "", "status": 200, "response": { - "total": 0, + "total": 1, "start": 0, "limit": 100, - "network_acls": [] - }, - "rawHeaders": [], + "network_acls": [ + { + "description": "Allow Specific Countries", + "active": false, + "priority": 1, + "rule": { + "match": { + "geo_country_codes": [ + "US" + ] + }, + "scope": "authentication", + "action": { + "allow": true + } + }, + "created_at": "2026-01-29T08:17:51.522Z", + "updated_at": "2026-02-12T11:11:12.936Z", + "id": "acl_5EgHsY1h2Apnv4cvsM6Q9J" + } + ] + }, + "rawHeaders": [], "responseIsBinary": false }, { @@ -5322,56 +3914,7 @@ "body": "", "status": 200, "response": { - "actions": [ - { - "id": "6cdf1896-7209-4560-a805-476b21c72654", - "name": "My Custom Action", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ], - "created_at": "2025-12-22T11:19:23.989403751Z", - "updated_at": "2025-12-22T11:19:24.001954258Z", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node18", - "status": "built", - "secrets": [], - "current_version": { - "id": "09c84305-99b3-4ea0-ab52-e29a4da70640", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node18", - "status": "BUILT", - "number": 1, - "build_time": "2025-12-22T11:19:24.946586480Z", - "created_at": "2025-12-22T11:19:24.882146412Z", - "updated_at": "2025-12-22T11:19:24.947065302Z" - }, - "deployed_version": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "09c84305-99b3-4ea0-ab52-e29a4da70640", - "deployed": true, - "number": 1, - "built_at": "2025-12-22T11:19:24.946586480Z", - "secrets": [], - "status": "built", - "created_at": "2025-12-22T11:19:24.882146412Z", - "updated_at": "2025-12-22T11:19:24.947065302Z", - "runtime": "node18", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] - }, - "all_changes_deployed": true - } - ], - "total": 1, + "actions": [], "per_page": 100 }, "rawHeaders": [], @@ -6252,6 +4795,22 @@ "description": "Delete SCIM token", "value": "delete:scim_token" }, + { + "description": "Read directory provisioning configurations", + "value": "read:directory_provisionings" + }, + { + "description": "Create directory provisioning configurations", + "value": "create:directory_provisionings" + }, + { + "description": "Update directory provisioning configurations", + "value": "update:directory_provisionings" + }, + { + "description": "Delete directory provisioning configurations", + "value": "delete:directory_provisionings" + }, { "description": "Delete a Phone Notification Provider", "value": "delete:phone_providers" @@ -6613,16 +5172,16 @@ "value": "delete:token_exchange_profiles" }, { - "value": "read:organization_client_grants", - "description": "Read Organization Client Grants" + "description": "Read Organization Client Grants", + "value": "read:organization_client_grants" }, { - "value": "create:organization_client_grants", - "description": "Create Organization Client Grants" + "description": "Create Organization Client Grants", + "value": "create:organization_client_grants" }, { - "value": "delete:organization_client_grants", - "description": "Delete Organization Client Grants" + "description": "Delete Organization Client Grants", + "value": "delete:organization_client_grants" }, { "value": "read:security_metrics", @@ -6639,22 +5198,6 @@ { "value": "create:connections_keys", "description": "Create connection keys" - }, - { - "value": "create:directory_provisionings", - "description": "Create Directory Provisionings" - }, - { - "value": "read:directory_provisionings", - "description": "Read Directory Provisionings" - }, - { - "value": "update:directory_provisionings", - "description": "Update Directory Provisionings" - }, - { - "value": "delete:directory_provisionings", - "description": "Delete Directory Provisionings" } ], "is_system": true @@ -6671,7 +5214,7 @@ "body": "", "status": 200, "response": { - "total": 9, + "total": 2, "start": 0, "limit": 100, "clients": [ @@ -6757,115 +5300,7 @@ "subject": "deprecated" } ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6873,362 +5308,81 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", "grant_types": [ "authorization_code", "implicit", "refresh_token", "client_credentials" ], - "web_origins": [], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "body": { - "name": "API Explorer Application", - "allowed_clients": [], - "app_type": "non_interactive", - "callbacks": [], - "client_aliases": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "custom_login_page_on": true, - "grant_types": [ - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000 - }, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" - }, - "status": 200, - "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", + "body": { + "name": "Default App", + "callbacks": [], + "cross_origin_authentication": false, + "custom_login_page_on": true, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "is_first_party": true, + "is_token_endpoint_ip_header_trusted": false, + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000 + }, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_authentication": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_auth": false, + "signing_keys": [ { "cert": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7236,10 +5390,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -7249,676 +5403,98 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", + "method": "PUT", + "path": "/api/v2/guardian/factors/duo", "body": { - "name": "Default App", - "callbacks": [], - "cross_origin_authentication": false, - "custom_login_page_on": true, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000 - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false + "enabled": false }, "status": 200, "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", + "method": "PUT", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "allowed_origins": [], - "app_type": "regular_web", - "callbacks": [], - "client_aliases": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "custom_login_page_on": true, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000 - }, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post", - "web_origins": [] + "enabled": false }, "status": 200, "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "web_origins": [], - "custom_login_page_on": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", + "method": "PUT", + "path": "/api/v2/guardian/factors/push-notification", "body": { - "name": "Quickstarts API (Test Application)", - "app_type": "non_interactive", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, - "custom_login_page_on": true, - "grant_types": [ - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000 - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" + "enabled": false }, "status": 200, "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", + "method": "PUT", + "path": "/api/v2/guardian/factors/recovery-code", "body": { - "name": "Terraform Provider", - "app_type": "non_interactive", - "cross_origin_authentication": false, - "custom_login_page_on": true, - "grant_types": [ - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000 - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" + "enabled": false }, "status": 200, "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", + "method": "PUT", + "path": "/api/v2/guardian/factors/otp", "body": { - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "app_type": "spa", - "callbacks": [ - "http://localhost:3000" - ], - "client_aliases": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "custom_login_page_on": true, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000 - }, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "token_endpoint_auth_method": "none", - "web_origins": [ - "http://localhost:3000" - ] + "enabled": false }, "status": 200, "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", + "method": "PUT", + "path": "/api/v2/guardian/factors/email", "body": { - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_aliases": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "custom_login_page_on": true, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000 - }, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" + "enabled": false }, "status": 200, "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/clients/3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", + "method": "PUT", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "app_type": "non_interactive", - "callbacks": [], - "client_aliases": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "custom_login_page_on": true, - "grant_types": [ - "client_credentials" - ], - "is_first_party": true, - "is_token_endpoint_ip_header_trusted": false, - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000 - }, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" + "enabled": false }, "status": 200, "response": { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -7926,7 +5502,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -7940,13 +5516,15 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/sms/templates", "body": { - "enabled": false + "enrollment_message": "enroll foo", + "verification_message": "verify foo" }, "status": 200, "response": { - "enabled": false + "enrollment_message": "enroll foo", + "verification_message": "verify foo" }, "rawHeaders": [], "responseIsBinary": false @@ -7954,27 +5532,23 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", - "body": { - "enabled": false - }, + "path": "/api/v2/guardian/policies", + "body": [], "status": 200, - "response": { - "enabled": false - }, + "response": [], "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/phone/selected-provider", "body": { - "enabled": false + "provider": "auth0" }, "status": 200, "response": { - "enabled": false + "provider": "auth0" }, "rawHeaders": [], "responseIsBinary": false @@ -7982,109 +5556,55 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/phone/message-types", "body": { - "enabled": false + "message_types": [] }, "status": 200, "response": { - "enabled": false + "message_types": [] }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/duo", + "method": "PATCH", + "path": "/api/v2/prompts", "body": { - "enabled": false + "identifier_first": true, + "universal_login_experience": "new" }, "status": 200, "response": { - "enabled": false + "universal_login_experience": "new", + "identifier_first": true }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", - "body": { - "enabled": false - }, + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", "status": 200, "response": { - "enabled": false + "actions": [], + "per_page": 100 }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/otp", - "body": { - "enabled": false - }, + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", "status": 200, "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/sms/templates", - "body": { - "enrollment_message": "enroll foo", - "verification_message": "verify foo" - }, - "status": 200, - "response": { - "enrollment_message": "enroll foo", - "verification_message": "verify foo" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/policies", - "body": [], - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/phone/selected-provider", - "body": { - "provider": "auth0" - }, - "status": 200, - "response": { - "provider": "auth0" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/phone/message-types", - "body": { - "message_types": [] - }, - "status": 200, - "response": { - "message_types": [] + "actions": [], + "per_page": 100 }, "rawHeaders": [], "responseIsBinary": false @@ -8092,246 +5612,50 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/prompts", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", "body": { - "identifier_first": true, - "universal_login_experience": "new" - }, - "status": 200, - "response": { - "universal_login_experience": "new", - "identifier_first": true - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/actions?page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "actions": [ - { - "id": "6cdf1896-7209-4560-a805-476b21c72654", - "name": "My Custom Action", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ], - "created_at": "2025-12-22T11:19:23.989403751Z", - "updated_at": "2025-12-22T11:19:24.001954258Z", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node18", - "status": "built", - "secrets": [], - "current_version": { - "id": "09c84305-99b3-4ea0-ab52-e29a4da70640", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node18", - "status": "BUILT", - "number": 1, - "build_time": "2025-12-22T11:19:24.946586480Z", - "created_at": "2025-12-22T11:19:24.882146412Z", - "updated_at": "2025-12-22T11:19:24.947065302Z" - }, - "deployed_version": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "09c84305-99b3-4ea0-ab52-e29a4da70640", - "deployed": true, - "number": 1, - "built_at": "2025-12-22T11:19:24.946586480Z", - "secrets": [], - "status": "built", - "created_at": "2025-12-22T11:19:24.882146412Z", - "updated_at": "2025-12-22T11:19:24.947065302Z", - "runtime": "node18", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] - }, - "all_changes_deployed": true - } + "enabled": true, + "shields": [ + "admin_notification", + "block" ], - "total": 1, - "per_page": 100 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/actions/actions/6cdf1896-7209-4560-a805-476b21c72654", - "body": { - "name": "My Custom Action", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node18", - "secrets": [], - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] - }, - "status": 200, - "response": { - "id": "6cdf1896-7209-4560-a805-476b21c72654", - "name": "My Custom Action", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" + "allowlist": [], + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + }, + "pre-custom-token-exchange": { + "max_attempts": 10, + "rate": 600000 } - ], - "created_at": "2025-12-22T11:19:23.989403751Z", - "updated_at": "2026-01-29T08:16:11.548771425Z", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node18", - "status": "pending", - "secrets": [], - "current_version": { - "id": "09c84305-99b3-4ea0-ab52-e29a4da70640", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node18", - "status": "BUILT", - "number": 1, - "build_time": "2025-12-22T11:19:24.946586480Z", - "created_at": "2025-12-22T11:19:24.882146412Z", - "updated_at": "2025-12-22T11:19:24.947065302Z" - }, - "deployed_version": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "09c84305-99b3-4ea0-ab52-e29a4da70640", - "deployed": true, - "number": 1, - "built_at": "2025-12-22T11:19:24.946586480Z", - "secrets": [], - "status": "built", - "created_at": "2025-12-22T11:19:24.882146412Z", - "updated_at": "2025-12-22T11:19:24.947065302Z", - "runtime": "node18", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] - }, - "all_changes_deployed": true + } }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/actions?page=0&per_page=100", - "body": "", "status": 200, "response": { - "actions": [ - { - "id": "6cdf1896-7209-4560-a805-476b21c72654", - "name": "My Custom Action", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ], - "created_at": "2025-12-22T11:19:23.989403751Z", - "updated_at": "2026-01-29T08:16:11.548771425Z", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node18", - "status": "built", - "secrets": [], - "current_version": { - "id": "09c84305-99b3-4ea0-ab52-e29a4da70640", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node18", - "status": "BUILT", - "number": 1, - "build_time": "2025-12-22T11:19:24.946586480Z", - "created_at": "2025-12-22T11:19:24.882146412Z", - "updated_at": "2025-12-22T11:19:24.947065302Z" - }, - "deployed_version": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "09c84305-99b3-4ea0-ab52-e29a4da70640", - "deployed": true, - "number": 1, - "built_at": "2025-12-22T11:19:24.946586480Z", - "secrets": [], - "status": "built", - "created_at": "2025-12-22T11:19:24.882146412Z", - "updated_at": "2025-12-22T11:19:24.947065302Z", - "runtime": "node18", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] - }, - "all_changes_deployed": true - } + "enabled": true, + "shields": [ + "admin_notification", + "block" ], - "total": 1, - "per_page": 100 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/actions/actions/6cdf1896-7209-4560-a805-476b21c72654/deploy", - "body": "", - "status": 200, - "response": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "7e6f1085-6a81-425d-8e6d-72b40b4a98d4", - "deployed": false, - "number": 2, - "secrets": [], - "status": "built", - "created_at": "2026-01-29T08:16:12.846956205Z", - "updated_at": "2026-01-29T08:16:12.846956205Z", - "runtime": "node18", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" + "allowlist": [], + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + }, + "pre-custom-token-exchange": { + "max_attempts": 10, + "rate": 600000 } - ], - "action": { - "id": "6cdf1896-7209-4560-a805-476b21c72654", - "name": "My Custom Action", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ], - "created_at": "2025-12-22T11:19:23.989403751Z", - "updated_at": "2026-01-29T08:16:11.538676535Z", - "all_changes_deployed": false } }, "rawHeaders": [], @@ -8365,6 +5689,46 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/captcha", + "body": { + "active_provider_id": "auth_challenge", + "auth_challenge": { + "fail_open": false + } + }, + "status": 200, + "response": { + "active_provider_id": "auth_challenge", + "simple_captcha": {}, + "auth_challenge": { + "fail_open": false + }, + "recaptcha_v2": { + "site_key": "" + }, + "recaptcha_enterprise": { + "site_key": "", + "project_id": "" + }, + "hcaptcha": { + "site_key": "" + }, + "friendly_captcha": { + "site_key": "" + }, + "arkose": { + "site_key": "", + "client_subdomain": "client-api", + "verify_subdomain": "verify-api", + "fail_open": false + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -8428,51 +5792,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "path": "/api/v2/risk-assessments/settings/new-device", "body": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - }, - "pre-custom-token-exchange": { - "max_attempts": 10, - "rate": 600000 - } - } + "remember_for": 30 }, "status": 200, "response": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - }, - "pre-custom-token-exchange": { - "max_attempts": 10, - "rate": 600000 - } - } + "remember_for": 30 }, "rawHeaders": [], "responseIsBinary": false @@ -8480,78 +5806,102 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/captcha", + "path": "/api/v2/risk-assessments/settings", "body": { - "active_provider_id": "auth_challenge", - "auth_challenge": { - "fail_open": false - } + "enabled": false }, "status": 200, "response": { - "active_provider_id": "auth_challenge", - "simple_captcha": {}, - "auth_challenge": { - "fail_open": false - }, - "recaptcha_v2": { - "site_key": "" - }, - "recaptcha_enterprise": { - "site_key": "", - "project_id": "" - }, - "hcaptcha": { - "site_key": "" - }, - "friendly_captcha": { - "site_key": "" - }, - "arkose": { - "site_key": "", - "client_subdomain": "client-api", - "verify_subdomain": "verify-api", - "fail_open": false - } + "enabled": false }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/risk-assessments/settings/new-device", - "body": { - "remember_for": 30 - }, + "method": "GET", + "path": "/api/v2/custom-domains", + "body": "", "status": 200, - "response": { - "remember_for": 30 - }, + "response": [], "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/risk-assessments/settings", - "body": { - "enabled": false - }, + "method": "GET", + "path": "/api/v2/network-acls?page=0&per_page=100&include_totals=true", + "body": "", "status": 200, "response": { - "enabled": false + "total": 1, + "start": 0, + "limit": 100, + "network_acls": [ + { + "description": "Allow Specific Countries", + "active": false, + "priority": 1, + "rule": { + "match": { + "geo_country_codes": [ + "US" + ] + }, + "scope": "authentication", + "action": { + "allow": true + } + }, + "created_at": "2026-01-29T08:17:51.522Z", + "updated_at": "2026-02-12T11:11:12.936Z", + "id": "acl_5EgHsY1h2Apnv4cvsM6Q9J" + } + ] }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/custom-domains", - "body": "", + "method": "PATCH", + "path": "/api/v2/network-acls/acl_5EgHsY1h2Apnv4cvsM6Q9J", + "body": { + "priority": 1, + "rule": { + "match": { + "geo_country_codes": [ + "US" + ] + }, + "scope": "authentication", + "action": { + "allow": true + } + }, + "active": false, + "description": "Allow Specific Countries" + }, "status": 200, - "response": [], + "response": { + "description": "Allow Specific Countries", + "active": false, + "priority": 1, + "rule": { + "match": { + "geo_country_codes": [ + "US" + ] + }, + "scope": "authentication", + "action": { + "allow": true + } + }, + "created_at": "2026-01-29T08:17:51.522Z", + "updated_at": "2026-02-12T11:13:46.982Z", + "id": "acl_5EgHsY1h2Apnv4cvsM6Q9J" + }, "rawHeaders": [], "responseIsBinary": false }, @@ -8727,7 +6077,7 @@ "body": "", "status": 200, "response": { - "total": 10, + "total": 3, "start": 0, "limit": 100, "clients": [ @@ -8813,7 +6163,7 @@ "subject": "deprecated" } ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8831,34 +6181,30 @@ }, { "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], + "global": true, "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, + "name": "All Applications", "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, - "sso_disabled": false, - "cross_origin_auth": false, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819", + "mr|google-oauth2|112839029247827700155", + "mr|samlp|okta|ewan.harris@auth0.com" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -8866,374 +6212,79 @@ "subject": "deprecated" } ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "callback_url_template": false, + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], "custom_login_page_on": true - }, + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [], + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?take=50&strategy=auth0", + "body": "", + "status": 200, + "response": { + "connections": [ { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false + "id": "con_hs0JNGk6M5oYHR3T", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - "facebook": { - "enabled": false - } + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "disable_self_service_change_password": false }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "authentication": { + "active": true }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "connected_accounts": { + "active": false }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" + "realms": [ + "Username-Password-Authentication" ], - "web_origins": [], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819", - "mr|google-oauth2|112839029247827700155", - "mr|samlp|okta|ewan.harris@auth0.com" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" + ] } ] }, @@ -9243,123 +6294,12 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?take=50&strategy=auth0", + "path": "/api/v2/actions/actions?page=0&per_page=100", "body": "", "status": 200, "response": { - "connections": [ - { - "id": "con_i7HUXAErZAALFghC", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" - ] - }, - { - "id": "con_2rOPbLt331fHmJcF", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - } - ] + "actions": [], + "per_page": 100 }, "rawHeaders": [], "responseIsBinary": false @@ -9373,75 +6313,7 @@ "response": { "connections": [ { - "id": "con_i7HUXAErZAALFghC", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" - ] - }, - { - "id": "con_2rOPbLt331fHmJcF", + "id": "con_hs0JNGk6M5oYHR3T", "options": { "mfa": { "active": true, @@ -9460,7 +6332,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -9480,7 +6353,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" ] } ] @@ -9491,13 +6364,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_2rOPbLt331fHmJcF/clients?take=50", + "path": "/api/v2/connections/con_hs0JNGk6M5oYHR3T/clients?take=50", "body": "", "status": 200, "response": { "clients": [ { - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" }, { "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" @@ -9510,30 +6383,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_i7HUXAErZAALFghC/clients?take=50", - "body": "", - "status": 200, - "response": { - "clients": [ - { - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8" - }, - { - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_2rOPbLt331fHmJcF", + "path": "/api/v2/connections/con_hs0JNGk6M5oYHR3T", "body": "", "status": 200, "response": { - "id": "con_2rOPbLt331fHmJcF", + "id": "con_hs0JNGk6M5oYHR3T", "options": { "mfa": { "active": true, @@ -9552,7 +6406,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -9569,7 +6424,7 @@ }, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" ], "realms": [ "Username-Password-Authentication" @@ -9578,87 +6433,10 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_i7HUXAErZAALFghC", - "body": "", - "status": 200, - "response": { - "id": "con_i7HUXAErZAALFghC", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" - ], - "realms": [ - "boo-baz-db-connection-test" - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_2rOPbLt331fHmJcF", + "path": "/api/v2/connections/con_hs0JNGk6M5oYHR3T", "body": { "authentication": { "active": true @@ -9668,9 +6446,12 @@ }, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" ], "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], "options": { "mfa": { "active": true, @@ -9689,19 +6470,17 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, "disable_self_service_change_password": false - }, - "realms": [ - "Username-Password-Authentication" - ] + } }, "status": 200, "response": { - "id": "con_2rOPbLt331fHmJcF", + "id": "con_hs0JNGk6M5oYHR3T", "options": { "mfa": { "active": true, @@ -9720,7 +6499,8 @@ }, "password": { "enabled": true, - "api_behavior": "required" + "api_behavior": "required", + "signup_behavior": "allow" } }, "brute_force_protection": true, @@ -9737,7 +6517,7 @@ }, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" ], "realms": [ "Username-Password-Authentication" @@ -9749,192 +6529,30 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_i7HUXAErZAALFghC", - "body": { - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "enabled_clients": [ - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8" - ], - "is_domain_connection": false, - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true, - "disable_self_service_change_password": false + "path": "/api/v2/connections/con_hs0JNGk6M5oYHR3T/clients", + "body": [ + { + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "status": true }, - "realms": [ - "boo-baz-db-connection-test" - ] - }, + { + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", + "status": true + } + ], + "status": 204, + "response": "", + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", "status": 200, "response": { - "id": "con_i7HUXAErZAALFghC", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "enabled_clients": [ - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8" - ], - "realms": [ - "boo-baz-db-connection-test" - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/connections/con_2rOPbLt331fHmJcF/clients", - "body": [ - { - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "status": true - }, - { - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", - "status": true - } - ], - "status": 204, - "response": "", - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/connections/con_i7HUXAErZAALFghC/clients", - "body": [ - { - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "status": true - }, - { - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "status": true - } - ], - "status": 204, - "response": "", - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 10, + "total": 3, "start": 0, "limit": 100, "clients": [ @@ -10020,7 +6638,7 @@ "subject": "deprecated" } ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10038,34 +6656,30 @@ }, { "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], + "global": true, "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, + "name": "All Applications", "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, - "sso_disabled": false, - "cross_origin_auth": false, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819", + "mr|google-oauth2|112839029247827700155", + "mr|samlp|okta|ewan.harris@auth0.com" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -10073,133 +6687,201 @@ "subject": "deprecated" } ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "callback_url_template": false, + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], "custom_login_page_on": true - }, + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?take=50", + "body": "", + "status": 200, + "response": { + "connections": [ { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false + "id": "con_hs0JNGk6M5oYHR3T", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true }, - "facebook": { - "enabled": false - } + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "disable_self_service_change_password": false }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "authentication": { + "active": true }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "connected_accounts": { + "active": false }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" + "realms": [ + "Username-Password-Authentication" ], - "web_origins": [], - "custom_login_page_on": true - }, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections-directory-provisionings?take=50", + "body": "", + "status": 403, + "response": { + "statusCode": 403, + "error": "Forbidden", + "message": "Insufficient scope, expected any of: read:directory_provisionings", + "errorCode": "insufficient_scope" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?take=50", + "body": "", + "status": 200, + "response": { + "connections": [ { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" + "id": "con_hs0JNGk6M5oYHR3T", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "disable_self_service_change_password": false }, - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "authentication": { + "active": true }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "connected_accounts": { + "active": false }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" + "realms": [ + "Username-Password-Authentication" ], - "custom_login_page_on": true - }, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/emails/provider?fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address&include_fields=true", + "body": "", + "status": 200, + "response": { + "name": "mandrill", + "credentials": {}, + "default_from_address": "auth0-user@auth0.com", + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/emails/provider", + "body": { + "name": "mandrill", + "credentials": { + "api_key": "##MANDRILL_API_KEY##" + }, + "default_from_address": "auth0-user@auth0.com", + "enabled": false + }, + "status": 200, + "response": { + "name": "mandrill", + "credentials": {}, + "default_from_address": "auth0-user@auth0.com", + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "clients": [ { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_authentication": false, + "name": "Deploy CLI", "is_first_party": true, "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -10209,40 +6891,9 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", + "cross_origin_authentication": false, "allowed_clients": [], "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, "native_social_login": { "apple": { "enabled": false @@ -10251,19 +6902,6 @@ "enabled": false } }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -10271,7 +6909,7 @@ "subject": "deprecated" } ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10281,103 +6919,31 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", + "client_credentials", "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ "authorization_code", - "implicit", "refresh_token" ], - "web_origins": [ - "http://localhost:3000" - ], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], + "name": "Default App", "callbacks": [], - "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -10389,7 +6955,7 @@ "subject": "deprecated" } ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10397,10 +6963,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -10450,4345 +7016,995 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?take=50", + "path": "/api/v2/client-grants?take=50", "body": "", "status": 200, "response": { - "connections": [ + "client_grants": [ { - "id": "con_i7HUXAErZAALFghC", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" - ] - }, - { - "id": "con_5PfCFRgL3RkxrwYu", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "google-oauth2" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - }, - { - "id": "con_2rOPbLt331fHmJcF", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?take=50", - "body": "", - "status": 200, - "response": { - "connections": [ - { - "id": "con_i7HUXAErZAALFghC", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" - ] - }, - { - "id": "con_5PfCFRgL3RkxrwYu", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "google-oauth2" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - }, - { - "id": "con_2rOPbLt331fHmJcF", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_5PfCFRgL3RkxrwYu/clients?take=50", - "body": "", - "status": 200, - "response": { - "clients": [ - { - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - }, - { - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/connections/con_5PfCFRgL3RkxrwYu", - "body": { - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ], - "is_domain_connection": false, - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - } - }, - "status": 200, - "response": { - "id": "con_5PfCFRgL3RkxrwYu", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ], - "realms": [ - "google-oauth2" - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/connections/con_5PfCFRgL3RkxrwYu/clients", - "body": [ - { - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "status": true - }, - { - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", - "status": true - } - ], - "status": 204, - "response": "", - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/emails/provider?fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address&include_fields=true", - "body": "", - "status": 200, - "response": { - "name": "mandrill", - "credentials": {}, - "default_from_address": "auth0-user@auth0.com", - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/emails/provider", - "body": { - "name": "mandrill", - "credentials": { - "api_key": "##MANDRILL_API_KEY##" - }, - "default_from_address": "auth0-user@auth0.com", - "enabled": false - }, - "status": 200, - "response": { - "name": "mandrill", - "credentials": {}, - "default_from_address": "auth0-user@auth0.com", - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 10, - "start": 0, - "limit": 100, - "clients": [ - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": false, - "allowed_clients": [], - "callbacks": [], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials", - "implicit", - "authorization_code", - "refresh_token" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "web_origins": [], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819", - "mr|google-oauth2|112839029247827700155", - "mr|samlp|okta|ewan.harris@auth0.com" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/client-grants?take=50", - "body": "", - "status": 200, - "response": { - "client_grants": [ - { - "id": "cgr_Rp8YDYtzbAoelua0", - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ], - "subject_type": "client" - }, - { - "id": "cgr_Z7oHNWCX7PzwXNP8", - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ], - "subject_type": "client" - }, - { - "id": "cgr_pbwejzhwoujrsNE8", - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:client_credentials", - "update:client_credentials", - "delete:client_credentials", - "create:client_credentials", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "read:organization_discovery_domains", - "update:organization_discovery_domains", - "create:organization_discovery_domains", - "delete:organization_discovery_domains", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:sessions", - "update:sessions", - "delete:sessions", - "read:refresh_tokens", - "update:refresh_tokens", - "delete:refresh_tokens", - "create:self_service_profiles", - "read:self_service_profiles", - "update:self_service_profiles", - "delete:self_service_profiles", - "create:sso_access_tickets", - "delete:sso_access_tickets", - "read:forms", - "update:forms", - "delete:forms", - "create:forms", - "read:flows", - "update:flows", - "delete:flows", - "create:flows", - "read:flows_vault", - "read:flows_vault_connections", - "update:flows_vault_connections", - "delete:flows_vault_connections", - "create:flows_vault_connections", - "read:flows_executions", - "delete:flows_executions", - "read:connections_options", - "update:connections_options", - "read:self_service_profile_custom_texts", - "update:self_service_profile_custom_texts", - "create:network_acls", - "update:network_acls", - "read:network_acls", - "delete:network_acls", - "delete:vdcs_templates", - "read:vdcs_templates", - "create:vdcs_templates", - "update:vdcs_templates", - "create:custom_signing_keys", - "read:custom_signing_keys", - "update:custom_signing_keys", - "delete:custom_signing_keys", - "read:federated_connections_tokens", - "delete:federated_connections_tokens", - "create:user_attribute_profiles", - "read:user_attribute_profiles", - "update:user_attribute_profiles", - "delete:user_attribute_profiles", - "read:event_streams", - "create:event_streams", - "delete:event_streams", - "update:event_streams", - "read:event_deliveries", - "update:event_deliveries", - "create:connection_profiles", - "read:connection_profiles", - "update:connection_profiles", - "delete:connection_profiles", - "read:organization_client_grants", - "create:organization_client_grants", - "delete:organization_client_grants", - "create:token_exchange_profiles", - "read:token_exchange_profiles", - "update:token_exchange_profiles", - "delete:token_exchange_profiles", - "read:security_metrics", - "read:connections_keys", - "update:connections_keys", - "create:connections_keys" - ], - "subject_type": "client" - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/client-grants/cgr_Rp8YDYtzbAoelua0", - "body": { - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ] - }, - "status": 200, - "response": { - "id": "cgr_Rp8YDYtzbAoelua0", - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ], - "subject_type": "client" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/client-grants/cgr_Z7oHNWCX7PzwXNP8", - "body": { - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ] - }, - "status": 200, - "response": { - "id": "cgr_Z7oHNWCX7PzwXNP8", - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" - ], - "subject_type": "client" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "roles": [ - { - "id": "rol_GuY3RUFXNV3Vw4s8", - "name": "Admin", - "description": "Can read and write things" - }, - { - "id": "rol_zeyP6bXU3wJ0PoZW", - "name": "Reader", - "description": "Can only read things" - }, - { - "id": "rol_QSF9Vg6MzQq4ECkD", - "name": "read_only", - "description": "Read Only" - }, - { - "id": "rol_rtEH3uIfRpFBeJbD", - "name": "read_osnly", - "description": "Readz Only" - } - ], - "start": 0, - "limit": 100, - "total": 4 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_GuY3RUFXNV3Vw4s8/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_zeyP6bXU3wJ0PoZW/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_QSF9Vg6MzQq4ECkD/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_rtEH3uIfRpFBeJbD/permissions?per_page=100&page=0&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 0, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/roles/rol_zeyP6bXU3wJ0PoZW", - "body": { - "name": "Reader", - "description": "Can only read things" - }, - "status": 200, - "response": { - "id": "rol_zeyP6bXU3wJ0PoZW", - "name": "Reader", - "description": "Can only read things" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/roles/rol_GuY3RUFXNV3Vw4s8", - "body": { - "name": "Admin", - "description": "Can read and write things" - }, - "status": 200, - "response": { - "id": "rol_GuY3RUFXNV3Vw4s8", - "name": "Admin", - "description": "Can read and write things" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/roles/rol_QSF9Vg6MzQq4ECkD", - "body": { - "name": "read_only", - "description": "Read Only" - }, - "status": 200, - "response": { - "id": "rol_QSF9Vg6MzQq4ECkD", - "name": "read_only", - "description": "Read Only" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/roles/rol_rtEH3uIfRpFBeJbD", - "body": { - "name": "read_osnly", - "description": "Readz Only" - }, - "status": 200, - "response": { - "id": "rol_rtEH3uIfRpFBeJbD", - "name": "read_osnly", - "description": "Readz Only" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/branding/phone/providers", - "body": "", - "status": 200, - "response": { - "providers": [ - { - "id": "pro_mY3L5BP6iVUUzpv22opofm", - "tenant": "auth0-deploy-cli-e2e", - "name": "twilio", - "channel": "phone", - "disabled": false, - "configuration": { - "sid": "28y8y32232", - "default_from": "+1234567890", - "delivery_methods": [ - "text" - ] - }, - "credentials": null, - "created_at": "2025-12-09T12:24:00.604Z", - "updated_at": "2025-12-22T11:15:41.025Z" - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/branding/phone/providers/pro_mY3L5BP6iVUUzpv22opofm", - "body": { - "name": "twilio", - "configuration": { - "sid": "28y8y32232", - "default_from": "+1234567890", - "delivery_methods": [ - "text" - ] - }, - "credentials": { - "auth_token": "##TWILIO_AUTH_TOKEN##" - }, - "disabled": false - }, - "status": 200, - "response": { - "id": "pro_mY3L5BP6iVUUzpv22opofm", - "tenant": "auth0-deploy-cli-e2e", - "name": "twilio", - "channel": "phone", - "disabled": false, - "configuration": { - "sid": "28y8y32232", - "default_from": "+1234567890", - "delivery_methods": [ - "text" - ] - }, - "created_at": "2025-12-09T12:24:00.604Z", - "updated_at": "2026-01-29T08:16:37.178Z" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/self-service-profiles?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "self_service_profiles": [ - { - "id": "ssp_f6qt3syGauLKbSgt6GRLim", - "name": "self-service-profile-1", - "description": "test description self-service-profile-1", - "user_attributes": [ - { - "name": "email", - "description": "Email of the User", - "is_optional": false - }, - { - "name": "name", - "description": "Name of the User", - "is_optional": true - } - ], - "allowed_strategies": [ - "google-apps", - "okta" - ], - "created_at": "2024-11-26T11:58:18.962Z", - "updated_at": "2025-12-22T11:19:41.693Z", - "branding": { - "colors": { - "primary": "#19aecc" - } - } - } - ], - "start": 0, - "limit": 100, - "total": 1 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/self-service-profiles/ssp_f6qt3syGauLKbSgt6GRLim/custom-text/en/get-started", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/self-service-profiles/ssp_f6qt3syGauLKbSgt6GRLim", - "body": { - "name": "self-service-profile-1", - "allowed_strategies": [ - "google-apps", - "okta" - ], - "branding": { - "colors": { - "primary": "#19aecc" - } - }, - "description": "test description self-service-profile-1", - "user_attributes": [ - { - "name": "email", - "description": "Email of the User", - "is_optional": false - }, - { - "name": "name", - "description": "Name of the User", - "is_optional": true - } - ] - }, - "status": 200, - "response": { - "id": "ssp_f6qt3syGauLKbSgt6GRLim", - "name": "self-service-profile-1", - "description": "test description self-service-profile-1", - "user_attributes": [ - { - "name": "email", - "description": "Email of the User", - "is_optional": false - }, - { - "name": "name", - "description": "Name of the User", - "is_optional": true - } - ], - "allowed_strategies": [ - "google-apps", - "okta" - ], - "created_at": "2024-11-26T11:58:18.962Z", - "updated_at": "2026-01-29T08:16:38.711Z", - "branding": { - "colors": { - "primary": "#19aecc" - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/branding/phone/templates", - "body": "", - "status": 200, - "response": { - "templates": [ - { - "id": "tem_o4LBTt4NQyX8K4vC9dPafR", - "tenant": "auth0-deploy-cli-e2e", - "channel": "phone", - "type": "otp_verify", - "disabled": false, - "created_at": "2025-12-09T12:26:30.547Z", - "updated_at": "2025-12-22T11:15:43.286Z", - "content": { - "syntax": "liquid", - "body": { - "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}", - "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" - } - } - }, - { - "id": "tem_dL83uTmWn8moGzm8UgAk4Q", - "tenant": "auth0-deploy-cli-e2e", - "channel": "phone", - "type": "blocked_account", - "disabled": false, - "created_at": "2025-12-09T12:22:47.683Z", - "updated_at": "2025-12-22T11:15:43.165Z", - "content": { - "syntax": "liquid", - "body": { - "text": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message.", - "voice": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message." - }, - "from": "0032232323" - } - }, - { - "id": "tem_qarYST5TTE5pbMNB5NHZAj", - "tenant": "auth0-deploy-cli-e2e", - "channel": "phone", - "type": "otp_enroll", - "disabled": false, - "created_at": "2025-12-09T12:26:25.327Z", - "updated_at": "2025-12-22T11:15:43.609Z", - "content": { - "syntax": "liquid", - "body": { - "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}. Please enter this code to verify your enrollment.", - "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" - } - } - }, - { - "id": "tem_xqbUSF83fpnRv8r8rqXFDZ", - "tenant": "auth0-deploy-cli-e2e", - "channel": "phone", - "type": "change_password", - "disabled": false, - "created_at": "2025-12-09T12:26:20.243Z", - "updated_at": "2025-12-22T11:15:43.231Z", - "content": { - "syntax": "liquid", - "body": { - "text": "{{ code | escape }} is your password change code for {{ friendly_name | escape }}", - "voice": "Hello. Your password change code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your password change code is {{ pause }} {{ code | escape }}" - } - } - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/branding/phone/templates/tem_o4LBTt4NQyX8K4vC9dPafR", - "body": { - "content": { - "body": { - "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}", - "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" - } - }, - "disabled": false - }, - "status": 200, - "response": { - "id": "tem_o4LBTt4NQyX8K4vC9dPafR", - "tenant": "auth0-deploy-cli-e2e", - "channel": "phone", - "type": "otp_verify", - "disabled": false, - "created_at": "2025-12-09T12:26:30.547Z", - "updated_at": "2026-01-29T08:16:39.493Z", - "content": { - "syntax": "liquid", - "body": { - "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}", - "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/branding/phone/templates/tem_qarYST5TTE5pbMNB5NHZAj", - "body": { - "content": { - "body": { - "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}. Please enter this code to verify your enrollment.", - "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" - } - }, - "disabled": false - }, - "status": 200, - "response": { - "id": "tem_qarYST5TTE5pbMNB5NHZAj", - "tenant": "auth0-deploy-cli-e2e", - "channel": "phone", - "type": "otp_enroll", - "disabled": false, - "created_at": "2025-12-09T12:26:25.327Z", - "updated_at": "2026-01-29T08:16:39.523Z", - "content": { - "syntax": "liquid", - "body": { - "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}. Please enter this code to verify your enrollment.", - "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/branding/phone/templates/tem_dL83uTmWn8moGzm8UgAk4Q", - "body": { - "content": { - "from": "0032232323", - "body": { - "text": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message.", - "voice": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message." - } - }, - "disabled": false - }, - "status": 200, - "response": { - "id": "tem_dL83uTmWn8moGzm8UgAk4Q", - "tenant": "auth0-deploy-cli-e2e", - "channel": "phone", - "type": "blocked_account", - "disabled": false, - "created_at": "2025-12-09T12:22:47.683Z", - "updated_at": "2026-01-29T08:16:39.526Z", - "content": { - "syntax": "liquid", - "body": { - "text": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message.", - "voice": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message." - }, - "from": "0032232323" - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/branding/phone/templates/tem_xqbUSF83fpnRv8r8rqXFDZ", - "body": { - "content": { - "body": { - "text": "{{ code | escape }} is your password change code for {{ friendly_name | escape }}", - "voice": "Hello. Your password change code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your password change code is {{ pause }} {{ code | escape }}" - } - }, - "disabled": false - }, - "status": 200, - "response": { - "id": "tem_xqbUSF83fpnRv8r8rqXFDZ", - "tenant": "auth0-deploy-cli-e2e", - "channel": "phone", - "type": "change_password", - "disabled": false, - "created_at": "2025-12-09T12:26:20.243Z", - "updated_at": "2026-01-29T08:16:39.875Z", - "content": { - "syntax": "liquid", - "body": { - "text": "{{ code | escape }} is your password change code for {{ friendly_name | escape }}", - "voice": "Hello. Your password change code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your password change code is {{ pause }} {{ code | escape }}" - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/token-exchange-profiles?take=50", - "body": "", - "status": 200, - "response": { - "token_exchange_profiles": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/actions/actions?page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "actions": [ - { - "id": "6cdf1896-7209-4560-a805-476b21c72654", - "name": "My Custom Action", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ], - "created_at": "2025-12-22T11:19:23.989403751Z", - "updated_at": "2026-01-29T08:16:11.548771425Z", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "runtime": "node18", - "status": "built", - "secrets": [], - "current_version": { - "id": "7e6f1085-6a81-425d-8e6d-72b40b4a98d4", - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "runtime": "node18", - "status": "BUILT", - "number": 2, - "build_time": "2026-01-29T08:16:12.960496007Z", - "created_at": "2026-01-29T08:16:12.846956205Z", - "updated_at": "2026-01-29T08:16:12.962692055Z" - }, - "deployed_version": { - "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", - "dependencies": [], - "id": "7e6f1085-6a81-425d-8e6d-72b40b4a98d4", - "deployed": true, - "number": 2, - "built_at": "2026-01-29T08:16:12.960496007Z", - "secrets": [], - "status": "built", - "created_at": "2026-01-29T08:16:12.846956205Z", - "updated_at": "2026-01-29T08:16:12.962692055Z", - "runtime": "node18", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ] - }, - "all_changes_deployed": true - } - ], - "total": 1, - "per_page": 100 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/email-templates/welcome_email", - "body": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "enabled": false, - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600 - }, - "status": 200, - "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/email-templates/verify_email", - "body": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", - "enabled": true, - "from": "", - "subject": "", - "syntax": "liquid", - "urlLifetimeInSeconds": 432000 - }, - "status": 200, - "response": { - "template": "verify_email", - "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", - "from": "", - "subject": "", - "syntax": "liquid", - "urlLifetimeInSeconds": 432000, - "enabled": true - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/branding", - "body": { - "colors": { - "primary": "#F8F8F2", - "page_background": "#222221" - }, - "logo_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png" - }, - "status": 200, - "response": { - "colors": { - "primary": "#F8F8F2", - "page_background": "#222221" - }, - "logo_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations?take=50", - "body": "", - "status": 200, - "response": { - "organizations": [ - { - "id": "org_dwsXwbutprxLQ7gl", - "name": "org2", - "display_name": "Organization2" - }, - { - "id": "org_k1k4elV3eYiPmJX0", - "name": "org1", - "display_name": "Organization", - "branding": { - "colors": { - "page_background": "#fff5f5", - "primary": "#57ddff" - } - } - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 10, - "start": 0, - "limit": 100, - "clients": [ - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": false, - "allowed_clients": [], - "callbacks": [], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials", - "implicit", - "authorization_code", - "refresh_token" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "web_origins": [], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819", - "mr|google-oauth2|112839029247827700155", - "mr|samlp|okta|ewan.harris@auth0.com" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl/enabled_connections?page=0&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "enabled_connections": [], - "start": 0, - "limit": 0, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl/client-grants?page=0&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "client_grants": [], - "start": 0, - "limit": 50, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl/discovery-domains?take=50", - "body": "", - "status": 200, - "response": { - "domains": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0/enabled_connections?page=0&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "enabled_connections": [], - "start": 0, - "limit": 0, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0/client-grants?page=0&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "client_grants": [], - "start": 0, - "limit": 50, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0/discovery-domains?take=50", - "body": "", - "status": 200, - "response": { - "domains": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?take=50", - "body": "", - "status": 200, - "response": { - "connections": [ - { - "id": "con_i7HUXAErZAALFghC", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "import_mode": false, - "customScripts": { - "login": "function login(email, password, callback) {\n // This script should authenticate a user against the credentials stored in\n // your database.\n // It is executed when a user attempts to log in or immediately after signing\n // up (as a verification that the user was successfully signed up).\n //\n // Everything returned by this script will be set as part of the user profile\n // and will be visible by any of the tenant admins. Avoid adding attributes\n // with values such as passwords, keys, secrets, etc.\n //\n // The `password` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database. For example:\n //\n // var bcrypt = require('bcrypt@0.8.5');\n // bcrypt.compare(password, dbPasswordHash, function(err, res)) { ... }\n //\n // There are three ways this script can finish:\n // 1. The user's credentials are valid. The returned user profile should be in\n // the following format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema\n // var profile = {\n // user_id: ..., // user_id is mandatory\n // email: ...,\n // [...]\n // };\n // callback(null, profile);\n // 2. The user's credentials are invalid\n // callback(new WrongUsernameOrPasswordError(email, \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n //\n // A list of Node.js modules which can be referenced is available here:\n //\n // https://tehsis.github.io/webtaskio-canirequire/\n console.log('AYYYYYE');\n\n const msg =\n 'Please implement the Login script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "create": "function create(user, callback) {\n // This script should create a user entry in your existing database. It will\n // be executed when a user attempts to sign up, or when a user is created\n // through the Auth0 dashboard or API.\n // When this script has finished executing, the Login script will be\n // executed immediately afterwards, to verify that the user was created\n // successfully.\n //\n // The user object will always contain the following properties:\n // * email: the user's email\n // * password: the password entered by the user, in plain text\n // * tenant: the name of this Auth0 account\n // * client_id: the client ID of the application where the user signed up, or\n // API key if created through the API or Auth0 dashboard\n // * connection: the name of this database connection\n //\n // There are three ways this script can finish:\n // 1. A user was successfully created\n // callback(null);\n // 2. This user already exists in your database\n // callback(new ValidationError(\"user_exists\", \"my error message\"));\n // 3. Something went wrong while trying to reach your database\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Create script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "delete": "function remove(id, callback) {\n // This script remove a user from your existing database.\n // It is executed whenever a user is deleted from the API or Auth0 dashboard.\n //\n // There are two ways that this script can finish:\n // 1. The user was removed successfully:\n // callback(null);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Delete script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "verify": "function verify(email, callback) {\n // This script should mark the current user's email address as verified in\n // your database.\n // It is executed whenever a user clicks the verification link sent by email.\n // These emails can be customized at https://manage.auth0.com/#/emails.\n // It is safe to assume that the user's email already exists in your database,\n // because verification emails, if enabled, are sent immediately after a\n // successful signup.\n //\n // There are two ways that this script can finish:\n // 1. The user's email was verified successfully\n // callback(null, true);\n // 2. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the verification link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Verify script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "get_user": "function getByEmail(email, callback) {\n // This script should retrieve a user profile from your existing database,\n // without authenticating the user.\n // It is used to check if a user exists before executing flows that do not\n // require authentication (signup and password reset).\n //\n // There are three ways this script can finish:\n // 1. A user was successfully found. The profile should be in the following\n // format: https://auth0.com/docs/users/normalized/auth0/normalized-user-profile-schema.\n // callback(null, profile);\n // 2. A user was not found\n // callback(null);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n\n const msg =\n 'Please implement the Get User script for this database connection ' +\n 'at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n", - "change_password": "function changePassword(email, newPassword, callback) {\n // This script should change the password stored for the current user in your\n // database. It is executed when the user clicks on the confirmation link\n // after a reset password request.\n // The content and behavior of password confirmation emails can be customized\n // here: https://manage.auth0.com/#/emails\n // The `newPassword` parameter of this function is in plain text. It must be\n // hashed/salted to match whatever is stored in your database.\n //\n // There are three ways that this script can finish:\n // 1. The user's password was updated successfully:\n // callback(null, true);\n // 2. The user's password was not updated:\n // callback(null, false);\n // 3. Something went wrong while trying to reach your database:\n // callback(new Error(\"my error message\"));\n //\n // If an error is returned, it will be passed to the query string of the page\n // where the user is being redirected to after clicking the confirmation link.\n // For example, returning `callback(new Error(\"error\"))` and redirecting to\n // https://example.com would redirect to the following URL:\n // https://example.com?email=alice%40example.com&message=error&success=false\n\n const msg =\n 'Please implement the Change Password script for this database ' +\n 'connection at https://manage.auth0.com/#/connections/database';\n return callback(new Error(msg));\n}\n" - }, - "disable_signup": false, - "passwordPolicy": "low", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "password_history": { - "size": 5, - "enable": false - }, - "strategy_version": 2, - "requires_username": true, - "password_dictionary": { - "enable": true, - "dictionary": [] - }, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "password_no_personal_info": { - "enable": true - }, - "password_complexity_options": { - "min_length": 8 - }, - "enabledDatabaseCustomization": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "boo-baz-db-connection-test", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "boo-baz-db-connection-test" - ], - "enabled_clients": [ - "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC" - ] - }, - { - "id": "con_5PfCFRgL3RkxrwYu", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "google-oauth2" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - }, - { - "id": "con_2rOPbLt331fHmJcF", - "options": { - "mfa": { - "active": true, - "return_enroll_settings": true - }, - "passwordPolicy": "good", - "passkey_options": { - "challenge_ui": "both", - "local_enrollment_enabled": true, - "progressive_enrollment_enabled": true - }, - "strategy_version": 2, - "authentication_methods": { - "passkey": { - "enabled": false - }, - "password": { - "enabled": true, - "api_behavior": "required" - } - }, - "brute_force_protection": true, - "disable_self_service_change_password": false - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "authentication": { - "active": true - }, - "connected_accounts": { - "active": false - }, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", - "body": "", - "status": 200, - "response": { - "total": 10, - "start": 0, - "limit": 100, - "clients": [ - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", - "is_first_party": true, - "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "cross_origin_authentication": false, - "allowed_clients": [], - "callbacks": [], - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], + "id": "cgr_pbwejzhwoujrsNE8", "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials", - "implicit", - "authorization_code", - "refresh_token" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "iBGDEOQX08xrKjF1cP4RT7rXRnmMlWhT", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", - "allowed_clients": [], - "allowed_logout_urls": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "allowed_origins": [], - "client_id": "qB4mjSRBPT9RMWlnqFkB92PuyKGamvQC", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" - ], - "web_origins": [], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "vMw6N2VCIps6p5MVJD19Pq8v6ef7ewL7", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true - }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_authentication": false, - "is_first_party": true, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" + "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", + "scope": [ + "read:client_grants", + "create:client_grants", + "delete:client_grants", + "update:client_grants", + "read:users", + "update:users", + "delete:users", + "create:users", + "read:users_app_metadata", + "update:users_app_metadata", + "delete:users_app_metadata", + "create:users_app_metadata", + "read:user_custom_blocks", + "create:user_custom_blocks", + "delete:user_custom_blocks", + "create:user_tickets", + "read:clients", + "update:clients", + "delete:clients", + "create:clients", + "read:client_keys", + "update:client_keys", + "delete:client_keys", + "create:client_keys", + "read:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "create:client_credentials", + "read:connections", + "update:connections", + "delete:connections", + "create:connections", + "read:resource_servers", + "update:resource_servers", + "delete:resource_servers", + "create:resource_servers", + "read:device_credentials", + "update:device_credentials", + "delete:device_credentials", + "create:device_credentials", + "read:rules", + "update:rules", + "delete:rules", + "create:rules", + "read:rules_configs", + "update:rules_configs", + "delete:rules_configs", + "read:hooks", + "update:hooks", + "delete:hooks", + "create:hooks", + "read:actions", + "update:actions", + "delete:actions", + "create:actions", + "read:email_provider", + "update:email_provider", + "delete:email_provider", + "create:email_provider", + "blacklist:tokens", + "read:stats", + "read:insights", + "read:tenant_settings", + "update:tenant_settings", + "read:logs", + "read:logs_users", + "read:shields", + "create:shields", + "update:shields", + "delete:shields", + "read:anomaly_blocks", + "delete:anomaly_blocks", + "update:triggers", + "read:triggers", + "read:grants", + "delete:grants", + "read:guardian_factors", + "update:guardian_factors", + "read:guardian_enrollments", + "delete:guardian_enrollments", + "create:guardian_enrollment_tickets", + "read:user_idp_tokens", + "create:passwords_checking_job", + "delete:passwords_checking_job", + "read:custom_domains", + "delete:custom_domains", + "create:custom_domains", + "update:custom_domains", + "read:email_templates", + "create:email_templates", + "update:email_templates", + "read:mfa_policies", + "update:mfa_policies", + "read:roles", + "create:roles", + "delete:roles", + "update:roles", + "read:prompts", + "update:prompts", + "read:branding", + "update:branding", + "delete:branding", + "read:log_streams", + "create:log_streams", + "delete:log_streams", + "update:log_streams", + "create:signing_keys", + "read:signing_keys", + "update:signing_keys", + "read:limits", + "update:limits", + "create:role_members", + "read:role_members", + "delete:role_members", + "read:entitlements", + "read:attack_protection", + "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", + "read:organizations", + "update:organizations", + "create:organizations", + "delete:organizations", + "read:organization_discovery_domains", + "update:organization_discovery_domains", + "create:organization_discovery_domains", + "delete:organization_discovery_domains", + "create:organization_members", + "read:organization_members", + "delete:organization_members", + "create:organization_connections", + "read:organization_connections", + "update:organization_connections", + "delete:organization_connections", + "create:organization_member_roles", + "read:organization_member_roles", + "delete:organization_member_roles", + "create:organization_invitations", + "read:organization_invitations", + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "update:sessions", + "delete:sessions", + "read:refresh_tokens", + "update:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "delete:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "create:network_acls", + "update:network_acls", + "read:network_acls", + "delete:network_acls", + "delete:vdcs_templates", + "read:vdcs_templates", + "create:vdcs_templates", + "update:vdcs_templates", + "create:custom_signing_keys", + "read:custom_signing_keys", + "update:custom_signing_keys", + "delete:custom_signing_keys", + "read:federated_connections_tokens", + "delete:federated_connections_tokens", + "create:user_attribute_profiles", + "read:user_attribute_profiles", + "update:user_attribute_profiles", + "delete:user_attribute_profiles", + "read:event_streams", + "create:event_streams", + "delete:event_streams", + "update:event_streams", + "read:event_deliveries", + "update:event_deliveries", + "create:connection_profiles", + "read:connection_profiles", + "update:connection_profiles", + "delete:connection_profiles", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants", + "create:token_exchange_profiles", + "read:token_exchange_profiles", + "update:token_exchange_profiles", + "delete:token_exchange_profiles", + "read:security_metrics", + "read:connections_keys", + "update:connections_keys", + "create:connections_keys" ], - "custom_login_page_on": true - }, + "subject_type": "client" + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles?per_page=100&page=0&include_totals=true", + "body": "", + "status": 200, + "response": { + "roles": [], + "start": 0, + "limit": 100, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/branding/phone/providers", + "body": "", + "status": 200, + "response": { + "providers": [ { + "id": "pro_mY3L5BP6iVUUzpv22opofm", "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" + "name": "twilio", + "channel": "phone", + "disabled": false, + "configuration": { + "sid": "28y8y32232", + "default_from": "+1234567890", + "delivery_methods": [ + "text" + ] }, - "sso": false, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ + "credentials": null, + "created_at": "2025-12-09T12:24:00.604Z", + "updated_at": "2026-02-10T09:28:21.012Z" + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/branding/phone/providers/pro_mY3L5BP6iVUUzpv22opofm", + "body": { + "name": "twilio", + "configuration": { + "sid": "28y8y32232", + "default_from": "+1234567890", + "delivery_methods": [ + "text" + ] + }, + "credentials": { + "auth_token": "##TWILIO_AUTH_TOKEN##" + }, + "disabled": false + }, + "status": 200, + "response": { + "id": "pro_mY3L5BP6iVUUzpv22opofm", + "tenant": "auth0-deploy-cli-e2e", + "name": "twilio", + "channel": "phone", + "disabled": false, + "configuration": { + "sid": "28y8y32232", + "default_from": "+1234567890", + "delivery_methods": [ + "text" + ] + }, + "created_at": "2025-12-09T12:24:00.604Z", + "updated_at": "2026-02-12T11:13:54.856Z" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/self-service-profiles?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "self_service_profiles": [ + { + "id": "ssp_f6qt3syGauLKbSgt6GRLim", + "name": "self-service-profile-1", + "description": "test description self-service-profile-1", + "user_attributes": [ { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" + "name": "email", + "description": "Email of the User", + "is_optional": false + }, + { + "name": "name", + "description": "Name of the User", + "is_optional": true } ], - "client_id": "R0zsKXjlXDRy0ntbhacCpjjYDDs14rPo", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", - "client_credentials" + "allowed_strategies": [ + "google-apps", + "okta" ], - "custom_login_page_on": true + "created_at": "2024-11-26T11:58:18.962Z", + "updated_at": "2026-02-12T11:11:25.569Z", + "branding": { + "colors": { + "primary": "#19aecc" + } + } + } + ], + "start": 0, + "limit": 100, + "total": 1 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/self-service-profiles/ssp_f6qt3syGauLKbSgt6GRLim/custom-text/en/get-started", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/self-service-profiles/ssp_f6qt3syGauLKbSgt6GRLim", + "body": { + "name": "self-service-profile-1", + "allowed_strategies": [ + "google-apps", + "okta" + ], + "branding": { + "colors": { + "primary": "#19aecc" + } + }, + "description": "test description self-service-profile-1", + "user_attributes": [ + { + "name": "email", + "description": "Email of the User", + "is_optional": false + }, + { + "name": "name", + "description": "Name of the User", + "is_optional": true + } + ] + }, + "status": 200, + "response": { + "id": "ssp_f6qt3syGauLKbSgt6GRLim", + "name": "self-service-profile-1", + "description": "test description self-service-profile-1", + "user_attributes": [ + { + "name": "email", + "description": "Email of the User", + "is_optional": false }, { + "name": "name", + "description": "Name of the User", + "is_optional": true + } + ], + "allowed_strategies": [ + "google-apps", + "okta" + ], + "created_at": "2024-11-26T11:58:18.962Z", + "updated_at": "2026-02-12T11:13:56.058Z", + "branding": { + "colors": { + "primary": "#19aecc" + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/branding/phone/templates", + "body": "", + "status": 200, + "response": { + "templates": [ + { + "id": "tem_o4LBTt4NQyX8K4vC9dPafR", "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "expiring", - "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" + "channel": "phone", + "type": "otp_verify", + "disabled": false, + "created_at": "2025-12-09T12:26:30.547Z", + "updated_at": "2026-02-10T09:28:22.844Z", + "content": { + "syntax": "liquid", + "body": { + "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}", + "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" } - ], - "client_id": "YNpgl4oD73TbqlEisMgzKDsM6sqNmbA9", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", - "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" - ], - "custom_login_page_on": true + } }, { + "id": "tem_xqbUSF83fpnRv8r8rqXFDZ", "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, - "cross_origin_authentication": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": true, - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" - }, - "sso_disabled": false, - "cross_origin_auth": false, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" + "channel": "phone", + "type": "change_password", + "disabled": false, + "created_at": "2025-12-09T12:26:20.243Z", + "updated_at": "2026-02-10T09:28:22.857Z", + "content": { + "syntax": "liquid", + "body": { + "text": "{{ code | escape }} is your password change code for {{ friendly_name | escape }}", + "voice": "Hello. Your password change code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your password change code is {{ pause }} {{ code | escape }}" } - ], - "client_id": "3NlaLNQ781BQqT4EOxFFT4pU5UGXhkB8", - "callback_url_template": false, - "client_secret": "[REDACTED]", - "jwt_configuration": { - "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false - }, - "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", - "grant_types": [ - "client_credentials" - ], - "custom_login_page_on": true + } }, { + "id": "tem_qarYST5TTE5pbMNB5NHZAj", "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], - "is_first_party": true, - "name": "All Applications", - "refresh_token": { - "expiration_type": "non-expiring", - "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" - }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com", - "mr|google-oauth2|109614534713742077035", - "mr|google-oauth2|116771660953104383819", - "mr|google-oauth2|112839029247827700155", - "mr|samlp|okta|ewan.harris@auth0.com" - ], - "custom_login_page": "TEST123\n", - "cross_origin_authentication": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" + "channel": "phone", + "type": "otp_enroll", + "disabled": false, + "created_at": "2025-12-09T12:26:25.327Z", + "updated_at": "2026-02-10T09:28:23.169Z", + "content": { + "syntax": "liquid", + "body": { + "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}. Please enter this code to verify your enrollment.", + "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" } - ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", - "client_secret": "[REDACTED]", - "custom_login_page_on": true + } + }, + { + "id": "tem_dL83uTmWn8moGzm8UgAk4Q", + "tenant": "auth0-deploy-cli-e2e", + "channel": "phone", + "type": "blocked_account", + "disabled": false, + "created_at": "2025-12-09T12:22:47.683Z", + "updated_at": "2026-02-10T09:28:22.812Z", + "content": { + "syntax": "liquid", + "body": { + "text": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message.", + "voice": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message." + }, + "from": "0032232323" + } } ] }, "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/branding/phone/templates/tem_o4LBTt4NQyX8K4vC9dPafR", + "body": { + "content": { + "body": { + "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}", + "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" + } + }, + "disabled": false + }, + "status": 200, + "response": { + "id": "tem_o4LBTt4NQyX8K4vC9dPafR", + "tenant": "auth0-deploy-cli-e2e", + "channel": "phone", + "type": "otp_verify", + "disabled": false, + "created_at": "2025-12-09T12:26:30.547Z", + "updated_at": "2026-02-12T11:13:56.940Z", + "content": { + "syntax": "liquid", + "body": { + "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}", + "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/branding/phone/templates/tem_xqbUSF83fpnRv8r8rqXFDZ", + "body": { + "content": { + "body": { + "text": "{{ code | escape }} is your password change code for {{ friendly_name | escape }}", + "voice": "Hello. Your password change code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your password change code is {{ pause }} {{ code | escape }}" + } + }, + "disabled": false + }, + "status": 200, + "response": { + "id": "tem_xqbUSF83fpnRv8r8rqXFDZ", + "tenant": "auth0-deploy-cli-e2e", + "channel": "phone", + "type": "change_password", + "disabled": false, + "created_at": "2025-12-09T12:26:20.243Z", + "updated_at": "2026-02-12T11:13:56.954Z", + "content": { + "syntax": "liquid", + "body": { + "text": "{{ code | escape }} is your password change code for {{ friendly_name | escape }}", + "voice": "Hello. Your password change code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your password change code is {{ pause }} {{ code | escape }}" + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/branding/phone/templates/tem_qarYST5TTE5pbMNB5NHZAj", + "body": { + "content": { + "body": { + "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}. Please enter this code to verify your enrollment.", + "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" + } + }, + "disabled": false + }, + "status": 200, + "response": { + "id": "tem_qarYST5TTE5pbMNB5NHZAj", + "tenant": "auth0-deploy-cli-e2e", + "channel": "phone", + "type": "otp_enroll", + "disabled": false, + "created_at": "2025-12-09T12:26:25.327Z", + "updated_at": "2026-02-12T11:13:57.075Z", + "content": { + "syntax": "liquid", + "body": { + "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}. Please enter this code to verify your enrollment.", + "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/branding/phone/templates/tem_dL83uTmWn8moGzm8UgAk4Q", + "body": { + "content": { + "from": "0032232323", + "body": { + "text": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message.", + "voice": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message." + } + }, + "disabled": false + }, + "status": 200, + "response": { + "id": "tem_dL83uTmWn8moGzm8UgAk4Q", + "tenant": "auth0-deploy-cli-e2e", + "channel": "phone", + "type": "blocked_account", + "disabled": false, + "created_at": "2025-12-09T12:22:47.683Z", + "updated_at": "2026-02-12T11:13:57.370Z", + "content": { + "syntax": "liquid", + "body": { + "text": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message.", + "voice": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message." + }, + "from": "0032232323" + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/client-grants?take=50", + "path": "/api/v2/token-exchange-profiles?take=50", "body": "", "status": 200, "response": { - "client_grants": [ + "token_exchange_profiles": [] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/actions?page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "actions": [], + "per_page": 100 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/email-templates/verify_email", + "body": { + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "enabled": true, + "from": "", + "subject": "", + "syntax": "liquid", + "urlLifetimeInSeconds": 432000 + }, + "status": 200, + "response": { + "template": "verify_email", + "body": "\n \n \n \n \n
\n \n \n \n
\n \n \n

\n\n

Welcome to {{ application.name}}!

\n\n

\n Thank you for signing up. Please verify your email address by clicking the following\n link:\n

\n\n

Confirm my account

\n\n

\n If you are having any issues with your account, please don’t hesitate to contact us\n by replying to this mail.\n

\n\n
\n Haha!!!\n
\n\n {{ application.name }}\n\n

\n
\n \n If you did not make this request, please contact us by replying to this mail.\n

\n
\n \n \n \n
\n \n\n", + "from": "", + "subject": "", + "syntax": "liquid", + "urlLifetimeInSeconds": 432000, + "enabled": true + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/email-templates/welcome_email", + "body": { + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "enabled": false, + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600 + }, + "status": 200, + "response": { + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600, + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/branding", + "body": { + "colors": { + "primary": "#F8F8F2", + "page_background": "#222221" + }, + "logo_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png" + }, + "status": 200, + "response": { + "colors": { + "primary": "#F8F8F2", + "page_background": "#222221" + }, + "logo_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "clients": [ { - "id": "cgr_Rp8YDYtzbAoelua0", - "client_id": "t0ai4zTc8jGQYabFDAqKtsAcLAfHGTvS", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": false, + "allowed_clients": [], + "callbacks": [], + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "subject_type": "client" + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials", + "implicit", + "authorization_code", + "refresh_token" + ], + "custom_login_page_on": true }, { - "id": "cgr_Z7oHNWCX7PzwXNP8", - "client_id": "kxn7Hhf1f3sTvKSKShmrlv33Zwlfe4Ru", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", - "scope": [ - "read:client_grants", - "create:client_grants", - "delete:client_grants", - "update:client_grants", - "read:users", - "update:users", - "delete:users", - "create:users", - "read:users_app_metadata", - "update:users_app_metadata", - "delete:users_app_metadata", - "create:users_app_metadata", - "read:user_custom_blocks", - "create:user_custom_blocks", - "delete:user_custom_blocks", - "create:user_tickets", - "read:clients", - "update:clients", - "delete:clients", - "create:clients", - "read:client_keys", - "update:client_keys", - "delete:client_keys", - "create:client_keys", - "read:connections", - "update:connections", - "delete:connections", - "create:connections", - "read:resource_servers", - "update:resource_servers", - "delete:resource_servers", - "create:resource_servers", - "read:device_credentials", - "update:device_credentials", - "delete:device_credentials", - "create:device_credentials", - "read:rules", - "update:rules", - "delete:rules", - "create:rules", - "read:rules_configs", - "update:rules_configs", - "delete:rules_configs", - "read:hooks", - "update:hooks", - "delete:hooks", - "create:hooks", - "read:actions", - "update:actions", - "delete:actions", - "create:actions", - "read:email_provider", - "update:email_provider", - "delete:email_provider", - "create:email_provider", - "blacklist:tokens", - "read:stats", - "read:insights", - "read:tenant_settings", - "update:tenant_settings", - "read:logs", - "read:logs_users", - "read:shields", - "create:shields", - "update:shields", - "delete:shields", - "read:anomaly_blocks", - "delete:anomaly_blocks", - "update:triggers", - "read:triggers", - "read:grants", - "delete:grants", - "read:guardian_factors", - "update:guardian_factors", - "read:guardian_enrollments", - "delete:guardian_enrollments", - "create:guardian_enrollment_tickets", - "read:user_idp_tokens", - "create:passwords_checking_job", - "delete:passwords_checking_job", - "read:custom_domains", - "delete:custom_domains", - "create:custom_domains", - "update:custom_domains", - "read:email_templates", - "create:email_templates", - "update:email_templates", - "read:mfa_policies", - "update:mfa_policies", - "read:roles", - "create:roles", - "delete:roles", - "update:roles", - "read:prompts", - "update:prompts", - "read:branding", - "update:branding", - "delete:branding", - "read:log_streams", - "create:log_streams", - "delete:log_streams", - "update:log_streams", - "create:signing_keys", - "read:signing_keys", - "update:signing_keys", - "read:limits", - "update:limits", - "create:role_members", - "read:role_members", - "delete:role_members", - "read:entitlements", - "read:attack_protection", - "update:attack_protection", - "read:organizations", - "update:organizations", - "create:organizations", - "delete:organizations", - "create:organization_members", - "read:organization_members", - "delete:organization_members", - "create:organization_connections", - "read:organization_connections", - "update:organization_connections", - "delete:organization_connections", - "create:organization_member_roles", - "read:organization_member_roles", - "delete:organization_member_roles", - "create:organization_invitations", - "read:organization_invitations", - "delete:organization_invitations" + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_authentication": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_auth": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819", + "mr|google-oauth2|112839029247827700155", + "mr|samlp|okta|ewan.harris@auth0.com" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations?take=50", + "body": "", + "status": 200, + "response": { + "organizations": [] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?take=50", + "body": "", + "status": 200, + "response": { + "connections": [ + { + "id": "con_hs0JNGk6M5oYHR3T", + "options": { + "mfa": { + "active": true, + "return_enroll_settings": true + }, + "passwordPolicy": "good", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, + "strategy_version": 2, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true, + "api_behavior": "required", + "signup_behavior": "allow" + } + }, + "brute_force_protection": true, + "disable_self_service_change_password": false + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "authentication": { + "active": true + }, + "connected_accounts": { + "active": false + }, + "realms": [ + "Username-Password-Authentication" ], - "subject_type": "client" - }, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/client-grants?take=50", + "body": "", + "status": 200, + "response": { + "client_grants": [ { "id": "cgr_pbwejzhwoujrsNE8", "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", @@ -15036,44 +8252,151 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/organizations/org_dwsXwbutprxLQ7gl", - "body": { - "display_name": "Organization2" - }, - "status": 200, - "response": { - "id": "org_dwsXwbutprxLQ7gl", - "display_name": "Organization2", - "name": "org2" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/organizations/org_k1k4elV3eYiPmJX0", - "body": { - "branding": { - "colors": { - "page_background": "#fff5f5", - "primary": "#57ddff" - } - }, - "display_name": "Organization" - }, + "method": "GET", + "path": "/api/v2/clients?page=0&per_page=100&include_totals=true", + "body": "", "status": 200, "response": { - "branding": { - "colors": { - "page_background": "#fff5f5", - "primary": "#57ddff" + "total": 3, + "start": 0, + "limit": 100, + "clients": [ + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Deploy CLI", + "is_first_party": true, + "oidc_conformant": true, + "sso_disabled": false, + "cross_origin_auth": false, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "cross_origin_authentication": false, + "allowed_clients": [], + "callbacks": [], + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", + "grant_types": [ + "client_credentials", + "implicit", + "authorization_code", + "refresh_token" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Default App", + "callbacks": [], + "cross_origin_authentication": false, + "is_first_party": true, + "oidc_conformant": true, + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "sso_disabled": false, + "cross_origin_auth": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "i2pfYKB8LBPBUfXRV8c0acfhdUStxoj4", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": true, + "callbacks": [], + "is_first_party": true, + "name": "All Applications", + "refresh_token": { + "expiration_type": "non-expiring", + "leeway": 0, + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "rotation_type": "non-rotating" + }, + "owners": [ + "mr|samlp|okta|will.vedder@auth0.com", + "mr|google-oauth2|102002633619863830825", + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819", + "mr|google-oauth2|112839029247827700155", + "mr|samlp|okta|ewan.harris@auth0.com" + ], + "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_secret": "[REDACTED]", + "custom_login_page_on": true } - }, - "id": "org_k1k4elV3eYiPmJX0", - "display_name": "Organization", - "name": "org1" + ] }, "rawHeaders": [], "responseIsBinary": false @@ -15084,46 +8407,7 @@ "path": "/api/v2/log-streams", "body": "", "status": 200, - "response": [ - { - "id": "lst_0000000000025632", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "suspended", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "isPriority": false - } - ], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/log-streams/lst_0000000000025632", - "body": { - "name": "Suspended DD Log Stream", - "isPriority": false, - "sink": { - "datadogApiKey": "##LOGSTREAMS_DATADOG_SECRET##", - "datadogRegion": "us" - } - }, - "status": 200, - "response": { - "id": "lst_0000000000025632", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "suspended", - "sink": { - "datadogApiKey": "##LOGSTREAMS_DATADOG_SECRET##", - "datadogRegion": "us" - }, - "isPriority": false - }, + "response": [], "rawHeaders": [], "responseIsBinary": false }, @@ -15218,7 +8502,7 @@ "name": "Blank-form", "flow_count": 0, "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2026-01-29T07:32:23.739Z" + "updated_at": "2026-02-12T11:11:35.165Z" } ] }, @@ -15304,7 +8588,7 @@ } }, "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2026-01-29T07:32:23.739Z" + "updated_at": "2026-02-12T11:11:35.165Z" }, "rawHeaders": [], "responseIsBinary": false @@ -15429,7 +8713,7 @@ } }, "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2026-01-29T08:16:52.257Z" + "updated_at": "2026-02-12T11:14:05.855Z" }, "rawHeaders": [], "responseIsBinary": false diff --git a/test/e2e/recordings/should-dump-without-throwing-an-error.json b/test/e2e/recordings/should-dump-without-throwing-an-error.json index d5315b9f..4bdfe33c 100644 --- a/test/e2e/recordings/should-dump-without-throwing-an-error.json +++ b/test/e2e/recordings/should-dump-without-throwing-an-error.json @@ -1078,32 +1078,92 @@ "value": "delete:connection_profiles" }, { - "value": "read:organization_client_grants", - "description": "Read Organization Client Grants" + "description": "Create Group Roles", + "value": "create:group_roles" }, { - "value": "create:organization_client_grants", - "description": "Create Organization Client Grants" + "description": "Delete Group Roles", + "value": "delete:group_roles" }, { - "value": "delete:organization_client_grants", - "description": "Delete Organization Client Grants" + "description": "Read User Effective Permissions", + "value": "read:user_effective_permissions" }, { - "value": "create:token_exchange_profiles", - "description": "Create Token Exchange Profile" + "description": "Read User Effective Roles", + "value": "read:user_effective_roles" }, { - "value": "read:token_exchange_profiles", - "description": "Read Token Exchange Profiles" + "description": "Read Organization Member Effective Roles", + "value": "read:organization_member_effective_roles" }, { - "value": "update:token_exchange_profiles", - "description": "Update Token Exchange Profile" + "description": "Read User Role Source Groups", + "value": "read:user_role_source_groups" }, { - "value": "delete:token_exchange_profiles", - "description": "Delete Token Exchange Profile" + "description": "Read Organization Member Role Source Groups", + "value": "read:organization_member_role_source_groups" + }, + { + "description": "Read User Permission Source Roles", + "value": "read:user_permission_source_roles" + }, + { + "description": "Read Group Roles", + "value": "read:group_roles" + }, + { + "description": "Read Organization Groups", + "value": "read:organization_groups" + }, + { + "description": "Create Organization Groups", + "value": "create:organization_groups" + }, + { + "description": "Delete Organization Groups", + "value": "delete:organization_groups" + }, + { + "description": "Read Organization Group Roles", + "value": "read:organization_group_roles" + }, + { + "description": "Create Organization Group Roles", + "value": "create:organization_group_roles" + }, + { + "description": "Delete Organization Group Roles", + "value": "delete:organization_group_roles" + }, + { + "description": "Create Token Exchange Profile", + "value": "create:token_exchange_profiles" + }, + { + "description": "Read Token Exchange Profiles", + "value": "read:token_exchange_profiles" + }, + { + "description": "Update Token Exchange Profile", + "value": "update:token_exchange_profiles" + }, + { + "description": "Delete Token Exchange Profile", + "value": "delete:token_exchange_profiles" + }, + { + "description": "Read Organization Client Grants", + "value": "read:organization_client_grants" + }, + { + "description": "Create Organization Client Grants", + "value": "create:organization_client_grants" + }, + { + "description": "Delete Organization Client Grants", + "value": "delete:organization_client_grants" }, { "value": "read:security_metrics", @@ -1120,6 +1180,22 @@ { "value": "create:connections_keys", "description": "Create connection keys" + }, + { + "value": "create:directory_provisionings", + "description": "Create Directory Provisionings" + }, + { + "value": "read:directory_provisionings", + "description": "Read Directory Provisionings" + }, + { + "value": "update:directory_provisionings", + "description": "Update Directory Provisionings" + }, + { + "value": "delete:directory_provisionings", + "description": "Delete Directory Provisionings" } ], "is_system": true @@ -1222,7 +1298,7 @@ "subject": "deprecated" } ], - "client_id": "zD40JVoZpUzcnIUdSD9DeV5MFZewsV54", + "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1242,9 +1318,8 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", + "name": "API Explorer Application", "allowed_clients": [], - "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, @@ -1276,8 +1351,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "ffWiMoFqYgsvKmPb5WOhg1eHAZkpsImL", + "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1287,22 +1361,19 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", + "name": "Node App", "allowed_clients": [], + "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, @@ -1334,7 +1405,8 @@ "subject": "deprecated" } ], - "client_id": "HHHVwtUfgkibD8KUMdUOURW6bgYnqLSk", + "allowed_origins": [], + "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1344,10 +1416,14 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { @@ -1379,7 +1455,7 @@ "subject": "deprecated" } ], - "client_id": "NGoqm494RzBYAXYiF7iKYieoCfrCmo78", + "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1398,34 +1474,18 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, + "name": "Terraform Provider", "cross_origin_authentication": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -1436,7 +1496,7 @@ "subject": "deprecated" } ], - "client_id": "Qd3B9oMYRg2LRbduBfIXnZ41sZplaflM", + "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1444,16 +1504,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -1495,7 +1549,7 @@ "subject": "deprecated" } ], - "client_id": "dDOujsBzvd5XFloUquSe9K7tpKmwf0Xo", + "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1517,18 +1571,34 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -1539,7 +1609,7 @@ "subject": "deprecated" } ], - "client_id": "W30IWhwDPxh6gWrGYreGEoWlvpZyy690", + "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1547,10 +1617,16 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -1591,7 +1667,7 @@ "subject": "deprecated" } ], - "client_id": "Z8ymKCHZCEdMQ0D686oQEGLNjW2FpTUF", + "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1621,7 +1697,7 @@ "response": { "connections": [ { - "id": "con_WZERYybF8x4e2asj", + "id": "con_kVFZpeo22LiRkuZX", "options": { "mfa": { "active": true, @@ -1669,7 +1745,8 @@ "password_complexity_options": { "min_length": 8 }, - "enabledDatabaseCustomization": true + "enabledDatabaseCustomization": true, + "disable_self_service_change_password": false }, "strategy": "auth0", "name": "boo-baz-db-connection-test", @@ -1684,12 +1761,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "Z8ymKCHZCEdMQ0D686oQEGLNjW2FpTUF", - "ffWiMoFqYgsvKmPb5WOhg1eHAZkpsImL" + "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" ] }, { - "id": "con_M4z36vBmkDrRAy1c", + "id": "con_MRA4eGO9o9D9p6B8", "options": { "mfa": { "active": true, @@ -1711,7 +1788,8 @@ "api_behavior": "required" } }, - "brute_force_protection": true + "brute_force_protection": true, + "disable_self_service_change_password": false }, "strategy": "auth0", "name": "Username-Password-Authentication", @@ -1727,7 +1805,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "zD40JVoZpUzcnIUdSD9DeV5MFZewsV54" + "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" ] } ] @@ -1738,18 +1816,61 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_WZERYybF8x4e2asj/clients?take=50", + "path": "/api/v2/actions/actions?page=0&per_page=100", "body": "", "status": 200, "response": { - "clients": [ - { - "client_id": "ffWiMoFqYgsvKmPb5WOhg1eHAZkpsImL" - }, + "actions": [ { - "client_id": "Z8ymKCHZCEdMQ0D686oQEGLNjW2FpTUF" + "id": "de79b7e4-3d92-4f84-b215-ed506bdac09d", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2026-01-29T08:22:57.593938583Z", + "updated_at": "2026-01-29T08:22:57.600269544Z", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "runtime": "node18", + "status": "built", + "secrets": [], + "current_version": { + "id": "9c396565-368c-4901-b718-b28d07bbfae1", + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "runtime": "node18", + "status": "BUILT", + "number": 1, + "build_time": "2026-01-29T08:22:58.678829844Z", + "created_at": "2026-01-29T08:22:58.612060855Z", + "updated_at": "2026-01-29T08:22:58.679766962Z" + }, + "deployed_version": { + "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", + "dependencies": [], + "id": "9c396565-368c-4901-b718-b28d07bbfae1", + "deployed": true, + "number": 1, + "built_at": "2026-01-29T08:22:58.678829844Z", + "secrets": [], + "status": "built", + "created_at": "2026-01-29T08:22:58.612060855Z", + "updated_at": "2026-01-29T08:22:58.679766962Z", + "runtime": "node18", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true } - ] + ], + "total": 1, + "per_page": 100 }, "rawHeaders": [], "responseIsBinary": false @@ -1757,16 +1878,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_M4z36vBmkDrRAy1c/clients?take=50", + "path": "/api/v2/connections/con_kVFZpeo22LiRkuZX/clients?take=50", "body": "", "status": 200, "response": { "clients": [ { - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0" }, { - "client_id": "zD40JVoZpUzcnIUdSD9DeV5MFZewsV54" + "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" } ] }, @@ -1776,16 +1897,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_WZERYybF8x4e2asj/clients?take=50", + "path": "/api/v2/connections/con_MRA4eGO9o9D9p6B8/clients?take=50", "body": "", "status": 200, "response": { "clients": [ { - "client_id": "ffWiMoFqYgsvKmPb5WOhg1eHAZkpsImL" + "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" }, { - "client_id": "Z8ymKCHZCEdMQ0D686oQEGLNjW2FpTUF" + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" } ] }, @@ -1795,18 +1916,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_M4z36vBmkDrRAy1c/clients?take=50", + "path": "/api/v2/connections-directory-provisionings?take=50", "body": "", - "status": 200, + "status": 403, "response": { - "clients": [ - { - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" - }, - { - "client_id": "zD40JVoZpUzcnIUdSD9DeV5MFZewsV54" - } - ] + "statusCode": 403, + "error": "Forbidden", + "message": "Insufficient scope, expected any of: read:directory_provisionings", + "errorCode": "insufficient_scope" }, "rawHeaders": [], "responseIsBinary": false @@ -1820,7 +1937,7 @@ "response": { "connections": [ { - "id": "con_WZERYybF8x4e2asj", + "id": "con_kVFZpeo22LiRkuZX", "options": { "mfa": { "active": true, @@ -1868,7 +1985,8 @@ "password_complexity_options": { "min_length": 8 }, - "enabledDatabaseCustomization": true + "enabledDatabaseCustomization": true, + "disable_self_service_change_password": false }, "strategy": "auth0", "name": "boo-baz-db-connection-test", @@ -1883,12 +2001,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "Z8ymKCHZCEdMQ0D686oQEGLNjW2FpTUF", - "ffWiMoFqYgsvKmPb5WOhg1eHAZkpsImL" + "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", + "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" ] }, { - "id": "con_AlFtNtsWw2iAOeF0", + "id": "con_ofYLTrH65uc11uHU", "options": { "email": true, "scope": [ @@ -1910,12 +2028,12 @@ "google-oauth2" ], "enabled_clients": [ - "Z8ymKCHZCEdMQ0D686oQEGLNjW2FpTUF", - "dDOujsBzvd5XFloUquSe9K7tpKmwf0Xo" + "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", + "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08" ] }, { - "id": "con_M4z36vBmkDrRAy1c", + "id": "con_MRA4eGO9o9D9p6B8", "options": { "mfa": { "active": true, @@ -1937,7 +2055,8 @@ "api_behavior": "required" } }, - "brute_force_protection": true + "brute_force_protection": true, + "disable_self_service_change_password": false }, "strategy": "auth0", "name": "Username-Password-Authentication", @@ -1953,7 +2072,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "zD40JVoZpUzcnIUdSD9DeV5MFZewsV54" + "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx" ] } ] @@ -1964,35 +2083,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_AlFtNtsWw2iAOeF0/clients?take=50", - "body": "", - "status": 200, - "response": { - "clients": [ - { - "client_id": "dDOujsBzvd5XFloUquSe9K7tpKmwf0Xo" - }, - { - "client_id": "Z8ymKCHZCEdMQ0D686oQEGLNjW2FpTUF" - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_AlFtNtsWw2iAOeF0/clients?take=50", + "path": "/api/v2/connections/con_ofYLTrH65uc11uHU/clients?take=50", "body": "", "status": 200, "response": { "clients": [ { - "client_id": "dDOujsBzvd5XFloUquSe9K7tpKmwf0Xo" + "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF" }, { - "client_id": "Z8ymKCHZCEdMQ0D686oQEGLNjW2FpTUF" + "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08" } ] }, @@ -2122,7 +2222,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/reset_email_by_code", "body": "", "status": 404, "response": { @@ -2137,7 +2237,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/async_approval", "body": "", "status": 404, "response": { @@ -2152,7 +2252,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/enrollment_email", + "path": "/api/v2/email-templates/change_password", "body": "", "status": 404, "response": { @@ -2167,7 +2267,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/user_invitation", "body": "", "status": 404, "response": { @@ -2182,7 +2282,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/blocked_account", "body": "", "status": 404, "response": { @@ -2197,7 +2297,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email_by_code", + "path": "/api/v2/email-templates/reset_email", "body": "", "status": 404, "response": { @@ -2212,26 +2312,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/welcome_email", - "body": "", - "status": 200, - "response": { - "template": "welcome_email", - "body": "\n \n

Welcome!

\n \n\n", - "from": "", - "resultUrl": "https://example.com/welcome", - "subject": "Welcome", - "syntax": "liquid", - "urlLifetimeInSeconds": 3600, - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/email-templates/async_approval", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", "status": 404, "response": { @@ -2246,7 +2327,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/mfa_oob_code", + "path": "/api/v2/email-templates/password_reset", "body": "", "status": 404, "response": { @@ -2261,7 +2342,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/email-templates/enrollment_email", "body": "", "status": 404, "response": { @@ -2276,12 +2357,31 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/email-templates/welcome_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600, + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/email-templates/mfa_oob_code", + "body": "", + "status": 404, + "response": { + "statusCode": 404, + "error": "Not Found", "message": "The template does not exist.", "errorCode": "inexistent_email_template" }, @@ -2297,8 +2397,8 @@ "response": { "client_grants": [ { - "id": "cgr_ZoVKnym79pVDlnrn", - "client_id": "HHHVwtUfgkibD8KUMdUOURW6bgYnqLSk", + "id": "cgr_iPFkIWsW1niwPulu", + "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -2435,8 +2535,8 @@ "subject_type": "client" }, { - "id": "cgr_pbwejzhwoujrsNE8", - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "id": "cgr_mM8jzwNihrFtx89p", + "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -2463,10 +2563,6 @@ "update:client_keys", "delete:client_keys", "create:client_keys", - "read:client_credentials", - "update:client_credentials", - "delete:client_credentials", - "create:client_credentials", "read:connections", "update:connections", "delete:connections", @@ -2556,19 +2652,10 @@ "read:entitlements", "read:attack_protection", "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", "read:organizations", "update:organizations", "create:organizations", "delete:organizations", - "read:organization_discovery_domains", - "update:organization_discovery_domains", - "create:organization_discovery_domains", - "delete:organization_discovery_domains", "create:organization_members", "read:organization_members", "delete:organization_members", @@ -2581,102 +2668,13 @@ "delete:organization_member_roles", "create:organization_invitations", "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:sessions", - "update:sessions", - "delete:sessions", - "read:refresh_tokens", - "update:refresh_tokens", - "delete:refresh_tokens", - "create:self_service_profiles", - "read:self_service_profiles", - "update:self_service_profiles", - "delete:self_service_profiles", - "create:sso_access_tickets", - "delete:sso_access_tickets", - "read:forms", - "update:forms", - "delete:forms", - "create:forms", - "read:flows", - "update:flows", - "delete:flows", - "create:flows", - "read:flows_vault", - "read:flows_vault_connections", - "update:flows_vault_connections", - "delete:flows_vault_connections", - "create:flows_vault_connections", - "read:flows_executions", - "delete:flows_executions", - "read:connections_options", - "update:connections_options", - "read:self_service_profile_custom_texts", - "update:self_service_profile_custom_texts", - "create:network_acls", - "update:network_acls", - "read:network_acls", - "delete:network_acls", - "delete:vdcs_templates", - "read:vdcs_templates", - "create:vdcs_templates", - "update:vdcs_templates", - "create:custom_signing_keys", - "read:custom_signing_keys", - "update:custom_signing_keys", - "delete:custom_signing_keys", - "read:federated_connections_tokens", - "delete:federated_connections_tokens", - "create:user_attribute_profiles", - "read:user_attribute_profiles", - "update:user_attribute_profiles", - "delete:user_attribute_profiles", - "read:event_streams", - "create:event_streams", - "delete:event_streams", - "update:event_streams", - "read:event_deliveries", - "update:event_deliveries", - "create:connection_profiles", - "read:connection_profiles", - "update:connection_profiles", - "delete:connection_profiles", - "read:organization_client_grants", - "create:organization_client_grants", - "delete:organization_client_grants", - "create:token_exchange_profiles", - "read:token_exchange_profiles", - "update:token_exchange_profiles", - "delete:token_exchange_profiles", - "read:security_metrics", - "read:connections_keys", - "update:connections_keys", - "create:connections_keys" + "delete:organization_invitations" ], "subject_type": "client" }, { - "id": "cgr_sGTDLk9ZHeOn5Rfs", - "client_id": "W30IWhwDPxh6gWrGYreGEoWlvpZyy690", + "id": "cgr_pbwejzhwoujrsNE8", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -2703,6 +2701,10 @@ "update:client_keys", "delete:client_keys", "create:client_keys", + "read:client_credentials", + "update:client_credentials", + "delete:client_credentials", + "create:client_credentials", "read:connections", "update:connections", "delete:connections", @@ -2792,10 +2794,19 @@ "read:entitlements", "read:attack_protection", "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", "read:organizations", "update:organizations", "create:organizations", "delete:organizations", + "read:organization_discovery_domains", + "update:organization_discovery_domains", + "create:organization_discovery_domains", + "delete:organization_discovery_domains", "create:organization_members", "read:organization_members", "delete:organization_members", @@ -2808,7 +2819,96 @@ "delete:organization_member_roles", "create:organization_invitations", "read:organization_invitations", - "delete:organization_invitations" + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:sessions", + "update:sessions", + "delete:sessions", + "read:refresh_tokens", + "update:refresh_tokens", + "delete:refresh_tokens", + "create:self_service_profiles", + "read:self_service_profiles", + "update:self_service_profiles", + "delete:self_service_profiles", + "create:sso_access_tickets", + "delete:sso_access_tickets", + "read:forms", + "update:forms", + "delete:forms", + "create:forms", + "read:flows", + "update:flows", + "delete:flows", + "create:flows", + "read:flows_vault", + "read:flows_vault_connections", + "update:flows_vault_connections", + "delete:flows_vault_connections", + "create:flows_vault_connections", + "read:flows_executions", + "delete:flows_executions", + "read:connections_options", + "update:connections_options", + "read:self_service_profile_custom_texts", + "update:self_service_profile_custom_texts", + "create:network_acls", + "update:network_acls", + "read:network_acls", + "delete:network_acls", + "delete:vdcs_templates", + "read:vdcs_templates", + "create:vdcs_templates", + "update:vdcs_templates", + "create:custom_signing_keys", + "read:custom_signing_keys", + "update:custom_signing_keys", + "delete:custom_signing_keys", + "read:federated_connections_tokens", + "delete:federated_connections_tokens", + "create:user_attribute_profiles", + "read:user_attribute_profiles", + "update:user_attribute_profiles", + "delete:user_attribute_profiles", + "read:event_streams", + "create:event_streams", + "delete:event_streams", + "update:event_streams", + "read:event_deliveries", + "update:event_deliveries", + "create:connection_profiles", + "read:connection_profiles", + "update:connection_profiles", + "delete:connection_profiles", + "read:organization_client_grants", + "create:organization_client_grants", + "delete:organization_client_grants", + "create:token_exchange_profiles", + "read:token_exchange_profiles", + "update:token_exchange_profiles", + "delete:token_exchange_profiles", + "read:security_metrics", + "read:connections_keys", + "update:connections_keys", + "create:connections_keys" ], "subject_type": "client" } @@ -2871,7 +2971,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/guardian/factors/sms/providers/twilio", + "path": "/api/v2/guardian/factors/push-notification/providers/sns", "body": "", "status": 200, "response": {}, @@ -2881,7 +2981,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/guardian/factors/push-notification/providers/sns", + "path": "/api/v2/guardian/factors/sms/providers/twilio", "body": "", "status": 200, "response": {}, @@ -2944,22 +3044,22 @@ "response": { "roles": [ { - "id": "rol_3fNBKUKaItaS9tC8", + "id": "rol_KuqJfEaHcrAOSaWr", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_F7ExqHIZUUI7V0jp", + "id": "rol_XrPBqiiUpBMrQ1Co", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_WX9FGMmcaxu9QVOo", + "id": "rol_Q1OogAZSOXBxR0mS", "name": "read_only", "description": "Read Only" }, { - "id": "rol_55gJg3vi8Z1qSjoB", + "id": "rol_8cl9Rbs5GmO6L8O1", "name": "read_osnly", "description": "Readz Only" } @@ -2974,7 +3074,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_3fNBKUKaItaS9tC8/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_KuqJfEaHcrAOSaWr/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -2989,22 +3089,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_3fNBKUKaItaS9tC8/permissions?per_page=100&page=1&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 100, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_F7ExqHIZUUI7V0jp/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_XrPBqiiUpBMrQ1Co/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -3019,22 +3104,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_F7ExqHIZUUI7V0jp/permissions?per_page=100&page=1&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 100, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_WX9FGMmcaxu9QVOo/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_Q1OogAZSOXBxR0mS/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -3049,22 +3119,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_WX9FGMmcaxu9QVOo/permissions?per_page=100&page=1&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 100, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_55gJg3vi8Z1qSjoB/permissions?per_page=100&page=0&include_totals=true", + "path": "/api/v2/roles/rol_8cl9Rbs5GmO6L8O1/permissions?per_page=100&page=0&include_totals=true", "body": "", "status": 200, "response": { @@ -3076,21 +3131,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/roles/rol_55gJg3vi8Z1qSjoB/permissions?per_page=100&page=1&include_totals=true", - "body": "", - "status": 200, - "response": { - "permissions": [], - "start": 100, - "limit": 100, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -3140,7 +3180,7 @@ }, "credentials": null, "created_at": "2025-12-09T12:24:00.604Z", - "updated_at": "2025-12-22T04:09:23.539Z" + "updated_at": "2026-01-29T08:16:37.178Z" } ] }, @@ -3156,19 +3196,20 @@ "response": { "templates": [ { - "id": "tem_o4LBTt4NQyX8K4vC9dPafR", + "id": "tem_dL83uTmWn8moGzm8UgAk4Q", "tenant": "auth0-deploy-cli-e2e", "channel": "phone", - "type": "otp_verify", + "type": "blocked_account", "disabled": false, - "created_at": "2025-12-09T12:26:30.547Z", - "updated_at": "2025-12-22T04:09:25.908Z", + "created_at": "2025-12-09T12:22:47.683Z", + "updated_at": "2026-01-29T08:16:39.526Z", "content": { "syntax": "liquid", "body": { - "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}", - "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" - } + "text": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message.", + "voice": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message." + }, + "from": "0032232323" } }, { @@ -3178,7 +3219,7 @@ "type": "change_password", "disabled": false, "created_at": "2025-12-09T12:26:20.243Z", - "updated_at": "2025-12-22T04:09:25.499Z", + "updated_at": "2026-01-29T08:16:39.875Z", "content": { "syntax": "liquid", "body": { @@ -3188,36 +3229,35 @@ } }, { - "id": "tem_qarYST5TTE5pbMNB5NHZAj", + "id": "tem_o4LBTt4NQyX8K4vC9dPafR", "tenant": "auth0-deploy-cli-e2e", "channel": "phone", - "type": "otp_enroll", + "type": "otp_verify", "disabled": false, - "created_at": "2025-12-09T12:26:25.327Z", - "updated_at": "2025-12-22T04:09:25.508Z", + "created_at": "2025-12-09T12:26:30.547Z", + "updated_at": "2026-01-29T08:16:39.493Z", "content": { "syntax": "liquid", "body": { - "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}. Please enter this code to verify your enrollment.", + "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}", "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" } } }, { - "id": "tem_dL83uTmWn8moGzm8UgAk4Q", + "id": "tem_qarYST5TTE5pbMNB5NHZAj", "tenant": "auth0-deploy-cli-e2e", "channel": "phone", - "type": "blocked_account", + "type": "otp_enroll", "disabled": false, - "created_at": "2025-12-09T12:22:47.683Z", - "updated_at": "2025-12-22T04:09:25.510Z", + "created_at": "2025-12-09T12:26:25.327Z", + "updated_at": "2026-01-29T08:16:39.523Z", "content": { "syntax": "liquid", "body": { - "text": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message.", - "voice": "We detected suspicious activity on your account from the ip {{user.source_ip}}{% if user.city %} from {{user.city}}, {{user.country}}{% elsif user.country %} from {{user.country}}{% endif %}. Logins from this IP have been blocked on your account. If this is your IP, please reset your password to unblock your account. Otherwise, disregard this message." - }, - "from": "0032232323" + "text": "{{ code | escape }} is your verification code for {{ friendly_name | escape }}. Please enter this code to verify your enrollment.", + "voice": "Hello. Your verification code for {{ friendly_name | escape }} is {{ pause }} {{ code | escape }}. I repeat, your verification code is {{ pause }} {{ code | escape }}" + } } } ] @@ -3323,7 +3363,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/custom-text/en", + "path": "/api/v2/prompts/login-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3333,7 +3373,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/custom-text/en", + "path": "/api/v2/prompts/login-passwordless/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3343,7 +3383,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-passwordless/custom-text/en", + "path": "/api/v2/prompts/login-email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3353,7 +3393,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/custom-text/en", + "path": "/api/v2/prompts/login-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3363,7 +3403,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-email-verification/custom-text/en", + "path": "/api/v2/prompts/signup/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3373,7 +3413,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-password/custom-text/en", + "path": "/api/v2/prompts/signup-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3383,7 +3423,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup-id/custom-text/en", + "path": "/api/v2/prompts/signup-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3443,7 +3483,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/consent/custom-text/en", + "path": "/api/v2/prompts/customized-consent/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3453,7 +3493,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/customized-consent/custom-text/en", + "path": "/api/v2/prompts/consent/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3483,7 +3523,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-voice/custom-text/en", + "path": "/api/v2/prompts/mfa-otp/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3493,7 +3533,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-otp/custom-text/en", + "path": "/api/v2/prompts/mfa-voice/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3503,7 +3543,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-sms/custom-text/en", + "path": "/api/v2/prompts/mfa-phone/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3523,7 +3563,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-phone/custom-text/en", + "path": "/api/v2/prompts/mfa-email/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3533,7 +3573,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-email/custom-text/en", + "path": "/api/v2/prompts/mfa-sms/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3563,7 +3603,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/device-flow/custom-text/en", + "path": "/api/v2/prompts/status/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3573,7 +3613,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/status/custom-text/en", + "path": "/api/v2/prompts/device-flow/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3583,7 +3623,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/organizations/custom-text/en", + "path": "/api/v2/prompts/email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3593,7 +3633,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-verification/custom-text/en", + "path": "/api/v2/prompts/email-otp-challenge/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3603,7 +3643,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-otp-challenge/custom-text/en", + "path": "/api/v2/prompts/organizations/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3633,7 +3673,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/captcha/custom-text/en", + "path": "/api/v2/prompts/passkeys/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3643,7 +3683,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/passkeys/custom-text/en", + "path": "/api/v2/prompts/captcha/custom-text/en", "body": "", "status": 200, "response": {}, @@ -3663,7 +3703,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/partials", + "path": "/api/v2/prompts/login-id/partials", "body": "", "status": 200, "response": {}, @@ -3673,7 +3713,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/partials", + "path": "/api/v2/prompts/login/partials", "body": "", "status": 200, "response": {}, @@ -3683,7 +3723,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/partials", + "path": "/api/v2/prompts/login-password/partials", "body": "", "status": 200, "response": {}, @@ -3693,7 +3733,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-passwordless/partials", + "path": "/api/v2/prompts/signup/partials", "body": "", "status": 200, "response": {}, @@ -3703,7 +3743,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/signup/partials", + "path": "/api/v2/prompts/login-passwordless/partials", "body": "", "status": 200, "response": {}, @@ -3754,7 +3794,7 @@ "response": { "actions": [ { - "id": "51c5bc0d-c3fa-47d0-9bdc-9d963855ce34", + "id": "de79b7e4-3d92-4f84-b215-ed506bdac09d", "name": "My Custom Action", "supported_triggers": [ { @@ -3762,34 +3802,34 @@ "version": "v2" } ], - "created_at": "2025-12-22T04:09:04.772234127Z", - "updated_at": "2025-12-22T04:09:04.783177966Z", + "created_at": "2026-01-29T08:22:57.593938583Z", + "updated_at": "2026-01-29T08:22:57.600269544Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node18", "status": "built", "secrets": [], "current_version": { - "id": "bac9d181-8641-4780-9229-9cac2f3c2246", + "id": "9c396565-368c-4901-b718-b28d07bbfae1", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node18", "status": "BUILT", "number": 1, - "build_time": "2025-12-22T04:09:05.511128094Z", - "created_at": "2025-12-22T04:09:05.461657372Z", - "updated_at": "2025-12-22T04:09:05.511579309Z" + "build_time": "2026-01-29T08:22:58.678829844Z", + "created_at": "2026-01-29T08:22:58.612060855Z", + "updated_at": "2026-01-29T08:22:58.679766962Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "bac9d181-8641-4780-9229-9cac2f3c2246", + "id": "9c396565-368c-4901-b718-b28d07bbfae1", "deployed": true, "number": 1, - "built_at": "2025-12-22T04:09:05.511128094Z", + "built_at": "2026-01-29T08:22:58.678829844Z", "secrets": [], "status": "built", - "created_at": "2025-12-22T04:09:05.461657372Z", - "updated_at": "2025-12-22T04:09:05.511579309Z", + "created_at": "2026-01-29T08:22:58.612060855Z", + "updated_at": "2026-01-29T08:22:58.679766962Z", "runtime": "node18", "supported_triggers": [ { @@ -3837,18 +3877,30 @@ "version": "v2", "status": "DEPRECATED", "runtimes": [ - "node18" + "node18", + "node22" ], "default_runtime": "node16", "binding_policy": "trigger-bound", "compatible_triggers": [] }, + { + "id": "post-login", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node22" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, { "id": "credentials-exchange", "version": "v1", "status": "DEPRECATED", "runtimes": [ - "node12" + "node22" ], "default_runtime": "node12", "binding_policy": "trigger-bound", @@ -3878,12 +3930,33 @@ "binding_policy": "trigger-bound", "compatible_triggers": [] }, + { + "id": "pre-user-registration", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node22" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-user-registration", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node22" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, { "id": "post-user-registration", "version": "v2", "status": "CURRENT", "runtimes": [ - "node12", "node18-actions", "node22" ], @@ -3896,7 +3969,7 @@ "version": "v1", "status": "DEPRECATED", "runtimes": [ - "node12" + "node22" ], "default_runtime": "node12", "binding_policy": "trigger-bound", @@ -3919,7 +3992,6 @@ "version": "v2", "status": "CURRENT", "runtimes": [ - "node12", "node18-actions", "node22" ], @@ -3928,23 +4000,22 @@ "compatible_triggers": [] }, { - "id": "password-reset-post-challenge", + "id": "send-phone-message", "version": "v1", - "status": "CURRENT", + "status": "DEPRECATED", "runtimes": [ - "node18-actions", "node22" ], - "default_runtime": "node22", + "default_runtime": "node12", "binding_policy": "trigger-bound", "compatible_triggers": [] }, { - "id": "login-post-identifier", + "id": "password-reset-post-challenge", "version": "v1", "status": "CURRENT", "runtimes": [ - "node18", + "node18-actions", "node22" ], "default_runtime": "node22", @@ -4008,6 +4079,17 @@ "default_runtime": "node22", "binding_policy": "entity-bound", "compatible_triggers": [] + }, + { + "id": "mcp-tool", + "version": "v1", + "status": "CURRENT", + "runtimes": [ + "node22" + ], + "default_runtime": "node22", + "binding_policy": "entity-bound", + "compatible_triggers": [] } ] }, @@ -4108,7 +4190,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/login-post-identifier/bindings?page=0&per_page=50", + "path": "/api/v2/actions/triggers/custom-phone-provider/bindings?page=0&per_page=50", "body": "", "status": 200, "response": { @@ -4121,7 +4203,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/custom-phone-provider/bindings?page=0&per_page=50", + "path": "/api/v2/actions/triggers/custom-email-provider/bindings?page=0&per_page=50", "body": "", "status": 200, "response": { @@ -4134,7 +4216,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/custom-email-provider/bindings?page=0&per_page=50", + "path": "/api/v2/actions/triggers/custom-token-exchange/bindings?page=0&per_page=50", "body": "", "status": 200, "response": { @@ -4147,7 +4229,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/custom-token-exchange/bindings?page=0&per_page=50", + "path": "/api/v2/actions/triggers/event-stream/bindings?page=0&per_page=50", "body": "", "status": 200, "response": { @@ -4160,7 +4242,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/event-stream/bindings?page=0&per_page=50", + "path": "/api/v2/actions/triggers/password-hash-migration/bindings?page=0&per_page=50", "body": "", "status": 200, "response": { @@ -4173,7 +4255,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/password-hash-migration/bindings?page=0&per_page=50", + "path": "/api/v2/actions/triggers/mcp-tool/bindings?page=0&per_page=50", "body": "", "status": 200, "response": { @@ -4192,12 +4274,7 @@ "response": { "organizations": [ { - "id": "org_vPq0BmUITE2CiV4b", - "name": "org2", - "display_name": "Organization2" - }, - { - "id": "org_kSNCakm0FLqZRlQL", + "id": "org_xWa07kdbbwu2lRcF", "name": "org1", "display_name": "Organization", "branding": { @@ -4206,6 +4283,11 @@ "primary": "#57ddff" } } + }, + { + "id": "org_gDr714haDt65Zd3H", + "name": "org2", + "display_name": "Organization2" } ] }, @@ -4305,7 +4387,7 @@ "subject": "deprecated" } ], - "client_id": "zD40JVoZpUzcnIUdSD9DeV5MFZewsV54", + "client_id": "a8Jvp120Vl4iLr9OYHemhKC6JlvVkosx", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4325,9 +4407,8 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", + "name": "API Explorer Application", "allowed_clients": [], - "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, @@ -4359,8 +4440,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "ffWiMoFqYgsvKmPb5WOhg1eHAZkpsImL", + "client_id": "OEDCYHi5EKhExoxO1JnjbszEmYeYHS6Y", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4370,22 +4450,19 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "regular_web", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], - "web_origins": [], "custom_login_page_on": true }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", + "name": "Node App", "allowed_clients": [], + "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_authentication": false, @@ -4417,7 +4494,8 @@ "subject": "deprecated" } ], - "client_id": "HHHVwtUfgkibD8KUMdUOURW6bgYnqLSk", + "allowed_origins": [], + "client_id": "6E2BOYzV1O8msYFLaQan7WzKXyu4zKQ0", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4427,10 +4505,14 @@ }, "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "app_type": "regular_web", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], + "web_origins": [], "custom_login_page_on": true }, { @@ -4462,7 +4544,7 @@ "subject": "deprecated" } ], - "client_id": "NGoqm494RzBYAXYiF7iKYieoCfrCmo78", + "client_id": "WnPPuRbTXT1o4qFBLT2Je0XrdVV6BA3k", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4481,34 +4563,18 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", - "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], - "client_metadata": {}, + "name": "Terraform Provider", "cross_origin_authentication": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "expiring", + "expiration_type": "non-expiring", "leeway": 0, - "token_lifetime": 2592000, - "idle_token_lifetime": 1296000, - "infinite_token_lifetime": false, - "infinite_idle_token_lifetime": false, - "rotation_type": "rotating" + "infinite_token_lifetime": true, + "infinite_idle_token_lifetime": true, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -4519,7 +4585,7 @@ "subject": "deprecated" } ], - "client_id": "Qd3B9oMYRg2LRbduBfIXnZ41sZplaflM", + "client_id": "0qyT7HsinUybfiatUqogGKfkVH9hJ5RR", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4527,16 +4593,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], - "token_endpoint_auth_method": "none", - "app_type": "spa", + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "client_credentials" ], "custom_login_page_on": true }, @@ -4578,7 +4638,7 @@ "subject": "deprecated" } ], - "client_id": "dDOujsBzvd5XFloUquSe9K7tpKmwf0Xo", + "client_id": "ZEAWUup6vAZAJeS0MHgpyt8owSeVVt08", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4600,18 +4660,34 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, "cross_origin_authentication": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "cross_origin_auth": false, @@ -4622,7 +4698,7 @@ "subject": "deprecated" } ], - "client_id": "W30IWhwDPxh6gWrGYreGEoWlvpZyy690", + "client_id": "co2HWyXAwPonebcAmKyYONy4FixiN52S", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4630,10 +4706,16 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -4674,7 +4756,7 @@ "subject": "deprecated" } ], - "client_id": "Z8ymKCHZCEdMQ0D686oQEGLNjW2FpTUF", + "client_id": "QP3eQtPGl14IUVBp3AewvaKJF1XKbhGF", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4735,22 +4817,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_vPq0BmUITE2CiV4b/enabled_connections?page=0&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "enabled_connections": [], - "start": 0, - "limit": 0, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_vPq0BmUITE2CiV4b/enabled_connections?page=1&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_xWa07kdbbwu2lRcF/enabled_connections?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -4765,7 +4832,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_vPq0BmUITE2CiV4b/client-grants?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_xWa07kdbbwu2lRcF/client-grants?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -4780,34 +4847,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_vPq0BmUITE2CiV4b/client-grants?page=1&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "client_grants": [], - "start": 50, - "limit": 50, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_vPq0BmUITE2CiV4b/discovery-domains?take=50", - "body": "", - "status": 200, - "response": { - "domains": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_vPq0BmUITE2CiV4b/discovery-domains?take=50", + "path": "/api/v2/organizations/org_xWa07kdbbwu2lRcF/discovery-domains?take=50", "body": "", "status": 200, "response": { @@ -4819,22 +4859,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_kSNCakm0FLqZRlQL/enabled_connections?page=0&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "enabled_connections": [], - "start": 0, - "limit": 0, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_kSNCakm0FLqZRlQL/enabled_connections?page=1&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_gDr714haDt65Zd3H/enabled_connections?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -4849,7 +4874,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_kSNCakm0FLqZRlQL/client-grants?page=0&per_page=50&include_totals=true", + "path": "/api/v2/organizations/org_gDr714haDt65Zd3H/client-grants?page=0&per_page=50&include_totals=true", "body": "", "status": 200, "response": { @@ -4864,34 +4889,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_kSNCakm0FLqZRlQL/client-grants?page=1&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "client_grants": [], - "start": 50, - "limit": 50, - "total": 0 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_kSNCakm0FLqZRlQL/discovery-domains?take=50", - "body": "", - "status": 200, - "response": { - "domains": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/organizations/org_kSNCakm0FLqZRlQL/discovery-domains?take=50", + "path": "/api/v2/organizations/org_gDr714haDt65Zd3H/discovery-domains?take=50", "body": "", "status": 200, "response": { @@ -5028,11 +5026,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/risk-assessments/settings", + "path": "/api/v2/risk-assessments/settings/new-device", "body": "", "status": 200, "response": { - "enabled": false + "remember_for": 30 }, "rawHeaders": [], "responseIsBinary": false @@ -5040,11 +5038,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/risk-assessments/settings/new-device", + "path": "/api/v2/risk-assessments/settings", "body": "", "status": 200, "response": { - "remember_for": 30 + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -5057,25 +5055,25 @@ "status": 200, "response": [ { - "id": "lst_0000000000025625", + "id": "lst_0000000000026038", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", "sink": { - "datadogApiKey": "##LOGSTREAMS_DATADOG_SECRET##", + "datadogApiKey": "some-sensitive-api-key", "datadogRegion": "us" }, "isPriority": false }, { - "id": "lst_0000000000025626", + "id": "lst_0000000000026039", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-d8e6f999-2d85-483f-8080-dd3c23b929fd/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-988b6f71-63f1-41c3-9367-a83c0be14ece/auth0.logs" }, "filters": [ { @@ -5149,14 +5147,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/flows?page=0&per_page=100&include_totals=true", + "path": "/api/v2/forms?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { "limit": 100, "start": 0, - "total": 0, - "flows": [] + "total": 1, + "forms": [ + { + "id": "ap_6JUSCU7qq1CravnoU6d6jr", + "name": "Blank-form", + "flow_count": 0, + "created_at": "2024-11-26T11:58:18.187Z", + "updated_at": "2026-01-30T07:08:24.723Z" + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -5164,22 +5170,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/forms?page=0&per_page=100&include_totals=true", + "path": "/api/v2/flows?page=0&per_page=100&include_totals=true", "body": "", "status": 200, "response": { "limit": 100, "start": 0, - "total": 1, - "forms": [ - { - "id": "ap_6JUSCU7qq1CravnoU6d6jr", - "name": "Blank-form", - "flow_count": 0, - "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2025-12-22T04:09:35.941Z" - } - ] + "total": 0, + "flows": [] }, "rawHeaders": [], "responseIsBinary": false @@ -5248,7 +5246,7 @@ } }, "created_at": "2024-11-26T11:58:18.187Z", - "updated_at": "2025-12-22T04:09:35.941Z" + "updated_at": "2026-01-30T07:08:24.723Z" }, "rawHeaders": [], "responseIsBinary": false @@ -5283,21 +5281,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/flows/vault/connections?page=1&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "limit": 50, - "start": 50, - "total": 0, - "connections": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -5313,21 +5296,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/flows/vault/connections?page=1&per_page=50&include_totals=true", - "body": "", - "status": 200, - "response": { - "limit": 50, - "start": 50, - "total": 0, - "connections": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -5357,7 +5325,7 @@ "okta" ], "created_at": "2024-11-26T11:58:18.962Z", - "updated_at": "2025-12-22T04:09:24.784Z", + "updated_at": "2026-01-29T08:23:17.397Z", "branding": { "colors": { "primary": "#19aecc" @@ -5408,9 +5376,9 @@ "allow": true } }, - "created_at": "2025-09-09T04:41:43.671Z", - "updated_at": "2025-12-22T04:09:07.320Z", - "id": "acl_wpZ6oScRU5L6QKAxMUMHmx" + "created_at": "2026-01-29T08:17:51.522Z", + "updated_at": "2026-01-29T08:23:00.514Z", + "id": "acl_5EgHsY1h2Apnv4cvsM6Q9J" } ] }, @@ -5505,7 +5473,7 @@ "response": { "actions": [ { - "id": "51c5bc0d-c3fa-47d0-9bdc-9d963855ce34", + "id": "de79b7e4-3d92-4f84-b215-ed506bdac09d", "name": "My Custom Action", "supported_triggers": [ { @@ -5513,34 +5481,34 @@ "version": "v2" } ], - "created_at": "2025-12-22T04:09:04.772234127Z", - "updated_at": "2025-12-22T04:09:04.783177966Z", + "created_at": "2026-01-29T08:22:57.593938583Z", + "updated_at": "2026-01-29T08:22:57.600269544Z", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], "runtime": "node18", "status": "built", "secrets": [], "current_version": { - "id": "bac9d181-8641-4780-9229-9cac2f3c2246", + "id": "9c396565-368c-4901-b718-b28d07bbfae1", "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "runtime": "node18", "status": "BUILT", "number": 1, - "build_time": "2025-12-22T04:09:05.511128094Z", - "created_at": "2025-12-22T04:09:05.461657372Z", - "updated_at": "2025-12-22T04:09:05.511579309Z" + "build_time": "2026-01-29T08:22:58.678829844Z", + "created_at": "2026-01-29T08:22:58.612060855Z", + "updated_at": "2026-01-29T08:22:58.679766962Z" }, "deployed_version": { "code": "/**\n * Handler that will be called during the execution of a PostLogin flow.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\nexports.onExecutePostLogin = async (event, api) => {\n console.log('Some custom action!');\n};\n\n/**\n * Handler that will be invoked when this action is resuming after an external redirect. If your\n * onExecutePostLogin function does not perform a redirect, this function can be safely ignored.\n *\n * @param {Event} event - Details about the user and the context in which they are logging in.\n * @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login.\n */\n// exports.onContinuePostLogin = async (event, api) => {\n// };\n", "dependencies": [], - "id": "bac9d181-8641-4780-9229-9cac2f3c2246", + "id": "9c396565-368c-4901-b718-b28d07bbfae1", "deployed": true, "number": 1, - "built_at": "2025-12-22T04:09:05.511128094Z", + "built_at": "2026-01-29T08:22:58.678829844Z", "secrets": [], "status": "built", - "created_at": "2025-12-22T04:09:05.461657372Z", - "updated_at": "2025-12-22T04:09:05.511579309Z", + "created_at": "2026-01-29T08:22:58.612060855Z", + "updated_at": "2026-01-29T08:22:58.679766962Z", "runtime": "node18", "supported_triggers": [ { diff --git a/test/tools/auth0/handlers/databases.tests.js b/test/tools/auth0/handlers/databases.tests.js index c8f9d987..91adb9dd 100644 --- a/test/tools/auth0/handlers/databases.tests.js +++ b/test/tools/auth0/handlers/databases.tests.js @@ -122,6 +122,9 @@ describe('#databases handler', () => { clients: { list: (params) => mockPagedData(params, 'clients', []), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -131,6 +134,110 @@ describe('#databases handler', () => { await stageFn.apply(handler, [{ databases: [{ name: 'someDatabase' }] }]); }); + it('should convert action name to ID in custom_password_hash.action_id', async () => { + const auth0 = { + connections: { + create: function (data) { + (() => expect(this).to.not.be.undefined)(); + expect(data).to.deep.equal({ + enabled_clients: ['YwqVtt8W3pw5AuEz3B2Kse9l2Ruy7Tec'], + name: 'PasswordHashConn', + strategy: 'auth0', + options: { + custom_password_hash: { + action_id: 'action-id-123', + hash_algorithm: 'bcrypt', + }, + }, + }); + return Promise.resolve({ data }); + }, + get: function (id) { + (() => expect(this).to.not.be.undefined)(); + expect(id).to.be.a('string'); + expect(id).to.equal('con1'); + return Promise.resolve({ + id: 'con1', + name: 'ExistingPasswordHashConn', + strategy: 'auth0', + options: {}, + }); + }, + update: function (id, data) { + (() => expect(this).to.not.be.undefined)(); + expect(id).to.be.a('string'); + expect(id).to.equal('con1'); + expect(data).to.deep.equal({ + enabled_clients: ['YwqVtt8W3pw5AuEz3B2Kse9l2Ruy7Tec'], + options: { + custom_password_hash: { + action_id: 'action-id-456', + hash_algorithm: 'md5', + }, + }, + }); + + return Promise.resolve({ ...data, id }); + }, + delete: () => Promise.resolve({ data: [] }), + list: (params) => + mockPagedData(params, 'connections', [ + { name: 'ExistingPasswordHashConn', id: 'con1', strategy: 'auth0' }, + ]), + clients: { + get: () => Promise.resolve({ data: [] }), + update: (connectionId, _payload) => { + expect(connectionId).to.equal('con1'); + return Promise.resolve([]); + }, + }, + }, + clients: { + list: (params) => + mockPagedData(params, 'clients', [ + { name: 'client1', client_id: 'YwqVtt8W3pw5AuEz3B2Kse9l2Ruy7Tec' }, + ]), + }, + actions: { + list: (params) => + mockPagedData(params, 'actions', [ + { name: 'PasswordHashAction', id: 'action-id-123' }, + { name: 'UpdatePasswordHashAction', id: 'action-id-456' }, + ]), + }, + pool, + }; + + const handler = new databases.default({ client: pageClient(auth0), config }); + const stageFn = Object.getPrototypeOf(handler).processChanges; + const data = [ + { + name: 'ExistingPasswordHashConn', + strategy: 'auth0', + enabled_clients: ['client1'], + options: { + custom_password_hash: { + action_id: 'UpdatePasswordHashAction', + hash_algorithm: 'md5', + }, + }, + }, + { + name: 'PasswordHashConn', + strategy: 'auth0', + enabled_clients: ['client1'], + options: { + custom_password_hash: { + action_id: 'PasswordHashAction', + hash_algorithm: 'bcrypt', + }, + }, + }, + ]; + + await stageFn.apply(handler, [{ databases: data }]); + }); + it('should throw error when creating database with email.unique false and email.identifier.active true', async () => { const handler = new databases.default({ client: {}, config }); const stageFn = Object.getPrototypeOf(handler).validate; @@ -175,6 +282,9 @@ describe('#databases handler', () => { clients: { list: (params) => mockPagedData(params, 'clients', []), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -217,6 +327,9 @@ describe('#databases handler', () => { clients: { list: (params) => mockPagedData(params, 'clients', []), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -264,6 +377,9 @@ describe('#databases handler', () => { clients: { list: (params) => mockPagedData(params, 'clients', []), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -346,6 +462,9 @@ describe('#databases handler', () => { return mockPagedData(params, 'clients', [{ name: 'test client', client_id: clientId }]); }, }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -357,6 +476,70 @@ describe('#databases handler', () => { expect(getEnabledClientsCalledOnce).to.equal(true); }); + it('should convert action ID to action name when dumping databases', async () => { + const clientId = 'client-id-123'; + const auth0 = { + connections: { + list: function (params) { + (() => expect(this).to.not.be.undefined)(); + return mockPagedData(params, 'connections', [ + { + id: 'con1', + strategy: 'auth0', + name: 'PasswordHashDB', + options: { + custom_password_hash: { + action_id: 'action-id-456', + hash_algorithm: 'bcrypt', + }, + }, + }, + ]); + }, + clients: { + get: () => { + return Promise.resolve(mockPagedData({}, 'clients', [{ client_id: clientId }])); + }, + }, + }, + clients: { + list: function (params) { + (() => expect(this).to.not.be.undefined)(); + return mockPagedData(params, 'clients', []); + }, + }, + actions: { + list: function (params) { + (() => expect(this).to.not.be.undefined)(); + return mockPagedData(params, 'actions', [ + { id: 'action-id-456', name: 'MyPasswordHashAction' }, + { id: 'action-id-789', name: 'AnotherAction' }, + ]); + }, + }, + pool, + }; + + const handler = new databases.default({ client: pageClient(auth0), config }); + const data = await handler.getType(); + + // Verify that action ID was converted to action name + expect(data).to.deep.equal([ + { + id: 'con1', + strategy: 'auth0', + name: 'PasswordHashDB', + enabled_clients: [clientId], + options: { + custom_password_hash: { + action_id: 'MyPasswordHashAction', // Should be action name, not ID + hash_algorithm: 'bcrypt', + }, + }, + }, + ]); + }); + it('should update database', async () => { const auth0 = { connections: { @@ -401,6 +584,9 @@ describe('#databases handler', () => { { name: 'client1', client_id: 'YwqVtt8W3pw5AuEz3B2Kse9l2Ruy7Tec' }, ]), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -470,6 +656,9 @@ describe('#databases handler', () => { { name: 'excluded-two', client_id: 'excluded-two-id' }, ]), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -531,6 +720,9 @@ describe('#databases handler', () => { { name: 'client1', client_id: 'YwqVtt8W3pw5AuEz3B2Kse9l2Ruy7Tec' }, ]), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -572,6 +764,9 @@ describe('#databases handler', () => { clients: { list: (params) => mockPagedData(params, 'clients', []), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -608,6 +803,9 @@ describe('#databases handler', () => { clients: { list: (params) => mockPagedData(params, 'clients', []), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -637,6 +835,9 @@ describe('#databases handler', () => { clients: { list: (params) => mockPagedData(params, 'clients', []), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -673,6 +874,9 @@ describe('#databases handler', () => { clients: { list: (params) => mockPagedData(params, 'clients', []), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -709,6 +913,9 @@ describe('#databases handler', () => { clients: { list: (params) => mockPagedData(params, 'clients', []), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -786,6 +993,9 @@ describe('#databases handler', () => { clients: { list: () => [{ name: 'client1', client_id: 'YwqVtt8W3pw5AuEz3B2Kse9l2Ruy7Tec' }], }, + actions: { + list: () => [], + }, pool, }; @@ -871,6 +1081,9 @@ describe('#databases handler', () => { clients: { list: () => [{ name: 'client1', client_id: 'YwqVtt8W3pw5AuEz3B2Kse9l2Ruy7Tec' }], }, + actions: { + list: () => [], + }, pool, }; @@ -926,6 +1139,9 @@ describe('#databases handler', () => { .stub() .resolves([{ name: 'client1', client_id: 'YwqVtt8W3pw5AuEz3B2Kse9l2Ruy7Tec' }]), }, + actions: { + list: sinon.stub().resolves([]), + }, pool: pool, }; @@ -1065,6 +1281,9 @@ describe('#databases handler', () => { .stub() .resolves([{ name: 'client1', client_id: 'YwqVtt8W3pw5AuEz3B2Kse9l2Ruy7Tec' }]), }, + actions: { + list: sinon.stub().resolves([]), + }, pool: pool, }; @@ -1246,6 +1465,9 @@ describe('#databases handler', () => { .stub() .resolves([{ name: 'client1', client_id: 'YwqVtt8W3pw5AuEz3B2Kse9l2Ruy7Tec' }]), }, + actions: { + list: sinon.stub().resolves([]), + }, pool: pool, }; @@ -1376,6 +1598,9 @@ describe('#databases handler', () => { clients: { list: () => [{ name: 'client1', client_id: 'YwqVtt8W3pw5AuEz3B2Kse9l2Ruy7Tec' }], }, + actions: { + list: () => [], + }, pool, }; @@ -1461,6 +1686,9 @@ describe('#databases handler', () => { clients: { list: () => [{ name: 'client1', client_id: 'YwqVtt8W3pw5AuEz3B2Kse9l2Ruy7Tec' }], }, + actions: { + list: () => [], + }, pool, }; @@ -1516,6 +1744,9 @@ describe('#databases handler', () => { .stub() .resolves([{ name: 'client1', client_id: 'YwqVtt8W3pw5AuEz3B2Kse9l2Ruy7Tec' }]), }, + actions: { + list: sinon.stub().resolves([]), + }, pool: pool, }; @@ -1656,6 +1887,9 @@ describe('#databases handler', () => { .stub() .resolves([{ name: 'client1', client_id: 'YwqVtt8W3pw5AuEz3B2Kse9l2Ruy7Tec' }]), }, + actions: { + list: sinon.stub().resolves([]), + }, pool: pool, }; @@ -1837,6 +2071,9 @@ describe('#databases handler', () => { .stub() .resolves([{ name: 'client1', client_id: 'YwqVtt8W3pw5AuEz3B2Kse9l2Ruy7Tec' }]), }, + actions: { + list: sinon.stub().resolves([]), + }, pool: pool, }; @@ -1938,6 +2175,9 @@ describe('#databases handler with enabled clients integration', () => { clients: { list: (params) => mockPagedData(params, 'clients', []), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -1983,6 +2223,9 @@ describe('#databases handler with enabled clients integration', () => { clients: { list: (params) => mockPagedData(params, 'clients', []), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -2012,6 +2255,9 @@ describe('#databases handler with enabled clients integration', () => { clients: { list: (params) => mockPagedData(params, 'clients', []), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -2046,6 +2292,9 @@ describe('#databases handler with enabled clients integration', () => { clients: { list: (params) => mockPagedData(params, 'clients', []), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -2090,6 +2339,9 @@ describe('#databases handler with enabled clients integration', () => { clients: { list: (params) => mockPagedData(params, 'clients', []), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, }; @@ -2123,6 +2375,9 @@ describe('#databases handler with enabled clients integration', () => { clients: { list: (params) => mockPagedData(params, 'clients', []), }, + actions: { + list: (params) => mockPagedData(params, 'actions', []), + }, pool, };