diff --git a/.circleci/config.yml b/.circleci/config.yml index 12d4d1ab6..fe3505ae4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -82,9 +82,6 @@ workflows: jobs: - e2e_test_as_node_module: name: E2E tests as Node module - filters: - branches: - ignore: /pull\/[0-9]+/ # Forked pull requests - e2e_test_as_cli: name: E2E tests as CLI filters: diff --git a/src/context/directory/handlers/actions.ts b/src/context/directory/handlers/actions.ts index 9ae2c9889..e47903afd 100644 --- a/src/context/directory/handlers/actions.ts +++ b/src/context/directory/handlers/actions.ts @@ -43,6 +43,9 @@ function parse(context: DirectoryContext): ParsedActions { } function mapSecrets(secrets) { + if (typeof secrets === 'string') { + return secrets; + } if (secrets && secrets.length > 0) { return secrets.map((secret) => ({ name: secret.name, value: secret.value })); } diff --git a/src/context/yaml/handlers/actions.ts b/src/context/yaml/handlers/actions.ts index 6a3561571..b48f064c5 100644 --- a/src/context/yaml/handlers/actions.ts +++ b/src/context/yaml/handlers/actions.ts @@ -36,7 +36,10 @@ async function parse(context: YAMLContext): Promise { }; } -function mapSecrets(secrets: { name: string; value: string }[]): Secret[] { +function mapSecrets(secrets) { + if (typeof secrets === 'string') { + return secrets; //Enables keyword preservation to operate on action secrets + } if (secrets && secrets.length > 0) { return secrets.map((secret) => ({ name: secret.name, value: secret.value })); } @@ -86,8 +89,7 @@ async function dump(context: YAMLContext): Promise { runtime: action.runtime, dependencies: action.dependencies || [], status: action.status, - secrets: - typeof action.secrets === 'string' ? action.secrets : mapSecrets(action.secrets || []), //Enables keyword preservation to operate on action secrets + secrets: mapSecrets(action.secrets), supported_triggers: action.supported_triggers, })), }; diff --git a/test/context/directory/actions.test.js b/test/context/directory/actions.test.js index fce53da85..64a0760e2 100644 --- a/test/context/directory/actions.test.js +++ b/test/context/directory/actions.test.js @@ -266,4 +266,34 @@ describe('#directory context actions', () => { expect(dumpedFiles).to.have.length(0); }); + + it('should process actions secrets with AUTH0_PRESERVE_KEYWORDS: true', async () => { + const dir = path.join(testDataDir, 'directory', 'test6'); + const actionsDir = path.join(dir, 'actions'); + cleanThenMkdir(actionsDir); + + const json = `{ + "name": "action-one", + "secrets": "@@SECRETS@@" + }`; + const jsonFile = path.join(actionsDir, 'action-one.json'); + + fs.writeFileSync(jsonFile, json); + + const target = [ + { + name: 'action-one', + secrets: { name: 'SECRETNAME', value: 'SECRETVALUE' } + }, + ]; + + const config = { + AUTH0_INPUT_FILE: dir, + AUTH0_KEYWORD_REPLACE_MAPPINGS: { SECRETS: { name: 'SECRETNAME', value: 'SECRETVALUE' } }, + AUTH0_PRESERVE_KEYWORDS: true, + }; + const context = new Context(config, mockMgmtClient()); + await context.loadAssetsFromLocal(); + expect(context.assets.actions).to.deep.equal(target); + }); }); diff --git a/test/e2e/e2e.test.ts b/test/e2e/e2e.test.ts index 5eba23187..0beb90fcb 100644 --- a/test/e2e/e2e.test.ts +++ b/test/e2e/e2e.test.ts @@ -140,7 +140,6 @@ describe('#end-to-end deploy', function () { const yaml = yamlLoad(fs.readFileSync(files[0])); expect(yaml.emailTemplates.length).to.be.above(0); - expect(yaml.rules.length).to.be.above(0); expect(yaml.pages.length).to.be.above(0); expect(yaml.clients.length).to.be.above(0); expect(yaml.databases.length).to.be.above(0); @@ -203,7 +202,7 @@ describe('#end-to-end deploy', function () { const yaml = yamlLoad(fs.readFileSync(files[0])); expect(yaml.rules).to.have.length(0); - expect(yaml.clients).to.have.length(2); //Accounting for Deploy CLI and Default App client + expect(yaml.clients).to.have.length(2); // Accounting for Deploy CLI and Default App client expect(yaml.databases).to.have.length(1); // Default user database expect(yaml.connections).to.have.length(0); expect(yaml.roles).to.have.length(0); 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 a308904e3..73164aa50 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 @@ -11,7 +11,7 @@ "limit": 100, "rules": [ { - "id": "rul_lr4Xo8OyXNEz4R6v", + "id": "rul_KPxS2cPV6d0ZfCE3", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -35,7 +35,7 @@ "limit": 100, "rules": [ { - "id": "rul_lr4Xo8OyXNEz4R6v", + "id": "rul_KPxS2cPV6d0ZfCE3", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -50,7 +50,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/rules/rul_lr4Xo8OyXNEz4R6v", + "path": "/api/v2/rules/rul_KPxS2cPV6d0ZfCE3", "body": { "name": "my-rule", "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", @@ -59,7 +59,7 @@ }, "status": 200, "response": { - "id": "rul_lr4Xo8OyXNEz4R6v", + "id": "rul_KPxS2cPV6d0ZfCE3", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -128,9 +128,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -174,9 +177,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -927,6 +933,102 @@ "description": "Delete Refresh Tokens", "value": "delete:refresh_tokens" }, + { + "description": "Create Self Service Profiles", + "value": "create:self_service_profiles" + }, + { + "description": "Read Self Service Profiles", + "value": "read:self_service_profiles" + }, + { + "description": "Update Self Service Profiles", + "value": "update:self_service_profiles" + }, + { + "description": "Delete Self Service Profiles", + "value": "delete:self_service_profiles" + }, + { + "description": "Create SSO Access Tickets", + "value": "create:sso_access_tickets" + }, + { + "description": "Read Forms", + "value": "read:forms" + }, + { + "description": "Update Forms", + "value": "update:forms" + }, + { + "description": "Delete Forms", + "value": "delete:forms" + }, + { + "description": "Create Forms", + "value": "create:forms" + }, + { + "description": "Read Flows", + "value": "read:flows" + }, + { + "description": "Update Flows", + "value": "update:flows" + }, + { + "description": "Delete Flows", + "value": "delete:flows" + }, + { + "description": "Create Flows", + "value": "create:flows" + }, + { + "description": "Read Flows Vault items", + "value": "read:flows_vault" + }, + { + "description": "Read Flows Vault connections", + "value": "read:flows_vault_connections" + }, + { + "description": "Update Flows Vault connections", + "value": "update:flows_vault_connections" + }, + { + "description": "Delete Flows Vault connections", + "value": "delete:flows_vault_connections" + }, + { + "description": "Create Flows Vault connections", + "value": "create:flows_vault_connections" + }, + { + "description": "Read Flows Executions", + "value": "read:flows_executions" + }, + { + "description": "Delete Flows Executions", + "value": "delete:flows_executions" + }, + { + "description": "Read Connections Options", + "value": "read:connections_options" + }, + { + "description": "Update Connections Options", + "value": "update:connections_options" + }, + { + "description": "Read Self Service Profile Custom Texts", + "value": "read:self_service_profile_custom_texts" + }, + { + "description": "Update Self Service Profile Custom Texts", + "value": "update:self_service_profile_custom_texts" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -958,7 +1060,7 @@ "body": "", "status": 200, "response": { - "total": 9, + "total": 10, "start": 0, "limit": 100, "clients": [ @@ -980,6 +1082,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -1028,7 +1131,7 @@ "subject": "deprecated" } ], - "client_id": "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1080,7 +1183,7 @@ "subject": "deprecated" } ], - "client_id": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1134,7 +1237,7 @@ } ], "allowed_origins": [], - "client_id": "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1158,10 +1261,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -1182,7 +1282,7 @@ "subject": "deprecated" } ], - "client_id": "bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1201,31 +1301,22 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, + "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, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, "signing_keys": [ { @@ -1234,7 +1325,7 @@ "subject": "deprecated" } ], - "client_id": "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1242,12 +1333,9 @@ "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 @@ -1256,19 +1344,31 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": 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": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "signing_keys": [ { @@ -1277,7 +1377,7 @@ "subject": "deprecated" } ], - "client_id": "LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1285,9 +1385,12 @@ "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 @@ -1333,7 +1436,7 @@ "subject": "deprecated" } ], - "client_id": "WZycF991qhrOzwWsHmECCdnls0r14R8L", + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1390,7 +1493,59 @@ "subject": "deprecated" } ], - "client_id": "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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": "Auth0 CLI - dev", + "allowed_clients": [], + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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" + }, + "sso_disabled": false, + "oidc_conformant": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1414,7 +1569,17 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", + "path": "/api/v2/clients/OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "body": {}, + "status": 204, + "response": "", + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "DELETE", + "path": "/api/v2/clients/STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", "body": {}, "status": 204, "response": "", @@ -1424,17 +1589,22 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", + "path": "/api/v2/clients/e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "body": { - "name": "API Explorer Application", + "name": "Node App", "allowed_clients": [], - "app_type": "non_interactive", + "allowed_logout_urls": [], + "allowed_origins": [], + "app_type": "regular_web", "callbacks": [], "client_aliases": [], "client_metadata": {}, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "is_first_party": true, @@ -1462,15 +1632,17 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" + "token_endpoint_auth_method": "client_secret_post", + "web_origins": [] }, "status": 200, "response": { "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_auth": false, @@ -1501,7 +1673,8 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1511,10 +1684,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 }, "rawHeaders": [], @@ -1523,7 +1700,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", + "path": "/api/v2/clients/Cbs29sl8S2G7zgo97erymb8t59IG6its", "body": { "name": "Quickstarts API (Test Application)", "app_type": "non_interactive", @@ -1583,7 +1760,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1604,22 +1781,17 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "path": "/api/v2/clients/780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "body": { - "name": "Node App", + "name": "API Explorer Application", "allowed_clients": [], - "allowed_logout_urls": [], - "allowed_origins": [], - "app_type": "regular_web", + "app_type": "non_interactive", "callbacks": [], "client_aliases": [], "client_metadata": {}, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "is_first_party": true, @@ -1647,17 +1819,15 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post", - "web_origins": [] + "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": "Node App", + "name": "API Explorer Application", "allowed_clients": [], - "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, @@ -1688,8 +1858,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "allowed_origins": [], - "client_id": "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1699,14 +1868,10 @@ }, "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 }, "rawHeaders": [], @@ -1715,7 +1880,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", + "path": "/api/v2/clients/RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "body": { "name": "The Default App", "allowed_clients": [], @@ -1796,7 +1961,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1820,7 +1985,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", + "path": "/api/v2/clients/Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "body": { "name": "Terraform Provider", "app_type": "non_interactive", @@ -1874,7 +2039,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1895,7 +2060,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/WZycF991qhrOzwWsHmECCdnls0r14R8L", + "path": "/api/v2/clients/11CR1JJoz35mJP5HPekYuwloHZQrg6bT", "body": { "name": "Test SPA", "allowed_clients": [], @@ -1987,7 +2152,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "WZycF991qhrOzwWsHmECCdnls0r14R8L", + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2014,7 +2179,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", + "path": "/api/v2/clients/oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", "body": { "name": "auth0-deploy-cli-extension", "allowed_clients": [], @@ -2091,7 +2256,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2164,7 +2329,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -2178,7 +2343,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 }, @@ -2192,7 +2357,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 }, @@ -2206,7 +2371,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -2234,7 +2399,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -2317,6 +2482,34 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 66 + }, + "status": 200, + "response": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 66 + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -2366,35 +2559,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", - "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 66 - }, - "status": 200, - "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 66 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", + "path": "/api/v2/attack-protection/breached-password-detection", "body": { "enabled": false, "shields": [], @@ -2424,14 +2589,25 @@ "status": 200, "response": [ { - "id": "lst_0000000000015064", + "id": "lst_0000000000017950", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + { + "id": "lst_0000000000017951", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-ad7deb22-8b6e-4242-ba40-344f97b05739/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-11b6995b-a49b-4a0f-bfaf-88cefc5ba0b3/auth0.logs" }, "filters": [ { @@ -2470,17 +2646,8 @@ "type": "category", "name": "auth.token_exchange.fail" } - ] - }, - { - "id": "lst_0000000000015063", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - } + ], + "isPriority": false } ], "rawHeaders": [], @@ -2489,7 +2656,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/log-streams/lst_0000000000015063", + "path": "/api/v2/log-streams/lst_0000000000017950", "body": { "name": "Suspended DD Log Stream", "sink": { @@ -2499,14 +2666,15 @@ }, "status": 200, "response": { - "id": "lst_0000000000015063", + "id": "lst_0000000000017950", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", "sink": { "datadogApiKey": "some-sensitive-api-key", "datadogRegion": "us" - } + }, + "isPriority": false }, "rawHeaders": [], "responseIsBinary": false @@ -2514,7 +2682,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/log-streams/lst_0000000000015064", + "path": "/api/v2/log-streams/lst_0000000000017951", "body": { "name": "Amazon EventBridge", "filters": [ @@ -2559,14 +2727,14 @@ }, "status": 200, "response": { - "id": "lst_0000000000015064", + "id": "lst_0000000000017951", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-ad7deb22-8b6e-4242-ba40-344f97b05739/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-11b6995b-a49b-4a0f-bfaf-88cefc5ba0b3/auth0.logs" }, "filters": [ { @@ -2605,7 +2773,8 @@ "type": "category", "name": "auth.token_exchange.fail" } - ] + ], + "isPriority": false }, "rawHeaders": [], "responseIsBinary": false @@ -2639,6 +2808,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -2697,7 +2867,7 @@ "subject": "deprecated" } ], - "client_id": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2751,7 +2921,7 @@ } ], "allowed_origins": [], - "client_id": "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2775,10 +2945,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -2799,7 +2966,7 @@ "subject": "deprecated" } ], - "client_id": "bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2818,31 +2985,22 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, + "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, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, "signing_keys": [ { @@ -2851,7 +3009,7 @@ "subject": "deprecated" } ], - "client_id": "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2859,12 +3017,9 @@ "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 @@ -2873,19 +3028,31 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": 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": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "signing_keys": [ { @@ -2894,7 +3061,7 @@ "subject": "deprecated" } ], - "client_id": "LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2902,9 +3069,12 @@ "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 @@ -2950,7 +3120,7 @@ "subject": "deprecated" } ], - "client_id": "WZycF991qhrOzwWsHmECCdnls0r14R8L", + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3007,7 +3177,7 @@ "subject": "deprecated" } ], - "client_id": "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3041,9 +3211,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -3072,7 +3245,7 @@ "limit": 100, "connections": [ { - "id": "con_K5DvCabszfTqFX2a", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -3128,12 +3301,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", - "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_qavKC44AnXdVIktG", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -3183,7 +3356,7 @@ "limit": 100, "connections": [ { - "id": "con_K5DvCabszfTqFX2a", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -3239,12 +3412,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", - "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_qavKC44AnXdVIktG", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -3285,11 +3458,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_qavKC44AnXdVIktG", + "path": "/api/v2/connections/con_orWZyMv2k9PgOd3x", "body": {}, "status": 202, "response": { - "deleted_at": "2023-12-22T14:45:57.357Z" + "deleted_at": "2024-10-14T09:10:06.328Z" }, "rawHeaders": [], "responseIsBinary": false @@ -3297,11 +3470,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_K5DvCabszfTqFX2a", + "path": "/api/v2/connections/con_cvOdQDkXpKvaMNSh", "body": "", "status": 200, "response": { - "id": "con_K5DvCabszfTqFX2a", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -3354,8 +3527,8 @@ "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", - "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ], "realms": [ "boo-baz-db-connection-test" @@ -3367,11 +3540,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_K5DvCabszfTqFX2a", + "path": "/api/v2/connections/con_cvOdQDkXpKvaMNSh", "body": { "enabled_clients": [ - "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", - "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ], "is_domain_connection": false, "options": { @@ -3428,7 +3601,7 @@ }, "status": 200, "response": { - "id": "con_K5DvCabszfTqFX2a", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -3481,8 +3654,8 @@ "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", - "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ], "realms": [ "boo-baz-db-connection-test" @@ -3520,6 +3693,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -3578,7 +3752,7 @@ "subject": "deprecated" } ], - "client_id": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3632,7 +3806,7 @@ } ], "allowed_origins": [], - "client_id": "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3656,10 +3830,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -3680,7 +3851,7 @@ "subject": "deprecated" } ], - "client_id": "bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3699,31 +3870,22 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, + "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, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, "signing_keys": [ { @@ -3732,7 +3894,7 @@ "subject": "deprecated" } ], - "client_id": "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3740,12 +3902,9 @@ "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 @@ -3754,19 +3913,31 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": 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": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "signing_keys": [ { @@ -3775,7 +3946,7 @@ "subject": "deprecated" } ], - "client_id": "LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3783,9 +3954,12 @@ "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 @@ -3831,7 +4005,7 @@ "subject": "deprecated" } ], - "client_id": "WZycF991qhrOzwWsHmECCdnls0r14R8L", + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3888,7 +4062,7 @@ "subject": "deprecated" } ], - "client_id": "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3922,9 +4096,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -3953,7 +4130,7 @@ "limit": 100, "connections": [ { - "id": "con_K5DvCabszfTqFX2a", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -4009,12 +4186,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", - "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_F6FupkR2JVv0xmQV", + "id": "con_SXIEWGYv5QzGSoqq", "options": { "email": true, "scope": [ @@ -4030,8 +4207,8 @@ "google-oauth2" ], "enabled_clients": [ - "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", - "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] } ] @@ -4051,7 +4228,7 @@ "limit": 100, "connections": [ { - "id": "con_K5DvCabszfTqFX2a", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -4107,12 +4284,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", - "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_F6FupkR2JVv0xmQV", + "id": "con_SXIEWGYv5QzGSoqq", "options": { "email": true, "scope": [ @@ -4128,8 +4305,8 @@ "google-oauth2" ], "enabled_clients": [ - "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", - "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] } ] @@ -4140,11 +4317,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_F6FupkR2JVv0xmQV", + "path": "/api/v2/connections/con_SXIEWGYv5QzGSoqq", "body": { "enabled_clients": [ - "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", - "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ], "is_domain_connection": false, "options": { @@ -4158,7 +4335,7 @@ }, "status": 200, "response": { - "id": "con_F6FupkR2JVv0xmQV", + "id": "con_SXIEWGYv5QzGSoqq", "options": { "email": true, "scope": [ @@ -4171,8 +4348,8 @@ "name": "google-oauth2", "is_domain_connection": false, "enabled_clients": [ - "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", - "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ], "realms": [ "google-oauth2" @@ -4184,27 +4361,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 @@ -4212,25 +4387,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 @@ -4264,6 +4441,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -4322,7 +4500,7 @@ "subject": "deprecated" } ], - "client_id": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4376,7 +4554,7 @@ } ], "allowed_origins": [], - "client_id": "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4396,6 +4574,46 @@ "web_origins": [], "custom_login_page_on": true }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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, @@ -4424,7 +4642,7 @@ "subject": "deprecated" } ], - "client_id": "bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4476,7 +4694,7 @@ "subject": "deprecated" } ], - "client_id": "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4494,46 +4712,6 @@ ], "custom_login_page_on": true }, - { - "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", - "cross_origin_auth": 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, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "deprecated" - } - ], - "client_id": "LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", - "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, @@ -4575,7 +4753,7 @@ "subject": "deprecated" } ], - "client_id": "WZycF991qhrOzwWsHmECCdnls0r14R8L", + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4632,7 +4810,7 @@ "subject": "deprecated" } ], - "client_id": "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4666,9 +4844,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -4697,8 +4878,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_gTGj8tQZaiX5UlSe", - "client_id": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", + "id": "cgr_P3XzavTQSyFaV8mr", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4834,8 +5015,8 @@ ] }, { - "id": "cgr_oq3uveZxzwc7wss0", - "client_id": "LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", + "id": "cgr_SDgpXDXvWBtO3KEi", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5143,7 +5324,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/client-grants/cgr_gTGj8tQZaiX5UlSe", + "path": "/api/v2/client-grants/cgr_P3XzavTQSyFaV8mr", "body": { "scope": [ "read:client_grants", @@ -5280,8 +5461,8 @@ }, "status": 200, "response": { - "id": "cgr_gTGj8tQZaiX5UlSe", - "client_id": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", + "id": "cgr_P3XzavTQSyFaV8mr", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5422,7 +5603,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/client-grants/cgr_oq3uveZxzwc7wss0", + "path": "/api/v2/client-grants/cgr_SDgpXDXvWBtO3KEi", "body": { "scope": [ "read:client_grants", @@ -5559,8 +5740,8 @@ }, "status": 200, "response": { - "id": "cgr_oq3uveZxzwc7wss0", - "client_id": "LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", + "id": "cgr_SDgpXDXvWBtO3KEi", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -5707,22 +5888,22 @@ "response": { "roles": [ { - "id": "rol_akyigjRpa1CNc2RA", + "id": "rol_hRGDQmEBYbZsC8sZ", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_BXNSxZlMD6p3fj8y", + "id": "rol_oT9S2f9KYqFyYR2j", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_D8YUHJmpsX4Gxn7W", + "id": "rol_ZNeuVHhKZTaZaGwq", "name": "read_only", "description": "Read Only" }, { - "id": "rol_ZjTN0eReZsvpoZRw", + "id": "rol_1DwrDRZ26bdvfKxL", "name": "read_osnly", "description": "Readz Only" } @@ -5737,7 +5918,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_akyigjRpa1CNc2RA/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_hRGDQmEBYbZsC8sZ/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -5752,7 +5933,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_BXNSxZlMD6p3fj8y/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_oT9S2f9KYqFyYR2j/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -5767,7 +5948,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_D8YUHJmpsX4Gxn7W/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_ZNeuVHhKZTaZaGwq/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -5782,7 +5963,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_ZjTN0eReZsvpoZRw/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_1DwrDRZ26bdvfKxL/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -5797,14 +5978,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_akyigjRpa1CNc2RA", + "path": "/api/v2/roles/rol_hRGDQmEBYbZsC8sZ", "body": { "name": "Admin", "description": "Can read and write things" }, "status": 200, "response": { - "id": "rol_akyigjRpa1CNc2RA", + "id": "rol_hRGDQmEBYbZsC8sZ", "name": "Admin", "description": "Can read and write things" }, @@ -5814,16 +5995,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_BXNSxZlMD6p3fj8y", + "path": "/api/v2/roles/rol_ZNeuVHhKZTaZaGwq", "body": { - "name": "Reader", - "description": "Can only read things" + "name": "read_only", + "description": "Read Only" }, "status": 200, "response": { - "id": "rol_BXNSxZlMD6p3fj8y", - "name": "Reader", - "description": "Can only read things" + "id": "rol_ZNeuVHhKZTaZaGwq", + "name": "read_only", + "description": "Read Only" }, "rawHeaders": [], "responseIsBinary": false @@ -5831,16 +6012,16 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_D8YUHJmpsX4Gxn7W", + "path": "/api/v2/roles/rol_oT9S2f9KYqFyYR2j", "body": { - "name": "read_only", - "description": "Read Only" + "name": "Reader", + "description": "Can only read things" }, "status": 200, "response": { - "id": "rol_D8YUHJmpsX4Gxn7W", - "name": "read_only", - "description": "Read Only" + "id": "rol_oT9S2f9KYqFyYR2j", + "name": "Reader", + "description": "Can only read things" }, "rawHeaders": [], "responseIsBinary": false @@ -5848,14 +6029,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/roles/rol_ZjTN0eReZsvpoZRw", + "path": "/api/v2/roles/rol_1DwrDRZ26bdvfKxL", "body": { "name": "read_osnly", "description": "Readz Only" }, "status": 200, "response": { - "id": "rol_ZjTN0eReZsvpoZRw", + "id": "rol_1DwrDRZ26bdvfKxL", "name": "read_osnly", "description": "Readz Only" }, @@ -5871,7 +6052,7 @@ "response": { "actions": [ { - "id": "e805e03c-f0a3-4915-9c55-5f5c3acf9a4a", + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", "name": "My Custom Action", "supported_triggers": [ { @@ -5879,34 +6060,34 @@ "version": "v2" } ], - "created_at": "2023-12-22T14:45:43.350819427Z", - "updated_at": "2023-12-22T14:45:43.371906693Z", + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-14T09:07:56.282435062Z", "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": "node16", "status": "built", "secrets": [], "current_version": { - "id": "a657fb2e-7560-4955-837c-a68bc9d17c1b", + "id": "133e8fe8-52b5-44ee-8837-9cbcf0fbe8d6", "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": "node16", "status": "BUILT", - "number": 1, - "build_time": "2023-12-22T14:45:44.108234134Z", - "created_at": "2023-12-22T14:45:44.002123868Z", - "updated_at": "2023-12-22T14:45:44.109212689Z" + "number": 4, + "build_time": "2024-10-14T09:07:57.447777891Z", + "created_at": "2024-10-14T09:07:57.345467497Z", + "updated_at": "2024-10-14T09:07:57.448078558Z" }, "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": "a657fb2e-7560-4955-837c-a68bc9d17c1b", + "id": "133e8fe8-52b5-44ee-8837-9cbcf0fbe8d6", "deployed": true, - "number": 1, - "built_at": "2023-12-22T14:45:44.108234134Z", + "number": 4, + "built_at": "2024-10-14T09:07:57.447777891Z", "secrets": [], "status": "built", - "created_at": "2023-12-22T14:45:44.002123868Z", - "updated_at": "2023-12-22T14:45:44.109212689Z", + "created_at": "2024-10-14T09:07:57.345467497Z", + "updated_at": "2024-10-14T09:07:57.448078558Z", "runtime": "node16", "supported_triggers": [ { @@ -5927,7 +6108,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/actions/actions/e805e03c-f0a3-4915-9c55-5f5c3acf9a4a", + "path": "/api/v2/actions/actions/ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", "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", @@ -5943,7 +6124,7 @@ }, "status": 200, "response": { - "id": "e805e03c-f0a3-4915-9c55-5f5c3acf9a4a", + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", "name": "My Custom Action", "supported_triggers": [ { @@ -5951,34 +6132,34 @@ "version": "v2" } ], - "created_at": "2023-12-22T14:45:43.350819427Z", - "updated_at": "2023-12-22T14:46:00.070960661Z", + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-14T09:10:16.315626907Z", "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": "node16", "status": "pending", "secrets": [], "current_version": { - "id": "a657fb2e-7560-4955-837c-a68bc9d17c1b", + "id": "133e8fe8-52b5-44ee-8837-9cbcf0fbe8d6", "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": "node16", "status": "BUILT", - "number": 1, - "build_time": "2023-12-22T14:45:44.108234134Z", - "created_at": "2023-12-22T14:45:44.002123868Z", - "updated_at": "2023-12-22T14:45:44.109212689Z" + "number": 4, + "build_time": "2024-10-14T09:07:57.447777891Z", + "created_at": "2024-10-14T09:07:57.345467497Z", + "updated_at": "2024-10-14T09:07:57.448078558Z" }, "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": "a657fb2e-7560-4955-837c-a68bc9d17c1b", + "id": "133e8fe8-52b5-44ee-8837-9cbcf0fbe8d6", "deployed": true, - "number": 1, - "built_at": "2023-12-22T14:45:44.108234134Z", + "number": 4, + "built_at": "2024-10-14T09:07:57.447777891Z", "secrets": [], "status": "built", - "created_at": "2023-12-22T14:45:44.002123868Z", - "updated_at": "2023-12-22T14:45:44.109212689Z", + "created_at": "2024-10-14T09:07:57.345467497Z", + "updated_at": "2024-10-14T09:07:57.448078558Z", "runtime": "node16", "supported_triggers": [ { @@ -6001,7 +6182,7 @@ "response": { "actions": [ { - "id": "e805e03c-f0a3-4915-9c55-5f5c3acf9a4a", + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", "name": "My Custom Action", "supported_triggers": [ { @@ -6009,34 +6190,34 @@ "version": "v2" } ], - "created_at": "2023-12-22T14:45:43.350819427Z", - "updated_at": "2023-12-22T14:46:00.070960661Z", + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-14T09:10:16.315626907Z", "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": "node16", "status": "built", "secrets": [], "current_version": { - "id": "a657fb2e-7560-4955-837c-a68bc9d17c1b", + "id": "133e8fe8-52b5-44ee-8837-9cbcf0fbe8d6", "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": "node16", "status": "BUILT", - "number": 1, - "build_time": "2023-12-22T14:45:44.108234134Z", - "created_at": "2023-12-22T14:45:44.002123868Z", - "updated_at": "2023-12-22T14:45:44.109212689Z" + "number": 4, + "build_time": "2024-10-14T09:07:57.447777891Z", + "created_at": "2024-10-14T09:07:57.345467497Z", + "updated_at": "2024-10-14T09:07:57.448078558Z" }, "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": "a657fb2e-7560-4955-837c-a68bc9d17c1b", + "id": "133e8fe8-52b5-44ee-8837-9cbcf0fbe8d6", "deployed": true, - "number": 1, - "built_at": "2023-12-22T14:45:44.108234134Z", + "number": 4, + "built_at": "2024-10-14T09:07:57.447777891Z", "secrets": [], "status": "built", - "created_at": "2023-12-22T14:45:44.002123868Z", - "updated_at": "2023-12-22T14:45:44.109212689Z", + "created_at": "2024-10-14T09:07:57.345467497Z", + "updated_at": "2024-10-14T09:07:57.448078558Z", "runtime": "node16", "supported_triggers": [ { @@ -6057,19 +6238,19 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "POST", - "path": "/api/v2/actions/actions/e805e03c-f0a3-4915-9c55-5f5c3acf9a4a/deploy", + "path": "/api/v2/actions/actions/ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f/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": "499c9883-f19b-4144-90aa-03f09d13273e", + "id": "46996b0a-4603-48a8-9848-fdf9746077b3", "deployed": false, - "number": 2, + "number": 5, "secrets": [], "status": "built", - "created_at": "2023-12-22T14:46:00.330514258Z", - "updated_at": "2023-12-22T14:46:00.330514258Z", + "created_at": "2024-10-14T09:10:17.307518476Z", + "updated_at": "2024-10-14T09:10:17.307518476Z", "runtime": "node16", "supported_triggers": [ { @@ -6078,7 +6259,7 @@ } ], "action": { - "id": "e805e03c-f0a3-4915-9c55-5f5c3acf9a4a", + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", "name": "My Custom Action", "supported_triggers": [ { @@ -6086,8 +6267,8 @@ "version": "v2" } ], - "created_at": "2023-12-22T14:45:43.350819427Z", - "updated_at": "2023-12-22T14:46:00.044033047Z", + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-14T09:10:16.304162837Z", "all_changes_deployed": false } }, @@ -6103,7 +6284,7 @@ "response": { "organizations": [ { - "id": "org_X3jse0Pb1WGt3TwO", + "id": "org_knGmCqfHxLD0V9YB", "name": "org1", "display_name": "Organization", "branding": { @@ -6114,7 +6295,7 @@ } }, { - "id": "org_SfCOLMvgKxL7kirf", + "id": "org_haOYEECGVpZwU9Tc", "name": "org2", "display_name": "Organization2" } @@ -6135,7 +6316,7 @@ "response": { "organizations": [ { - "id": "org_X3jse0Pb1WGt3TwO", + "id": "org_knGmCqfHxLD0V9YB", "name": "org1", "display_name": "Organization", "branding": { @@ -6146,7 +6327,7 @@ } }, { - "id": "org_SfCOLMvgKxL7kirf", + "id": "org_haOYEECGVpZwU9Tc", "name": "org2", "display_name": "Organization2" } @@ -6158,7 +6339,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_X3jse0Pb1WGt3TwO/enabled_connections", + "path": "/api/v2/organizations/org_knGmCqfHxLD0V9YB/enabled_connections", "body": "", "status": 200, "response": [], @@ -6168,7 +6349,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_SfCOLMvgKxL7kirf/enabled_connections", + "path": "/api/v2/organizations/org_haOYEECGVpZwU9Tc/enabled_connections", "body": "", "status": 200, "response": [], @@ -6187,7 +6368,7 @@ "limit": 100, "connections": [ { - "id": "con_K5DvCabszfTqFX2a", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -6243,12 +6424,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", - "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_F6FupkR2JVv0xmQV", + "id": "con_SXIEWGYv5QzGSoqq", "options": { "email": true, "scope": [ @@ -6264,8 +6445,8 @@ "google-oauth2" ], "enabled_clients": [ - "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", - "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] } ] @@ -6276,7 +6457,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/organizations/org_X3jse0Pb1WGt3TwO", + "path": "/api/v2/organizations/org_knGmCqfHxLD0V9YB", "body": { "branding": { "colors": { @@ -6294,7 +6475,7 @@ "primary": "#57ddff" } }, - "id": "org_X3jse0Pb1WGt3TwO", + "id": "org_knGmCqfHxLD0V9YB", "display_name": "Organization", "name": "org1" }, @@ -6304,13 +6485,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/organizations/org_SfCOLMvgKxL7kirf", + "path": "/api/v2/organizations/org_haOYEECGVpZwU9Tc", "body": { "display_name": "Organization2" }, "status": 200, "response": { - "id": "org_SfCOLMvgKxL7kirf", + "id": "org_haOYEECGVpZwU9Tc", "display_name": "Organization2", "name": "org2" }, @@ -6431,7 +6612,7 @@ "limit": 100, "rules": [ { - "id": "rul_lr4Xo8OyXNEz4R6v", + "id": "rul_KPxS2cPV6d0ZfCE3", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -6455,7 +6636,7 @@ "limit": 100, "rules": [ { - "id": "rul_lr4Xo8OyXNEz4R6v", + "id": "rul_KPxS2cPV6d0ZfCE3", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -6470,7 +6651,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/rules/rul_lr4Xo8OyXNEz4R6v", + "path": "/api/v2/rules/rul_KPxS2cPV6d0ZfCE3", "body": {}, "status": 204, "response": "", @@ -7160,6 +7341,102 @@ "description": "Delete Refresh Tokens", "value": "delete:refresh_tokens" }, + { + "description": "Create Self Service Profiles", + "value": "create:self_service_profiles" + }, + { + "description": "Read Self Service Profiles", + "value": "read:self_service_profiles" + }, + { + "description": "Update Self Service Profiles", + "value": "update:self_service_profiles" + }, + { + "description": "Delete Self Service Profiles", + "value": "delete:self_service_profiles" + }, + { + "description": "Create SSO Access Tickets", + "value": "create:sso_access_tickets" + }, + { + "description": "Read Forms", + "value": "read:forms" + }, + { + "description": "Update Forms", + "value": "update:forms" + }, + { + "description": "Delete Forms", + "value": "delete:forms" + }, + { + "description": "Create Forms", + "value": "create:forms" + }, + { + "description": "Read Flows", + "value": "read:flows" + }, + { + "description": "Update Flows", + "value": "update:flows" + }, + { + "description": "Delete Flows", + "value": "delete:flows" + }, + { + "description": "Create Flows", + "value": "create:flows" + }, + { + "description": "Read Flows Vault items", + "value": "read:flows_vault" + }, + { + "description": "Read Flows Vault connections", + "value": "read:flows_vault_connections" + }, + { + "description": "Update Flows Vault connections", + "value": "update:flows_vault_connections" + }, + { + "description": "Delete Flows Vault connections", + "value": "delete:flows_vault_connections" + }, + { + "description": "Create Flows Vault connections", + "value": "create:flows_vault_connections" + }, + { + "description": "Read Flows Executions", + "value": "read:flows_executions" + }, + { + "description": "Delete Flows Executions", + "value": "delete:flows_executions" + }, + { + "description": "Read Connections Options", + "value": "read:connections_options" + }, + { + "description": "Update Connections Options", + "value": "update:connections_options" + }, + { + "description": "Read Self Service Profile Custom Texts", + "value": "read:self_service_profile_custom_texts" + }, + { + "description": "Update Self Service Profile Custom Texts", + "value": "update:self_service_profile_custom_texts" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -7213,6 +7490,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -7271,7 +7549,7 @@ "subject": "deprecated" } ], - "client_id": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7325,7 +7603,7 @@ } ], "allowed_origins": [], - "client_id": "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7349,10 +7627,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -7373,7 +7648,7 @@ "subject": "deprecated" } ], - "client_id": "bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7392,31 +7667,22 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, - "oidc_conformant": false, + "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, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, "signing_keys": [ { @@ -7425,7 +7691,7 @@ "subject": "deprecated" } ], - "client_id": "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7433,12 +7699,9 @@ "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 @@ -7447,19 +7710,31 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Terraform Provider", + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": 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": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "signing_keys": [ { @@ -7468,7 +7743,7 @@ "subject": "deprecated" } ], - "client_id": "LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7476,9 +7751,12 @@ "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 @@ -7524,7 +7802,7 @@ "subject": "deprecated" } ], - "client_id": "WZycF991qhrOzwWsHmECCdnls0r14R8L", + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7581,7 +7859,7 @@ "subject": "deprecated" } ], - "client_id": "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7605,7 +7883,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", + "path": "/api/v2/clients/780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "body": {}, "status": 204, "response": "", @@ -7615,7 +7893,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "path": "/api/v2/clients/e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "body": {}, "status": 204, "response": "", @@ -7625,7 +7903,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", + "path": "/api/v2/clients/Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "body": {}, "status": 204, "response": "", @@ -7635,7 +7913,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", + "path": "/api/v2/clients/Cbs29sl8S2G7zgo97erymb8t59IG6its", "body": {}, "status": 204, "response": "", @@ -7645,7 +7923,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", + "path": "/api/v2/clients/RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "body": {}, "status": 204, "response": "", @@ -7655,7 +7933,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/WZycF991qhrOzwWsHmECCdnls0r14R8L", + "path": "/api/v2/clients/11CR1JJoz35mJP5HPekYuwloHZQrg6bT", "body": {}, "status": 204, "response": "", @@ -7665,7 +7943,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", + "path": "/api/v2/clients/oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", "body": {}, "status": 204, "response": "", @@ -7735,7 +8013,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "nKwjGNoBqCdmAZhH744OhOFjqveMMZ7W", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7782,7 +8060,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -7796,7 +8074,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 }, @@ -7810,7 +8088,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/duo", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -7824,7 +8102,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 }, @@ -7838,7 +8116,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 }, @@ -7852,7 +8130,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 }, @@ -7880,7 +8158,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 }, @@ -7944,6 +8222,34 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "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": "PATCH", @@ -7977,24 +8283,25 @@ "status": 200, "response": [ { - "id": "lst_0000000000015063", + "id": "lst_0000000000017950", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", "sink": { "datadogApiKey": "some-sensitive-api-key", "datadogRegion": "us" - } + }, + "isPriority": false }, { - "id": "lst_0000000000015064", + "id": "lst_0000000000017951", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-ad7deb22-8b6e-4242-ba40-344f97b05739/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-11b6995b-a49b-4a0f-bfaf-88cefc5ba0b3/auth0.logs" }, "filters": [ { @@ -8033,40 +8340,13 @@ "type": "category", "name": "auth.token_exchange.fail" } - ] + ], + "isPriority": false } ], "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", - "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 - }, - "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": "PATCH", @@ -8114,7 +8394,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/log-streams/lst_0000000000015063", + "path": "/api/v2/log-streams/lst_0000000000017950", "body": {}, "status": 204, "response": "", @@ -8124,7 +8404,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/log-streams/lst_0000000000015064", + "path": "/api/v2/log-streams/lst_0000000000017951", "body": {}, "status": 204, "response": "", @@ -8160,6 +8440,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -8208,7 +8489,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "nKwjGNoBqCdmAZhH744OhOFjqveMMZ7W", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8242,9 +8523,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -8273,7 +8557,7 @@ "limit": 100, "connections": [ { - "id": "con_K5DvCabszfTqFX2a", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -8347,7 +8631,7 @@ "limit": 100, "connections": [ { - "id": "con_K5DvCabszfTqFX2a", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -8412,11 +8696,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_K5DvCabszfTqFX2a", + "path": "/api/v2/connections/con_cvOdQDkXpKvaMNSh", "body": {}, "status": 202, "response": { - "deleted_at": "2023-12-22T14:46:11.010Z" + "deleted_at": "2024-10-14T09:10:36.659Z" }, "rawHeaders": [], "responseIsBinary": false @@ -8430,7 +8714,7 @@ "strategy": "auth0", "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "nKwjGNoBqCdmAZhH744OhOFjqveMMZ7W" ], "is_domain_connection": false, "options": { @@ -8448,7 +8732,7 @@ }, "status": 201, "response": { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_cp1GQaWW1rc0U9o9", "options": { "mfa": { "active": true, @@ -8476,7 +8760,7 @@ "is_domain_connection": false, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "nKwjGNoBqCdmAZhH744OhOFjqveMMZ7W" ], "realms": [ "Username-Password-Authentication" @@ -8514,6 +8798,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -8562,7 +8847,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "nKwjGNoBqCdmAZhH744OhOFjqveMMZ7W", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8596,9 +8881,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -8627,7 +8915,7 @@ "limit": 100, "connections": [ { - "id": "con_F6FupkR2JVv0xmQV", + "id": "con_SXIEWGYv5QzGSoqq", "options": { "email": true, "scope": [ @@ -8645,7 +8933,7 @@ "enabled_clients": [] }, { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_cp1GQaWW1rc0U9o9", "options": { "mfa": { "active": true, @@ -8676,7 +8964,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "nKwjGNoBqCdmAZhH744OhOFjqveMMZ7W" ] } ] @@ -8696,7 +8984,7 @@ "limit": 100, "connections": [ { - "id": "con_F6FupkR2JVv0xmQV", + "id": "con_SXIEWGYv5QzGSoqq", "options": { "email": true, "scope": [ @@ -8714,7 +9002,7 @@ "enabled_clients": [] }, { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_cp1GQaWW1rc0U9o9", "options": { "mfa": { "active": true, @@ -8745,7 +9033,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "nKwjGNoBqCdmAZhH744OhOFjqveMMZ7W" ] } ] @@ -8756,11 +9044,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_F6FupkR2JVv0xmQV", + "path": "/api/v2/connections/con_SXIEWGYv5QzGSoqq", "body": {}, "status": 202, "response": { - "deleted_at": "2023-12-22T14:46:11.672Z" + "deleted_at": "2024-10-14T09:10:39.306Z" }, "rawHeaders": [], "responseIsBinary": false @@ -8794,6 +9082,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -8842,7 +9131,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "nKwjGNoBqCdmAZhH744OhOFjqveMMZ7W", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8876,9 +9165,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -9085,22 +9377,22 @@ "response": { "roles": [ { - "id": "rol_akyigjRpa1CNc2RA", + "id": "rol_hRGDQmEBYbZsC8sZ", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_BXNSxZlMD6p3fj8y", + "id": "rol_oT9S2f9KYqFyYR2j", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_D8YUHJmpsX4Gxn7W", + "id": "rol_ZNeuVHhKZTaZaGwq", "name": "read_only", "description": "Read Only" }, { - "id": "rol_ZjTN0eReZsvpoZRw", + "id": "rol_1DwrDRZ26bdvfKxL", "name": "read_osnly", "description": "Readz Only" } @@ -9115,7 +9407,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_akyigjRpa1CNc2RA/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_hRGDQmEBYbZsC8sZ/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -9130,7 +9422,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_BXNSxZlMD6p3fj8y/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_oT9S2f9KYqFyYR2j/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -9145,7 +9437,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_D8YUHJmpsX4Gxn7W/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_ZNeuVHhKZTaZaGwq/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -9160,7 +9452,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_ZjTN0eReZsvpoZRw/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_1DwrDRZ26bdvfKxL/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -9175,7 +9467,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_akyigjRpa1CNc2RA", + "path": "/api/v2/roles/rol_hRGDQmEBYbZsC8sZ", "body": {}, "status": 200, "response": {}, @@ -9185,7 +9477,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_BXNSxZlMD6p3fj8y", + "path": "/api/v2/roles/rol_oT9S2f9KYqFyYR2j", "body": {}, "status": 200, "response": {}, @@ -9195,7 +9487,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_D8YUHJmpsX4Gxn7W", + "path": "/api/v2/roles/rol_ZNeuVHhKZTaZaGwq", "body": {}, "status": 200, "response": {}, @@ -9205,7 +9497,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_ZjTN0eReZsvpoZRw", + "path": "/api/v2/roles/rol_1DwrDRZ26bdvfKxL", "body": {}, "status": 200, "response": {}, @@ -9221,7 +9513,7 @@ "response": { "actions": [ { - "id": "e805e03c-f0a3-4915-9c55-5f5c3acf9a4a", + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", "name": "My Custom Action", "supported_triggers": [ { @@ -9229,34 +9521,34 @@ "version": "v2" } ], - "created_at": "2023-12-22T14:45:43.350819427Z", - "updated_at": "2023-12-22T14:46:00.070960661Z", + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-14T09:10:16.315626907Z", "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": "node16", "status": "built", "secrets": [], "current_version": { - "id": "499c9883-f19b-4144-90aa-03f09d13273e", + "id": "46996b0a-4603-48a8-9848-fdf9746077b3", "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": "node16", "status": "BUILT", - "number": 2, - "build_time": "2023-12-22T14:46:00.414694589Z", - "created_at": "2023-12-22T14:46:00.330514258Z", - "updated_at": "2023-12-22T14:46:00.415386737Z" + "number": 5, + "build_time": "2024-10-14T09:10:17.401854888Z", + "created_at": "2024-10-14T09:10:17.307518476Z", + "updated_at": "2024-10-14T09:10:17.404041863Z" }, "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": "499c9883-f19b-4144-90aa-03f09d13273e", + "id": "46996b0a-4603-48a8-9848-fdf9746077b3", "deployed": true, - "number": 2, - "built_at": "2023-12-22T14:46:00.414694589Z", + "number": 5, + "built_at": "2024-10-14T09:10:17.401854888Z", "secrets": [], "status": "built", - "created_at": "2023-12-22T14:46:00.330514258Z", - "updated_at": "2023-12-22T14:46:00.415386737Z", + "created_at": "2024-10-14T09:10:17.307518476Z", + "updated_at": "2024-10-14T09:10:17.404041863Z", "runtime": "node16", "supported_triggers": [ { @@ -9277,7 +9569,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/actions/actions/e805e03c-f0a3-4915-9c55-5f5c3acf9a4a?force=true", + "path": "/api/v2/actions/actions/ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f?force=true", "body": {}, "status": 204, "response": "", @@ -9306,7 +9598,7 @@ "response": { "organizations": [ { - "id": "org_X3jse0Pb1WGt3TwO", + "id": "org_knGmCqfHxLD0V9YB", "name": "org1", "display_name": "Organization", "branding": { @@ -9317,7 +9609,7 @@ } }, { - "id": "org_SfCOLMvgKxL7kirf", + "id": "org_haOYEECGVpZwU9Tc", "name": "org2", "display_name": "Organization2" } @@ -9338,7 +9630,7 @@ "response": { "organizations": [ { - "id": "org_X3jse0Pb1WGt3TwO", + "id": "org_knGmCqfHxLD0V9YB", "name": "org1", "display_name": "Organization", "branding": { @@ -9349,7 +9641,7 @@ } }, { - "id": "org_SfCOLMvgKxL7kirf", + "id": "org_haOYEECGVpZwU9Tc", "name": "org2", "display_name": "Organization2" } @@ -9361,7 +9653,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_X3jse0Pb1WGt3TwO/enabled_connections", + "path": "/api/v2/organizations/org_knGmCqfHxLD0V9YB/enabled_connections", "body": "", "status": 200, "response": [], @@ -9371,7 +9663,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_SfCOLMvgKxL7kirf/enabled_connections", + "path": "/api/v2/organizations/org_haOYEECGVpZwU9Tc/enabled_connections", "body": "", "status": 200, "response": [], @@ -9390,7 +9682,7 @@ "limit": 100, "connections": [ { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_cp1GQaWW1rc0U9o9", "options": { "mfa": { "active": true, @@ -9421,7 +9713,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "nKwjGNoBqCdmAZhH744OhOFjqveMMZ7W" ] } ] @@ -9432,7 +9724,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/organizations/org_SfCOLMvgKxL7kirf", + "path": "/api/v2/organizations/org_haOYEECGVpZwU9Tc", "body": {}, "status": 204, "response": "", @@ -9442,7 +9734,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/organizations/org_X3jse0Pb1WGt3TwO", + "path": "/api/v2/organizations/org_knGmCqfHxLD0V9YB", "body": {}, "status": 204, "response": "", @@ -9595,9 +9887,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -10339,41 +10634,137 @@ "value": "delete:refresh_tokens" }, { - "value": "read:client_credentials", - "description": "Read Client Credentials" + "description": "Create Self Service Profiles", + "value": "create:self_service_profiles" }, { - "value": "create:client_credentials", - "description": "Create Client Credentials" + "description": "Read Self Service Profiles", + "value": "read:self_service_profiles" }, { - "value": "update:client_credentials", - "description": "Update Client Credentials" + "description": "Update Self Service Profiles", + "value": "update:self_service_profiles" }, { - "value": "delete:client_credentials", - "description": "delete Client Credentials" - } - ], - "is_system": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?include_totals=true&is_global=false&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 2, - "start": 0, - "limit": 100, - "clients": [ - { + "description": "Delete Self Service Profiles", + "value": "delete:self_service_profiles" + }, + { + "description": "Create SSO Access Tickets", + "value": "create:sso_access_tickets" + }, + { + "description": "Read Forms", + "value": "read:forms" + }, + { + "description": "Update Forms", + "value": "update:forms" + }, + { + "description": "Delete Forms", + "value": "delete:forms" + }, + { + "description": "Create Forms", + "value": "create:forms" + }, + { + "description": "Read Flows", + "value": "read:flows" + }, + { + "description": "Update Flows", + "value": "update:flows" + }, + { + "description": "Delete Flows", + "value": "delete:flows" + }, + { + "description": "Create Flows", + "value": "create:flows" + }, + { + "description": "Read Flows Vault items", + "value": "read:flows_vault" + }, + { + "description": "Read Flows Vault connections", + "value": "read:flows_vault_connections" + }, + { + "description": "Update Flows Vault connections", + "value": "update:flows_vault_connections" + }, + { + "description": "Delete Flows Vault connections", + "value": "delete:flows_vault_connections" + }, + { + "description": "Create Flows Vault connections", + "value": "create:flows_vault_connections" + }, + { + "description": "Read Flows Executions", + "value": "read:flows_executions" + }, + { + "description": "Delete Flows Executions", + "value": "delete:flows_executions" + }, + { + "description": "Read Connections Options", + "value": "read:connections_options" + }, + { + "description": "Update Connections Options", + "value": "update:connections_options" + }, + { + "description": "Read Self Service Profile Custom Texts", + "value": "read:self_service_profile_custom_texts" + }, + { + "description": "Update Self Service Profile Custom Texts", + "value": "update:self_service_profile_custom_texts" + }, + { + "value": "read:client_credentials", + "description": "Read Client Credentials" + }, + { + "value": "create:client_credentials", + "description": "Create Client Credentials" + }, + { + "value": "update:client_credentials", + "description": "Update Client Credentials" + }, + { + "value": "delete:client_credentials", + "description": "delete Client Credentials" + } + ], + "is_system": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?include_totals=true&is_global=false&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "total": 2, + "start": 0, + "limit": 100, + "clients": [ + { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, @@ -10391,6 +10782,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -10439,7 +10831,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "nKwjGNoBqCdmAZhH744OhOFjqveMMZ7W", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10472,7 +10864,7 @@ "limit": 100, "connections": [ { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_cp1GQaWW1rc0U9o9", "options": { "mfa": { "active": true, @@ -10503,7 +10895,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "nKwjGNoBqCdmAZhH744OhOFjqveMMZ7W" ] } ] @@ -10523,7 +10915,7 @@ "limit": 100, "connections": [ { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_cp1GQaWW1rc0U9o9", "options": { "mfa": { "active": true, @@ -10554,7 +10946,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "nKwjGNoBqCdmAZhH744OhOFjqveMMZ7W" ] } ] @@ -10651,7 +11043,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": { @@ -10666,14 +11058,17 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/email-templates/verify_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "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 @@ -10681,7 +11076,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/reset_email", "body": "", "status": 404, "response": { @@ -10696,7 +11091,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/user_invitation", "body": "", "status": 404, "response": { @@ -10711,14 +11106,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "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 @@ -10741,7 +11140,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/change_password", "body": "", "status": 404, "response": { @@ -10756,18 +11155,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", - "status": 200, + "status": 404, "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 + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" }, "rawHeaders": [], "responseIsBinary": false @@ -10775,7 +11170,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/verify_email_by_code", "body": "", "status": 404, "response": { @@ -10790,17 +11185,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email", + "path": "/api/v2/email-templates/blocked_account", "body": "", - "status": 200, + "status": 404, "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 + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" }, "rawHeaders": [], "responseIsBinary": false @@ -10808,7 +11200,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": { @@ -11055,25 +11447,25 @@ { "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": {}, + "response": { + "auth_token": "bar", + "sid": "foo", + "from": "from bar", + "messaging_service_sid": "foo" + }, "rawHeaders": [], "responseIsBinary": false }, { "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": { - "auth_token": "bar", - "sid": "foo", - "from": "from bar", - "messaging_service_sid": "foo" - }, + "response": {}, "rawHeaders": [], "responseIsBinary": false }, @@ -11249,76 +11641,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/login/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/login-id/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/login-password/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/login-passwordless/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/signup/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/signup-id/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/signup-password/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -11382,7 +11704,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/reset-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -11392,7 +11714,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/signup-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -11402,7 +11724,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/consent/custom-text/en", "body": "", "status": 200, "response": {}, @@ -11422,7 +11744,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/consent/custom-text/en", + "path": "/api/v2/prompts/mfa-otp/custom-text/en", "body": "", "status": 200, "response": {}, @@ -11432,7 +11754,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-voice/custom-text/en", "body": "", "status": 200, "response": {}, @@ -11442,7 +11764,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-phone/custom-text/en", "body": "", "status": 200, "response": {}, @@ -11482,7 +11804,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-recovery-code/custom-text/en", "body": "", "status": 200, "response": {}, @@ -11492,7 +11814,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": {}, @@ -11502,7 +11824,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": {}, @@ -11569,6 +11891,76 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/login-password/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/login-id/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/login/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/login-passwordless/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/signup/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/signup-id/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/signup-password/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -11576,9 +11968,7 @@ "body": "", "status": 200, "response": { - "flags": { - "role_users_offset_pagination_over_thousand": true - } + "flags": {} }, "rawHeaders": [], "responseIsBinary": false @@ -11604,17 +11994,6 @@ "status": 200, "response": { "triggers": [ - { - "id": "post-login", - "version": "v2", - "status": "DEPRECATED", - "runtimes": [ - "node12", - "node16" - ], - "default_runtime": "node16", - "compatible_triggers": [] - }, { "id": "post-login", "version": "v3", @@ -11625,6 +12004,7 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", "compatible_triggers": [ { "id": "post-login", @@ -11634,22 +12014,25 @@ }, { "id": "post-login", - "version": "v1", + "version": "v2", "status": "DEPRECATED", "runtimes": [ - "node12" + "node12", + "node16" ], - "default_runtime": "node12", + "default_runtime": "node16", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { - "id": "credentials-exchange", + "id": "post-login", "version": "v1", "status": "DEPRECATED", "runtimes": [ "node12" ], "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -11662,16 +12045,18 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { - "id": "pre-user-registration", + "id": "credentials-exchange", "version": "v1", "status": "DEPRECATED", "runtimes": [ "node12" ], "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -11684,6 +12069,18 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "pre-user-registration", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -11694,6 +12091,7 @@ "node12" ], "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -11706,6 +12104,7 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -11716,6 +12115,7 @@ "node12" ], "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -11728,6 +12128,7 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -11737,6 +12138,7 @@ "runtimes": [ "node12" ], + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -11749,6 +12151,7 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -11760,6 +12163,7 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -11767,6 +12171,34 @@ "version": "v1", "status": "CURRENT", "default_runtime": "node18", + "binding_policy": "trigger-bound", + "runtimes": [], + "compatible_triggers": [] + }, + { + "id": "custom-phone-provider", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "binding_policy": "trigger-bound", + "runtimes": [], + "compatible_triggers": [] + }, + { + "id": "custom-email-provider", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "binding_policy": "trigger-bound", + "runtimes": [], + "compatible_triggers": [] + }, + { + "id": "custom-token-exchange-beta", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "binding_policy": "trigger-bound", "runtimes": [], "compatible_triggers": [] } @@ -11882,14 +12314,12 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?include_totals=true", + "path": "/api/v2/actions/triggers/custom-phone-provider/bindings", "body": "", "status": 200, "response": { - "organizations": [], - "start": 0, - "limit": 50, - "total": 0 + "bindings": [], + "per_page": 20 }, "rawHeaders": [], "responseIsBinary": false @@ -11897,11 +12327,12 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?include_totals=true&take=50", + "path": "/api/v2/actions/triggers/custom-email-provider/bindings", "body": "", "status": 200, "response": { - "organizations": [] + "bindings": [], + "per_page": 20 }, "rawHeaders": [], "responseIsBinary": false @@ -11909,19 +12340,39 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/breached-password-detection", + "path": "/api/v2/actions/triggers/custom-token-exchange-beta/bindings", "body": "", "status": 200, "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } + "bindings": [], + "per_page": 20 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations?include_totals=true", + "body": "", + "status": 200, + "response": { + "organizations": [], + "start": 0, + "limit": 50, + "total": 0 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations?include_totals=true&take=50", + "body": "", + "status": 200, + "response": { + "organizations": [] }, "rawHeaders": [], "responseIsBinary": false @@ -11953,6 +12404,26 @@ "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": [] + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -12007,4 +12478,4 @@ "rawHeaders": [], "responseIsBinary": false } -] +] \ No newline at end of file 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 09b7bc41b..4480bae57 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 @@ -6,10 +6,19 @@ "body": "", "status": 200, "response": { - "total": 0, + "total": 1, "start": 0, "limit": 100, - "rules": [] + "rules": [ + { + "id": "rul_KPxS2cPV6d0ZfCE3", + "enabled": true, + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "name": "my-rule", + "order": 2, + "stage": "login_success" + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -21,28 +30,36 @@ "body": "", "status": 200, "response": { - "total": 0, + "total": 1, "start": 0, "limit": 100, - "rules": [] + "rules": [ + { + "id": "rul_KPxS2cPV6d0ZfCE3", + "enabled": true, + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "name": "my-rule", + "order": 2, + "stage": "login_success" + } + ] }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/rules", + "method": "PATCH", + "path": "/api/v2/rules/rul_KPxS2cPV6d0ZfCE3", "body": { "name": "my-rule", "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", - "stage": "login_success", "enabled": true, "order": 2 }, - "status": 201, + "status": 200, "response": { - "id": "rul_wSNZtfFVlghPXbCh", + "id": "rul_KPxS2cPV6d0ZfCE3", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -111,9 +128,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -157,9 +177,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -196,7 +219,7 @@ "status": 200, "response": { "allowed_logout_urls": [ - "https://mycompany.org/logoutCallback" + "https://travel0.com/logoutCallback" ], "change_password": { "enabled": true, @@ -232,7 +255,7 @@ "disable_clickjack_protection_headers": false, "enable_pipeline2": false }, - "friendly_name": "My Test Tenant", + "friendly_name": "This tenant name should be preserved", "guardian_mfa_page": { "enabled": true, "html": "MFA\n" @@ -241,8 +264,8 @@ "picture_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png", "sandbox_version": "12", "session_lifetime": 3.0166666666666666, - "support_email": "support@mycompany.org", - "support_url": "https://mycompany.org/support", + "support_email": "support@travel0.com", + "support_url": "https://travel0.com/support", "universal_login": { "colors": { "primary": "#F8F8F2", @@ -910,6 +933,102 @@ "description": "Delete Refresh Tokens", "value": "delete:refresh_tokens" }, + { + "description": "Create Self Service Profiles", + "value": "create:self_service_profiles" + }, + { + "description": "Read Self Service Profiles", + "value": "read:self_service_profiles" + }, + { + "description": "Update Self Service Profiles", + "value": "update:self_service_profiles" + }, + { + "description": "Delete Self Service Profiles", + "value": "delete:self_service_profiles" + }, + { + "description": "Create SSO Access Tickets", + "value": "create:sso_access_tickets" + }, + { + "description": "Read Forms", + "value": "read:forms" + }, + { + "description": "Update Forms", + "value": "update:forms" + }, + { + "description": "Delete Forms", + "value": "delete:forms" + }, + { + "description": "Create Forms", + "value": "create:forms" + }, + { + "description": "Read Flows", + "value": "read:flows" + }, + { + "description": "Update Flows", + "value": "update:flows" + }, + { + "description": "Delete Flows", + "value": "delete:flows" + }, + { + "description": "Create Flows", + "value": "create:flows" + }, + { + "description": "Read Flows Vault items", + "value": "read:flows_vault" + }, + { + "description": "Read Flows Vault connections", + "value": "read:flows_vault_connections" + }, + { + "description": "Update Flows Vault connections", + "value": "update:flows_vault_connections" + }, + { + "description": "Delete Flows Vault connections", + "value": "delete:flows_vault_connections" + }, + { + "description": "Create Flows Vault connections", + "value": "create:flows_vault_connections" + }, + { + "description": "Read Flows Executions", + "value": "read:flows_executions" + }, + { + "description": "Delete Flows Executions", + "value": "delete:flows_executions" + }, + { + "description": "Read Connections Options", + "value": "read:connections_options" + }, + { + "description": "Update Connections Options", + "value": "update:connections_options" + }, + { + "description": "Read Self Service Profile Custom Texts", + "value": "read:self_service_profile_custom_texts" + }, + { + "description": "Update Self Service Profile Custom Texts", + "value": "update:self_service_profile_custom_texts" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -941,7 +1060,7 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 10, "start": 0, "limit": 100, "clients": [ @@ -963,6 +1082,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -1011,7 +1131,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1026,202 +1146,511 @@ "client_credentials" ], "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", - "body": { - "name": "Quickstarts API (Test Application)", - "app_type": "non_interactive", - "client_metadata": { - "foo": "bar" - }, - "cross_origin_auth": 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, - "secret_encoded": 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": 201, - "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_auth": 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, - "encrypted": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "key": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", - "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 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", - "body": { - "name": "API Explorer Application", - "allowed_clients": [], - "app_type": "non_interactive", - "callbacks": [], - "client_aliases": [], - "client_metadata": {}, - "cross_origin_auth": 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, - "secret_encoded": false - }, - "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": 201, - "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_auth": 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, - "encrypted": true, - "signing_keys": [ { - "cert": "[REDACTED]", - "key": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", - "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": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "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": "Terraform Provider", + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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": "Auth0 CLI - dev", + "allowed_clients": [], + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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" + }, + "sso_disabled": false, + "oidc_conformant": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", + "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/Cbs29sl8S2G7zgo97erymb8t59IG6its", + "body": { + "name": "Quickstarts API (Test Application)", + "app_type": "non_interactive", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": 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" + }, + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", + "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 + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", + "method": "PATCH", + "path": "/api/v2/clients/e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "body": { "name": "Node App", "allowed_clients": [], @@ -1243,8 +1672,7 @@ "is_token_endpoint_ip_header_trusted": false, "jwt_configuration": { "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "lifetime_in_seconds": 36000 }, "native_social_login": { "apple": { @@ -1268,7 +1696,7 @@ "token_endpoint_auth_method": "client_secret_post", "web_origins": [] }, - "status": 201, + "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -1299,17 +1727,15 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "encrypted": true, "signing_keys": [ { "cert": "[REDACTED]", - "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], "allowed_origins": [], - "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1334,33 +1760,25 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", + "method": "PATCH", + "path": "/api/v2/clients/780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "body": { - "name": "Test SPA", + "name": "API Explorer Application", "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_auth": 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, - "secret_encoded": false + "lifetime_in_seconds": 36000 }, "native_social_login": { "apple": { @@ -1372,33 +1790,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, + "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Test SPA", + "name": "API Explorer Application", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -1412,25 +1822,23 @@ }, "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, - "encrypted": true, "signing_keys": [ { "cert": "[REDACTED]", - "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1439,15 +1847,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 }, @@ -1456,8 +1859,8 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", + "method": "PATCH", + "path": "/api/v2/clients/RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "body": { "name": "The Default App", "allowed_clients": [], @@ -1476,8 +1879,7 @@ "is_token_endpoint_ip_header_trusted": false, "jwt_configuration": { "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "lifetime_in_seconds": 36000 }, "native_social_login": { "apple": { @@ -1501,7 +1903,7 @@ "sso_disabled": false, "token_endpoint_auth_method": "client_secret_post" }, - "status": 201, + "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -1532,16 +1934,14 @@ }, "sso": false, "sso_disabled": false, - "encrypted": true, "signing_keys": [ { "cert": "[REDACTED]", - "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1564,8 +1964,8 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", + "method": "PATCH", + "path": "/api/v2/clients/Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "body": { "name": "Terraform Provider", "app_type": "non_interactive", @@ -1578,8 +1978,7 @@ "is_token_endpoint_ip_header_trusted": false, "jwt_configuration": { "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "lifetime_in_seconds": 36000 }, "oidc_conformant": true, "refresh_token": { @@ -1594,7 +1993,7 @@ "sso_disabled": false, "token_endpoint_auth_method": "client_secret_post" }, - "status": 201, + "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -1613,16 +2012,14 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "encrypted": true, "signing_keys": [ { "cert": "[REDACTED]", - "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1642,8 +2039,127 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", + "method": "PATCH", + "path": "/api/v2/clients/11CR1JJoz35mJP5HPekYuwloHZQrg6bT", + "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_auth": 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" + ] + }, + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", + "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 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", "body": { "name": "auth0-deploy-cli-extension", "allowed_clients": [], @@ -1660,8 +2176,7 @@ "is_token_endpoint_ip_header_trusted": false, "jwt_configuration": { "alg": "RS256", - "lifetime_in_seconds": 36000, - "secret_encoded": false + "lifetime_in_seconds": 36000 }, "native_social_login": { "apple": { @@ -1684,7 +2199,7 @@ "sso_disabled": false, "token_endpoint_auth_method": "client_secret_post" }, - "status": 201, + "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -1714,16 +2229,14 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "encrypted": true, "signing_keys": [ { "cert": "[REDACTED]", - "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1747,19 +2260,19 @@ "method": "GET", "path": "/api/v2/emails/provider?include_fields=true&fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "There is not a configured email provider", - "errorCode": "inexistent_email_provider" + "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": "POST", + "method": "PATCH", "path": "/api/v2/emails/provider?enabled=false&name=mandrill", "body": { "name": "mandrill", @@ -1769,7 +2282,7 @@ "default_from_address": "auth0-user@auth0.com", "enabled": false }, - "status": 201, + "status": 200, "response": { "name": "mandrill", "credentials": {}, @@ -1782,7 +2295,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 }, @@ -1796,7 +2309,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -1810,13 +2323,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/recovery-code", "body": { - "enabled": true + "enabled": false }, "status": 200, "response": { - "enabled": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -1852,13 +2365,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 @@ -1866,7 +2379,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -1880,7 +2393,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 }, @@ -1977,16 +2490,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/log-streams?paginate=false", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -2033,6 +2536,78 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/log-streams?paginate=false", + "body": "", + "status": 200, + "response": [ + { + "id": "lst_0000000000017950", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + { + "id": "lst_0000000000017951", + "name": "Amazon EventBridge", + "type": "eventbridge", + "status": "active", + "sink": { + "awsAccountId": "123456789012", + "awsRegion": "us-east-2", + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-11b6995b-a49b-4a0f-bfaf-88cefc5ba0b3/auth0.logs" + }, + "filters": [ + { + "type": "category", + "name": "auth.login.success" + }, + { + "type": "category", + "name": "auth.login.notification" + }, + { + "type": "category", + "name": "auth.login.fail" + }, + { + "type": "category", + "name": "auth.signup.success" + }, + { + "type": "category", + "name": "auth.logout.success" + }, + { + "type": "category", + "name": "auth.logout.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.success" + }, + { + "type": "category", + "name": "auth.token_exchange.fail" + } + ], + "isPriority": false + } + ], + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -2060,34 +2635,8 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/log-streams", - "body": { - "name": "Suspended DD Log Stream", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - }, - "type": "datadog" - }, - "status": 200, - "response": { - "id": "lst_0000000000015065", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/log-streams", + "method": "PATCH", + "path": "/api/v2/log-streams/lst_0000000000017951", "body": { "name": "Amazon EventBridge", "filters": [ @@ -2128,22 +2677,18 @@ "name": "auth.token_exchange.fail" } ], - "sink": { - "awsAccountId": "123456789012", - "awsRegion": "us-east-2" - }, - "type": "eventbridge" + "status": "active" }, "status": 200, "response": { - "id": "lst_0000000000015066", + "id": "lst_0000000000017951", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-a0d29214-9e3a-4756-ad63-145ad18d8001/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-11b6995b-a49b-4a0f-bfaf-88cefc5ba0b3/auth0.logs" }, "filters": [ { @@ -2182,7 +2727,34 @@ "type": "category", "name": "auth.token_exchange.fail" } - ] + ], + "isPriority": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/log-streams/lst_0000000000017950", + "body": { + "name": "Suspended DD Log Stream", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + } + }, + "status": 200, + "response": { + "id": "lst_0000000000017950", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false }, "rawHeaders": [], "responseIsBinary": false @@ -2194,7 +2766,7 @@ "body": "", "status": 200, "response": { - "total": 10, + "total": 11, "start": 0, "limit": 100, "clients": [ @@ -2216,6 +2788,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -2264,7 +2837,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2316,7 +2889,7 @@ "subject": "deprecated" } ], - "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2336,12 +2909,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -2360,7 +2942,8 @@ "subject": "deprecated" } ], - "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2368,32 +2951,25 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "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 }, { "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": {}, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -2412,8 +2988,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2421,23 +2996,21 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "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": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -2458,7 +3031,7 @@ "subject": "deprecated" } ], - "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2510,7 +3083,7 @@ "subject": "deprecated" } ], - "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2534,12 +3107,69 @@ "is_token_endpoint_ip_header_trusted": false, "name": "Test SPA", "allowed_clients": [], - "allowed_logout_urls": [ - "http://localhost:3000" - ], - "callbacks": [ - "http://localhost:3000" - ], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", + "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_auth": false, "is_first_party": true, @@ -2553,13 +3183,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, "signing_keys": [ @@ -2569,7 +3199,7 @@ "subject": "deprecated" } ], - "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2578,15 +3208,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 }, @@ -2594,12 +3219,12 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Auth0 CLI - dev", "allowed_clients": [], "callbacks": [], - "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", "native_social_login": { "apple": { "enabled": false @@ -2608,7 +3233,6 @@ "enabled": false } }, - "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -2619,6 +3243,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "oidc_conformant": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2626,7 +3251,7 @@ "subject": "deprecated" } ], - "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2660,9 +3285,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -2686,12 +3314,73 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 2, "start": 0, "limit": 100, "connections": [ { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -2721,8 +3410,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -2737,12 +3426,73 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 2, "start": 0, "limit": 100, "connections": [ { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -2772,8 +3522,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -2783,14 +3533,82 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/connections", - "body": { - "name": "boo-baz-db-connection-test", + "method": "GET", + "path": "/api/v2/connections/con_cvOdQDkXpKvaMNSh", + "body": "", + "status": 200, + "response": { + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ], + "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_cvOdQDkXpKvaMNSh", + "body": { "enabled_clients": [ - "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ], "is_domain_connection": false, "options": { @@ -2809,6 +3627,11 @@ }, "disable_signup": false, "passwordPolicy": "low", + "passkey_options": { + "challenge_ui": "both", + "local_enrollment_enabled": true, + "progressive_enrollment_enabled": true + }, "password_history": { "size": 5, "enable": false @@ -2819,6 +3642,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -2832,25 +3663,30 @@ "boo-baz-db-connection-test" ] }, - "status": 201, + "status": 200, "response": { - "id": "con_qtM6Tit8tl0FMG0U", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, "return_enroll_settings": true }, - "passwordPolicy": "low", "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", + "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", - "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" + "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 @@ -2861,6 +3697,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -2868,27 +3712,14 @@ "password_complexity_options": { "min_length": 8 }, - "enabledDatabaseCustomization": true, - "authentication_methods": { - "password": { - "enabled": true - }, - "passkey": { - "enabled": false - } - }, - "passkey_options": { - "challenge_ui": "both", - "progressive_enrollment_enabled": true, - "local_enrollment_enabled": true - } + "enabledDatabaseCustomization": true }, "strategy": "auth0", "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ], "realms": [ "boo-baz-db-connection-test" @@ -2904,7 +3735,7 @@ "body": "", "status": 200, "response": { - "total": 10, + "total": 11, "start": 0, "limit": 100, "clients": [ @@ -2926,6 +3757,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -2974,7 +3806,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3026,7 +3858,7 @@ "subject": "deprecated" } ], - "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3046,12 +3878,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3070,7 +3911,8 @@ "subject": "deprecated" } ], - "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3078,32 +3920,25 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "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 }, { "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": {}, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3122,8 +3957,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3131,23 +3965,21 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "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": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -3168,7 +4000,7 @@ "subject": "deprecated" } ], - "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3220,7 +4052,7 @@ "subject": "deprecated" } ], - "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3279,7 +4111,7 @@ "subject": "deprecated" } ], - "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3336,7 +4168,59 @@ "subject": "deprecated" } ], - "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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": "Auth0 CLI - dev", + "allowed_clients": [], + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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" + }, + "sso_disabled": false, + "oidc_conformant": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3370,9 +4254,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -3396,12 +4283,12 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 3, "start": 0, "limit": 100, "connections": [ { - "id": "con_qtM6Tit8tl0FMG0U", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -3457,12 +4344,33 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_SXIEWGYv5QzGSoqq", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" ] }, { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -3492,8 +4400,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -3508,12 +4416,12 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 3, "start": 0, "limit": 100, "connections": [ { - "id": "con_qtM6Tit8tl0FMG0U", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -3569,12 +4477,33 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_SXIEWGYv5QzGSoqq", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" ] }, { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -3604,8 +4533,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -3615,14 +4544,12 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/connections", + "method": "PATCH", + "path": "/api/v2/connections/con_SXIEWGYv5QzGSoqq", "body": { - "name": "google-oauth2", - "strategy": "google-oauth2", "enabled_clients": [ - "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D" + "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ], "is_domain_connection": false, "options": { @@ -3634,9 +4561,9 @@ "profile": true } }, - "status": 201, + "status": 200, "response": { - "id": "con_5GrbjeMQ0PbSYHPc", + "id": "con_SXIEWGYv5QzGSoqq", "options": { "email": true, "scope": [ @@ -3649,8 +4576,8 @@ "name": "google-oauth2", "is_domain_connection": false, "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ" + "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ], "realms": [ "google-oauth2" @@ -3662,25 +4589,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 @@ -3688,27 +4617,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 @@ -3720,7 +4647,7 @@ "body": "", "status": 200, "response": { - "total": 10, + "total": 11, "start": 0, "limit": 100, "clients": [ @@ -3742,6 +4669,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -3790,7 +4718,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3842,7 +4770,7 @@ "subject": "deprecated" } ], - "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3862,12 +4790,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3886,7 +4823,8 @@ "subject": "deprecated" } ], - "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3894,32 +4832,25 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "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 }, { "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_auth": false, - "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, + "is_first_party": true, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3938,8 +4869,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3947,23 +4877,21 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "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": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -3984,7 +4912,7 @@ "subject": "deprecated" } ], - "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4036,7 +4964,7 @@ "subject": "deprecated" } ], - "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4095,7 +5023,7 @@ "subject": "deprecated" } ], - "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4152,7 +5080,59 @@ "subject": "deprecated" } ], - "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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": "Auth0 CLI - dev", + "allowed_clients": [], + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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" + }, + "sso_disabled": false, + "oidc_conformant": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4168,54 +5148,331 @@ ], "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" - ], - "custom_login_page": "TEST123\n", - "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?include_totals=true&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "client_grants": [ + { + "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" + ], + "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?include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "client_grants": [ + { + "id": "cgr_P3XzavTQSyFaV8mr", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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" + ] + }, + { + "id": "cgr_SDgpXDXvWBtO3KEi", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", + "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" + ] + }, { "id": "cgr_t3j1isctGZmOVylt", "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", @@ -4388,11 +5645,9 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/client-grants", + "method": "PATCH", + "path": "/api/v2/client-grants/cgr_P3XzavTQSyFaV8mr", "body": { - "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", "create:client_grants", @@ -4526,10 +5781,10 @@ "delete:organization_invitations" ] }, - "status": 201, + "status": 200, "response": { - "id": "cgr_WrFlRGbdZ6AbrsLZ", - "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", + "id": "cgr_P3XzavTQSyFaV8mr", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4669,11 +5924,9 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/client-grants", + "method": "PATCH", + "path": "/api/v2/client-grants/cgr_SDgpXDXvWBtO3KEi", "body": { - "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", "create:client_grants", @@ -4807,10 +6060,10 @@ "delete:organization_invitations" ] }, - "status": 201, + "status": 200, "response": { - "id": "cgr_2zq7mVXA87scv9MN", - "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", + "id": "cgr_SDgpXDXvWBtO3KEi", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4955,7 +6208,88 @@ "body": "", "status": 200, "response": { - "roles": [], + "roles": [ + { + "id": "rol_hRGDQmEBYbZsC8sZ", + "name": "Admin", + "description": "Can read and write things" + }, + { + "id": "rol_oT9S2f9KYqFyYR2j", + "name": "Reader", + "description": "Can only read things" + }, + { + "id": "rol_ZNeuVHhKZTaZaGwq", + "name": "read_only", + "description": "Read Only" + }, + { + "id": "rol_1DwrDRZ26bdvfKxL", + "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_hRGDQmEBYbZsC8sZ/permissions?include_totals=true&page=0&per_page=100", + "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_oT9S2f9KYqFyYR2j/permissions?include_totals=true&page=0&per_page=100", + "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_ZNeuVHhKZTaZaGwq/permissions?include_totals=true&page=0&per_page=100", + "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_1DwrDRZ26bdvfKxL/permissions?include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "permissions": [], "start": 0, "limit": 100, "total": 0 @@ -4965,66 +6299,66 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/roles", + "method": "PATCH", + "path": "/api/v2/roles/rol_oT9S2f9KYqFyYR2j", "body": { - "name": "Admin", - "description": "Can read and write things" + "name": "Reader", + "description": "Can only read things" }, "status": 200, "response": { - "id": "rol_rdIzOQupZMdQ7JAJ", - "name": "Admin", - "description": "Can read and write things" + "id": "rol_oT9S2f9KYqFyYR2j", + "name": "Reader", + "description": "Can only read things" }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/roles", + "method": "PATCH", + "path": "/api/v2/roles/rol_ZNeuVHhKZTaZaGwq", "body": { - "name": "Reader", - "description": "Can only read things" + "name": "read_only", + "description": "Read Only" }, "status": 200, "response": { - "id": "rol_wvQhvLwCJ5rGOqvW", - "name": "Reader", - "description": "Can only read things" + "id": "rol_ZNeuVHhKZTaZaGwq", + "name": "read_only", + "description": "Read Only" }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/roles", + "method": "PATCH", + "path": "/api/v2/roles/rol_hRGDQmEBYbZsC8sZ", "body": { - "name": "read_only", - "description": "Read Only" + "name": "Admin", + "description": "Can read and write things" }, "status": 200, "response": { - "id": "rol_Mubp0xpYSP1f7JyM", - "name": "read_only", - "description": "Read Only" + "id": "rol_hRGDQmEBYbZsC8sZ", + "name": "Admin", + "description": "Can read and write things" }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/roles", + "method": "PATCH", + "path": "/api/v2/roles/rol_1DwrDRZ26bdvfKxL", "body": { "name": "read_osnly", "description": "Readz Only" }, "status": 200, "response": { - "id": "rol_x9WzmRo0VhIA1UoP", + "id": "rol_1DwrDRZ26bdvfKxL", "name": "read_osnly", "description": "Readz Only" }, @@ -5038,7 +6372,56 @@ "body": "", "status": 200, "response": { - "actions": [], + "actions": [ + { + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-14T09:07:08.590000474Z", + "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": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "17c5aa54-9fe1-4255-bfdb-89a8640a0820", + "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": "node16", + "status": "BUILT", + "number": 3, + "build_time": "2024-10-14T09:07:09.727164016Z", + "created_at": "2024-10-14T09:07:09.656359071Z", + "updated_at": "2024-10-14T09:07:09.728334663Z" + }, + "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": "17c5aa54-9fe1-4255-bfdb-89a8640a0820", + "deployed": true, + "number": 3, + "built_at": "2024-10-14T09:07:09.727164016Z", + "secrets": [], + "status": "built", + "created_at": "2024-10-14T09:07:09.656359071Z", + "updated_at": "2024-10-14T09:07:09.728334663Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, "per_page": 100 }, "rawHeaders": [], @@ -5046,8 +6429,8 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/actions/actions", + "method": "PATCH", + "path": "/api/v2/actions/actions/ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", "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", @@ -5061,9 +6444,9 @@ } ] }, - "status": 201, + "status": 200, "response": { - "id": "8f0c40cf-653b-4705-9381-3479c0ed03c2", + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", "name": "My Custom Action", "supported_triggers": [ { @@ -5071,14 +6454,43 @@ "version": "v2" } ], - "created_at": "2023-12-22T14:51:47.252041680Z", - "updated_at": "2023-12-22T14:51:47.290735734Z", + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-14T09:07:56.282435062Z", "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": "node16", "status": "pending", "secrets": [], - "all_changes_deployed": false + "current_version": { + "id": "17c5aa54-9fe1-4255-bfdb-89a8640a0820", + "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": "node16", + "status": "BUILT", + "number": 3, + "build_time": "2024-10-14T09:07:09.727164016Z", + "created_at": "2024-10-14T09:07:09.656359071Z", + "updated_at": "2024-10-14T09:07:09.728334663Z" + }, + "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": "17c5aa54-9fe1-4255-bfdb-89a8640a0820", + "deployed": true, + "number": 3, + "built_at": "2024-10-14T09:07:09.727164016Z", + "secrets": [], + "status": "built", + "created_at": "2024-10-14T09:07:09.656359071Z", + "updated_at": "2024-10-14T09:07:09.728334663Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true }, "rawHeaders": [], "responseIsBinary": false @@ -5092,7 +6504,7 @@ "response": { "actions": [ { - "id": "8f0c40cf-653b-4705-9381-3479c0ed03c2", + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", "name": "My Custom Action", "supported_triggers": [ { @@ -5100,14 +6512,43 @@ "version": "v2" } ], - "created_at": "2023-12-22T14:51:47.252041680Z", - "updated_at": "2023-12-22T14:51:47.290735734Z", + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-14T09:07:56.282435062Z", "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": "node16", "status": "built", "secrets": [], - "all_changes_deployed": false + "current_version": { + "id": "17c5aa54-9fe1-4255-bfdb-89a8640a0820", + "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": "node16", + "status": "BUILT", + "number": 3, + "build_time": "2024-10-14T09:07:09.727164016Z", + "created_at": "2024-10-14T09:07:09.656359071Z", + "updated_at": "2024-10-14T09:07:09.728334663Z" + }, + "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": "17c5aa54-9fe1-4255-bfdb-89a8640a0820", + "deployed": true, + "number": 3, + "built_at": "2024-10-14T09:07:09.727164016Z", + "secrets": [], + "status": "built", + "created_at": "2024-10-14T09:07:09.656359071Z", + "updated_at": "2024-10-14T09:07:09.728334663Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true } ], "total": 1, @@ -5119,19 +6560,19 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "POST", - "path": "/api/v2/actions/actions/8f0c40cf-653b-4705-9381-3479c0ed03c2/deploy", + "path": "/api/v2/actions/actions/ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f/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": "cd0e4435-4242-43ed-9441-dee1cb701b27", + "id": "133e8fe8-52b5-44ee-8837-9cbcf0fbe8d6", "deployed": false, - "number": 1, + "number": 4, "secrets": [], "status": "built", - "created_at": "2023-12-22T14:51:47.533727461Z", - "updated_at": "2023-12-22T14:51:47.533727461Z", + "created_at": "2024-10-14T09:07:57.345467497Z", + "updated_at": "2024-10-14T09:07:57.345467497Z", "runtime": "node16", "supported_triggers": [ { @@ -5140,7 +6581,7 @@ } ], "action": { - "id": "8f0c40cf-653b-4705-9381-3479c0ed03c2", + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", "name": "My Custom Action", "supported_triggers": [ { @@ -5148,8 +6589,8 @@ "version": "v2" } ], - "created_at": "2023-12-22T14:51:47.252041680Z", - "updated_at": "2023-12-22T14:51:47.252041680Z", + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-14T09:07:56.275891028Z", "all_changes_deployed": false } }, @@ -5163,10 +6604,27 @@ "body": "", "status": 200, "response": { - "organizations": [], + "organizations": [ + { + "id": "org_knGmCqfHxLD0V9YB", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_haOYEECGVpZwU9Tc", + "name": "org2", + "display_name": "Organization2" + } + ], "start": 0, "limit": 50, - "total": 0 + "total": 2 }, "rawHeaders": [], "responseIsBinary": false @@ -5178,11 +6636,48 @@ "body": "", "status": 200, "response": { - "organizations": [] + "organizations": [ + { + "id": "org_knGmCqfHxLD0V9YB", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_haOYEECGVpZwU9Tc", + "name": "org2", + "display_name": "Organization2" + } + ] }, "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_knGmCqfHxLD0V9YB/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_haOYEECGVpZwU9Tc/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -5195,7 +6690,7 @@ "limit": 100, "connections": [ { - "id": "con_qtM6Tit8tl0FMG0U", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -5251,12 +6746,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_5GrbjeMQ0PbSYHPc", + "id": "con_SXIEWGYv5QzGSoqq", "options": { "email": true, "scope": [ @@ -5272,12 +6767,12 @@ "google-oauth2" ], "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ" + "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -5307,8 +6802,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -5318,10 +6813,9 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/organizations", + "method": "PATCH", + "path": "/api/v2/organizations/org_knGmCqfHxLD0V9YB", "body": { - "name": "org1", "branding": { "colors": { "page_background": "#fff5f5", @@ -5330,34 +6824,33 @@ }, "display_name": "Organization" }, - "status": 201, + "status": 200, "response": { - "name": "org1", "branding": { "colors": { "page_background": "#fff5f5", "primary": "#57ddff" } }, + "id": "org_knGmCqfHxLD0V9YB", "display_name": "Organization", - "id": "org_w77D4ZISPOWL3v9R" + "name": "org1" }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/organizations", + "method": "PATCH", + "path": "/api/v2/organizations/org_haOYEECGVpZwU9Tc", "body": { - "name": "org2", "display_name": "Organization2" }, - "status": 201, + "status": 200, "response": { - "name": "org2", + "id": "org_haOYEECGVpZwU9Tc", "display_name": "Organization2", - "id": "org_wyehRBjAkFeGeYib" + "name": "org2" }, "rawHeaders": [], "responseIsBinary": false @@ -5476,7 +6969,7 @@ "limit": 100, "rules": [ { - "id": "rul_wSNZtfFVlghPXbCh", + "id": "rul_KPxS2cPV6d0ZfCE3", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -5500,7 +6993,7 @@ "limit": 100, "rules": [ { - "id": "rul_wSNZtfFVlghPXbCh", + "id": "rul_KPxS2cPV6d0ZfCE3", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -6195,6 +7688,102 @@ "description": "Delete Refresh Tokens", "value": "delete:refresh_tokens" }, + { + "description": "Create Self Service Profiles", + "value": "create:self_service_profiles" + }, + { + "description": "Read Self Service Profiles", + "value": "read:self_service_profiles" + }, + { + "description": "Update Self Service Profiles", + "value": "update:self_service_profiles" + }, + { + "description": "Delete Self Service Profiles", + "value": "delete:self_service_profiles" + }, + { + "description": "Create SSO Access Tickets", + "value": "create:sso_access_tickets" + }, + { + "description": "Read Forms", + "value": "read:forms" + }, + { + "description": "Update Forms", + "value": "update:forms" + }, + { + "description": "Delete Forms", + "value": "delete:forms" + }, + { + "description": "Create Forms", + "value": "create:forms" + }, + { + "description": "Read Flows", + "value": "read:flows" + }, + { + "description": "Update Flows", + "value": "update:flows" + }, + { + "description": "Delete Flows", + "value": "delete:flows" + }, + { + "description": "Create Flows", + "value": "create:flows" + }, + { + "description": "Read Flows Vault items", + "value": "read:flows_vault" + }, + { + "description": "Read Flows Vault connections", + "value": "read:flows_vault_connections" + }, + { + "description": "Update Flows Vault connections", + "value": "update:flows_vault_connections" + }, + { + "description": "Delete Flows Vault connections", + "value": "delete:flows_vault_connections" + }, + { + "description": "Create Flows Vault connections", + "value": "create:flows_vault_connections" + }, + { + "description": "Read Flows Executions", + "value": "read:flows_executions" + }, + { + "description": "Delete Flows Executions", + "value": "delete:flows_executions" + }, + { + "description": "Read Connections Options", + "value": "read:connections_options" + }, + { + "description": "Update Connections Options", + "value": "update:connections_options" + }, + { + "description": "Read Self Service Profile Custom Texts", + "value": "read:self_service_profile_custom_texts" + }, + { + "description": "Update Self Service Profile Custom Texts", + "value": "update:self_service_profile_custom_texts" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -6226,7 +7815,7 @@ "body": "", "status": 200, "response": { - "total": 9, + "total": 10, "start": 0, "limit": 100, "clients": [ @@ -6248,6 +7837,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -6296,7 +7886,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6348,7 +7938,7 @@ "subject": "deprecated" } ], - "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6368,12 +7958,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -6392,7 +7991,8 @@ "subject": "deprecated" } ], - "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6400,32 +8000,25 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "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 }, { "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": {}, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -6444,8 +8037,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6453,23 +8045,21 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "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": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -6490,7 +8080,7 @@ "subject": "deprecated" } ], - "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6542,7 +8132,7 @@ "subject": "deprecated" } ], - "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6601,7 +8191,7 @@ "subject": "deprecated" } ], - "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6658,7 +8248,59 @@ "subject": "deprecated" } ], - "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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": "Auth0 CLI - dev", + "allowed_clients": [], + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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" + }, + "sso_disabled": false, + "oidc_conformant": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6682,7 +8324,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "path": "/api/v2/clients/OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", "body": { "name": "Default App", "callbacks": [], @@ -6739,7 +8381,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6776,7 +8418,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 }, @@ -6790,7 +8432,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 }, @@ -6818,7 +8460,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 }, @@ -6832,7 +8474,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -6846,7 +8488,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -6860,7 +8502,7 @@ { "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 }, @@ -6874,7 +8516,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -6938,6 +8580,34 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "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", @@ -6946,24 +8616,25 @@ "status": 200, "response": [ { - "id": "lst_0000000000015065", + "id": "lst_0000000000017950", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", "sink": { "datadogApiKey": "some-sensitive-api-key", "datadogRegion": "us" - } + }, + "isPriority": false }, { - "id": "lst_0000000000015066", + "id": "lst_0000000000017951", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-a0d29214-9e3a-4756-ad63-145ad18d8001/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-11b6995b-a49b-4a0f-bfaf-88cefc5ba0b3/auth0.logs" }, "filters": [ { @@ -7002,37 +8673,13 @@ "type": "category", "name": "auth.token_exchange.fail" } - ] + ], + "isPriority": 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": [] - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -7077,6 +8724,31 @@ "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": [] + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -7084,7 +8756,7 @@ "body": "", "status": 200, "response": { - "total": 10, + "total": 11, "start": 0, "limit": 100, "clients": [ @@ -7106,6 +8778,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -7154,7 +8827,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7206,7 +8879,7 @@ "subject": "deprecated" } ], - "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7226,12 +8899,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -7250,7 +8932,8 @@ "subject": "deprecated" } ], - "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7258,32 +8941,25 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "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 }, { "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": {}, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -7302,8 +8978,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7311,23 +8986,21 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "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": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -7348,7 +9021,7 @@ "subject": "deprecated" } ], - "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7400,7 +9073,7 @@ "subject": "deprecated" } ], - "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7459,7 +9132,7 @@ "subject": "deprecated" } ], - "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7471,12 +9144,64 @@ "token_endpoint_auth_method": "none", "app_type": "spa", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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 }, @@ -7484,12 +9209,12 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Auth0 CLI - dev", "allowed_clients": [], "callbacks": [], - "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", "native_social_login": { "apple": { "enabled": false @@ -7498,7 +9223,6 @@ "enabled": false } }, - "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -7509,6 +9233,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "oidc_conformant": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -7516,7 +9241,7 @@ "subject": "deprecated" } ], - "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7550,9 +9275,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -7581,7 +9309,7 @@ "limit": 100, "connections": [ { - "id": "con_qtM6Tit8tl0FMG0U", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -7637,12 +9365,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -7672,8 +9400,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -7681,34 +9409,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", - "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 - }, - "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", @@ -7721,7 +9421,7 @@ "limit": 100, "connections": [ { - "id": "con_qtM6Tit8tl0FMG0U", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -7777,12 +9477,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -7812,8 +9512,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -7824,11 +9524,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_eSHGfDptLUMkQdaq", + "path": "/api/v2/connections/con_orWZyMv2k9PgOd3x", "body": "", "status": 200, "response": { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -7855,8 +9555,8 @@ "name": "Username-Password-Authentication", "is_domain_connection": false, "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ], "realms": [ "Username-Password-Authentication" @@ -7868,11 +9568,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_eSHGfDptLUMkQdaq", + "path": "/api/v2/connections/con_orWZyMv2k9PgOd3x", "body": { "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" ], "is_domain_connection": false, "options": { @@ -7903,7 +9603,7 @@ }, "status": 200, "response": { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -7931,7 +9631,7 @@ "is_domain_connection": false, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" ], "realms": [ "Username-Password-Authentication" @@ -7947,7 +9647,7 @@ "body": "", "status": 200, "response": { - "total": 10, + "total": 11, "start": 0, "limit": 100, "clients": [ @@ -7969,6 +9669,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -8017,7 +9718,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8069,7 +9770,7 @@ "subject": "deprecated" } ], - "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8089,12 +9790,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -8113,7 +9823,8 @@ "subject": "deprecated" } ], - "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8121,32 +9832,25 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "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 }, { "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": {}, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -8165,8 +9869,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8174,23 +9877,21 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "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": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -8211,7 +9912,7 @@ "subject": "deprecated" } ], - "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8263,7 +9964,7 @@ "subject": "deprecated" } ], - "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8322,7 +10023,7 @@ "subject": "deprecated" } ], - "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8379,7 +10080,59 @@ "subject": "deprecated" } ], - "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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": "Auth0 CLI - dev", + "allowed_clients": [], + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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" + }, + "sso_disabled": false, + "oidc_conformant": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8413,9 +10166,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -8444,7 +10200,7 @@ "limit": 100, "connections": [ { - "id": "con_qtM6Tit8tl0FMG0U", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -8500,12 +10256,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_5GrbjeMQ0PbSYHPc", + "id": "con_SXIEWGYv5QzGSoqq", "options": { "email": true, "scope": [ @@ -8521,12 +10277,12 @@ "google-oauth2" ], "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ" + "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -8556,8 +10312,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -8577,7 +10333,7 @@ "limit": 100, "connections": [ { - "id": "con_qtM6Tit8tl0FMG0U", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -8633,12 +10389,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_5GrbjeMQ0PbSYHPc", + "id": "con_SXIEWGYv5QzGSoqq", "options": { "email": true, "scope": [ @@ -8654,12 +10410,12 @@ "google-oauth2" ], "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ" + "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -8689,8 +10445,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -8705,7 +10461,7 @@ "body": "", "status": 200, "response": { - "total": 10, + "total": 11, "start": 0, "limit": 100, "clients": [ @@ -8727,6 +10483,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -8775,7 +10532,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8827,7 +10584,7 @@ "subject": "deprecated" } ], - "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8847,12 +10604,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -8871,7 +10637,8 @@ "subject": "deprecated" } ], - "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8879,32 +10646,25 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "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 }, { "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": {}, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -8923,8 +10683,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8932,23 +10691,21 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "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": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -8969,7 +10726,7 @@ "subject": "deprecated" } ], - "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9021,7 +10778,7 @@ "subject": "deprecated" } ], - "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9080,7 +10837,7 @@ "subject": "deprecated" } ], - "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9092,12 +10849,64 @@ "token_endpoint_auth_method": "none", "app_type": "spa", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token" - ], - "web_origins": [ - "http://localhost:3000" + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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 }, @@ -9105,12 +10914,12 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "auth0-deploy-cli-extension", + "name": "Auth0 CLI - dev", "allowed_clients": [], "callbacks": [], - "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", "native_social_login": { "apple": { "enabled": false @@ -9119,7 +10928,6 @@ "enabled": false } }, - "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -9130,6 +10938,7 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, + "oidc_conformant": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -9137,7 +10946,7 @@ "subject": "deprecated" } ], - "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9171,9 +10980,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -9202,8 +11014,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_2zq7mVXA87scv9MN", - "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", + "id": "cgr_P3XzavTQSyFaV8mr", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -9339,8 +11151,8 @@ ] }, { - "id": "cgr_WrFlRGbdZ6AbrsLZ", - "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", + "id": "cgr_SDgpXDXvWBtO3KEi", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -9654,22 +11466,22 @@ "response": { "roles": [ { - "id": "rol_rdIzOQupZMdQ7JAJ", + "id": "rol_hRGDQmEBYbZsC8sZ", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_wvQhvLwCJ5rGOqvW", + "id": "rol_oT9S2f9KYqFyYR2j", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_Mubp0xpYSP1f7JyM", + "id": "rol_ZNeuVHhKZTaZaGwq", "name": "read_only", "description": "Read Only" }, { - "id": "rol_x9WzmRo0VhIA1UoP", + "id": "rol_1DwrDRZ26bdvfKxL", "name": "read_osnly", "description": "Readz Only" } @@ -9684,7 +11496,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_rdIzOQupZMdQ7JAJ/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_hRGDQmEBYbZsC8sZ/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -9699,7 +11511,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_wvQhvLwCJ5rGOqvW/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_oT9S2f9KYqFyYR2j/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -9714,7 +11526,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_Mubp0xpYSP1f7JyM/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_ZNeuVHhKZTaZaGwq/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -9729,7 +11541,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_x9WzmRo0VhIA1UoP/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_1DwrDRZ26bdvfKxL/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -9750,7 +11562,7 @@ "response": { "actions": [ { - "id": "8f0c40cf-653b-4705-9381-3479c0ed03c2", + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", "name": "My Custom Action", "supported_triggers": [ { @@ -9758,34 +11570,34 @@ "version": "v2" } ], - "created_at": "2023-12-22T14:51:47.252041680Z", - "updated_at": "2023-12-22T14:51:47.290735734Z", + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-14T09:07:56.282435062Z", "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": "node16", "status": "built", "secrets": [], "current_version": { - "id": "cd0e4435-4242-43ed-9441-dee1cb701b27", + "id": "133e8fe8-52b5-44ee-8837-9cbcf0fbe8d6", "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": "node16", "status": "BUILT", - "number": 1, - "build_time": "2023-12-22T14:51:47.619418918Z", - "created_at": "2023-12-22T14:51:47.533727461Z", - "updated_at": "2023-12-22T14:51:47.620010749Z" + "number": 4, + "build_time": "2024-10-14T09:07:57.447777891Z", + "created_at": "2024-10-14T09:07:57.345467497Z", + "updated_at": "2024-10-14T09:07:57.448078558Z" }, "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": "cd0e4435-4242-43ed-9441-dee1cb701b27", + "id": "133e8fe8-52b5-44ee-8837-9cbcf0fbe8d6", "deployed": true, - "number": 1, - "built_at": "2023-12-22T14:51:47.619418918Z", + "number": 4, + "built_at": "2024-10-14T09:07:57.447777891Z", "secrets": [], "status": "built", - "created_at": "2023-12-22T14:51:47.533727461Z", - "updated_at": "2023-12-22T14:51:47.620010749Z", + "created_at": "2024-10-14T09:07:57.345467497Z", + "updated_at": "2024-10-14T09:07:57.448078558Z", "runtime": "node16", "supported_triggers": [ { @@ -9812,7 +11624,7 @@ "response": { "actions": [ { - "id": "8f0c40cf-653b-4705-9381-3479c0ed03c2", + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", "name": "My Custom Action", "supported_triggers": [ { @@ -9820,34 +11632,34 @@ "version": "v2" } ], - "created_at": "2023-12-22T14:51:47.252041680Z", - "updated_at": "2023-12-22T14:51:47.290735734Z", + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-14T09:07:56.282435062Z", "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": "node16", "status": "built", "secrets": [], "current_version": { - "id": "cd0e4435-4242-43ed-9441-dee1cb701b27", + "id": "133e8fe8-52b5-44ee-8837-9cbcf0fbe8d6", "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": "node16", "status": "BUILT", - "number": 1, - "build_time": "2023-12-22T14:51:47.619418918Z", - "created_at": "2023-12-22T14:51:47.533727461Z", - "updated_at": "2023-12-22T14:51:47.620010749Z" + "number": 4, + "build_time": "2024-10-14T09:07:57.447777891Z", + "created_at": "2024-10-14T09:07:57.345467497Z", + "updated_at": "2024-10-14T09:07:57.448078558Z" }, "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": "cd0e4435-4242-43ed-9441-dee1cb701b27", + "id": "133e8fe8-52b5-44ee-8837-9cbcf0fbe8d6", "deployed": true, - "number": 1, - "built_at": "2023-12-22T14:51:47.619418918Z", + "number": 4, + "built_at": "2024-10-14T09:07:57.447777891Z", "secrets": [], "status": "built", - "created_at": "2023-12-22T14:51:47.533727461Z", - "updated_at": "2023-12-22T14:51:47.620010749Z", + "created_at": "2024-10-14T09:07:57.345467497Z", + "updated_at": "2024-10-14T09:07:57.448078558Z", "runtime": "node16", "supported_triggers": [ { @@ -9874,7 +11686,7 @@ "response": { "organizations": [ { - "id": "org_w77D4ZISPOWL3v9R", + "id": "org_knGmCqfHxLD0V9YB", "name": "org1", "display_name": "Organization", "branding": { @@ -9885,7 +11697,7 @@ } }, { - "id": "org_wyehRBjAkFeGeYib", + "id": "org_haOYEECGVpZwU9Tc", "name": "org2", "display_name": "Organization2" } @@ -9906,7 +11718,7 @@ "response": { "organizations": [ { - "id": "org_w77D4ZISPOWL3v9R", + "id": "org_knGmCqfHxLD0V9YB", "name": "org1", "display_name": "Organization", "branding": { @@ -9917,7 +11729,7 @@ } }, { - "id": "org_wyehRBjAkFeGeYib", + "id": "org_haOYEECGVpZwU9Tc", "name": "org2", "display_name": "Organization2" } @@ -9929,7 +11741,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_w77D4ZISPOWL3v9R/enabled_connections", + "path": "/api/v2/organizations/org_knGmCqfHxLD0V9YB/enabled_connections", "body": "", "status": 200, "response": [], @@ -9939,7 +11751,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_wyehRBjAkFeGeYib/enabled_connections", + "path": "/api/v2/organizations/org_haOYEECGVpZwU9Tc/enabled_connections", "body": "", "status": 200, "response": [], @@ -9958,7 +11770,7 @@ "limit": 100, "connections": [ { - "id": "con_qtM6Tit8tl0FMG0U", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -10014,12 +11826,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_5GrbjeMQ0PbSYHPc", + "id": "con_SXIEWGYv5QzGSoqq", "options": { "email": true, "scope": [ @@ -10035,12 +11847,12 @@ "google-oauth2" ], "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ" + "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -10070,8 +11882,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -10168,7 +11980,7 @@ "limit": 100, "rules": [ { - "id": "rul_wSNZtfFVlghPXbCh", + "id": "rul_KPxS2cPV6d0ZfCE3", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -10234,9 +12046,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -10977,6 +12792,102 @@ "description": "Delete Refresh Tokens", "value": "delete:refresh_tokens" }, + { + "description": "Create Self Service Profiles", + "value": "create:self_service_profiles" + }, + { + "description": "Read Self Service Profiles", + "value": "read:self_service_profiles" + }, + { + "description": "Update Self Service Profiles", + "value": "update:self_service_profiles" + }, + { + "description": "Delete Self Service Profiles", + "value": "delete:self_service_profiles" + }, + { + "description": "Create SSO Access Tickets", + "value": "create:sso_access_tickets" + }, + { + "description": "Read Forms", + "value": "read:forms" + }, + { + "description": "Update Forms", + "value": "update:forms" + }, + { + "description": "Delete Forms", + "value": "delete:forms" + }, + { + "description": "Create Forms", + "value": "create:forms" + }, + { + "description": "Read Flows", + "value": "read:flows" + }, + { + "description": "Update Flows", + "value": "update:flows" + }, + { + "description": "Delete Flows", + "value": "delete:flows" + }, + { + "description": "Create Flows", + "value": "create:flows" + }, + { + "description": "Read Flows Vault items", + "value": "read:flows_vault" + }, + { + "description": "Read Flows Vault connections", + "value": "read:flows_vault_connections" + }, + { + "description": "Update Flows Vault connections", + "value": "update:flows_vault_connections" + }, + { + "description": "Delete Flows Vault connections", + "value": "delete:flows_vault_connections" + }, + { + "description": "Create Flows Vault connections", + "value": "create:flows_vault_connections" + }, + { + "description": "Read Flows Executions", + "value": "read:flows_executions" + }, + { + "description": "Delete Flows Executions", + "value": "delete:flows_executions" + }, + { + "description": "Read Connections Options", + "value": "read:connections_options" + }, + { + "description": "Update Connections Options", + "value": "update:connections_options" + }, + { + "description": "Read Self Service Profile Custom Texts", + "value": "read:self_service_profile_custom_texts" + }, + { + "description": "Update Self Service Profile Custom Texts", + "value": "update:self_service_profile_custom_texts" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -11008,7 +12919,7 @@ "body": "", "status": 200, "response": { - "total": 9, + "total": 10, "start": 0, "limit": 100, "clients": [ @@ -11030,6 +12941,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -11078,7 +12990,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11130,7 +13042,7 @@ "subject": "deprecated" } ], - "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11150,12 +13062,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -11174,7 +13095,8 @@ "subject": "deprecated" } ], - "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11182,32 +13104,25 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "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 }, { "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": {}, + "name": "Terraform Provider", "cross_origin_auth": false, "is_first_party": true, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } - }, "oidc_conformant": true, "refresh_token": { "expiration_type": "non-expiring", @@ -11226,8 +13141,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11235,23 +13149,21 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "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": "Terraform Provider", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, @@ -11272,7 +13184,7 @@ "subject": "deprecated" } ], - "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11324,7 +13236,7 @@ "subject": "deprecated" } ], - "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11383,7 +13295,7 @@ "subject": "deprecated" } ], - "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11440,7 +13352,59 @@ "subject": "deprecated" } ], - "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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": "Auth0 CLI - dev", + "allowed_clients": [], + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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" + }, + "sso_disabled": false, + "oidc_conformant": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11473,7 +13437,7 @@ "limit": 100, "connections": [ { - "id": "con_qtM6Tit8tl0FMG0U", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -11529,12 +13493,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -11564,8 +13528,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -11585,7 +13549,7 @@ "limit": 100, "connections": [ { - "id": "con_qtM6Tit8tl0FMG0U", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, @@ -11641,12 +13605,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_5GrbjeMQ0PbSYHPc", + "id": "con_SXIEWGYv5QzGSoqq", "options": { "email": true, "scope": [ @@ -11662,12 +13626,12 @@ "google-oauth2" ], "enabled_clients": [ - "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", - "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ" + "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" ] }, { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -11697,8 +13661,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -11795,17 +13759,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email", + "path": "/api/v2/email-templates/verify_email_by_code", "body": "", - "status": 200, + "status": 404, "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 + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" }, "rawHeaders": [], "responseIsBinary": false @@ -11813,7 +13774,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": { @@ -11828,7 +13789,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": { @@ -11843,18 +13804,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/change_password", "body": "", - "status": 200, + "status": 404, "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 + "statusCode": 404, + "error": "Not Found", + "message": "The template does not exist.", + "errorCode": "inexistent_email_template" }, "rawHeaders": [], "responseIsBinary": false @@ -11862,7 +13819,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": { @@ -11877,7 +13834,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": { @@ -11892,14 +13849,17 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/verify_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "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 @@ -11907,7 +13867,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": { @@ -11922,14 +13882,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "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 @@ -11937,7 +13901,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": { @@ -11952,7 +13916,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", "status": 404, "response": { @@ -11976,8 +13940,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_2zq7mVXA87scv9MN", - "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", + "id": "cgr_P3XzavTQSyFaV8mr", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -12113,8 +14077,8 @@ ] }, { - "id": "cgr_WrFlRGbdZ6AbrsLZ", - "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", + "id": "cgr_SDgpXDXvWBtO3KEi", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -12473,25 +14437,25 @@ { "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": { - "auth_token": "bar", - "sid": "foo", - "from": "from bar", - "messaging_service_sid": "foo" - }, + "response": {}, "rawHeaders": [], "responseIsBinary": false }, { "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": {}, + "response": { + "auth_token": "bar", + "sid": "foo", + "from": "from bar", + "messaging_service_sid": "foo" + }, "rawHeaders": [], "responseIsBinary": false }, @@ -12551,22 +14515,22 @@ "response": { "roles": [ { - "id": "rol_rdIzOQupZMdQ7JAJ", + "id": "rol_hRGDQmEBYbZsC8sZ", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_wvQhvLwCJ5rGOqvW", + "id": "rol_oT9S2f9KYqFyYR2j", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_Mubp0xpYSP1f7JyM", + "id": "rol_ZNeuVHhKZTaZaGwq", "name": "read_only", "description": "Read Only" }, { - "id": "rol_x9WzmRo0VhIA1UoP", + "id": "rol_1DwrDRZ26bdvfKxL", "name": "read_osnly", "description": "Readz Only" } @@ -12581,7 +14545,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_rdIzOQupZMdQ7JAJ/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_hRGDQmEBYbZsC8sZ/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -12596,7 +14560,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_wvQhvLwCJ5rGOqvW/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_oT9S2f9KYqFyYR2j/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -12611,7 +14575,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_Mubp0xpYSP1f7JyM/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_ZNeuVHhKZTaZaGwq/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -12626,7 +14590,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_x9WzmRo0VhIA1UoP/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_1DwrDRZ26bdvfKxL/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -12748,76 +14712,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/login/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/login-id/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/login-password/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/login-passwordless/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/signup/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/signup-id/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/signup-password/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -12851,7 +14745,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": {}, @@ -12861,7 +14755,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": {}, @@ -12901,7 +14795,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/consent/custom-text/en", "body": "", "status": 200, "response": {}, @@ -12921,7 +14815,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/consent/custom-text/en", + "path": "/api/v2/prompts/mfa-push/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13001,7 +14895,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa/custom-text/en", + "path": "/api/v2/prompts/device-flow/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13011,7 +14905,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/mfa/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13021,7 +14915,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/organizations/custom-text/en", "body": "", "status": 200, "response": {}, @@ -13031,7 +14925,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": {}, @@ -13041,7 +14935,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": {}, @@ -13068,6 +14962,76 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/login-id/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/login-password/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/login/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/signup-id/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/signup/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/login-passwordless/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/signup-password/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -13075,9 +15039,7 @@ "body": "", "status": 200, "response": { - "flags": { - "role_users_offset_pagination_over_thousand": true - } + "flags": {} }, "rawHeaders": [], "responseIsBinary": false @@ -13091,7 +15053,7 @@ "response": { "actions": [ { - "id": "8f0c40cf-653b-4705-9381-3479c0ed03c2", + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", "name": "My Custom Action", "supported_triggers": [ { @@ -13099,34 +15061,34 @@ "version": "v2" } ], - "created_at": "2023-12-22T14:51:47.252041680Z", - "updated_at": "2023-12-22T14:51:47.290735734Z", + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-14T09:07:56.282435062Z", "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": "node16", "status": "built", "secrets": [], "current_version": { - "id": "cd0e4435-4242-43ed-9441-dee1cb701b27", + "id": "133e8fe8-52b5-44ee-8837-9cbcf0fbe8d6", "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": "node16", "status": "BUILT", - "number": 1, - "build_time": "2023-12-22T14:51:47.619418918Z", - "created_at": "2023-12-22T14:51:47.533727461Z", - "updated_at": "2023-12-22T14:51:47.620010749Z" + "number": 4, + "build_time": "2024-10-14T09:07:57.447777891Z", + "created_at": "2024-10-14T09:07:57.345467497Z", + "updated_at": "2024-10-14T09:07:57.448078558Z" }, "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": "cd0e4435-4242-43ed-9441-dee1cb701b27", + "id": "133e8fe8-52b5-44ee-8837-9cbcf0fbe8d6", "deployed": true, - "number": 1, - "built_at": "2023-12-22T14:51:47.619418918Z", + "number": 4, + "built_at": "2024-10-14T09:07:57.447777891Z", "secrets": [], "status": "built", - "created_at": "2023-12-22T14:51:47.533727461Z", - "updated_at": "2023-12-22T14:51:47.620010749Z", + "created_at": "2024-10-14T09:07:57.345467497Z", + "updated_at": "2024-10-14T09:07:57.448078558Z", "runtime": "node16", "supported_triggers": [ { @@ -13162,6 +15124,7 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", "compatible_triggers": [ { "id": "post-login", @@ -13171,23 +15134,25 @@ }, { "id": "post-login", - "version": "v1", + "version": "v2", "status": "DEPRECATED", "runtimes": [ - "node12" + "node12", + "node16" ], - "default_runtime": "node12", + "default_runtime": "node16", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { "id": "post-login", - "version": "v2", + "version": "v1", "status": "DEPRECATED", "runtimes": [ - "node12", - "node16" + "node12" ], - "default_runtime": "node16", + "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -13198,6 +15163,7 @@ "node12" ], "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -13210,16 +15176,7 @@ "node18-actions" ], "default_runtime": "node18-actions", - "compatible_triggers": [] - }, - { - "id": "pre-user-registration", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" - ], - "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -13232,6 +15189,18 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "pre-user-registration", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -13242,6 +15211,7 @@ "node12" ], "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -13254,16 +15224,7 @@ "node18-actions" ], "default_runtime": "node18-actions", - "compatible_triggers": [] - }, - { - "id": "post-change-password", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" - ], - "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -13276,15 +15237,18 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { - "id": "send-phone-message", + "id": "post-change-password", "version": "v1", "status": "DEPRECATED", "runtimes": [ "node12" ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -13297,6 +15261,17 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "send-phone-message", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -13308,6 +15283,7 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -13315,6 +15291,34 @@ "version": "v1", "status": "CURRENT", "default_runtime": "node18", + "binding_policy": "trigger-bound", + "runtimes": [], + "compatible_triggers": [] + }, + { + "id": "custom-phone-provider", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "binding_policy": "trigger-bound", + "runtimes": [], + "compatible_triggers": [] + }, + { + "id": "custom-email-provider", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "binding_policy": "trigger-bound", + "runtimes": [], + "compatible_triggers": [] + }, + { + "id": "custom-token-exchange-beta", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "binding_policy": "trigger-bound", "runtimes": [], "compatible_triggers": [] } @@ -13427,6 +15431,45 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/triggers/custom-phone-provider/bindings", + "body": "", + "status": 200, + "response": { + "bindings": [], + "per_page": 20 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/triggers/custom-email-provider/bindings", + "body": "", + "status": 200, + "response": { + "bindings": [], + "per_page": 20 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/triggers/custom-token-exchange-beta/bindings", + "body": "", + "status": 200, + "response": { + "bindings": [], + "per_page": 20 + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -13436,7 +15479,7 @@ "response": { "organizations": [ { - "id": "org_w77D4ZISPOWL3v9R", + "id": "org_knGmCqfHxLD0V9YB", "name": "org1", "display_name": "Organization", "branding": { @@ -13447,7 +15490,7 @@ } }, { - "id": "org_wyehRBjAkFeGeYib", + "id": "org_haOYEECGVpZwU9Tc", "name": "org2", "display_name": "Organization2" } @@ -13468,7 +15511,7 @@ "response": { "organizations": [ { - "id": "org_w77D4ZISPOWL3v9R", + "id": "org_knGmCqfHxLD0V9YB", "name": "org1", "display_name": "Organization", "branding": { @@ -13479,7 +15522,7 @@ } }, { - "id": "org_wyehRBjAkFeGeYib", + "id": "org_haOYEECGVpZwU9Tc", "name": "org2", "display_name": "Organization2" } @@ -13491,7 +15534,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_w77D4ZISPOWL3v9R/enabled_connections", + "path": "/api/v2/organizations/org_knGmCqfHxLD0V9YB/enabled_connections", "body": "", "status": 200, "response": [], @@ -13501,7 +15544,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_wyehRBjAkFeGeYib/enabled_connections", + "path": "/api/v2/organizations/org_haOYEECGVpZwU9Tc/enabled_connections", "body": "", "status": 200, "response": [], @@ -13530,24 +15573,17 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "path": "/api/v2/attack-protection/breached-password-detection", "body": "", "status": 200, "response": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 + "shields": [] } } }, @@ -13557,17 +15593,24 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/breached-password-detection", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", "body": "", "status": 200, "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", + "enabled": true, + "shields": [ + "admin_notification", + "block" + ], + "allowlist": [], "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, "pre-user-registration": { - "shields": [] + "max_attempts": 50, + "rate": 1200 } } }, @@ -13582,24 +15625,25 @@ "status": 200, "response": [ { - "id": "lst_0000000000015065", + "id": "lst_0000000000017950", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", "sink": { "datadogApiKey": "some-sensitive-api-key", "datadogRegion": "us" - } + }, + "isPriority": false }, { - "id": "lst_0000000000015066", + "id": "lst_0000000000017951", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-a0d29214-9e3a-4756-ad63-145ad18d8001/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-11b6995b-a49b-4a0f-bfaf-88cefc5ba0b3/auth0.logs" }, "filters": [ { @@ -13638,7 +15682,8 @@ "type": "category", "name": "auth.token_exchange.fail" } - ] + ], + "isPriority": false } ], "rawHeaders": [], @@ -13669,4 +15714,4 @@ "rawHeaders": [], "responseIsBinary": false } -] +] \ No newline at end of file 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 94856211c..2821fcc48 100644 --- a/test/e2e/recordings/should-deploy-without-throwing-an-error.json +++ b/test/e2e/recordings/should-deploy-without-throwing-an-error.json @@ -6,10 +6,19 @@ "body": "", "status": 200, "response": { - "total": 0, + "total": 1, "start": 0, "limit": 100, - "rules": [] + "rules": [ + { + "id": "rul_KPxS2cPV6d0ZfCE3", + "enabled": true, + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "name": "my-rule", + "order": 2, + "stage": "login_success" + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -21,10 +30,19 @@ "body": "", "status": 200, "response": { - "total": 0, + "total": 1, "start": 0, "limit": 100, - "rules": [] + "rules": [ + { + "id": "rul_KPxS2cPV6d0ZfCE3", + "enabled": true, + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "name": "my-rule", + "order": 2, + "stage": "login_success" + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -712,6 +730,102 @@ "description": "Delete Refresh Tokens", "value": "delete:refresh_tokens" }, + { + "description": "Create Self Service Profiles", + "value": "create:self_service_profiles" + }, + { + "description": "Read Self Service Profiles", + "value": "read:self_service_profiles" + }, + { + "description": "Update Self Service Profiles", + "value": "update:self_service_profiles" + }, + { + "description": "Delete Self Service Profiles", + "value": "delete:self_service_profiles" + }, + { + "description": "Create SSO Access Tickets", + "value": "create:sso_access_tickets" + }, + { + "description": "Read Forms", + "value": "read:forms" + }, + { + "description": "Update Forms", + "value": "update:forms" + }, + { + "description": "Delete Forms", + "value": "delete:forms" + }, + { + "description": "Create Forms", + "value": "create:forms" + }, + { + "description": "Read Flows", + "value": "read:flows" + }, + { + "description": "Update Flows", + "value": "update:flows" + }, + { + "description": "Delete Flows", + "value": "delete:flows" + }, + { + "description": "Create Flows", + "value": "create:flows" + }, + { + "description": "Read Flows Vault items", + "value": "read:flows_vault" + }, + { + "description": "Read Flows Vault connections", + "value": "read:flows_vault_connections" + }, + { + "description": "Update Flows Vault connections", + "value": "update:flows_vault_connections" + }, + { + "description": "Delete Flows Vault connections", + "value": "delete:flows_vault_connections" + }, + { + "description": "Create Flows Vault connections", + "value": "create:flows_vault_connections" + }, + { + "description": "Read Flows Executions", + "value": "read:flows_executions" + }, + { + "description": "Delete Flows Executions", + "value": "delete:flows_executions" + }, + { + "description": "Read Connections Options", + "value": "read:connections_options" + }, + { + "description": "Update Connections Options", + "value": "update:connections_options" + }, + { + "description": "Read Self Service Profile Custom Texts", + "value": "read:self_service_profile_custom_texts" + }, + { + "description": "Update Self Service Profile Custom Texts", + "value": "update:self_service_profile_custom_texts" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -743,7 +857,7 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 10, "start": 0, "limit": 100, "clients": [ @@ -765,6 +879,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -813,7 +928,7 @@ "subject": "deprecated" } ], - "client_id": "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -828,408 +943,26 @@ "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/aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", - "body": { - "name": "Default App", - "callbacks": [], - "cross_origin_auth": 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_auth": 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, - "signing_keys": [ - { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", - "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 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/emails/provider?include_fields=true&fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address", - "body": "", - "status": 404, - "response": { - "statusCode": 404, - "error": "Not Found", - "message": "There is not a configured email provider", - "errorCode": "inexistent_email_provider" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/duo", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", - "body": { - "enabled": false - }, - "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", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/email", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/otp", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "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/sms/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": [] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/prompts", - "body": { - "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/log-streams?paginate=false", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", - "body": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } - }, - "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 - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", - "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 - }, - "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": "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": [] - } - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/custom-domains?paginate=false", - "body": "", - "status": 200, - "response": [], - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?include_totals=true&page=0&per_page=100", - "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", + "name": "API Explorer Application", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -1239,6 +972,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1246,7 +980,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1254,6 +988,7 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -1265,18 +1000,29 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": 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": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -1287,7 +1033,8 @@ "subject": "deprecated" } ], - "client_id": "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1295,35 +1042,36 @@ "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": true, - "callbacks": [], + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, "is_first_party": true, - "name": "All Applications", + "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, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" - ], - "custom_login_page": "TEST123\n", + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1331,256 +1079,32 @@ "subject": "deprecated" } ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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 - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?strategy=auth0&include_totals=true&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ - { - "id": "con_qavKC44AnXdVIktG", - "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 - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?strategy=auth0&include_totals=true&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ - { - "id": "con_qavKC44AnXdVIktG", - "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 - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_qavKC44AnXdVIktG", - "body": "", - "status": 200, - "response": { - "id": "con_qavKC44AnXdVIktG", - "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 - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" - ], - "realms": [ - "Username-Password-Authentication" - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/connections/con_qavKC44AnXdVIktG", - "body": { - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" - ], - "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 - } - }, - "brute_force_protection": true - }, - "realms": [ - "Username-Password-Authentication" - ] - }, - "status": 200, - "response": { - "id": "con_qavKC44AnXdVIktG", - "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 - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" - ], - "realms": [ - "Username-Password-Authentication" - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?include_totals=true&page=0&per_page=100", - "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", + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -1590,6 +1114,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1597,7 +1122,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1616,11 +1141,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "The Default App", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -1630,6 +1165,7 @@ "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "signing_keys": [ { @@ -1638,7 +1174,7 @@ "subject": "deprecated" } ], - "client_id": "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1646,6 +1182,8 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", "grant_types": [ "authorization_code", "implicit", @@ -1656,25 +1194,38 @@ }, { "tenant": "auth0-deploy-cli-e2e", - "global": true, - "callbacks": [], + "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_auth": false, "is_first_party": true, - "name": "All Applications", + "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": 2592000, "idle_token_lifetime": 1296000, - "rotation_type": "non-rotating" + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" - ], - "custom_login_page": "TEST123\n", + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1682,183 +1233,46 @@ "subject": "deprecated" } ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", + "callback_url_template": false, "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?include_totals=true&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ - { - "id": "con_qavKC44AnXdVIktG", - "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 - } - }, - "brute_force_protection": true + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" + "client_aliases": [], + "token_endpoint_auth_method": "none", + "app_type": "spa", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token" ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?include_totals=true&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ - { - "id": "con_qavKC44AnXdVIktG", - "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 - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" + "web_origins": [ + "http://localhost:3000" ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" - ] - } - ] - }, - "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", - "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" - ], - "is_domain_connection": false, - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - } - }, - "status": 201, - "response": { - "id": "con_F6FupkR2JVv0xmQV", - "options": { - "email": true, - "scope": [ - "email", - "profile" - ], - "profile": true - }, - "strategy": "google-oauth2", - "name": "google-oauth2", - "is_domain_connection": false, - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" - ], - "realms": [ - "google-oauth2" - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/clients?include_totals=true&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 3, - "start": 0, - "limit": 100, - "clients": [ + "custom_login_page_on": true + }, { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": false, "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -1868,6 +1282,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1875,7 +1290,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1883,6 +1298,7 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -1894,21 +1310,31 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "Auth0 CLI - dev", + "allowed_clients": [], "callbacks": [], "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, + "oidc_conformant": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1916,7 +1342,7 @@ "subject": "deprecated" } ], - "client_id": "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1924,62 +1350,3039 @@ "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 + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "body": { + "name": "Default App", + "callbacks": [], + "cross_origin_auth": 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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "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 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/emails/provider?include_fields=true&fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address", + "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": "PUT", + "path": "/api/v2/guardian/factors/duo", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/webauthn-roaming", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/email", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/webauthn-platform", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/otp", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/push-notification", + "body": { + "enabled": false + }, + "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", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/recovery-code", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "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/sms/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": [] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/prompts", + "body": { + "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/log-streams?paginate=false", + "body": "", + "status": 200, + "response": [ + { + "id": "lst_0000000000017950", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + { + "id": "lst_0000000000017951", + "name": "Amazon EventBridge", + "type": "eventbridge", + "status": "active", + "sink": { + "awsAccountId": "123456789012", + "awsRegion": "us-east-2", + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-11b6995b-a49b-4a0f-bfaf-88cefc5ba0b3/auth0.logs" + }, + "filters": [ + { + "type": "category", + "name": "auth.login.success" + }, + { + "type": "category", + "name": "auth.login.notification" + }, + { + "type": "category", + "name": "auth.login.fail" + }, + { + "type": "category", + "name": "auth.signup.success" + }, + { + "type": "category", + "name": "auth.logout.success" + }, + { + "type": "category", + "name": "auth.logout.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.success" + }, + { + "type": "category", + "name": "auth.token_exchange.fail" + } + ], + "isPriority": false + } + ], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "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": "PATCH", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "body": { + "enabled": true, + "shields": [ + "admin_notification", + "block" + ], + "allowlist": [], + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } + }, + "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 + } + } + }, + "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": [] + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/custom-domains?paginate=false", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "total": 11, + "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": true, + "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 + }, + "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": "Default App", + "callbacks": [], + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "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": "Terraform Provider", + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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": "Auth0 CLI - dev", + "allowed_clients": [], + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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" + }, + "sso_disabled": false, + "oidc_conformant": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", + "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" + ], + "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?strategy=auth0&include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "total": 2, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_orWZyMv2k9PgOd3x", + "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 + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?strategy=auth0&include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "total": 2, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_orWZyMv2k9PgOd3x", + "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 + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections/con_orWZyMv2k9PgOd3x", + "body": "", + "status": 200, + "response": { + "id": "con_orWZyMv2k9PgOd3x", + "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 + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "enabled_clients": [ + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ], + "realms": [ + "Username-Password-Authentication" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/connections/con_orWZyMv2k9PgOd3x", + "body": { + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" + ], + "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 + } + }, + "brute_force_protection": true + }, + "realms": [ + "Username-Password-Authentication" + ] + }, + "status": 200, + "response": { + "id": "con_orWZyMv2k9PgOd3x", + "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 + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" + ], + "realms": [ + "Username-Password-Authentication" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "total": 11, + "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": true, + "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 + }, + "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": "Default App", + "callbacks": [], + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "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": "Terraform Provider", + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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": "Auth0 CLI - dev", + "allowed_clients": [], + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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" + }, + "sso_disabled": false, + "oidc_conformant": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", + "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" + ], + "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?include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_SXIEWGYv5QzGSoqq", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_orWZyMv2k9PgOd3x", + "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 + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_SXIEWGYv5QzGSoqq", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_orWZyMv2k9PgOd3x", + "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 + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/connections/con_SXIEWGYv5QzGSoqq", + "body": { + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" + ], + "is_domain_connection": false, + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + } + }, + "status": 200, + "response": { + "id": "con_SXIEWGYv5QzGSoqq", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" + ], + "realms": [ + "google-oauth2" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "total": 11, + "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": true, + "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 + }, + "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": "Default App", + "callbacks": [], + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "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": "Terraform Provider", + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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": "Auth0 CLI - dev", + "allowed_clients": [], + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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" + }, + "sso_disabled": false, + "oidc_conformant": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", + "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" + ], + "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?include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "client_grants": [ + { + "id": "cgr_P3XzavTQSyFaV8mr", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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" + ] + }, + { + "id": "cgr_SDgpXDXvWBtO3KEi", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", + "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": 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" - ], - "custom_login_page": "TEST123\n", - "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?include_totals=true&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "client_grants": [ { "id": "cgr_t3j1isctGZmOVylt", "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", @@ -2157,7 +4560,88 @@ "body": "", "status": 200, "response": { - "roles": [], + "roles": [ + { + "id": "rol_hRGDQmEBYbZsC8sZ", + "name": "Admin", + "description": "Can read and write things" + }, + { + "id": "rol_oT9S2f9KYqFyYR2j", + "name": "Reader", + "description": "Can only read things" + }, + { + "id": "rol_ZNeuVHhKZTaZaGwq", + "name": "read_only", + "description": "Read Only" + }, + { + "id": "rol_1DwrDRZ26bdvfKxL", + "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_hRGDQmEBYbZsC8sZ/permissions?include_totals=true&page=0&per_page=100", + "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_oT9S2f9KYqFyYR2j/permissions?include_totals=true&page=0&per_page=100", + "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_ZNeuVHhKZTaZaGwq/permissions?include_totals=true&page=0&per_page=100", + "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_1DwrDRZ26bdvfKxL/permissions?include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "permissions": [], "start": 0, "limit": 100, "total": 0 @@ -2172,7 +4656,56 @@ "body": "", "status": 200, "response": { - "actions": [], + "actions": [ + { + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-09T13:36:40.436910946Z", + "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": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "3d2b275c-8b1f-46ac-baf0-d0dec2cb1ce8", + "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": "node16", + "status": "BUILT", + "number": 2, + "build_time": "2024-10-09T13:36:41.550114510Z", + "created_at": "2024-10-09T13:36:41.424992733Z", + "updated_at": "2024-10-09T13:36:41.551127670Z" + }, + "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": "3d2b275c-8b1f-46ac-baf0-d0dec2cb1ce8", + "deployed": true, + "number": 2, + "built_at": "2024-10-09T13:36:41.550114510Z", + "secrets": [], + "status": "built", + "created_at": "2024-10-09T13:36:41.424992733Z", + "updated_at": "2024-10-09T13:36:41.551127670Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, "per_page": 100 }, "rawHeaders": [], @@ -2185,7 +4718,56 @@ "body": "", "status": 200, "response": { - "actions": [], + "actions": [ + { + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-09T13:36:40.436910946Z", + "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": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "3d2b275c-8b1f-46ac-baf0-d0dec2cb1ce8", + "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": "node16", + "status": "BUILT", + "number": 2, + "build_time": "2024-10-09T13:36:41.550114510Z", + "created_at": "2024-10-09T13:36:41.424992733Z", + "updated_at": "2024-10-09T13:36:41.551127670Z" + }, + "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": "3d2b275c-8b1f-46ac-baf0-d0dec2cb1ce8", + "deployed": true, + "number": 2, + "built_at": "2024-10-09T13:36:41.550114510Z", + "secrets": [], + "status": "built", + "created_at": "2024-10-09T13:36:41.424992733Z", + "updated_at": "2024-10-09T13:36:41.551127670Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, "per_page": 100 }, "rawHeaders": [], @@ -2198,10 +4780,27 @@ "body": "", "status": 200, "response": { - "organizations": [], + "organizations": [ + { + "id": "org_knGmCqfHxLD0V9YB", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_haOYEECGVpZwU9Tc", + "name": "org2", + "display_name": "Organization2" + } + ], "start": 0, "limit": 50, - "total": 0 + "total": 2 }, "rawHeaders": [], "responseIsBinary": false @@ -2213,11 +4812,48 @@ "body": "", "status": 200, "response": { - "organizations": [] + "organizations": [ + { + "id": "org_knGmCqfHxLD0V9YB", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_haOYEECGVpZwU9Tc", + "name": "org2", + "display_name": "Organization2" + } + ] }, "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_knGmCqfHxLD0V9YB/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_haOYEECGVpZwU9Tc/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2225,12 +4861,73 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 3, "start": 0, "limit": 100, "connections": [ { - "id": "con_F6FupkR2JVv0xmQV", + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_SXIEWGYv5QzGSoqq", "options": { "email": true, "scope": [ @@ -2247,11 +4944,11 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" ] }, { - "id": "con_qavKC44AnXdVIktG", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -2281,8 +4978,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -2308,7 +5005,7 @@ "status": 200, "response": { "allowed_logout_urls": [ - "https://mycompany.org/logoutCallback" + "https://travel0.com/logoutCallback" ], "change_password": { "enabled": true, @@ -2344,7 +5041,7 @@ "disable_clickjack_protection_headers": false, "enable_pipeline2": false }, - "friendly_name": "My Test Tenant", + "friendly_name": "This tenant name should be preserved", "guardian_mfa_page": { "enabled": true, "html": "MFA\n" @@ -2353,8 +5050,8 @@ "picture_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png", "sandbox_version": "12", "session_lifetime": 3.0166666666666666, - "support_email": "support@mycompany.org", - "support_url": "https://mycompany.org/support", + "support_email": "support@travel0.com", + "support_url": "https://travel0.com/support", "universal_login": { "colors": { "primary": "#F8F8F2", 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 bad08b842..262e75611 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 @@ -6,10 +6,19 @@ "body": "", "status": 200, "response": { - "total": 0, + "total": 1, "start": 0, "limit": 100, - "rules": [] + "rules": [ + { + "id": "rul_KPxS2cPV6d0ZfCE3", + "enabled": true, + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "name": "my-rule", + "order": 2, + "stage": "login_success" + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -68,9 +77,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -95,7 +107,7 @@ "status": 200, "response": { "allowed_logout_urls": [ - "https://mycompany.org/logoutCallback" + "https://travel0.com/logoutCallback" ], "change_password": { "enabled": true, @@ -129,7 +141,7 @@ "disable_clickjack_protection_headers": false, "enable_pipeline2": false }, - "friendly_name": "My Test Tenant", + "friendly_name": "This tenant name should be preserved", "guardian_mfa_page": { "enabled": true, "html": "MFA\n" @@ -138,8 +150,8 @@ "picture_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png", "sandbox_version": "12", "session_lifetime": 3.0166666666666666, - "support_email": "support@mycompany.org", - "support_url": "https://mycompany.org/support", + "support_email": "support@travel0.com", + "support_url": "https://travel0.com/support", "universal_login": { "colors": { "primary": "#F8F8F2", @@ -811,6 +823,102 @@ "description": "Delete Refresh Tokens", "value": "delete:refresh_tokens" }, + { + "description": "Create Self Service Profiles", + "value": "create:self_service_profiles" + }, + { + "description": "Read Self Service Profiles", + "value": "read:self_service_profiles" + }, + { + "description": "Update Self Service Profiles", + "value": "update:self_service_profiles" + }, + { + "description": "Delete Self Service Profiles", + "value": "delete:self_service_profiles" + }, + { + "description": "Create SSO Access Tickets", + "value": "create:sso_access_tickets" + }, + { + "description": "Read Forms", + "value": "read:forms" + }, + { + "description": "Update Forms", + "value": "update:forms" + }, + { + "description": "Delete Forms", + "value": "delete:forms" + }, + { + "description": "Create Forms", + "value": "create:forms" + }, + { + "description": "Read Flows", + "value": "read:flows" + }, + { + "description": "Update Flows", + "value": "update:flows" + }, + { + "description": "Delete Flows", + "value": "delete:flows" + }, + { + "description": "Create Flows", + "value": "create:flows" + }, + { + "description": "Read Flows Vault items", + "value": "read:flows_vault" + }, + { + "description": "Read Flows Vault connections", + "value": "read:flows_vault_connections" + }, + { + "description": "Update Flows Vault connections", + "value": "update:flows_vault_connections" + }, + { + "description": "Delete Flows Vault connections", + "value": "delete:flows_vault_connections" + }, + { + "description": "Create Flows Vault connections", + "value": "create:flows_vault_connections" + }, + { + "description": "Read Flows Executions", + "value": "read:flows_executions" + }, + { + "description": "Delete Flows Executions", + "value": "delete:flows_executions" + }, + { + "description": "Read Connections Options", + "value": "read:connections_options" + }, + { + "description": "Update Connections Options", + "value": "update:connections_options" + }, + { + "description": "Read Self Service Profile Custom Texts", + "value": "read:self_service_profile_custom_texts" + }, + { + "description": "Update Self Service Profile Custom Texts", + "value": "update:self_service_profile_custom_texts" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -842,7 +950,7 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 10, "start": 0, "limit": 100, "clients": [ @@ -864,6 +972,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -912,7 +1021,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -927,406 +1036,1237 @@ "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?strategy=auth0&include_totals=true&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ + }, { - "id": "con_eSHGfDptLUMkQdaq", - "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 - } + "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_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - "brute_force_protection": true + "facebook": { + "enabled": false + } }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" + "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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?include_totals=true&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", + "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": "con_eSHGfDptLUMkQdaq", - "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 - } + "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_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - "brute_force_protection": true + "facebook": { + "enabled": false + } }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" + "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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/tenants/settings", - "body": "", - "status": 200, - "response": { - "allowed_logout_urls": [ - "https://mycompany.org/logoutCallback" - ], - "change_password": { - "enabled": true, - "html": "Change Password\n" - }, - "enabled_locales": [ - "en" - ], - "error_page": { - "html": "Error Page\n", - "show_log_link": false, - "url": "https://mycompany.org/error" - }, - "flags": { - "allow_changing_enable_sso": false, - "allow_legacy_delegation_grant_types": true, - "allow_legacy_ro_grant_types": true, - "change_pwd_flow_v1": false, - "disable_impersonation": true, - "enable_apis_section": false, - "enable_client_connections": false, - "enable_custom_domain_in_emails": false, - "enable_dynamic_client_registration": false, - "enable_legacy_logs_search_v2": false, - "enable_public_signup_user_exists_error": true, - "enable_sso": true, - "new_universal_login_experience_enabled": true, - "universal_login": true, - "use_scope_descriptions_for_consent": false, - "revoke_refresh_token_grant": false, - "disable_clickjack_protection_headers": false, - "enable_pipeline2": false - }, - "friendly_name": "My Test Tenant", - "guardian_mfa_page": { - "enabled": true, - "html": "MFA\n" - }, - "idle_session_lifetime": 1, - "picture_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png", - "sandbox_version": "12", - "session_lifetime": 3.0166666666666666, - "support_email": "support@mycompany.org", - "support_url": "https://mycompany.org/support", - "universal_login": { - "colors": { - "primary": "#F8F8F2", - "page_background": "#222221" - } - }, - "session_cookie": { - "mode": "non-persistent" - }, - "sandbox_versions_available": [ - "18", - "16", - "12" - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/emails/provider?include_fields=true&fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address", - "body": "", - "status": 404, - "response": { - "statusCode": 404, - "error": "Not Found", - "message": "There is not a configured email provider", - "errorCode": "inexistent_email_provider" - }, - "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", - "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/blocked_account", - "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", - "path": "/api/v2/email-templates/verify_email", - "body": "", - "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": "GET", - "path": "/api/v2/email-templates/reset_email", - "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", - "path": "/api/v2/email-templates/stolen_credentials", - "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", - "path": "/api/v2/email-templates/enrollment_email", - "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", - "path": "/api/v2/email-templates/change_password", - "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", - "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" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/email-templates/user_invitation", - "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", - "path": "/api/v2/email-templates/password_reset", - "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", - "path": "/api/v2/client-grants?include_totals=true&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "client_grants": [ + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "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 + }, { - "id": "cgr_t3j1isctGZmOVylt", - "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", + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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": "Auth0 CLI - dev", + "allowed_clients": [], + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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" + }, + "sso_disabled": false, + "oidc_conformant": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", + "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": "GET", + "path": "/api/v2/connections?strategy=auth0&include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "total": 2, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_orWZyMv2k9PgOd3x", + "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 + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_SXIEWGYv5QzGSoqq", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" + ] + }, + { + "id": "con_orWZyMv2k9PgOd3x", + "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 + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/tenants/settings", + "body": "", + "status": 200, + "response": { + "allowed_logout_urls": [ + "https://travel0.com/logoutCallback" + ], + "change_password": { + "enabled": true, + "html": "Change Password\n" + }, + "enabled_locales": [ + "en" + ], + "error_page": { + "html": "Error Page\n", + "show_log_link": false, + "url": "https://mycompany.org/error" + }, + "flags": { + "allow_changing_enable_sso": false, + "allow_legacy_delegation_grant_types": true, + "allow_legacy_ro_grant_types": true, + "change_pwd_flow_v1": false, + "disable_impersonation": true, + "enable_apis_section": false, + "enable_client_connections": false, + "enable_custom_domain_in_emails": false, + "enable_dynamic_client_registration": false, + "enable_legacy_logs_search_v2": false, + "enable_public_signup_user_exists_error": true, + "enable_sso": true, + "new_universal_login_experience_enabled": true, + "universal_login": true, + "use_scope_descriptions_for_consent": false, + "revoke_refresh_token_grant": false, + "disable_clickjack_protection_headers": false, + "enable_pipeline2": false + }, + "friendly_name": "This tenant name should be preserved", + "guardian_mfa_page": { + "enabled": true, + "html": "MFA\n" + }, + "idle_session_lifetime": 1, + "picture_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png", + "sandbox_version": "12", + "session_lifetime": 3.0166666666666666, + "support_email": "support@travel0.com", + "support_url": "https://travel0.com/support", + "universal_login": { + "colors": { + "primary": "#F8F8F2", + "page_background": "#222221" + } + }, + "session_cookie": { + "mode": "non-persistent" + }, + "sandbox_versions_available": [ + "18", + "16", + "12" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/emails/provider?include_fields=true&fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address", + "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/email-templates/blocked_account", + "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", + "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" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/email-templates/stolen_credentials", + "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", + "path": "/api/v2/email-templates/password_reset", + "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", + "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", + "path": "/api/v2/email-templates/user_invitation", + "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", + "path": "/api/v2/email-templates/welcome_email", + "body": "", + "status": 200, + "response": { + "template": "welcome_email", + "body": "\n \n

Welcome to This tenant name should be preserved!

\n \n\n", + "from": "", + "resultUrl": "https://travel0.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/verify_email", + "body": "", + "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": "GET", + "path": "/api/v2/email-templates/change_password", + "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", + "path": "/api/v2/email-templates/reset_email", + "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", + "path": "/api/v2/email-templates/enrollment_email", + "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", + "path": "/api/v2/client-grants?include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "client_grants": [ + { + "id": "cgr_P3XzavTQSyFaV8mr", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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" + ] + }, + { + "id": "cgr_SDgpXDXvWBtO3KEi", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", + "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" + ] + }, + { + "id": "cgr_t3j1isctGZmOVylt", + "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", @@ -1528,24 +2468,59 @@ { "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": { + "auth_token": "bar", + "sid": "foo", + "from": "from bar", + "messaging_service_sid": "foo" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/factors/push-notification/providers/sns", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/factors/sms/templates", + "body": "", + "status": 200, + "response": { + "enrollment_message": "enroll foo", + "verification_message": "verify foo" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/guardian/policies", "body": "", "status": 200, - "response": {}, + "response": [], "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/guardian/factors/sms/providers/twilio", + "path": "/api/v2/guardian/factors/sms/selected-provider", "body": "", "status": 200, "response": { - "auth_token": "bar", - "sid": "foo", - "from": "from bar", - "messaging_service_sid": "foo" + "provider": "auth0" }, "rawHeaders": [], "responseIsBinary": false @@ -1553,12 +2528,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/guardian/factors/sms/templates", + "path": "/api/v2/guardian/factors/phone/message-types", "body": "", "status": 200, "response": { - "enrollment_message": "enroll foo", - "verification_message": "verify foo" + "message_types": [] }, "rawHeaders": [], "responseIsBinary": false @@ -1566,21 +2540,50 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/guardian/policies", + "path": "/api/v2/roles?include_totals=true&page=0&per_page=100", "body": "", "status": 200, - "response": [], + "response": { + "roles": [ + { + "id": "rol_hRGDQmEBYbZsC8sZ", + "name": "Admin", + "description": "Can read and write things" + }, + { + "id": "rol_oT9S2f9KYqFyYR2j", + "name": "Reader", + "description": "Can only read things" + }, + { + "id": "rol_ZNeuVHhKZTaZaGwq", + "name": "read_only", + "description": "Read Only" + }, + { + "id": "rol_1DwrDRZ26bdvfKxL", + "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/guardian/factors/sms/selected-provider", + "path": "/api/v2/roles/rol_hRGDQmEBYbZsC8sZ/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { - "provider": "auth0" + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 }, "rawHeaders": [], "responseIsBinary": false @@ -1588,11 +2591,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/guardian/factors/phone/message-types", + "path": "/api/v2/roles/rol_oT9S2f9KYqFyYR2j/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { - "message_types": [] + "permissions": [], + "start": 0, + "limit": 100, + "total": 0 }, "rawHeaders": [], "responseIsBinary": false @@ -1600,11 +2606,26 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_ZNeuVHhKZTaZaGwq/permissions?include_totals=true&page=0&per_page=100", + "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_1DwrDRZ26bdvfKxL/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { - "roles": [], + "permissions": [], "start": 0, "limit": 100, "total": 0 @@ -1659,7 +2680,7 @@ "status": 200, "response": { "allowed_logout_urls": [ - "https://mycompany.org/logoutCallback" + "https://travel0.com/logoutCallback" ], "change_password": { "enabled": true, @@ -1693,7 +2714,7 @@ "disable_clickjack_protection_headers": false, "enable_pipeline2": false }, - "friendly_name": "My Test Tenant", + "friendly_name": "This tenant name should be preserved", "guardian_mfa_page": { "enabled": true, "html": "MFA\n" @@ -1702,8 +2723,8 @@ "picture_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png", "sandbox_version": "12", "session_lifetime": 3.0166666666666666, - "support_email": "support@mycompany.org", - "support_url": "https://mycompany.org/support", + "support_email": "support@travel0.com", + "support_url": "https://travel0.com/support", "universal_login": { "colors": { "primary": "#F8F8F2", @@ -1722,76 +2743,6 @@ "rawHeaders": [], "responseIsBinary": false }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/login/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/login-id/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/login-password/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/login-passwordless/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/signup/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/signup-id/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/prompts/signup-password/partials", - "body": "", - "status": 200, - "response": {}, - "rawHeaders": [], - "responseIsBinary": false - }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -1865,7 +2816,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/consent/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1875,7 +2826,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/consent/custom-text/en", + "path": "/api/v2/prompts/reset-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1895,7 +2846,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-voice/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1905,7 +2856,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-push/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1915,7 +2866,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-webauthn/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1925,7 +2876,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": {}, @@ -1955,7 +2906,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-recovery-code/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1965,7 +2916,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": {}, @@ -1975,7 +2926,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": {}, @@ -1995,7 +2946,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": {}, @@ -2005,7 +2956,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": {}, @@ -2042,6 +2993,76 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/login-id/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/login-password/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/login/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/signup/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/login-passwordless/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/signup-id/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/prompts/signup-password/partials", + "body": "", + "status": 200, + "response": {}, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2049,9 +3070,7 @@ "body": "", "status": 200, "response": { - "flags": { - "role_users_offset_pagination_over_thousand": true - } + "flags": {} }, "rawHeaders": [], "responseIsBinary": false @@ -2063,7 +3082,56 @@ "body": "", "status": 200, "response": { - "actions": [], + "actions": [ + { + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-09T13:36:40.436910946Z", + "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": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "3d2b275c-8b1f-46ac-baf0-d0dec2cb1ce8", + "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": "node16", + "status": "BUILT", + "number": 2, + "build_time": "2024-10-09T13:36:41.550114510Z", + "created_at": "2024-10-09T13:36:41.424992733Z", + "updated_at": "2024-10-09T13:36:41.551127670Z" + }, + "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": "3d2b275c-8b1f-46ac-baf0-d0dec2cb1ce8", + "deployed": true, + "number": 2, + "built_at": "2024-10-09T13:36:41.550114510Z", + "secrets": [], + "status": "built", + "created_at": "2024-10-09T13:36:41.424992733Z", + "updated_at": "2024-10-09T13:36:41.551127670Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, "per_page": 100 }, "rawHeaders": [], @@ -2085,17 +3153,7 @@ "node12" ], "default_runtime": "node12", - "compatible_triggers": [] - }, - { - "id": "post-login", - "version": "v2", - "status": "DEPRECATED", - "runtimes": [ - "node12", - "node16" - ], - "default_runtime": "node16", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -2108,6 +3166,7 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", "compatible_triggers": [ { "id": "post-login", @@ -2115,6 +3174,18 @@ } ] }, + { + "id": "post-login", + "version": "v2", + "status": "DEPRECATED", + "runtimes": [ + "node12", + "node16" + ], + "default_runtime": "node16", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, { "id": "credentials-exchange", "version": "v1", @@ -2123,6 +3194,7 @@ "node12" ], "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -2135,6 +3207,7 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -2147,6 +3220,7 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -2157,16 +3231,7 @@ "node12" ], "default_runtime": "node12", - "compatible_triggers": [] - }, - { - "id": "post-user-registration", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" - ], - "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -2179,16 +3244,18 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { - "id": "post-change-password", + "id": "post-user-registration", "version": "v1", "status": "DEPRECATED", "runtimes": [ "node12" ], "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -2201,6 +3268,18 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", + "compatible_triggers": [] + }, + { + "id": "post-change-password", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -2210,6 +3289,7 @@ "runtimes": [ "node12" ], + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -2222,6 +3302,7 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -2233,6 +3314,7 @@ "node18-actions" ], "default_runtime": "node18-actions", + "binding_policy": "trigger-bound", "compatible_triggers": [] }, { @@ -2240,6 +3322,34 @@ "version": "v1", "status": "CURRENT", "default_runtime": "node18", + "binding_policy": "trigger-bound", + "runtimes": [], + "compatible_triggers": [] + }, + { + "id": "custom-phone-provider", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "binding_policy": "trigger-bound", + "runtimes": [], + "compatible_triggers": [] + }, + { + "id": "custom-email-provider", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "binding_policy": "trigger-bound", + "runtimes": [], + "compatible_triggers": [] + }, + { + "id": "custom-token-exchange-beta", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "binding_policy": "trigger-bound", "runtimes": [], "compatible_triggers": [] } @@ -2251,7 +3361,33 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/post-login/bindings", + "path": "/api/v2/actions/triggers/post-login/bindings", + "body": "", + "status": 200, + "response": { + "bindings": [], + "per_page": 20 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/triggers/credentials-exchange/bindings", + "body": "", + "status": 200, + "response": { + "bindings": [], + "per_page": 20 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/triggers/pre-user-registration/bindings", "body": "", "status": 200, "response": { @@ -2264,7 +3400,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/credentials-exchange/bindings", + "path": "/api/v2/actions/triggers/post-user-registration/bindings", "body": "", "status": 200, "response": { @@ -2277,7 +3413,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/pre-user-registration/bindings", + "path": "/api/v2/actions/triggers/post-change-password/bindings", "body": "", "status": 200, "response": { @@ -2290,7 +3426,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/post-user-registration/bindings", + "path": "/api/v2/actions/triggers/send-phone-message/bindings", "body": "", "status": 200, "response": { @@ -2303,7 +3439,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/post-change-password/bindings", + "path": "/api/v2/actions/triggers/password-reset-post-challenge/bindings", "body": "", "status": 200, "response": { @@ -2316,7 +3452,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/send-phone-message/bindings", + "path": "/api/v2/actions/triggers/login-post-identifier/bindings", "body": "", "status": 200, "response": { @@ -2329,7 +3465,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/password-reset-post-challenge/bindings", + "path": "/api/v2/actions/triggers/custom-phone-provider/bindings", "body": "", "status": 200, "response": { @@ -2342,7 +3478,20 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/actions/triggers/login-post-identifier/bindings", + "path": "/api/v2/actions/triggers/custom-email-provider/bindings", + "body": "", + "status": 200, + "response": { + "bindings": [], + "per_page": 20 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/triggers/custom-token-exchange-beta/bindings", "body": "", "status": 200, "response": { @@ -2359,10 +3508,27 @@ "body": "", "status": 200, "response": { - "organizations": [], + "organizations": [ + { + "id": "org_knGmCqfHxLD0V9YB", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_haOYEECGVpZwU9Tc", + "name": "org2", + "display_name": "Organization2" + } + ], "start": 0, "limit": 50, - "total": 0 + "total": 2 }, "rawHeaders": [], "responseIsBinary": false @@ -2374,7 +3540,24 @@ "body": "", "status": 200, "response": { - "organizations": [] + "organizations": [ + { + "id": "org_knGmCqfHxLD0V9YB", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_haOYEECGVpZwU9Tc", + "name": "org2", + "display_name": "Organization2" + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -2382,20 +3565,20 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/breached-password-detection", + "path": "/api/v2/organizations/org_knGmCqfHxLD0V9YB/enabled_connections", "body": "", "status": 200, - "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } - }, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_haOYEECGVpZwU9Tc/enabled_connections", + "body": "", + "status": 200, + "response": [], "rawHeaders": [], "responseIsBinary": false }, @@ -2418,6 +3601,26 @@ "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": [] + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2451,7 +3654,69 @@ "path": "/api/v2/log-streams?paginate=false", "body": "", "status": 200, - "response": [], + "response": [ + { + "id": "lst_0000000000017950", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + { + "id": "lst_0000000000017951", + "name": "Amazon EventBridge", + "type": "eventbridge", + "status": "active", + "sink": { + "awsAccountId": "123456789012", + "awsRegion": "us-east-2", + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-11b6995b-a49b-4a0f-bfaf-88cefc5ba0b3/auth0.logs" + }, + "filters": [ + { + "type": "category", + "name": "auth.login.success" + }, + { + "type": "category", + "name": "auth.login.notification" + }, + { + "type": "category", + "name": "auth.login.fail" + }, + { + "type": "category", + "name": "auth.signup.success" + }, + { + "type": "category", + "name": "auth.logout.success" + }, + { + "type": "category", + "name": "auth.logout.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.success" + }, + { + "type": "category", + "name": "auth.token_exchange.fail" + } + ], + "isPriority": false + } + ], "rawHeaders": [], "responseIsBinary": false }, @@ -2487,10 +3752,19 @@ "body": "", "status": 200, "response": { - "total": 0, + "total": 1, "start": 0, "limit": 100, - "rules": [] + "rules": [ + { + "id": "rul_KPxS2cPV6d0ZfCE3", + "enabled": true, + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "name": "my-rule", + "order": 2, + "stage": "login_success" + } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -2502,10 +3776,41 @@ "body": "", "status": 200, "response": { - "total": 0, + "total": 1, "start": 0, "limit": 100, - "rules": [] + "rules": [ + { + "id": "rul_KPxS2cPV6d0ZfCE3", + "enabled": true, + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "name": "my-rule", + "order": 2, + "stage": "login_success" + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/rules/rul_KPxS2cPV6d0ZfCE3", + "body": { + "name": "my-rule", + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "enabled": true, + "order": 2 + }, + "status": 200, + "response": { + "id": "rul_KPxS2cPV6d0ZfCE3", + "enabled": true, + "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", + "name": "my-rule", + "order": 2, + "stage": "login_success" }, "rawHeaders": [], "responseIsBinary": false @@ -2569,9 +3874,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -2615,9 +3923,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -2654,7 +3965,7 @@ "status": 200, "response": { "allowed_logout_urls": [ - "https://mycompany.org/logoutCallback" + "https://travel0.com/logoutCallback" ], "change_password": { "enabled": true, @@ -2690,7 +4001,7 @@ "disable_clickjack_protection_headers": false, "enable_pipeline2": false }, - "friendly_name": "My Test Tenant", + "friendly_name": "This tenant name should be preserved", "guardian_mfa_page": { "enabled": true, "html": "MFA\n" @@ -2699,8 +4010,8 @@ "picture_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png", "sandbox_version": "12", "session_lifetime": 3.0166666666666666, - "support_email": "support@mycompany.org", - "support_url": "https://mycompany.org/support", + "support_email": "support@travel0.com", + "support_url": "https://travel0.com/support", "universal_login": { "colors": { "primary": "#F8F8F2", @@ -3241,153 +4552,2170 @@ "value": "create:organization_connections" }, { - "description": "Read organization connections", - "value": "read:organization_connections" + "description": "Read organization connections", + "value": "read:organization_connections" + }, + { + "description": "Update organization connections", + "value": "update:organization_connections" + }, + { + "description": "Delete organization connections", + "value": "delete:organization_connections" + }, + { + "description": "Create organization member roles", + "value": "create:organization_member_roles" + }, + { + "description": "Read organization member roles", + "value": "read:organization_member_roles" + }, + { + "description": "Delete organization member roles", + "value": "delete:organization_member_roles" + }, + { + "description": "Create organization invitations", + "value": "create:organization_invitations" + }, + { + "description": "Read organization invitations", + "value": "read:organization_invitations" + }, + { + "description": "Delete organization invitations", + "value": "delete:organization_invitations" + }, + { + "description": "Read SCIM configuration", + "value": "read:scim_config" + }, + { + "description": "Create SCIM configuration", + "value": "create:scim_config" + }, + { + "description": "Update SCIM configuration", + "value": "update:scim_config" + }, + { + "description": "Delete SCIM configuration", + "value": "delete:scim_config" + }, + { + "description": "Create SCIM token", + "value": "create:scim_token" + }, + { + "description": "Read SCIM token", + "value": "read:scim_token" + }, + { + "description": "Delete SCIM token", + "value": "delete:scim_token" + }, + { + "description": "Delete a Phone Notification Provider", + "value": "delete:phone_providers" + }, + { + "description": "Create a Phone Notification Provider", + "value": "create:phone_providers" + }, + { + "description": "Read a Phone Notification Provider", + "value": "read:phone_providers" + }, + { + "description": "Update a Phone Notification Provider", + "value": "update:phone_providers" + }, + { + "description": "Delete a Phone Notification Template", + "value": "delete:phone_templates" + }, + { + "description": "Create a Phone Notification Template", + "value": "create:phone_templates" + }, + { + "description": "Read a Phone Notification Template", + "value": "read:phone_templates" + }, + { + "description": "Update a Phone Notification Template", + "value": "update:phone_templates" + }, + { + "description": "Create encryption keys", + "value": "create:encryption_keys" + }, + { + "description": "Read encryption keys", + "value": "read:encryption_keys" + }, + { + "description": "Update encryption keys", + "value": "update:encryption_keys" + }, + { + "description": "Delete encryption keys", + "value": "delete:encryption_keys" + }, + { + "description": "Read Sessions", + "value": "read:sessions" + }, + { + "description": "Delete Sessions", + "value": "delete:sessions" + }, + { + "description": "Read Refresh Tokens", + "value": "read:refresh_tokens" + }, + { + "description": "Delete Refresh Tokens", + "value": "delete:refresh_tokens" }, { - "description": "Update organization connections", - "value": "update:organization_connections" + "description": "Create Self Service Profiles", + "value": "create:self_service_profiles" }, { - "description": "Delete organization connections", - "value": "delete:organization_connections" + "description": "Read Self Service Profiles", + "value": "read:self_service_profiles" }, { - "description": "Create organization member roles", - "value": "create:organization_member_roles" + "description": "Update Self Service Profiles", + "value": "update:self_service_profiles" }, { - "description": "Read organization member roles", - "value": "read:organization_member_roles" + "description": "Delete Self Service Profiles", + "value": "delete:self_service_profiles" }, { - "description": "Delete organization member roles", - "value": "delete:organization_member_roles" + "description": "Create SSO Access Tickets", + "value": "create:sso_access_tickets" }, { - "description": "Create organization invitations", - "value": "create:organization_invitations" + "description": "Read Forms", + "value": "read:forms" }, { - "description": "Read organization invitations", - "value": "read:organization_invitations" + "description": "Update Forms", + "value": "update:forms" }, { - "description": "Delete organization invitations", - "value": "delete:organization_invitations" + "description": "Delete Forms", + "value": "delete:forms" }, { - "description": "Read SCIM configuration", - "value": "read:scim_config" + "description": "Create Forms", + "value": "create:forms" }, { - "description": "Create SCIM configuration", - "value": "create:scim_config" + "description": "Read Flows", + "value": "read:flows" }, { - "description": "Update SCIM configuration", - "value": "update:scim_config" + "description": "Update Flows", + "value": "update:flows" }, { - "description": "Delete SCIM configuration", - "value": "delete:scim_config" + "description": "Delete Flows", + "value": "delete:flows" }, { - "description": "Create SCIM token", - "value": "create:scim_token" + "description": "Create Flows", + "value": "create:flows" }, { - "description": "Read SCIM token", - "value": "read:scim_token" + "description": "Read Flows Vault items", + "value": "read:flows_vault" }, { - "description": "Delete SCIM token", - "value": "delete:scim_token" + "description": "Read Flows Vault connections", + "value": "read:flows_vault_connections" }, { - "description": "Delete a Phone Notification Provider", - "value": "delete:phone_providers" + "description": "Update Flows Vault connections", + "value": "update:flows_vault_connections" }, { - "description": "Create a Phone Notification Provider", - "value": "create:phone_providers" + "description": "Delete Flows Vault connections", + "value": "delete:flows_vault_connections" }, { - "description": "Read a Phone Notification Provider", - "value": "read:phone_providers" + "description": "Create Flows Vault connections", + "value": "create:flows_vault_connections" }, { - "description": "Update a Phone Notification Provider", - "value": "update:phone_providers" + "description": "Read Flows Executions", + "value": "read:flows_executions" }, { - "description": "Delete a Phone Notification Template", - "value": "delete:phone_templates" + "description": "Delete Flows Executions", + "value": "delete:flows_executions" }, { - "description": "Create a Phone Notification Template", - "value": "create:phone_templates" + "description": "Read Connections Options", + "value": "read:connections_options" }, { - "description": "Read a Phone Notification Template", - "value": "read:phone_templates" + "description": "Update Connections Options", + "value": "update:connections_options" }, { - "description": "Update a Phone Notification Template", - "value": "update:phone_templates" + "description": "Read Self Service Profile Custom Texts", + "value": "read:self_service_profile_custom_texts" }, { - "description": "Create encryption keys", - "value": "create:encryption_keys" + "description": "Update Self Service Profile Custom Texts", + "value": "update:self_service_profile_custom_texts" }, { - "description": "Read encryption keys", - "value": "read:encryption_keys" + "value": "read:client_credentials", + "description": "Read Client Credentials" }, { - "description": "Update encryption keys", - "value": "update:encryption_keys" + "value": "create:client_credentials", + "description": "Create Client Credentials" }, { - "description": "Delete encryption keys", - "value": "delete:encryption_keys" + "value": "update:client_credentials", + "description": "Update Client Credentials" }, { - "description": "Read Sessions", - "value": "read:sessions" + "value": "delete:client_credentials", + "description": "delete Client Credentials" + } + ], + "is_system": true + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?include_totals=true&is_global=false&page=0&per_page=100", + "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": true, + "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 + }, + "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": "Default App", + "callbacks": [], + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "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_auth": 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, + "signing_keys": [ { - "description": "Delete Sessions", - "value": "delete:sessions" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "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": "Terraform Provider", + "cross_origin_auth": 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, + "signing_keys": [ { - "description": "Read Refresh Tokens", - "value": "read:refresh_tokens" - }, + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": 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, + "signing_keys": [ { - "description": "Delete Refresh Tokens", - "value": "delete:refresh_tokens" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", + "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_auth": 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, + "signing_keys": [ { - "value": "read:client_credentials", - "description": "Read Client Credentials" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "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_auth": 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, + "signing_keys": [ { - "value": "create:client_credentials", - "description": "Create Client Credentials" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", + "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_auth": 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, + "signing_keys": [ { - "value": "update:client_credentials", - "description": "Update Client Credentials" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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": "Auth0 CLI - dev", + "allowed_clients": [], + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false }, + "facebook": { + "enabled": 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" + }, + "sso_disabled": false, + "oidc_conformant": false, + "signing_keys": [ { - "value": "delete:client_credentials", - "description": "delete Client Credentials" + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" } ], - "is_system": true + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", + "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/780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", + "body": { + "name": "API Explorer Application", + "allowed_clients": [], + "app_type": "non_interactive", + "callbacks": [], + "client_aliases": [], + "client_metadata": {}, + "cross_origin_auth": 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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", + "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/STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", + "body": { + "name": "Auth0 CLI - dev", + "allowed_clients": [], + "app_type": "non_interactive", + "callbacks": [], + "client_aliases": [], + "cross_origin_auth": 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 + }, + "logo_uri": "https://dev.assets.com/photos/foo", + "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": 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": "Auth0 CLI - dev", + "allowed_clients": [], + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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" + }, + "sso_disabled": false, + "oidc_conformant": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", + "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/OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "body": { + "name": "Default App", + "callbacks": [], + "cross_origin_auth": 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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "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 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "body": { + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], + "allowed_origins": [], + "app_type": "regular_web", + "callbacks": [], + "client_aliases": [], + "client_metadata": {}, + "cross_origin_auth": 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": [] + }, + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "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 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/Cbs29sl8S2G7zgo97erymb8t59IG6its", + "body": { + "name": "Quickstarts API (Test Application)", + "app_type": "non_interactive", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": 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" + }, + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", + "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 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "body": { + "name": "Terraform Provider", + "app_type": "non_interactive", + "cross_origin_auth": 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" + }, + "status": 200, + "response": { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "body": { + "name": "The Default App", + "allowed_clients": [], + "callbacks": [], + "client_aliases": [], + "client_metadata": {}, + "cross_origin_auth": 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" + }, + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "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 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "body": { + "name": "auth0-deploy-cli-extension", + "allowed_clients": [], + "app_type": "non_interactive", + "callbacks": [], + "client_aliases": [], + "client_metadata": {}, + "cross_origin_auth": 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": "auth0-deploy-cli-extension", + "allowed_clients": [], + "callbacks": [], + "client_metadata": {}, + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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/11CR1JJoz35mJP5HPekYuwloHZQrg6bT", + "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_auth": 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" + ] + }, + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" + } + ], + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", + "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 + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/emails/provider?include_fields=true&fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address", + "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?enabled=false&name=mandrill", + "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": "PUT", + "path": "/api/v2/guardian/factors/email", + "body": { + "enabled": false + }, + "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", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/push-notification", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/recovery-code", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/webauthn-platform", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/webauthn-roaming", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/otp", + "body": { + "enabled": false + }, + "status": 200, + "response": { + "enabled": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PUT", + "path": "/api/v2/guardian/factors/duo", + "body": { + "enabled": false + }, + "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/providers/twilio", + "body": { + "auth_token": "bar", + "from": "from bar", + "messaging_service_sid": "foo", + "sid": "foo" + }, + "status": 200, + "response": { + "auth_token": "bar", + "from": "from bar", + "messaging_service_sid": "foo", + "sid": "foo" + }, + "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/sms/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": [] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/prompts", + "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/log-streams?paginate=false", + "body": "", + "status": 200, + "response": [ + { + "id": "lst_0000000000017950", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false + }, + { + "id": "lst_0000000000017951", + "name": "Amazon EventBridge", + "type": "eventbridge", + "status": "active", + "sink": { + "awsAccountId": "123456789012", + "awsRegion": "us-east-2", + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-11b6995b-a49b-4a0f-bfaf-88cefc5ba0b3/auth0.logs" + }, + "filters": [ + { + "type": "category", + "name": "auth.login.success" + }, + { + "type": "category", + "name": "auth.login.notification" + }, + { + "type": "category", + "name": "auth.login.fail" + }, + { + "type": "category", + "name": "auth.signup.success" + }, + { + "type": "category", + "name": "auth.logout.success" + }, + { + "type": "category", + "name": "auth.logout.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.success" + }, + { + "type": "category", + "name": "auth.token_exchange.fail" + } + ], + "isPriority": 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", + "stage": { + "pre-user-registration": { + "shields": [] + } + } + }, + "status": 200, + "response": { + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", + "body": { + "enabled": true, + "shields": [ + "admin_notification", + "block" + ], + "allowlist": [], + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } + }, + "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 + } + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "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": "PATCH", + "path": "/api/v2/log-streams/lst_0000000000017951", + "body": { + "name": "Amazon EventBridge", + "filters": [ + { + "type": "category", + "name": "auth.login.success" + }, + { + "type": "category", + "name": "auth.login.notification" + }, + { + "type": "category", + "name": "auth.login.fail" + }, + { + "type": "category", + "name": "auth.signup.success" + }, + { + "type": "category", + "name": "auth.logout.success" + }, + { + "type": "category", + "name": "auth.logout.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.success" + }, + { + "type": "category", + "name": "auth.token_exchange.fail" + } + ], + "isPriority": false, + "status": "active" + }, + "status": 200, + "response": { + "id": "lst_0000000000017951", + "name": "Amazon EventBridge", + "type": "eventbridge", + "status": "active", + "sink": { + "awsAccountId": "123456789012", + "awsRegion": "us-east-2", + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-11b6995b-a49b-4a0f-bfaf-88cefc5ba0b3/auth0.logs" + }, + "filters": [ + { + "type": "category", + "name": "auth.login.success" + }, + { + "type": "category", + "name": "auth.login.notification" + }, + { + "type": "category", + "name": "auth.login.fail" + }, + { + "type": "category", + "name": "auth.signup.success" + }, + { + "type": "category", + "name": "auth.logout.success" + }, + { + "type": "category", + "name": "auth.logout.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.fail" + }, + { + "type": "category", + "name": "auth.silent_auth.success" + }, + { + "type": "category", + "name": "auth.token_exchange.fail" } - ] + ], + "isPriority": false + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/log-streams/lst_0000000000017950", + "body": { + "name": "Suspended DD Log Stream", + "isPriority": false, + "sink": { + "datadogRegion": "us" + }, + "status": "active" + }, + "status": 200, + "response": { + "id": "lst_0000000000017950", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + }, + "isPriority": false }, "rawHeaders": [], "responseIsBinary": false @@ -3395,11 +6723,21 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/clients?include_totals=true&is_global=false&page=0&per_page=100", + "path": "/api/v2/custom-domains?paginate=false", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/clients?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { - "total": 2, + "total": 11, "start": 0, "limit": 100, "clients": [ @@ -3421,6 +6759,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -3469,7 +6808,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3484,348 +6823,681 @@ "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/xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", - "body": { - "name": "Default App", - "callbacks": [], - "cross_origin_auth": 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_auth": 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, - "signing_keys": [ + }, + { + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "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": "Terraform Provider", + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", + "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 + }, { - "cert": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", - "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 - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/emails/provider?include_fields=true&fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address", - "body": "", - "status": 404, - "response": { - "statusCode": 404, - "error": "Not Found", - "message": "There is not a configured email provider", - "errorCode": "inexistent_email_provider" - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/duo", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/otp", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/email", - "body": { - "enabled": false - }, - "status": 200, - "response": { - "enabled": false - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", - "body": { - "enabled": false - }, - "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", - "body": { - "enabled": false - }, - "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/providers/twilio", - "body": { - "auth_token": "bar", - "from": "from bar", - "messaging_service_sid": "foo", - "sid": "foo" - }, - "status": 200, - "response": { - "auth_token": "bar", - "from": "from bar", - "messaging_service_sid": "foo", - "sid": "foo" - }, - "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/sms/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": [] + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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": "Auth0 CLI - dev", + "allowed_clients": [], + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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" + }, + "sso_disabled": false, + "oidc_conformant": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", + "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" + ], + "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": "PATCH", - "path": "/api/v2/prompts", - "body": { - "identifier_first": true, - "universal_login_experience": "new" - }, + "method": "GET", + "path": "/api/v2/connections?strategy=auth0&include_totals=true&page=0&per_page=100", + "body": "", "status": 200, "response": { - "universal_login_experience": "new", - "identifier_first": true - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/suspicious-ip-throttling", - "body": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 + "total": 2, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 + { + "id": "con_orWZyMv2k9PgOd3x", + "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 + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ] } - } + ] }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?strategy=auth0&include_totals=true&page=0&per_page=100", + "body": "", "status": 200, "response": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 + "total": 2, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 + { + "id": "con_orWZyMv2k9PgOd3x", + "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 + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ] } - } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -3833,37 +7505,113 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/log-streams?paginate=false", + "path": "/api/v2/connections/con_cvOdQDkXpKvaMNSh", "body": "", "status": 200, - "response": [], + "response": { + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ], + "realms": [ + "boo-baz-db-connection-test" + ] + }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", - "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 - }, + "method": "GET", + "path": "/api/v2/connections/con_orWZyMv2k9PgOd3x", + "body": "", "status": 200, "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" + "id": "con_orWZyMv2k9PgOd3x", + "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 + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "enabled_clients": [ + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 + "realms": [ + "Username-Password-Authentication" + ] }, "rawHeaders": [], "responseIsBinary": false @@ -3871,40 +7619,202 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", + "path": "/api/v2/connections/con_cvOdQDkXpKvaMNSh", "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ], + "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 + } + }, + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true + }, + "realms": [ + "boo-baz-db-connection-test" + ] }, "status": 200, "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ], + "realms": [ + "boo-baz-db-connection-test" + ] }, "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/custom-domains?paginate=false", - "body": "", + "method": "PATCH", + "path": "/api/v2/connections/con_orWZyMv2k9PgOd3x", + "body": { + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" + ], + "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 + } + }, + "brute_force_protection": true + }, + "realms": [ + "Username-Password-Authentication" + ] + }, "status": 200, - "response": [], + "response": { + "id": "con_orWZyMv2k9PgOd3x", + "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 + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" + ], + "realms": [ + "Username-Password-Authentication" + ] + }, "rawHeaders": [], "responseIsBinary": false }, @@ -3915,7 +7825,7 @@ "body": "", "status": 200, "response": { - "total": 3, + "total": 11, "start": 0, "limit": 100, "clients": [ @@ -3923,11 +7833,246 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", + "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": true, + "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 + }, + "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": "Default App", + "callbacks": [], + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "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": "Terraform Provider", + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_auth": false, "is_first_party": true, "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -3937,6 +8082,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -3944,7 +8090,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3963,11 +8109,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "The Default App", + "allowed_clients": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": true, + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": false + } + }, + "oidc_conformant": false, "refresh_token": { "expiration_type": "non-expiring", "leeway": 0, @@ -3977,6 +8133,7 @@ "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso": false, "sso_disabled": false, "signing_keys": [ { @@ -3985,7 +8142,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3993,6 +8150,8 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", "grant_types": [ "authorization_code", "implicit", @@ -4001,6 +8160,172 @@ ], "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", + "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_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", + "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": "Auth0 CLI - dev", + "allowed_clients": [], + "callbacks": [], + "cross_origin_auth": false, + "is_first_party": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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" + }, + "sso_disabled": false, + "oidc_conformant": false, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", + "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, @@ -4019,9 +8344,12 @@ "owners": [ "mr|samlp|okta|will.vedder@auth0.com", "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" + "mr|samlp|okta|frederik.prijck@auth0.com", + "mr|google-oauth2|109614534713742077035", + "mr|google-oauth2|116771660953104383819" ], "custom_login_page": "TEST123\n", + "cross_origin_authentication": true, "signing_keys": [ { "cert": "[REDACTED]", @@ -4041,28 +8369,180 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections?strategy=auth0&include_totals=true&page=0&per_page=100", + "path": "/api/v2/connections?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { - "total": 1, + "total": 3, + "start": 0, + "limit": 100, + "connections": [ + { + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_SXIEWGYv5QzGSoqq", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" + ] + }, + { + "id": "con_orWZyMv2k9PgOd3x", + "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 + } + }, + "brute_force_protection": true + }, + "strategy": "auth0", + "name": "Username-Password-Authentication", + "is_domain_connection": false, + "realms": [ + "Username-Password-Authentication" + ], + "enabled_clients": [ + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + ] + } + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/connections?include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "total": 3, "start": 0, "limit": 100, "connections": [ { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_cvOdQDkXpKvaMNSh", "options": { "mfa": { "active": true, "return_enroll_settings": true }, - "passwordPolicy": "good", + "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 @@ -4071,37 +8551,49 @@ "enabled": true } }, - "brute_force_protection": true + "brute_force_protection": true, + "password_no_personal_info": { + "enable": true + }, + "password_complexity_options": { + "min_length": 8 + }, + "enabledDatabaseCustomization": true }, "strategy": "auth0", - "name": "Username-Password-Authentication", + "name": "boo-baz-db-connection-test", "is_domain_connection": false, "realms": [ - "Username-Password-Authentication" + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_SXIEWGYv5QzGSoqq", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?strategy=auth0&include_totals=true&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ + }, { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -4131,8 +8623,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -4142,43 +8634,43 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections/con_eSHGfDptLUMkQdaq", - "body": "", + "method": "PATCH", + "path": "/api/v2/connections/con_SXIEWGYv5QzGSoqq", + "body": { + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" + ], + "is_domain_connection": false, + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + } + }, "status": 200, "response": { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_SXIEWGYv5QzGSoqq", "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 - } - }, - "brute_force_protection": true + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true }, - "strategy": "auth0", - "name": "Username-Password-Authentication", + "strategy": "google-oauth2", + "name": "google-oauth2", "is_domain_connection": false, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" ], "realms": [ - "Username-Password-Authentication" + "google-oauth2" ] }, "rawHeaders": [], @@ -4187,74 +8679,53 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_eSHGfDptLUMkQdaq", + "path": "/api/v2/email-templates/verify_email", "body": { - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" - ], - "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 - } - }, - "brute_force_protection": true - }, - "realms": [ - "Username-Password-Authentication" - ] + "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": { - "id": "con_eSHGfDptLUMkQdaq", - "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 - } - }, - "brute_force_protection": true - }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" - ], - "realms": [ - "Username-Password-Authentication" - ] + "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 to This tenant name should be preserved!

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

Welcome to This tenant name should be preserved!

\n \n\n", + "from": "", + "resultUrl": "https://travel0.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -4266,7 +8737,7 @@ "body": "", "status": 200, "response": { - "total": 3, + "total": 11, "start": 0, "limit": 100, "clients": [ @@ -4277,8 +8748,101 @@ "name": "Deploy CLI", "is_first_party": true, "oidc_conformant": true, - "sso_disabled": false, - "cross_origin_auth": false, + "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": true, + "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 + }, + "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": "Default App", + "callbacks": [], + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "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_auth": 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, @@ -4288,6 +8852,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4295,7 +8860,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4303,6 +8868,7 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -4314,18 +8880,29 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "Node App", + "allowed_clients": [], + "allowed_logout_urls": [], "callbacks": [], + "client_metadata": {}, "cross_origin_auth": 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": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -4336,7 +8913,8 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "allowed_origins": [], + "client_id": "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4344,35 +8922,36 @@ "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": true, - "callbacks": [], + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Terraform Provider", + "cross_origin_auth": false, "is_first_party": true, - "name": "All Applications", + "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, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "owners": [ - "mr|samlp|okta|will.vedder@auth0.com", - "mr|google-oauth2|102002633619863830825", - "mr|samlp|okta|frederik.prijck@auth0.com" - ], - "custom_login_page": "TEST123\n", + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4380,191 +8959,200 @@ "subject": "deprecated" } ], - "client_id": "Isi93ibGHIGwmdYjsLwTOn7Gu7nwxU3V", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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 - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?include_totals=true&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ + }, { - "id": "con_eSHGfDptLUMkQdaq", - "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 - } - }, - "brute_force_protection": true + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" - ] - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/connections?include_totals=true&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "connections": [ + "client_id": "Cbs29sl8S2G7zgo97erymb8t59IG6its", + "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 + }, { - "id": "con_eSHGfDptLUMkQdaq", - "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 - } + "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_auth": false, + "is_first_party": true, + "native_social_login": { + "apple": { + "enabled": false }, - "brute_force_protection": true + "facebook": { + "enabled": false + } }, - "strategy": "auth0", - "name": "Username-Password-Authentication", - "is_domain_connection": false, - "realms": [ - "Username-Password-Authentication" - ], - "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" - ] - } - ] - }, - "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": "GET", - "path": "/api/v2/clients?include_totals=true&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 3, - "start": 0, - "limit": 100, - "clients": [ + "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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "RRILfE6sLlYfY3PQ0MwBGEBaDwdqJq05", + "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": "Deploy CLI", + "name": "Test SPA", + "allowed_clients": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], + "client_metadata": {}, + "cross_origin_auth": 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, + "signing_keys": [ + { + "cert": "[REDACTED]", + "pkcs7": "[REDACTED]", + "subject": "deprecated" + } + ], + "client_id": "11CR1JJoz35mJP5HPekYuwloHZQrg6bT", + "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_auth": 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, @@ -4574,6 +9162,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4581,7 +9170,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4589,6 +9178,7 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -4600,21 +9190,31 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "name": "Auth0 CLI - dev", + "allowed_clients": [], "callbacks": [], "cross_origin_auth": false, "is_first_party": true, - "oidc_conformant": true, + "logo_uri": "https://dev.assets.com/photos/foo", + "native_social_login": { + "apple": { + "enabled": false + }, + "facebook": { + "enabled": 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, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, + "oidc_conformant": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -4622,7 +9222,7 @@ "subject": "deprecated" } ], - "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", + "client_id": "STzxgAFX55LmTkwzLQGNO9omrYKpSZ67", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4630,62 +9230,339 @@ "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 }, { - "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" - ], - "custom_login_page": "TEST123\n", - "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?include_totals=true&page=0&per_page=100", - "body": "", - "status": 200, - "response": { - "total": 1, - "start": 0, - "limit": 100, - "client_grants": [ + "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" + ], + "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?include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "total": 3, + "start": 0, + "limit": 100, + "client_grants": [ + { + "id": "cgr_P3XzavTQSyFaV8mr", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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" + ] + }, + { + "id": "cgr_SDgpXDXvWBtO3KEi", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", + "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" + ] + }, { "id": "cgr_t3j1isctGZmOVylt", "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", @@ -4856,14 +9733,653 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/client-grants/cgr_SDgpXDXvWBtO3KEi", + "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_SDgpXDXvWBtO3KEi", + "client_id": "780RIuWg8AlPQQgwCaQkSmem9CnzKgGd", + "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" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/client-grants/cgr_P3XzavTQSyFaV8mr", + "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_P3XzavTQSyFaV8mr", + "client_id": "Zdogk3j4407BNWkWiBOxQKp1RgLFIOEV", + "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" + ] + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/roles?include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "roles": [ + { + "id": "rol_hRGDQmEBYbZsC8sZ", + "name": "Admin", + "description": "Can read and write things" + }, + { + "id": "rol_oT9S2f9KYqFyYR2j", + "name": "Reader", + "description": "Can only read things" + }, + { + "id": "rol_ZNeuVHhKZTaZaGwq", + "name": "read_only", + "description": "Read Only" + }, + { + "id": "rol_1DwrDRZ26bdvfKxL", + "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_hRGDQmEBYbZsC8sZ/permissions?include_totals=true&page=0&per_page=100", + "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_oT9S2f9KYqFyYR2j/permissions?include_totals=true&page=0&per_page=100", + "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?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_ZNeuVHhKZTaZaGwq/permissions?include_totals=true&page=0&per_page=100", + "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_1DwrDRZ26bdvfKxL/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { - "roles": [], + "permissions": [], "start": 0, "limit": 100, "total": 0 @@ -4871,6 +10387,74 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/roles/rol_oT9S2f9KYqFyYR2j", + "body": { + "name": "Reader", + "description": "Can only read things" + }, + "status": 200, + "response": { + "id": "rol_oT9S2f9KYqFyYR2j", + "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_ZNeuVHhKZTaZaGwq", + "body": { + "name": "read_only", + "description": "Read Only" + }, + "status": 200, + "response": { + "id": "rol_ZNeuVHhKZTaZaGwq", + "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_hRGDQmEBYbZsC8sZ", + "body": { + "name": "Admin", + "description": "Can read and write things" + }, + "status": 200, + "response": { + "id": "rol_hRGDQmEBYbZsC8sZ", + "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_1DwrDRZ26bdvfKxL", + "body": { + "name": "read_osnly", + "description": "Readz Only" + }, + "status": 200, + "response": { + "id": "rol_1DwrDRZ26bdvfKxL", + "name": "read_osnly", + "description": "Readz Only" + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -4878,12 +10462,129 @@ "body": "", "status": 200, "response": { - "actions": [], + "actions": [ + { + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-09T13:36:40.436910946Z", + "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": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "3d2b275c-8b1f-46ac-baf0-d0dec2cb1ce8", + "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": "node16", + "status": "BUILT", + "number": 2, + "build_time": "2024-10-09T13:36:41.550114510Z", + "created_at": "2024-10-09T13:36:41.424992733Z", + "updated_at": "2024-10-09T13:36:41.551127670Z" + }, + "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": "3d2b275c-8b1f-46ac-baf0-d0dec2cb1ce8", + "deployed": true, + "number": 2, + "built_at": "2024-10-09T13:36:41.550114510Z", + "secrets": [], + "status": "built", + "created_at": "2024-10-09T13:36:41.424992733Z", + "updated_at": "2024-10-09T13:36:41.551127670Z", + "runtime": "node16", + "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/actions/actions/ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", + "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": "node16", + "secrets": [], + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "status": 200, + "response": { + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-14T09:07:08.590000474Z", + "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": "node16", + "status": "pending", + "secrets": [], + "current_version": { + "id": "3d2b275c-8b1f-46ac-baf0-d0dec2cb1ce8", + "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": "node16", + "status": "BUILT", + "number": 2, + "build_time": "2024-10-09T13:36:41.550114510Z", + "created_at": "2024-10-09T13:36:41.424992733Z", + "updated_at": "2024-10-09T13:36:41.551127670Z" + }, + "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": "3d2b275c-8b1f-46ac-baf0-d0dec2cb1ce8", + "deployed": true, + "number": 2, + "built_at": "2024-10-09T13:36:41.550114510Z", + "secrets": [], + "status": "built", + "created_at": "2024-10-09T13:36:41.424992733Z", + "updated_at": "2024-10-09T13:36:41.551127670Z", + "runtime": "node16", + "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", @@ -4891,12 +10592,101 @@ "body": "", "status": 200, "response": { - "actions": [], + "actions": [ + { + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-14T09:07:08.590000474Z", + "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": "node16", + "status": "built", + "secrets": [], + "current_version": { + "id": "3d2b275c-8b1f-46ac-baf0-d0dec2cb1ce8", + "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": "node16", + "status": "BUILT", + "number": 2, + "build_time": "2024-10-09T13:36:41.550114510Z", + "created_at": "2024-10-09T13:36:41.424992733Z", + "updated_at": "2024-10-09T13:36:41.551127670Z" + }, + "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": "3d2b275c-8b1f-46ac-baf0-d0dec2cb1ce8", + "deployed": true, + "number": 2, + "built_at": "2024-10-09T13:36:41.550114510Z", + "secrets": [], + "status": "built", + "created_at": "2024-10-09T13:36:41.424992733Z", + "updated_at": "2024-10-09T13:36:41.551127670Z", + "runtime": "node16", + "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": "POST", + "path": "/api/v2/actions/actions/ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f/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": "17c5aa54-9fe1-4255-bfdb-89a8640a0820", + "deployed": false, + "number": 3, + "secrets": [], + "status": "built", + "created_at": "2024-10-14T09:07:09.656359071Z", + "updated_at": "2024-10-14T09:07:09.656359071Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "action": { + "id": "ec86cbd0-ef6e-47c3-bbf3-bfc96f7fb55f", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2024-10-09T13:34:16.553437433Z", + "updated_at": "2024-10-14T09:07:08.582721748Z", + "all_changes_deployed": false + } + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", @@ -4926,10 +10716,27 @@ "body": "", "status": 200, "response": { - "organizations": [], + "organizations": [ + { + "id": "org_knGmCqfHxLD0V9YB", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_haOYEECGVpZwU9Tc", + "name": "org2", + "display_name": "Organization2" + } + ], "start": 0, "limit": 50, - "total": 0 + "total": 2 }, "rawHeaders": [], "responseIsBinary": false @@ -4941,11 +10748,48 @@ "body": "", "status": 200, "response": { - "organizations": [] + "organizations": [ + { + "id": "org_knGmCqfHxLD0V9YB", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_haOYEECGVpZwU9Tc", + "name": "org2", + "display_name": "Organization2" + } + ] }, "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_knGmCqfHxLD0V9YB/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/organizations/org_haOYEECGVpZwU9Tc/enabled_connections", + "body": "", + "status": 200, + "response": [], + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -4953,12 +10797,94 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 3, "start": 0, "limit": 100, "connections": [ { - "id": "con_eSHGfDptLUMkQdaq", + "id": "con_cvOdQDkXpKvaMNSh", + "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 + } + }, + "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, + "realms": [ + "boo-baz-db-connection-test" + ], + "enabled_clients": [ + "e7rLqHSBYIFirN1a6psegd3IBUwFaWGb", + "oRKXeVLk6Gc748UCH8zfMbf5wdPferqZ" + ] + }, + { + "id": "con_SXIEWGYv5QzGSoqq", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3" + ] + }, + { + "id": "con_orWZyMv2k9PgOd3x", "options": { "mfa": { "active": true, @@ -4988,8 +10914,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" + "OFEaV1swMjzG0w0yxF0cmRYX4zP97np3", + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" ] } ] @@ -4997,13 +10923,57 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/organizations/org_haOYEECGVpZwU9Tc", + "body": { + "display_name": "Organization2" + }, + "status": 200, + "response": { + "id": "org_haOYEECGVpZwU9Tc", + "display_name": "Organization2", + "name": "org2" + }, + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/organizations/org_knGmCqfHxLD0V9YB", + "body": { + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + }, + "display_name": "Organization" + }, + "status": 200, + "response": { + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + }, + "id": "org_knGmCqfHxLD0V9YB", + "display_name": "Organization", + "name": "org1" + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", "path": "/api/v2/tenants/settings", "body": { "allowed_logout_urls": [ - "https://mycompany.org/logoutCallback" + "https://travel0.com/logoutCallback" ], "enabled_locales": [ "en" @@ -5021,14 +10991,14 @@ "disable_clickjack_protection_headers": false, "enable_pipeline2": false }, - "friendly_name": "My Test Tenant", + "friendly_name": "This tenant name should be preserved", "picture_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png", "sandbox_version": "12", "session_cookie": { "mode": "non-persistent" }, - "support_email": "support@mycompany.org", - "support_url": "https://mycompany.org/support", + "support_email": "support@travel0.com", + "support_url": "https://travel0.com/support", "universal_login": { "colors": { "primary": "#F8F8F2", @@ -5041,7 +11011,7 @@ "status": 200, "response": { "allowed_logout_urls": [ - "https://mycompany.org/logoutCallback" + "https://travel0.com/logoutCallback" ], "change_password": { "enabled": true, @@ -5077,7 +11047,7 @@ "disable_clickjack_protection_headers": false, "enable_pipeline2": false }, - "friendly_name": "My Test Tenant", + "friendly_name": "This tenant name should be preserved", "guardian_mfa_page": { "enabled": true, "html": "MFA\n" @@ -5086,8 +11056,8 @@ "picture_url": "https://upload.wikimedia.org/wikipedia/commons/0/0d/Grandmas_marathon_finishers.png", "sandbox_version": "12", "session_lifetime": 3.0166666666666666, - "support_email": "support@mycompany.org", - "support_url": "https://mycompany.org/support", + "support_email": "support@travel0.com", + "support_url": "https://travel0.com/support", "universal_login": { "colors": { "primary": "#F8F8F2", @@ -5101,37 +11071,5 @@ }, "rawHeaders": [], "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/migrations", - "body": "", - "status": 200, - "response": { - "flags": { - "role_users_offset_pagination_over_thousand": true - } - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "PATCH", - "path": "/api/v2/migrations", - "body": { - "flags": { - "role_users_offset_pagination_over_thousand": true - } - }, - "status": 200, - "response": { - "flags": { - "role_users_offset_pagination_over_thousand": true - } - }, - "rawHeaders": [], - "responseIsBinary": false } -] +] \ No newline at end of file