From 69b8cef56ddc9e3cae55a35d61e199ff1fe2bac7 Mon Sep 17 00:00:00 2001 From: BavoLuysterborg <57801882+BavoLuysterborg@users.noreply.github.com> Date: Fri, 22 Dec 2023 16:49:31 +0100 Subject: [PATCH] Bugfix/issue 875 (#876) * Strip sink.azurePartnerTopic in Log Stream create operations (#875) * Add unit test to validate fix for #875 * Regenerating recordings --------- Co-authored-by: Will Vedder --- src/tools/auth0/handlers/logStreams.ts | 2 +- ...sources-if-AUTH0_ALLOW_DELETE-is-true.json | 3282 ++++++++++++----- ...ources-if-AUTH0_ALLOW_DELETE-is-false.json | 2780 ++++++++------ ...ould-deploy-without-throwing-an-error.json | 415 ++- ...-and-deploy-without-throwing-an-error.json | 511 ++- test/tools/auth0/handlers/logStreams.test.ts | 87 + 6 files changed, 4640 insertions(+), 2437 deletions(-) diff --git a/src/tools/auth0/handlers/logStreams.ts b/src/tools/auth0/handlers/logStreams.ts index 618dbb75b..5aba24910 100644 --- a/src/tools/auth0/handlers/logStreams.ts +++ b/src/tools/auth0/handlers/logStreams.ts @@ -40,7 +40,7 @@ export default class LogStreamsHandler extends DefaultAPIHandler { ...config, type: 'logStreams', stripUpdateFields: ['type'], - stripCreateFields: ['status', 'sink.awsPartnerEventSource'], + stripCreateFields: ['status', 'sink.awsPartnerEventSource', 'sink.azurePartnerTopic'], sensitiveFieldsToObfuscate: [ 'sink.httpAuthorization', 'sink.splunkToken', 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 3aa145dff..5c0660552 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 @@ -6,10 +6,19 @@ "body": "", "status": 200, "response": { - "total": 0, + "total": 1, "start": 0, "limit": 100, - "rules": [] + "rules": [ + { + "id": "rul_lr4Xo8OyXNEz4R6v", + "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_lr4Xo8OyXNEz4R6v", + "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_lr4Xo8OyXNEz4R6v", "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_Sjij7JPRIyGmTeHf", + "id": "rul_lr4Xo8OyXNEz4R6v", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -247,7 +264,8 @@ "colors": { "primary": "#F8F8F2", "page_background": "#222221" - } + }, + "identifier_first": true }, "session_cookie": { "mode": "non-persistent" @@ -893,6 +911,22 @@ "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" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -924,7 +958,7 @@ "body": "", "status": 200, "response": { - "total": 2, + "total": 9, "start": 0, "limit": 100, "clients": [ @@ -994,7 +1028,7 @@ "subject": "deprecated" } ], - "client_id": "ohJchrySIGMHYfCQ4Huey161rE1EmQOm", + "client_id": "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1009,177 +1043,523 @@ "client_credentials" ], "custom_login_page_on": true - } - ] - }, - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "DELETE", - "path": "/api/v2/clients/ohJchrySIGMHYfCQ4Huey161rE1EmQOm", - "body": {}, - "status": 204, - "response": "", - "rawHeaders": [], - "responseIsBinary": false - }, - { - "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", - "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, - "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", - "web_origins": [] - }, - "status": 201, - "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 + { + "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": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", + "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 }, - "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" - } - ], - "allowed_origins": [], - "client_id": "rIhtaYsBG8C2yk7yi4SloLiDwJN5h9KK", - "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": "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)", + "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": "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "callback_url_template": false, + "client_secret": "[REDACTED]", + "jwt_configuration": { + "alg": "RS256", + "lifetime_in_seconds": 36000, + "secret_encoded": false + }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "regular_web", + "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", + "client_credentials" + ], + "web_origins": [], + "custom_login_page_on": true + }, + { + "tenant": "auth0-deploy-cli-e2e", + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "name": "Quickstarts API (Test Application)", + "client_metadata": { + "foo": "bar" + }, + "cross_origin_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": "bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", + "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": "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", + "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": "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, + "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": "WZycF991qhrOzwWsHmECCdnls0r14R8L", + "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": "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", + "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": "DELETE", + "path": "/api/v2/clients/aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", + "body": {}, + "status": 204, + "response": "", + "rawHeaders": [], + "responseIsBinary": false + }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "PATCH", + "path": "/api/v2/clients/RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", + "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": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", + "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/bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", + "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" }, @@ -1196,16 +1576,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": "AuMFvd4rZcROjl8gc8QjyXfifGUh0rJL", + "client_id": "bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1225,26 +1603,30 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", + "method": "PATCH", + "path": "/api/v2/clients/4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", "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, "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": { @@ -1265,15 +1647,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": 201, + "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, @@ -1297,16 +1681,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" } ], - "client_id": "aIN78DlIth5F3iFxZF6BGdWFMst5Qsv5", + "allowed_origins": [], + "client_id": "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1316,10 +1699,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": [], @@ -1327,65 +1714,89 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", + "method": "PATCH", + "path": "/api/v2/clients/FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", "body": { - "name": "Terraform Provider", - "app_type": "non_interactive", + "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, - "secret_encoded": false + "lifetime_in_seconds": 36000 }, - "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, "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": "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, - "encrypted": true, "signing_keys": [ { "cert": "[REDACTED]", - "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "0JvkloSYOQ58IJ7bfA5RhXJprbcmPhda", + "client_id": "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1393,9 +1804,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 @@ -1405,92 +1819,62 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", + "method": "PATCH", + "path": "/api/v2/clients/LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", "body": { - "name": "The Default App", - "allowed_clients": [], - "callbacks": [], - "client_aliases": [], - "client_metadata": {}, + "name": "Terraform Provider", + "app_type": "non_interactive", "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 - }, - "native_social_login": { - "apple": { - "enabled": false - }, - "facebook": { - "enabled": false - } + "lifetime_in_seconds": 36000 }, - "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, "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": "The Default App", - "allowed_clients": [], - "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": 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, - "encrypted": true, "signing_keys": [ { "cert": "[REDACTED]", - "key": "[REDACTED]", "pkcs7": "[REDACTED]", "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "ShABsGq1S5Sbd8eva2qpG8PyeEn5VN61", + "client_id": "LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1498,12 +1882,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 @@ -1513,8 +1894,8 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", + "method": "PATCH", + "path": "/api/v2/clients/WZycF991qhrOzwWsHmECCdnls0r14R8L", "body": { "name": "Test SPA", "allowed_clients": [], @@ -1538,8 +1919,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": { @@ -1565,7 +1945,7 @@ "http://localhost:3000" ] }, - "status": 201, + "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -1600,16 +1980,14 @@ "rotation_type": "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": "ywRnwJqaVZf4a6ahFzEU8A7OBFLLfeGl", + "client_id": "WZycF991qhrOzwWsHmECCdnls0r14R8L", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1635,8 +2013,8 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/clients", + "method": "PATCH", + "path": "/api/v2/clients/PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", "body": { "name": "auth0-deploy-cli-extension", "allowed_clients": [], @@ -1653,8 +2031,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": { @@ -1677,7 +2054,7 @@ "sso_disabled": false, "token_endpoint_auth_method": "client_secret_post" }, - "status": 201, + "status": 200, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, @@ -1707,16 +2084,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": "ODPXCHjP5ewgwaWIgoOAkfkrXoHCID4V", + "client_id": "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1740,19 +2115,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", @@ -1762,7 +2137,7 @@ "default_from_address": "auth0-user@auth0.com", "enabled": false }, - "status": 201, + "status": 200, "response": { "name": "mandrill", "credentials": {}, @@ -1775,13 +2150,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/duo", + "path": "/api/v2/guardian/factors/push-notification", "body": { - "enabled": false + "enabled": true }, "status": 200, "response": { - "enabled": false + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -1789,7 +2164,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -1803,7 +2178,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -1817,7 +2192,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -1831,13 +2206,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/sms", "body": { - "enabled": true + "enabled": false }, "status": 200, "response": { - "enabled": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -1845,7 +2220,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -1859,7 +2234,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -2016,16 +2391,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", @@ -2053,19 +2418,88 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/log-streams", + "method": "GET", + "path": "/api/v2/log-streams?paginate=false", + "body": "", + "status": 200, + "response": [ + { + "id": "lst_0000000000015064", + "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" + }, + "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" + } + ] + }, + { + "id": "lst_0000000000015063", + "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": "PATCH", + "path": "/api/v2/log-streams/lst_0000000000015063", "body": { "name": "Suspended DD Log Stream", "sink": { "datadogApiKey": "some-sensitive-api-key", "datadogRegion": "us" - }, - "type": "datadog" + } }, "status": 200, "response": { - "id": "lst_0000000000013776", + "id": "lst_0000000000015063", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", @@ -2079,8 +2513,8 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/log-streams", + "method": "PATCH", + "path": "/api/v2/log-streams/lst_0000000000015064", "body": { "name": "Amazon EventBridge", "filters": [ @@ -2121,22 +2555,18 @@ "name": "auth.token_exchange.fail" } ], - "sink": { - "awsAccountId": "123456789012", - "awsRegion": "us-east-2" - }, - "type": "eventbridge" + "status": "active" }, "status": 200, "response": { - "id": "lst_0000000000013777", + "id": "lst_0000000000015064", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-79a58600-ea32-48ae-bd81-e289c20ed37f/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-ad7deb22-8b6e-4242-ba40-344f97b05739/auth0.logs" }, "filters": [ { @@ -2198,8 +2628,58 @@ "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" + }, + "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": "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, @@ -2209,6 +2689,7 @@ "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -2216,7 +2697,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2224,6 +2705,7 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -2269,7 +2751,7 @@ } ], "allowed_origins": [], - "client_id": "rIhtaYsBG8C2yk7yi4SloLiDwJN5h9KK", + "client_id": "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2317,7 +2799,7 @@ "subject": "deprecated" } ], - "client_id": "AuMFvd4rZcROjl8gc8QjyXfifGUh0rJL", + "client_id": "bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2336,7 +2818,7 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", + "name": "The Default App", "allowed_clients": [], "callbacks": [], "client_metadata": {}, @@ -2350,16 +2832,17 @@ "enabled": false } }, - "oidc_conformant": true, + "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": [ { @@ -2368,7 +2851,7 @@ "subject": "deprecated" } ], - "client_id": "aIN78DlIth5F3iFxZF6BGdWFMst5Qsv5", + "client_id": "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2378,8 +2861,10 @@ }, "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 @@ -2409,7 +2894,7 @@ "subject": "deprecated" } ], - "client_id": "0JvkloSYOQ58IJ7bfA5RhXJprbcmPhda", + "client_id": "LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2424,61 +2909,6 @@ ], "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": "ShABsGq1S5Sbd8eva2qpG8PyeEn5VN61", - "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, @@ -2520,7 +2950,7 @@ "subject": "deprecated" } ], - "client_id": "ywRnwJqaVZf4a6ahFzEU8A7OBFLLfeGl", + "client_id": "WZycF991qhrOzwWsHmECCdnls0r14R8L", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2577,7 +3007,7 @@ "subject": "deprecated" } ], - "client_id": "ODPXCHjP5ewgwaWIgoOAkfkrXoHCID4V", + "client_id": "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2637,19 +3067,93 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 2, "start": 0, "limit": 100, "connections": [ { - "id": "con_yf17tj2N7LKO6iBp", + "id": "con_K5DvCabszfTqFX2a", + "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": [ + "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + ] + }, + { + "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", @@ -2674,19 +3178,93 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 2, "start": 0, "limit": 100, "connections": [ { - "id": "con_yf17tj2N7LKO6iBp", + "id": "con_K5DvCabszfTqFX2a", + "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": [ + "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + ] + }, + { + "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", @@ -2707,25 +3285,93 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_yf17tj2N7LKO6iBp", + "path": "/api/v2/connections/con_qavKC44AnXdVIktG", "body": {}, "status": 202, "response": { - "deleted_at": "2023-10-27T17:58:21.317Z" + "deleted_at": "2023-12-22T14:45:57.357Z" }, "rawHeaders": [], "responseIsBinary": false }, { "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_K5DvCabszfTqFX2a", + "body": "", + "status": 200, + "response": { + "id": "con_K5DvCabszfTqFX2a", + "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": [ + "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + ], + "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_K5DvCabszfTqFX2a", + "body": { "enabled_clients": [ - "rIhtaYsBG8C2yk7yi4SloLiDwJN5h9KK", - "ODPXCHjP5ewgwaWIgoOAkfkrXoHCID4V" + "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" ], "is_domain_connection": false, "options": { @@ -2744,6 +3390,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 @@ -2754,6 +3405,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -2767,25 +3426,30 @@ "boo-baz-db-connection-test" ] }, - "status": 201, + "status": 200, "response": { - "id": "con_i71jW6OTkuVtMpGT", + "id": "con_K5DvCabszfTqFX2a", "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 @@ -2796,6 +3460,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -2809,8 +3481,8 @@ "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "ODPXCHjP5ewgwaWIgoOAkfkrXoHCID4V", - "rIhtaYsBG8C2yk7yi4SloLiDwJN5h9KK" + "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" ], "realms": [ "boo-baz-db-connection-test" @@ -2874,9 +3546,8 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", + "name": "API Explorer Application", "allowed_clients": [], - "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, @@ -2907,8 +3578,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "rIhtaYsBG8C2yk7yi4SloLiDwJN5h9KK", + "client_id": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2918,26 +3588,31 @@ }, "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": "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", @@ -2956,7 +3631,8 @@ "subject": "deprecated" } ], - "client_id": "AuMFvd4rZcROjl8gc8QjyXfifGUh0rJL", + "allowed_origins": [], + "client_id": "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2964,31 +3640,28 @@ "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": "API Explorer Application", - "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": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3007,7 +3680,7 @@ "subject": "deprecated" } ], - "client_id": "aIN78DlIth5F3iFxZF6BGdWFMst5Qsv5", + "client_id": "bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3015,7 +3688,6 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -3027,19 +3699,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": [ { @@ -3048,7 +3732,7 @@ "subject": "deprecated" } ], - "client_id": "0JvkloSYOQ58IJ7bfA5RhXJprbcmPhda", + "client_id": "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3056,9 +3740,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 @@ -3067,31 +3754,19 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "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": 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": [ { @@ -3100,7 +3775,7 @@ "subject": "deprecated" } ], - "client_id": "ShABsGq1S5Sbd8eva2qpG8PyeEn5VN61", + "client_id": "LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3108,12 +3783,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 @@ -3159,7 +3831,7 @@ "subject": "deprecated" } ], - "client_id": "ywRnwJqaVZf4a6ahFzEU8A7OBFLLfeGl", + "client_id": "WZycF991qhrOzwWsHmECCdnls0r14R8L", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3216,7 +3888,7 @@ "subject": "deprecated" } ], - "client_id": "ODPXCHjP5ewgwaWIgoOAkfkrXoHCID4V", + "client_id": "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3276,12 +3948,12 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 2, "start": 0, "limit": 100, "connections": [ { - "id": "con_i71jW6OTkuVtMpGT", + "id": "con_K5DvCabszfTqFX2a", "options": { "mfa": { "active": true, @@ -3298,6 +3970,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 @@ -3308,6 +3985,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -3324,8 +4009,29 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "ODPXCHjP5ewgwaWIgoOAkfkrXoHCID4V", - "rIhtaYsBG8C2yk7yi4SloLiDwJN5h9KK" + "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + ] + }, + { + "id": "con_F6FupkR2JVv0xmQV", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", + "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" ] } ] @@ -3340,12 +4046,12 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 2, "start": 0, "limit": 100, "connections": [ { - "id": "con_i71jW6OTkuVtMpGT", + "id": "con_K5DvCabszfTqFX2a", "options": { "mfa": { "active": true, @@ -3362,6 +4068,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 @@ -3372,6 +4083,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -3388,8 +4107,29 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "ODPXCHjP5ewgwaWIgoOAkfkrXoHCID4V", - "rIhtaYsBG8C2yk7yi4SloLiDwJN5h9KK" + "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" + ] + }, + { + "id": "con_F6FupkR2JVv0xmQV", + "options": { + "email": true, + "scope": [ + "email", + "profile" + ], + "profile": true + }, + "strategy": "google-oauth2", + "name": "google-oauth2", + "is_domain_connection": false, + "realms": [ + "google-oauth2" + ], + "enabled_clients": [ + "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", + "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" ] } ] @@ -3399,14 +4139,12 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/connections", + "method": "PATCH", + "path": "/api/v2/connections/con_F6FupkR2JVv0xmQV", "body": { - "name": "google-oauth2", - "strategy": "google-oauth2", "enabled_clients": [ - "ShABsGq1S5Sbd8eva2qpG8PyeEn5VN61", - "ODPXCHjP5ewgwaWIgoOAkfkrXoHCID4V" + "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", + "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" ], "is_domain_connection": false, "options": { @@ -3418,9 +4156,9 @@ "profile": true } }, - "status": 201, + "status": 200, "response": { - "id": "con_WEXY9ZnXOS8DngUu", + "id": "con_F6FupkR2JVv0xmQV", "options": { "email": true, "scope": [ @@ -3433,8 +4171,8 @@ "name": "google-oauth2", "is_domain_connection": false, "enabled_clients": [ - "ODPXCHjP5ewgwaWIgoOAkfkrXoHCID4V", - "ShABsGq1S5Sbd8eva2qpG8PyeEn5VN61" + "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", + "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" ], "realms": [ "google-oauth2" @@ -3552,9 +4290,8 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", + "name": "API Explorer Application", "allowed_clients": [], - "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, @@ -3585,8 +4322,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "rIhtaYsBG8C2yk7yi4SloLiDwJN5h9KK", + "client_id": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3596,26 +4332,31 @@ }, "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": "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", @@ -3634,7 +4375,8 @@ "subject": "deprecated" } ], - "client_id": "AuMFvd4rZcROjl8gc8QjyXfifGUh0rJL", + "allowed_origins": [], + "client_id": "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3642,31 +4384,28 @@ "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": "API Explorer Application", - "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": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3685,7 +4424,7 @@ "subject": "deprecated" } ], - "client_id": "aIN78DlIth5F3iFxZF6BGdWFMst5Qsv5", + "client_id": "bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3693,7 +4432,6 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -3705,19 +4443,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": [ { @@ -3726,7 +4476,7 @@ "subject": "deprecated" } ], - "client_id": "0JvkloSYOQ58IJ7bfA5RhXJprbcmPhda", + "client_id": "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3734,9 +4484,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 @@ -3745,31 +4498,19 @@ "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, + "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": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso": false, "sso_disabled": false, "signing_keys": [ { @@ -3778,7 +4519,7 @@ "subject": "deprecated" } ], - "client_id": "ShABsGq1S5Sbd8eva2qpG8PyeEn5VN61", + "client_id": "LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3786,12 +4527,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 @@ -3837,7 +4575,7 @@ "subject": "deprecated" } ], - "client_id": "ywRnwJqaVZf4a6ahFzEU8A7OBFLLfeGl", + "client_id": "WZycF991qhrOzwWsHmECCdnls0r14R8L", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3894,7 +4632,7 @@ "subject": "deprecated" } ], - "client_id": "ODPXCHjP5ewgwaWIgoOAkfkrXoHCID4V", + "client_id": "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3954,12 +4692,286 @@ "body": "", "status": 200, "response": { - "total": 1, + "total": 3, "start": 0, "limit": 100, "client_grants": [ { - "id": "cgr_Uvfv2anWyTWpI1qQ", + "id": "cgr_gTGj8tQZaiX5UlSe", + "client_id": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", + "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_oq3uveZxzwc7wss0", + "client_id": "LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", + "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": [ @@ -4130,11 +5142,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_gTGj8tQZaiX5UlSe", "body": { - "client_id": "aIN78DlIth5F3iFxZF6BGdWFMst5Qsv5", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", "create:client_grants", @@ -4268,10 +5278,10 @@ "delete:organization_invitations" ] }, - "status": 201, + "status": 200, "response": { - "id": "cgr_mgrh7iyIZ4W0zrep", - "client_id": "aIN78DlIth5F3iFxZF6BGdWFMst5Qsv5", + "id": "cgr_gTGj8tQZaiX5UlSe", + "client_id": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4411,11 +5421,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_oq3uveZxzwc7wss0", "body": { - "client_id": "0JvkloSYOQ58IJ7bfA5RhXJprbcmPhda", - "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", "create:client_grants", @@ -4549,10 +5557,10 @@ "delete:organization_invitations" ] }, - "status": 201, + "status": 200, "response": { - "id": "cgr_yGReGyOkgUBrfmKG", - "client_id": "0JvkloSYOQ58IJ7bfA5RhXJprbcmPhda", + "id": "cgr_oq3uveZxzwc7wss0", + "client_id": "LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4697,7 +5705,43 @@ "body": "", "status": 200, "response": { - "roles": [], + "roles": [ + { + "id": "rol_akyigjRpa1CNc2RA", + "name": "Admin", + "description": "Can read and write things" + }, + { + "id": "rol_BXNSxZlMD6p3fj8y", + "name": "Reader", + "description": "Can only read things" + }, + { + "id": "rol_D8YUHJmpsX4Gxn7W", + "name": "read_only", + "description": "Read Only" + }, + { + "id": "rol_ZjTN0eReZsvpoZRw", + "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_akyigjRpa1CNc2RA/permissions?include_totals=true&page=0&per_page=100", + "body": "", + "status": 200, + "response": { + "permissions": [], "start": 0, "limit": 100, "total": 0 @@ -4707,15 +5751,60 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/roles", + "method": "GET", + "path": "/api/v2/roles/rol_BXNSxZlMD6p3fj8y/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_D8YUHJmpsX4Gxn7W/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_ZjTN0eReZsvpoZRw/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": "PATCH", + "path": "/api/v2/roles/rol_akyigjRpa1CNc2RA", "body": { "name": "Admin", "description": "Can read and write things" }, "status": 200, "response": { - "id": "rol_VFV74oRWWXdG425f", + "id": "rol_akyigjRpa1CNc2RA", "name": "Admin", "description": "Can read and write things" }, @@ -4724,15 +5813,15 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/roles", + "method": "PATCH", + "path": "/api/v2/roles/rol_BXNSxZlMD6p3fj8y", "body": { "name": "Reader", "description": "Can only read things" }, "status": 200, "response": { - "id": "rol_GYGhQHbigkWhaDGp", + "id": "rol_BXNSxZlMD6p3fj8y", "name": "Reader", "description": "Can only read things" }, @@ -4741,15 +5830,15 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/roles", + "method": "PATCH", + "path": "/api/v2/roles/rol_D8YUHJmpsX4Gxn7W", "body": { "name": "read_only", "description": "Read Only" }, "status": 200, "response": { - "id": "rol_fuGysc36ODvKYBtX", + "id": "rol_D8YUHJmpsX4Gxn7W", "name": "read_only", "description": "Read Only" }, @@ -4758,15 +5847,15 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/roles", + "method": "PATCH", + "path": "/api/v2/roles/rol_ZjTN0eReZsvpoZRw", "body": { "name": "read_osnly", "description": "Readz Only" }, "status": 200, "response": { - "id": "rol_Y0tWSxZo0gb0Lpjn", + "id": "rol_ZjTN0eReZsvpoZRw", "name": "read_osnly", "description": "Readz Only" }, @@ -4780,7 +5869,56 @@ "body": "", "status": 200, "response": { - "actions": [], + "actions": [ + { + "id": "e805e03c-f0a3-4915-9c55-5f5c3acf9a4a", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2023-12-22T14:45:43.350819427Z", + "updated_at": "2023-12-22T14:45:43.371906693Z", + "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", + "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" + }, + "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", + "deployed": true, + "number": 1, + "built_at": "2023-12-22T14:45:44.108234134Z", + "secrets": [], + "status": "built", + "created_at": "2023-12-22T14:45:44.002123868Z", + "updated_at": "2023-12-22T14:45:44.109212689Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true + } + ], + "total": 1, "per_page": 100 }, "rawHeaders": [], @@ -4788,8 +5926,8 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/actions/actions", + "method": "PATCH", + "path": "/api/v2/actions/actions/e805e03c-f0a3-4915-9c55-5f5c3acf9a4a", "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", @@ -4803,9 +5941,9 @@ } ] }, - "status": 201, + "status": 200, "response": { - "id": "4527e217-e35f-43e0-b09e-9b89156783f0", + "id": "e805e03c-f0a3-4915-9c55-5f5c3acf9a4a", "name": "My Custom Action", "supported_triggers": [ { @@ -4813,14 +5951,43 @@ "version": "v2" } ], - "created_at": "2023-10-27T17:58:23.504387838Z", - "updated_at": "2023-10-27T17:58:23.527609242Z", + "created_at": "2023-12-22T14:45:43.350819427Z", + "updated_at": "2023-12-22T14:46:00.070960661Z", "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": "a657fb2e-7560-4955-837c-a68bc9d17c1b", + "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" + }, + "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", + "deployed": true, + "number": 1, + "built_at": "2023-12-22T14:45:44.108234134Z", + "secrets": [], + "status": "built", + "created_at": "2023-12-22T14:45:44.002123868Z", + "updated_at": "2023-12-22T14:45:44.109212689Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true }, "rawHeaders": [], "responseIsBinary": false @@ -4834,7 +6001,7 @@ "response": { "actions": [ { - "id": "4527e217-e35f-43e0-b09e-9b89156783f0", + "id": "e805e03c-f0a3-4915-9c55-5f5c3acf9a4a", "name": "My Custom Action", "supported_triggers": [ { @@ -4842,14 +6009,43 @@ "version": "v2" } ], - "created_at": "2023-10-27T17:58:23.504387838Z", - "updated_at": "2023-10-27T17:58:23.527609242Z", + "created_at": "2023-12-22T14:45:43.350819427Z", + "updated_at": "2023-12-22T14:46:00.070960661Z", "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": "a657fb2e-7560-4955-837c-a68bc9d17c1b", + "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" + }, + "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", + "deployed": true, + "number": 1, + "built_at": "2023-12-22T14:45:44.108234134Z", + "secrets": [], + "status": "built", + "created_at": "2023-12-22T14:45:44.002123868Z", + "updated_at": "2023-12-22T14:45:44.109212689Z", + "runtime": "node16", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ] + }, + "all_changes_deployed": true } ], "total": 1, @@ -4861,39 +6057,100 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "POST", - "path": "/api/v2/actions/actions/4527e217-e35f-43e0-b09e-9b89156783f0/deploy", + "path": "/api/v2/actions/actions/e805e03c-f0a3-4915-9c55-5f5c3acf9a4a/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": "aa09492f-33b0-4c1c-82cc-d52f70749fa7", + "id": "499c9883-f19b-4144-90aa-03f09d13273e", "deployed": false, - "number": 1, + "number": 2, "secrets": [], "status": "built", - "created_at": "2023-10-27T17:58:23.825684110Z", - "updated_at": "2023-10-27T17:58:23.825684110Z", + "created_at": "2023-12-22T14:46:00.330514258Z", + "updated_at": "2023-12-22T14:46:00.330514258Z", "runtime": "node16", "supported_triggers": [ { - "id": "post-login", - "version": "v2" + "id": "post-login", + "version": "v2" + } + ], + "action": { + "id": "e805e03c-f0a3-4915-9c55-5f5c3acf9a4a", + "name": "My Custom Action", + "supported_triggers": [ + { + "id": "post-login", + "version": "v2" + } + ], + "created_at": "2023-12-22T14:45:43.350819427Z", + "updated_at": "2023-12-22T14:46:00.044033047Z", + "all_changes_deployed": false + } + }, + "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": [ + { + "id": "org_X3jse0Pb1WGt3TwO", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_SfCOLMvgKxL7kirf", + "name": "org2", + "display_name": "Organization2" + } + ], + "start": 0, + "limit": 50, + "total": 2 + }, + "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": [ + { + "id": "org_X3jse0Pb1WGt3TwO", + "name": "org1", + "display_name": "Organization", + "branding": { + "colors": { + "page_background": "#fff5f5", + "primary": "#57ddff" + } + } + }, + { + "id": "org_SfCOLMvgKxL7kirf", + "name": "org2", + "display_name": "Organization2" } - ], - "action": { - "id": "4527e217-e35f-43e0-b09e-9b89156783f0", - "name": "My Custom Action", - "supported_triggers": [ - { - "id": "post-login", - "version": "v2" - } - ], - "created_at": "2023-10-27T17:58:23.504387838Z", - "updated_at": "2023-10-27T17:58:23.504387838Z", - "all_changes_deployed": false - } + ] }, "rawHeaders": [], "responseIsBinary": false @@ -4901,27 +6158,20 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?include_totals=true", + "path": "/api/v2/organizations/org_X3jse0Pb1WGt3TwO/enabled_connections", "body": "", "status": 200, - "response": { - "organizations": [], - "start": 0, - "limit": 50, - "total": 0 - }, + "response": [], "rawHeaders": [], "responseIsBinary": false }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?include_totals=true&take=50", + "path": "/api/v2/organizations/org_SfCOLMvgKxL7kirf/enabled_connections", "body": "", "status": 200, - "response": { - "organizations": [] - }, + "response": [], "rawHeaders": [], "responseIsBinary": false }, @@ -4937,7 +6187,7 @@ "limit": 100, "connections": [ { - "id": "con_i71jW6OTkuVtMpGT", + "id": "con_K5DvCabszfTqFX2a", "options": { "mfa": { "active": true, @@ -4954,6 +6204,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 @@ -4964,6 +6219,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -4980,12 +6243,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "ODPXCHjP5ewgwaWIgoOAkfkrXoHCID4V", - "rIhtaYsBG8C2yk7yi4SloLiDwJN5h9KK" + "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", + "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" ] }, { - "id": "con_WEXY9ZnXOS8DngUu", + "id": "con_F6FupkR2JVv0xmQV", "options": { "email": true, "scope": [ @@ -5001,8 +6264,8 @@ "google-oauth2" ], "enabled_clients": [ - "ODPXCHjP5ewgwaWIgoOAkfkrXoHCID4V", - "ShABsGq1S5Sbd8eva2qpG8PyeEn5VN61" + "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", + "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN" ] } ] @@ -5012,10 +6275,9 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "POST", - "path": "/api/v2/organizations", + "method": "PATCH", + "path": "/api/v2/organizations/org_X3jse0Pb1WGt3TwO", "body": { - "name": "org1", "branding": { "colors": { "page_background": "#fff5f5", @@ -5024,34 +6286,33 @@ }, "display_name": "Organization" }, - "status": 201, + "status": 200, "response": { - "name": "org1", "branding": { "colors": { "page_background": "#fff5f5", "primary": "#57ddff" } }, + "id": "org_X3jse0Pb1WGt3TwO", "display_name": "Organization", - "id": "org_AvcDY3hlJsPXIrF6" + "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_SfCOLMvgKxL7kirf", "body": { - "name": "org2", "display_name": "Organization2" }, - "status": 201, + "status": 200, "response": { - "name": "org2", + "id": "org_SfCOLMvgKxL7kirf", "display_name": "Organization2", - "id": "org_6JCwlF8xQAPNoP8s" + "name": "org2" }, "rawHeaders": [], "responseIsBinary": false @@ -5148,7 +6409,8 @@ "colors": { "primary": "#F8F8F2", "page_background": "#222221" - } + }, + "identifier_first": true }, "session_cookie": { "mode": "non-persistent" @@ -5169,7 +6431,7 @@ "limit": 100, "rules": [ { - "id": "rul_Sjij7JPRIyGmTeHf", + "id": "rul_lr4Xo8OyXNEz4R6v", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -5193,7 +6455,7 @@ "limit": 100, "rules": [ { - "id": "rul_Sjij7JPRIyGmTeHf", + "id": "rul_lr4Xo8OyXNEz4R6v", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -5208,7 +6470,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/rules/rul_Sjij7JPRIyGmTeHf", + "path": "/api/v2/rules/rul_lr4Xo8OyXNEz4R6v", "body": {}, "status": 204, "response": "", @@ -5882,6 +7144,22 @@ "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" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -5961,9 +7239,8 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Node App", + "name": "API Explorer Application", "allowed_clients": [], - "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, @@ -5994,8 +7271,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "rIhtaYsBG8C2yk7yi4SloLiDwJN5h9KK", + "client_id": "RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6005,26 +7281,31 @@ }, "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": "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", @@ -6043,7 +7324,8 @@ "subject": "deprecated" } ], - "client_id": "AuMFvd4rZcROjl8gc8QjyXfifGUh0rJL", + "allowed_origins": [], + "client_id": "4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6051,31 +7333,28 @@ "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": "API Explorer Application", - "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": true, "refresh_token": { "expiration_type": "non-expiring", @@ -6094,7 +7373,7 @@ "subject": "deprecated" } ], - "client_id": "aIN78DlIth5F3iFxZF6BGdWFMst5Qsv5", + "client_id": "bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6102,7 +7381,6 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -6114,19 +7392,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": [ { @@ -6135,7 +7425,7 @@ "subject": "deprecated" } ], - "client_id": "0JvkloSYOQ58IJ7bfA5RhXJprbcmPhda", + "client_id": "FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6143,9 +7433,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 @@ -6154,31 +7447,19 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "The Default App", - "allowed_clients": [], - "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": 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": [ { @@ -6187,7 +7468,7 @@ "subject": "deprecated" } ], - "client_id": "ShABsGq1S5Sbd8eva2qpG8PyeEn5VN61", + "client_id": "LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6195,12 +7476,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 @@ -6246,7 +7524,7 @@ "subject": "deprecated" } ], - "client_id": "ywRnwJqaVZf4a6ahFzEU8A7OBFLLfeGl", + "client_id": "WZycF991qhrOzwWsHmECCdnls0r14R8L", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6303,7 +7581,7 @@ "subject": "deprecated" } ], - "client_id": "ODPXCHjP5ewgwaWIgoOAkfkrXoHCID4V", + "client_id": "PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6327,7 +7605,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/AuMFvd4rZcROjl8gc8QjyXfifGUh0rJL", + "path": "/api/v2/clients/RISe90DMj8TYCqt0dX14Qp9Mh2JNqC1A", "body": {}, "status": 204, "response": "", @@ -6337,7 +7615,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/rIhtaYsBG8C2yk7yi4SloLiDwJN5h9KK", + "path": "/api/v2/clients/4MgHIXo0wZ7u90rrycMN8I11XmbbC0Ax", "body": {}, "status": 204, "response": "", @@ -6347,7 +7625,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/aIN78DlIth5F3iFxZF6BGdWFMst5Qsv5", + "path": "/api/v2/clients/bPI0YoW8tVuPzNv5pk3vSftlPbzT5UbM", "body": {}, "status": 204, "response": "", @@ -6357,7 +7635,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/0JvkloSYOQ58IJ7bfA5RhXJprbcmPhda", + "path": "/api/v2/clients/FRxIplFoWIhKqwDz5Qo3MvuJowBbsXxJ", "body": {}, "status": 204, "response": "", @@ -6367,7 +7645,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/ShABsGq1S5Sbd8eva2qpG8PyeEn5VN61", + "path": "/api/v2/clients/LKpF9l0hv7A0v8UjXfFZ1zn2J7ZxVu3K", "body": {}, "status": 204, "response": "", @@ -6377,7 +7655,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/ywRnwJqaVZf4a6ahFzEU8A7OBFLLfeGl", + "path": "/api/v2/clients/WZycF991qhrOzwWsHmECCdnls0r14R8L", "body": {}, "status": 204, "response": "", @@ -6387,7 +7665,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/clients/ODPXCHjP5ewgwaWIgoOAkfkrXoHCID4V", + "path": "/api/v2/clients/PFX8PjbMn07NXLHgVjr8aZaAEpupYtyN", "body": {}, "status": 204, "response": "", @@ -6457,7 +7735,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6504,7 +7782,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/push-notification", "body": { "enabled": false }, @@ -6518,7 +7796,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/email", "body": { "enabled": false }, @@ -6532,7 +7810,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 }, @@ -6560,7 +7838,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -6574,7 +7852,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 }, @@ -6588,7 +7866,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 }, @@ -6602,7 +7880,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -6669,69 +7947,22 @@ { "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", + "path": "/api/v2/attack-protection/breached-password-detection", "body": { - "enabled": true, - "shields": [ - "admin_notification", - "block" - ], - "allowlist": [], - "stage": { - "pre-login": { - "max_attempts": 100, - "rate": 864000 - }, - "pre-user-registration": { - "max_attempts": 50, - "rate": 1200 - } - } + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" }, "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": [] } } }, @@ -6746,7 +7977,7 @@ "status": 200, "response": [ { - "id": "lst_0000000000013776", + "id": "lst_0000000000015063", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", @@ -6756,14 +7987,14 @@ } }, { - "id": "lst_0000000000013777", + "id": "lst_0000000000015064", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-79a58600-ea32-48ae-bd81-e289c20ed37f/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-ad7deb22-8b6e-4242-ba40-344f97b05739/auth0.logs" }, "filters": [ { @@ -6811,22 +8042,69 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/breached-password-detection", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": { + "enabled": 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": 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": { + "max_attempts": 50, + "rate": 1200 + } + } }, "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 } } }, @@ -6836,7 +8114,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/log-streams/lst_0000000000013776", + "path": "/api/v2/log-streams/lst_0000000000015063", "body": {}, "status": 204, "response": "", @@ -6846,7 +8124,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/log-streams/lst_0000000000013777", + "path": "/api/v2/log-streams/lst_0000000000015064", "body": {}, "status": 204, "response": "", @@ -6930,7 +8208,7 @@ "subject": "deprecated" } ], - "client_id": "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6995,7 +8273,7 @@ "limit": 100, "connections": [ { - "id": "con_i71jW6OTkuVtMpGT", + "id": "con_K5DvCabszfTqFX2a", "options": { "mfa": { "active": true, @@ -7012,6 +8290,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 @@ -7022,6 +8305,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -7056,7 +8347,7 @@ "limit": 100, "connections": [ { - "id": "con_i71jW6OTkuVtMpGT", + "id": "con_K5DvCabszfTqFX2a", "options": { "mfa": { "active": true, @@ -7073,6 +8364,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 @@ -7083,6 +8379,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -7108,11 +8412,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_i71jW6OTkuVtMpGT", + "path": "/api/v2/connections/con_K5DvCabszfTqFX2a", "body": {}, "status": 202, "response": { - "deleted_at": "2023-10-27T17:58:32.226Z" + "deleted_at": "2023-12-22T14:46:11.010Z" }, "rawHeaders": [], "responseIsBinary": false @@ -7126,7 +8430,7 @@ "strategy": "auth0", "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD" + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ], "is_domain_connection": false, "options": { @@ -7144,7 +8448,7 @@ }, "status": 201, "response": { - "id": "con_jqlYBGj0EXGWWwDq", + "id": "con_eSHGfDptLUMkQdaq", "options": { "mfa": { "active": true, @@ -7152,14 +8456,27 @@ }, "passwordPolicy": "good", "strategy_version": 2, - "brute_force_protection": true + "brute_force_protection": true, + "authentication_methods": { + "password": { + "enabled": true + }, + "passkey": { + "enabled": false + } + }, + "passkey_options": { + "challenge_ui": "both", + "progressive_enrollment_enabled": true, + "local_enrollment_enabled": true + } }, "strategy": "auth0", "name": "Username-Password-Authentication", "is_domain_connection": false, "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ], "realms": [ "Username-Password-Authentication" @@ -7245,7 +8562,7 @@ "subject": "deprecated" } ], - "client_id": "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7310,7 +8627,7 @@ "limit": 100, "connections": [ { - "id": "con_WEXY9ZnXOS8DngUu", + "id": "con_F6FupkR2JVv0xmQV", "options": { "email": true, "scope": [ @@ -7328,14 +8645,27 @@ "enabled_clients": [] }, { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -7345,8 +8675,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -7366,7 +8696,7 @@ "limit": 100, "connections": [ { - "id": "con_WEXY9ZnXOS8DngUu", + "id": "con_F6FupkR2JVv0xmQV", "options": { "email": true, "scope": [ @@ -7384,14 +8714,27 @@ "enabled_clients": [] }, { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -7401,8 +8744,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -7413,11 +8756,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/connections/con_WEXY9ZnXOS8DngUu", + "path": "/api/v2/connections/con_F6FupkR2JVv0xmQV", "body": {}, "status": 202, "response": { - "deleted_at": "2023-10-27T17:58:32.981Z" + "deleted_at": "2023-12-22T14:46:11.672Z" }, "rawHeaders": [], "responseIsBinary": false @@ -7499,7 +8842,7 @@ "subject": "deprecated" } ], - "client_id": "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7564,7 +8907,7 @@ "limit": 100, "client_grants": [ { - "id": "cgr_Uvfv2anWyTWpI1qQ", + "id": "cgr_t3j1isctGZmOVylt", "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ @@ -7742,22 +9085,22 @@ "response": { "roles": [ { - "id": "rol_VFV74oRWWXdG425f", + "id": "rol_akyigjRpa1CNc2RA", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_GYGhQHbigkWhaDGp", + "id": "rol_BXNSxZlMD6p3fj8y", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_fuGysc36ODvKYBtX", + "id": "rol_D8YUHJmpsX4Gxn7W", "name": "read_only", "description": "Read Only" }, { - "id": "rol_Y0tWSxZo0gb0Lpjn", + "id": "rol_ZjTN0eReZsvpoZRw", "name": "read_osnly", "description": "Readz Only" } @@ -7772,7 +9115,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_VFV74oRWWXdG425f/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_akyigjRpa1CNc2RA/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -7787,7 +9130,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_GYGhQHbigkWhaDGp/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_BXNSxZlMD6p3fj8y/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -7802,7 +9145,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_fuGysc36ODvKYBtX/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_D8YUHJmpsX4Gxn7W/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -7817,7 +9160,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_Y0tWSxZo0gb0Lpjn/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_ZjTN0eReZsvpoZRw/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -7832,7 +9175,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_VFV74oRWWXdG425f", + "path": "/api/v2/roles/rol_akyigjRpa1CNc2RA", "body": {}, "status": 200, "response": {}, @@ -7842,7 +9185,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_GYGhQHbigkWhaDGp", + "path": "/api/v2/roles/rol_BXNSxZlMD6p3fj8y", "body": {}, "status": 200, "response": {}, @@ -7852,7 +9195,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_fuGysc36ODvKYBtX", + "path": "/api/v2/roles/rol_D8YUHJmpsX4Gxn7W", "body": {}, "status": 200, "response": {}, @@ -7862,7 +9205,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/roles/rol_Y0tWSxZo0gb0Lpjn", + "path": "/api/v2/roles/rol_ZjTN0eReZsvpoZRw", "body": {}, "status": 200, "response": {}, @@ -7878,7 +9221,7 @@ "response": { "actions": [ { - "id": "4527e217-e35f-43e0-b09e-9b89156783f0", + "id": "e805e03c-f0a3-4915-9c55-5f5c3acf9a4a", "name": "My Custom Action", "supported_triggers": [ { @@ -7886,34 +9229,34 @@ "version": "v2" } ], - "created_at": "2023-10-27T17:58:23.504387838Z", - "updated_at": "2023-10-27T17:58:23.527609242Z", + "created_at": "2023-12-22T14:45:43.350819427Z", + "updated_at": "2023-12-22T14:46:00.070960661Z", "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": "aa09492f-33b0-4c1c-82cc-d52f70749fa7", + "id": "499c9883-f19b-4144-90aa-03f09d13273e", "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-10-27T17:58:23.993986433Z", - "created_at": "2023-10-27T17:58:23.825684110Z", - "updated_at": "2023-10-27T17:58:23.994943778Z" + "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" }, "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": "aa09492f-33b0-4c1c-82cc-d52f70749fa7", + "id": "499c9883-f19b-4144-90aa-03f09d13273e", "deployed": true, - "number": 1, - "built_at": "2023-10-27T17:58:23.993986433Z", + "number": 2, + "built_at": "2023-12-22T14:46:00.414694589Z", "secrets": [], "status": "built", - "created_at": "2023-10-27T17:58:23.825684110Z", - "updated_at": "2023-10-27T17:58:23.994943778Z", + "created_at": "2023-12-22T14:46:00.330514258Z", + "updated_at": "2023-12-22T14:46:00.415386737Z", "runtime": "node16", "supported_triggers": [ { @@ -7934,7 +9277,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/actions/actions/4527e217-e35f-43e0-b09e-9b89156783f0?force=true", + "path": "/api/v2/actions/actions/e805e03c-f0a3-4915-9c55-5f5c3acf9a4a?force=true", "body": {}, "status": 204, "response": "", @@ -7963,7 +9306,7 @@ "response": { "organizations": [ { - "id": "org_AvcDY3hlJsPXIrF6", + "id": "org_X3jse0Pb1WGt3TwO", "name": "org1", "display_name": "Organization", "branding": { @@ -7974,7 +9317,7 @@ } }, { - "id": "org_6JCwlF8xQAPNoP8s", + "id": "org_SfCOLMvgKxL7kirf", "name": "org2", "display_name": "Organization2" } @@ -7995,7 +9338,7 @@ "response": { "organizations": [ { - "id": "org_AvcDY3hlJsPXIrF6", + "id": "org_X3jse0Pb1WGt3TwO", "name": "org1", "display_name": "Organization", "branding": { @@ -8006,7 +9349,7 @@ } }, { - "id": "org_6JCwlF8xQAPNoP8s", + "id": "org_SfCOLMvgKxL7kirf", "name": "org2", "display_name": "Organization2" } @@ -8018,7 +9361,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_AvcDY3hlJsPXIrF6/enabled_connections", + "path": "/api/v2/organizations/org_X3jse0Pb1WGt3TwO/enabled_connections", "body": "", "status": 200, "response": [], @@ -8028,7 +9371,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_6JCwlF8xQAPNoP8s/enabled_connections", + "path": "/api/v2/organizations/org_SfCOLMvgKxL7kirf/enabled_connections", "body": "", "status": 200, "response": [], @@ -8047,14 +9390,27 @@ "limit": 100, "connections": [ { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -8064,8 +9420,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -8076,7 +9432,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/organizations/org_AvcDY3hlJsPXIrF6", + "path": "/api/v2/organizations/org_SfCOLMvgKxL7kirf", "body": {}, "status": 204, "response": "", @@ -8086,7 +9442,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "DELETE", - "path": "/api/v2/organizations/org_6JCwlF8xQAPNoP8s", + "path": "/api/v2/organizations/org_X3jse0Pb1WGt3TwO", "body": {}, "status": 204, "response": "", @@ -8160,7 +9516,8 @@ "colors": { "primary": "#F8F8F2", "page_background": "#222221" - } + }, + "identifier_first": true }, "session_cookie": { "mode": "non-persistent" @@ -8965,6 +10322,22 @@ "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" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -9066,7 +10439,7 @@ "subject": "deprecated" } ], - "client_id": "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -9099,14 +10472,27 @@ "limit": 100, "connections": [ { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -9116,8 +10502,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -9137,14 +10523,27 @@ "limit": 100, "connections": [ { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -9154,8 +10553,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -9252,7 +10651,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/reset_email", "body": "", "status": 404, "response": { @@ -9267,7 +10666,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/blocked_account", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", "status": 404, "response": { @@ -9282,7 +10681,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/blocked_account", "body": "", "status": 404, "response": { @@ -9297,17 +10696,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/verify_email", + "path": "/api/v2/email-templates/change_password", "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 @@ -9315,7 +10711,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/password_reset", + "path": "/api/v2/email-templates/user_invitation", "body": "", "status": 404, "response": { @@ -9330,7 +10726,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/enrollment_email", "body": "", "status": 404, "response": { @@ -9345,7 +10741,7 @@ { "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_by_code", "body": "", "status": 404, "response": { @@ -9379,7 +10775,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/mfa_oob_code", "body": "", "status": 404, "response": { @@ -9394,14 +10790,17 @@ { "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", "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 @@ -9409,7 +10808,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": { @@ -9433,7 +10832,7 @@ "limit": 100, "client_grants": [ { - "id": "cgr_Uvfv2anWyTWpI1qQ", + "id": "cgr_t3j1isctGZmOVylt", "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ @@ -9853,7 +11252,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/custom-text/en", + "path": "/api/v2/prompts/login/custom-text/en", "body": "", "status": 200, "response": {}, @@ -9863,7 +11262,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/custom-text/en", + "path": "/api/v2/prompts/login-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -9873,7 +11272,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/custom-text/en", + "path": "/api/v2/prompts/login-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -9933,7 +11332,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-push/custom-text/en", + "path": "/api/v2/prompts/mfa-otp/custom-text/en", "body": "", "status": 200, "response": {}, @@ -9943,7 +11342,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-otp/custom-text/en", + "path": "/api/v2/prompts/mfa-push/custom-text/en", "body": "", "status": 200, "response": {}, @@ -9963,7 +11362,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": {}, @@ -9973,7 +11372,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": {}, @@ -10013,7 +11412,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/status/custom-text/en", "body": "", "status": 200, "response": {}, @@ -10023,7 +11422,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa/custom-text/en", + "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", "body": "", "status": 200, "response": {}, @@ -10033,7 +11432,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/mfa/custom-text/en", "body": "", "status": 200, "response": {}, @@ -10043,7 +11442,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-verification/custom-text/en", + "path": "/api/v2/prompts/device-flow/custom-text/en", "body": "", "status": 200, "response": {}, @@ -10053,7 +11452,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/status/custom-text/en", + "path": "/api/v2/prompts/email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -10135,24 +11534,13 @@ "status": 200, "response": { "triggers": [ - { - "id": "post-login", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" - ], - "default_runtime": "node12", - "compatible_triggers": [] - }, { "id": "post-login", "version": "v2", "status": "DEPRECATED", "runtimes": [ "node12", - "node16", - "node18" + "node16" ], "default_runtime": "node16", "compatible_triggers": [] @@ -10164,7 +11552,6 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", @@ -10175,6 +11562,16 @@ } ] }, + { + "id": "post-login", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "compatible_triggers": [] + }, { "id": "credentials-exchange", "version": "v1", @@ -10192,7 +11589,6 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", @@ -10215,12 +11611,21 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", "compatible_triggers": [] }, + { + "id": "post-user-registration", + "version": "v1", + "status": "DEPRECATED", + "runtimes": [ + "node12" + ], + "default_runtime": "node12", + "compatible_triggers": [] + }, { "id": "post-user-registration", "version": "v2", @@ -10228,14 +11633,13 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", "compatible_triggers": [] }, { - "id": "post-user-registration", + "id": "post-change-password", "version": "v1", "status": "DEPRECATED", "runtimes": [ @@ -10251,22 +11655,11 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", "compatible_triggers": [] }, - { - "id": "post-change-password", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" - ], - "default_runtime": "node12", - "compatible_triggers": [] - }, { "id": "send-phone-message", "version": "v1", @@ -10283,7 +11676,6 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", @@ -10295,11 +11687,18 @@ "status": "CURRENT", "runtimes": [ "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", "compatible_triggers": [] + }, + { + "id": "login-post-identifier", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "runtimes": [], + "compatible_triggers": [] } ] }, @@ -10400,14 +11799,12 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?include_totals=true", + "path": "/api/v2/actions/triggers/login-post-identifier/bindings", "body": "", "status": 200, "response": { - "organizations": [], - "start": 0, - "limit": 50, - "total": 0 + "bindings": [], + "per_page": 20 }, "rawHeaders": [], "responseIsBinary": false @@ -10415,11 +11812,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?include_totals=true&take=50", + "path": "/api/v2/organizations?include_totals=true", "body": "", "status": 200, "response": { - "organizations": [] + "organizations": [], + "start": 0, + "limit": 50, + "total": 0 }, "rawHeaders": [], "responseIsBinary": false @@ -10427,18 +11827,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/organizations?include_totals=true&take=50", "body": "", "status": 200, "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 + "organizations": [] }, "rawHeaders": [], "responseIsBinary": false @@ -10490,6 +11883,25 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": "", + "status": 200, + "response": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", 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 97c4b75f0..3bd2b0840 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 @@ -42,7 +42,7 @@ }, "status": 201, "response": { - "id": "rul_C7jutXH10zOIrWjD", + "id": "rul_wSNZtfFVlghPXbCh", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -247,7 +247,8 @@ "colors": { "primary": "#F8F8F2", "page_background": "#222221" - } + }, + "identifier_first": true }, "session_cookie": { "mode": "non-persistent" @@ -893,6 +894,22 @@ "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" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -994,7 +1011,7 @@ "subject": "deprecated" } ], - "client_id": "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1020,20 +1037,99 @@ "method": "POST", "path": "/api/v2/clients", "body": { - "name": "Node App", + "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": [], - "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, @@ -1062,17 +1158,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": 201, "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, @@ -1105,8 +1199,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "allowed_origins": [], - "client_id": "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i", + "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1116,14 +1209,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": [], @@ -1134,14 +1223,20 @@ "method": "POST", "path": "/api/v2/clients", "body": { - "name": "Quickstarts API (Test Application)", - "app_type": "non_interactive", - "client_metadata": { - "foo": "bar" - }, + "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, @@ -1151,6 +1246,14 @@ "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", @@ -1162,19 +1265,29 @@ "rotation_type": "non-rotating" }, "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" + "token_endpoint_auth_method": "client_secret_post", + "web_origins": [] }, "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" - }, + "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", @@ -1195,7 +1308,8 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "aiCLMsJhaiAU5AQF6ivtGhOgX5kdVrew", + "allowed_origins": [], + "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1203,11 +1317,16 @@ "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 }, "rawHeaders": [], @@ -1218,16 +1337,23 @@ "method": "POST", "path": "/api/v2/clients", "body": { - "name": "API Explorer Application", + "name": "Test SPA", "allowed_clients": [], - "app_type": "non_interactive", - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "app_type": "spa", + "callbacks": [ + "http://localhost:3000" + ], "client_aliases": [], "client_metadata": {}, "cross_origin_auth": false, "custom_login_page_on": true, "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" ], "is_first_party": true, "is_token_endpoint_ip_header_trusted": false, @@ -1246,25 +1372,33 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, - "token_endpoint_auth_method": "client_secret_post" + "token_endpoint_auth_method": "none", + "web_origins": [ + "http://localhost:3000" + ] }, "status": 201, "response": { "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", + "name": "Test SPA", "allowed_clients": [], - "callbacks": [], + "allowed_logout_urls": [ + "http://localhost:3000" + ], + "callbacks": [ + "http://localhost:3000" + ], "client_metadata": {}, "cross_origin_auth": false, "is_first_party": true, @@ -1278,13 +1412,13 @@ }, "oidc_conformant": true, "refresh_token": { - "expiration_type": "non-expiring", + "expiration_type": "expiring", "leeway": 0, - "infinite_token_lifetime": true, - "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, - "rotation_type": "non-rotating" + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, + "infinite_token_lifetime": false, + "infinite_idle_token_lifetime": false, + "rotation_type": "rotating" }, "sso_disabled": false, "encrypted": true, @@ -1296,7 +1430,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "C7rgq9izKWOshVEWDXXN6b4U9kO2pG4I", + "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1305,10 +1439,15 @@ "secret_encoded": false }, "client_aliases": [], - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", + "token_endpoint_auth_method": "none", + "app_type": "spa", "grant_types": [ - "client_credentials" + "authorization_code", + "implicit", + "refresh_token" + ], + "web_origins": [ + "http://localhost:3000" ], "custom_login_page_on": true }, @@ -1402,7 +1541,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK", + "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1483,7 +1622,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "hDDRxPqUrBYtyNqiQ8frHkBmIE9YI2Wm", + "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1584,7 +1723,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", + "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1603,147 +1742,25 @@ "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": "POST", - "path": "/api/v2/clients", - "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, - "secret_encoded": false - }, - "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": 201, - "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, - "encrypted": true, - "signing_keys": [ - { - "cert": "[REDACTED]", - "key": "[REDACTED]", - "pkcs7": "[REDACTED]", - "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" - } - ], - "client_id": "IkrAr3QznUL7J5YBXjNabFo1R5En7Vth", - "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": 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": "POST", - "path": "/api/v2/emails/provider?enabled=false&name=mandrill", + "path": "/api/v2/emails/provider?enabled=false&name=mandrill", "body": { "name": "mandrill", "credentials": { @@ -1765,7 +1782,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 }, @@ -1793,13 +1810,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/push-notification", "body": { - "enabled": false + "enabled": true }, "status": 200, "response": { - "enabled": false + "enabled": true }, "rawHeaders": [], "responseIsBinary": false @@ -1807,7 +1824,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -1821,7 +1838,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 }, @@ -1835,7 +1852,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -1849,13 +1866,13 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { - "enabled": true + "enabled": false }, "status": 200, "response": { - "enabled": true + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -1863,7 +1880,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -1934,36 +1951,39 @@ }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", - "method": "GET", - "path": "/api/v2/log-streams?paginate=false", - "body": "", + "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": [], + "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", - "body": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard" - }, + "method": "GET", + "path": "/api/v2/log-streams?paginate=false", + "body": "", "status": 200, - "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } - }, + "response": [], "rawHeaders": [], "responseIsBinary": false }, @@ -2016,27 +2036,24 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/attack-protection/breached-password-detection", "body": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 66 + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard" }, "status": 200, "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 66 + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -2055,7 +2072,7 @@ }, "status": 200, "response": { - "id": "lst_0000000000013778", + "id": "lst_0000000000015065", "name": "Suspended DD Log Stream", "type": "datadog", "status": "active", @@ -2119,14 +2136,14 @@ }, "status": 200, "response": { - "id": "lst_0000000000013779", + "id": "lst_0000000000015066", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-0da0aa0b-670c-4088-9b45-b5f59405aade/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-a0d29214-9e3a-4756-ad63-145ad18d8001/auth0.logs" }, "filters": [ { @@ -2247,7 +2264,7 @@ "subject": "deprecated" } ], - "client_id": "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2267,12 +2284,20 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "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", @@ -2291,7 +2316,7 @@ "subject": "deprecated" } ], - "client_id": "aiCLMsJhaiAU5AQF6ivtGhOgX5kdVrew", + "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2299,6 +2324,7 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -2310,21 +2336,12 @@ "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": "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": true, "refresh_token": { "expiration_type": "non-expiring", @@ -2343,8 +2360,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i", + "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2352,24 +2368,20 @@ "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": "API Explorer Application", + "name": "Node App", "allowed_clients": [], + "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, @@ -2400,7 +2412,8 @@ "subject": "deprecated" } ], - "client_id": "C7rgq9izKWOshVEWDXXN6b4U9kO2pG4I", + "allowed_origins": [], + "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2410,41 +2423,33 @@ }, "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": "The Default App", - "allowed_clients": [], - "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": 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": [ { @@ -2453,7 +2458,7 @@ "subject": "deprecated" } ], - "client_id": "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK", + "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2461,12 +2466,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 @@ -2475,19 +2477,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": [ { @@ -2496,7 +2510,7 @@ "subject": "deprecated" } ], - "client_id": "hDDRxPqUrBYtyNqiQ8frHkBmIE9YI2Wm", + "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2504,9 +2518,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 @@ -2552,7 +2569,7 @@ "subject": "deprecated" } ], - "client_id": "IkrAr3QznUL7J5YBXjNabFo1R5En7Vth", + "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2609,7 +2626,7 @@ "subject": "deprecated" } ], - "client_id": "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", + "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2674,14 +2691,27 @@ "limit": 100, "connections": [ { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -2691,8 +2721,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -2712,14 +2742,27 @@ "limit": 100, "connections": [ { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -2729,8 +2772,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -2746,8 +2789,8 @@ "name": "boo-baz-db-connection-test", "strategy": "auth0", "enabled_clients": [ - "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i", - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU" + "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D" ], "is_domain_connection": false, "options": { @@ -2791,7 +2834,7 @@ }, "status": 201, "response": { - "id": "con_N4wxJ8dAAKN5aAbi", + "id": "con_qtM6Tit8tl0FMG0U", "options": { "mfa": { "active": true, @@ -2825,14 +2868,27 @@ "password_complexity_options": { "min_length": 8 }, - "enabledDatabaseCustomization": true + "enabledDatabaseCustomization": true, + "authentication_methods": { + "password": { + "enabled": true + }, + "passkey": { + "enabled": false + } + }, + "passkey_options": { + "challenge_ui": "both", + "progressive_enrollment_enabled": true, + "local_enrollment_enabled": true + } }, "strategy": "auth0", "name": "boo-baz-db-connection-test", "is_domain_connection": false, "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" ], "realms": [ "boo-baz-db-connection-test" @@ -2866,10 +2922,51 @@ "leeway": 0, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, + "rotation_type": "non-rotating" + }, + "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]", @@ -2877,7 +2974,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2885,9 +2982,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -2896,18 +2994,28 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "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": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -2918,7 +3026,7 @@ "subject": "deprecated" } ], - "client_id": "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -2926,10 +3034,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -2962,7 +3070,7 @@ "subject": "deprecated" } ], - "client_id": "aiCLMsJhaiAU5AQF6ivtGhOgX5kdVrew", + "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3015,7 +3123,7 @@ } ], "allowed_origins": [], - "client_id": "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i", + "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3039,20 +3147,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "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", @@ -3071,7 +3168,7 @@ "subject": "deprecated" } ], - "client_id": "C7rgq9izKWOshVEWDXXN6b4U9kO2pG4I", + "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3079,7 +3176,6 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -3124,7 +3220,7 @@ "subject": "deprecated" } ], - "client_id": "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK", + "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3142,46 +3238,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": "hDDRxPqUrBYtyNqiQ8frHkBmIE9YI2Wm", - "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, @@ -3223,7 +3279,7 @@ "subject": "deprecated" } ], - "client_id": "IkrAr3QznUL7J5YBXjNabFo1R5En7Vth", + "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3280,7 +3336,7 @@ "subject": "deprecated" } ], - "client_id": "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", + "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3345,7 +3401,7 @@ "limit": 100, "connections": [ { - "id": "con_N4wxJ8dAAKN5aAbi", + "id": "con_qtM6Tit8tl0FMG0U", "options": { "mfa": { "active": true, @@ -3362,6 +3418,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 @@ -3372,6 +3433,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -3388,19 +3457,32 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" ] }, { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -3410,8 +3492,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -3431,7 +3513,7 @@ "limit": 100, "connections": [ { - "id": "con_N4wxJ8dAAKN5aAbi", + "id": "con_qtM6Tit8tl0FMG0U", "options": { "mfa": { "active": true, @@ -3448,6 +3530,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 @@ -3458,6 +3545,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -3474,19 +3569,32 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" ] }, { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -3496,8 +3604,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -3513,8 +3621,8 @@ "name": "google-oauth2", "strategy": "google-oauth2", "enabled_clients": [ - "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK", - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU" + "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D" ], "is_domain_connection": false, "options": { @@ -3528,7 +3636,7 @@ }, "status": 201, "response": { - "id": "con_qXhJkhSirvwvOHpc", + "id": "con_5GrbjeMQ0PbSYHPc", "options": { "email": true, "scope": [ @@ -3541,8 +3649,8 @@ "name": "google-oauth2", "is_domain_connection": false, "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ" ], "realms": [ "google-oauth2" @@ -3682,7 +3790,7 @@ "subject": "deprecated" } ], - "client_id": "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3702,12 +3810,20 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "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", @@ -3726,7 +3842,7 @@ "subject": "deprecated" } ], - "client_id": "aiCLMsJhaiAU5AQF6ivtGhOgX5kdVrew", + "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3734,6 +3850,7 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -3745,21 +3862,12 @@ "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": "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": true, "refresh_token": { "expiration_type": "non-expiring", @@ -3778,8 +3886,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i", + "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3787,24 +3894,20 @@ "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": "API Explorer Application", + "name": "Node App", "allowed_clients": [], + "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, @@ -3835,7 +3938,8 @@ "subject": "deprecated" } ], - "client_id": "C7rgq9izKWOshVEWDXXN6b4U9kO2pG4I", + "allowed_origins": [], + "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3845,41 +3949,33 @@ }, "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": "The Default App", - "allowed_clients": [], - "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": 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": [ { @@ -3888,7 +3984,7 @@ "subject": "deprecated" } ], - "client_id": "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK", + "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3896,12 +3992,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 @@ -3910,19 +4003,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": [ { @@ -3931,7 +4036,7 @@ "subject": "deprecated" } ], - "client_id": "hDDRxPqUrBYtyNqiQ8frHkBmIE9YI2Wm", + "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3939,9 +4044,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 @@ -3987,7 +4095,7 @@ "subject": "deprecated" } ], - "client_id": "IkrAr3QznUL7J5YBXjNabFo1R5En7Vth", + "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4044,7 +4152,7 @@ "subject": "deprecated" } ], - "client_id": "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", + "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4109,7 +4217,7 @@ "limit": 100, "client_grants": [ { - "id": "cgr_Uvfv2anWyTWpI1qQ", + "id": "cgr_t3j1isctGZmOVylt", "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ @@ -4283,7 +4391,7 @@ "method": "POST", "path": "/api/v2/client-grants", "body": { - "client_id": "hDDRxPqUrBYtyNqiQ8frHkBmIE9YI2Wm", + "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4420,8 +4528,8 @@ }, "status": 201, "response": { - "id": "cgr_saPqZnrza0C1gDas", - "client_id": "hDDRxPqUrBYtyNqiQ8frHkBmIE9YI2Wm", + "id": "cgr_WrFlRGbdZ6AbrsLZ", + "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4564,7 +4672,7 @@ "method": "POST", "path": "/api/v2/client-grants", "body": { - "client_id": "C7rgq9izKWOshVEWDXXN6b4U9kO2pG4I", + "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4701,8 +4809,8 @@ }, "status": 201, "response": { - "id": "cgr_Aa6SaHhfwHIMZctB", - "client_id": "C7rgq9izKWOshVEWDXXN6b4U9kO2pG4I", + "id": "cgr_2zq7mVXA87scv9MN", + "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -4865,7 +4973,7 @@ }, "status": 200, "response": { - "id": "rol_wCNt1OJGjx5XM8xo", + "id": "rol_rdIzOQupZMdQ7JAJ", "name": "Admin", "description": "Can read and write things" }, @@ -4882,7 +4990,7 @@ }, "status": 200, "response": { - "id": "rol_WO708ZFi8mkRKQDQ", + "id": "rol_wvQhvLwCJ5rGOqvW", "name": "Reader", "description": "Can only read things" }, @@ -4899,7 +5007,7 @@ }, "status": 200, "response": { - "id": "rol_IDZdN2XbY72UAlNg", + "id": "rol_Mubp0xpYSP1f7JyM", "name": "read_only", "description": "Read Only" }, @@ -4916,7 +5024,7 @@ }, "status": 200, "response": { - "id": "rol_6hr4gXp3Hn5l13B6", + "id": "rol_x9WzmRo0VhIA1UoP", "name": "read_osnly", "description": "Readz Only" }, @@ -4955,7 +5063,7 @@ }, "status": 201, "response": { - "id": "cd2e3be4-4860-48e2-b94e-bd655b137f17", + "id": "8f0c40cf-653b-4705-9381-3479c0ed03c2", "name": "My Custom Action", "supported_triggers": [ { @@ -4963,8 +5071,8 @@ "version": "v2" } ], - "created_at": "2023-10-27T17:59:29.019781220Z", - "updated_at": "2023-10-27T17:59:29.029582969Z", + "created_at": "2023-12-22T14:51:47.252041680Z", + "updated_at": "2023-12-22T14:51:47.290735734Z", "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", @@ -4984,7 +5092,7 @@ "response": { "actions": [ { - "id": "cd2e3be4-4860-48e2-b94e-bd655b137f17", + "id": "8f0c40cf-653b-4705-9381-3479c0ed03c2", "name": "My Custom Action", "supported_triggers": [ { @@ -4992,8 +5100,8 @@ "version": "v2" } ], - "created_at": "2023-10-27T17:59:29.019781220Z", - "updated_at": "2023-10-27T17:59:29.029582969Z", + "created_at": "2023-12-22T14:51:47.252041680Z", + "updated_at": "2023-12-22T14:51:47.290735734Z", "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", @@ -5011,19 +5119,19 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "POST", - "path": "/api/v2/actions/actions/cd2e3be4-4860-48e2-b94e-bd655b137f17/deploy", + "path": "/api/v2/actions/actions/8f0c40cf-653b-4705-9381-3479c0ed03c2/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": "4fb88542-f3f6-4ded-bf87-fed2d7275f46", + "id": "cd0e4435-4242-43ed-9441-dee1cb701b27", "deployed": false, "number": 1, "secrets": [], "status": "built", - "created_at": "2023-10-27T17:59:29.317291Z", - "updated_at": "2023-10-27T17:59:29.317291Z", + "created_at": "2023-12-22T14:51:47.533727461Z", + "updated_at": "2023-12-22T14:51:47.533727461Z", "runtime": "node16", "supported_triggers": [ { @@ -5032,7 +5140,7 @@ } ], "action": { - "id": "cd2e3be4-4860-48e2-b94e-bd655b137f17", + "id": "8f0c40cf-653b-4705-9381-3479c0ed03c2", "name": "My Custom Action", "supported_triggers": [ { @@ -5040,8 +5148,8 @@ "version": "v2" } ], - "created_at": "2023-10-27T17:59:29.019781220Z", - "updated_at": "2023-10-27T17:59:29.019781220Z", + "created_at": "2023-12-22T14:51:47.252041680Z", + "updated_at": "2023-12-22T14:51:47.252041680Z", "all_changes_deployed": false } }, @@ -5087,7 +5195,7 @@ "limit": 100, "connections": [ { - "id": "con_N4wxJ8dAAKN5aAbi", + "id": "con_qtM6Tit8tl0FMG0U", "options": { "mfa": { "active": true, @@ -5104,6 +5212,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 @@ -5114,6 +5227,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -5130,12 +5251,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" ] }, { - "id": "con_qXhJkhSirvwvOHpc", + "id": "con_5GrbjeMQ0PbSYHPc", "options": { "email": true, "scope": [ @@ -5151,19 +5272,32 @@ "google-oauth2" ], "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ" ] }, { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -5173,8 +5307,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -5206,7 +5340,7 @@ } }, "display_name": "Organization", - "id": "org_KGHEhn16DHYitg8j" + "id": "org_w77D4ZISPOWL3v9R" }, "rawHeaders": [], "responseIsBinary": false @@ -5223,7 +5357,7 @@ "response": { "name": "org2", "display_name": "Organization2", - "id": "org_oGfwJLbdRss0aiIU" + "id": "org_wyehRBjAkFeGeYib" }, "rawHeaders": [], "responseIsBinary": false @@ -5320,7 +5454,8 @@ "colors": { "primary": "#F8F8F2", "page_background": "#222221" - } + }, + "identifier_first": true }, "session_cookie": { "mode": "non-persistent" @@ -5341,7 +5476,7 @@ "limit": 100, "rules": [ { - "id": "rul_C7jutXH10zOIrWjD", + "id": "rul_wSNZtfFVlghPXbCh", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -5365,7 +5500,7 @@ "limit": 100, "rules": [ { - "id": "rul_C7jutXH10zOIrWjD", + "id": "rul_wSNZtfFVlghPXbCh", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -6044,6 +6179,22 @@ "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" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -6086,17 +6237,58 @@ "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" + }, + "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": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -6104,7 +6296,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6112,9 +6304,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -6123,18 +6316,28 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "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": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -6145,7 +6348,7 @@ "subject": "deprecated" } ], - "client_id": "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6153,10 +6356,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -6189,7 +6392,7 @@ "subject": "deprecated" } ], - "client_id": "aiCLMsJhaiAU5AQF6ivtGhOgX5kdVrew", + "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6242,7 +6445,7 @@ } ], "allowed_origins": [], - "client_id": "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i", + "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6266,20 +6469,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "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", @@ -6298,7 +6490,7 @@ "subject": "deprecated" } ], - "client_id": "C7rgq9izKWOshVEWDXXN6b4U9kO2pG4I", + "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6306,7 +6498,6 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -6351,7 +6542,7 @@ "subject": "deprecated" } ], - "client_id": "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK", + "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6369,46 +6560,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": "hDDRxPqUrBYtyNqiQ8frHkBmIE9YI2Wm", - "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, @@ -6450,7 +6601,7 @@ "subject": "deprecated" } ], - "client_id": "IkrAr3QznUL7J5YBXjNabFo1R5En7Vth", + "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6507,7 +6658,7 @@ "subject": "deprecated" } ], - "client_id": "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", + "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6531,7 +6682,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "path": "/api/v2/clients/xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "body": { "name": "Default App", "callbacks": [], @@ -6588,7 +6739,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -6625,7 +6776,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -6639,7 +6790,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/otp", "body": { "enabled": false }, @@ -6653,7 +6804,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/otp", + "path": "/api/v2/guardian/factors/duo", "body": { "enabled": false }, @@ -6667,7 +6818,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -6681,7 +6832,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/push-notification", "body": { "enabled": false }, @@ -6723,7 +6874,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 }, @@ -6787,50 +6938,6 @@ "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": "GET", @@ -6839,14 +6946,24 @@ "status": 200, "response": [ { - "id": "lst_0000000000013779", + "id": "lst_0000000000015065", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + } + }, + { + "id": "lst_0000000000015066", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-0da0aa0b-670c-4088-9b45-b5f59405aade/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-a0d29214-9e3a-4756-ad63-145ad18d8001/auth0.logs" }, "filters": [ { @@ -6886,16 +7003,6 @@ "name": "auth.token_exchange.fail" } ] - }, - { - "id": "lst_0000000000013778", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - } } ], "rawHeaders": [], @@ -6929,27 +7036,43 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/attack-protection/suspicious-ip-throttling", "body": { "enabled": true, "shields": [ - "block", - "user_notification" + "admin_notification", + "block" ], - "mode": "count_per_identifier_and_ip", "allowlist": [], - "max_attempts": 10 + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } }, "status": 200, "response": { "enabled": true, "shields": [ - "block", - "user_notification" + "admin_notification", + "block" ], - "mode": "count_per_identifier_and_ip", "allowlist": [], - "max_attempts": 10 + "stage": { + "pre-login": { + "max_attempts": 100, + "rate": 864000 + }, + "pre-user-registration": { + "max_attempts": 50, + "rate": 1200 + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -7031,7 +7154,7 @@ "subject": "deprecated" } ], - "client_id": "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7047,6 +7170,58 @@ ], "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": "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, @@ -7075,7 +7250,7 @@ "subject": "deprecated" } ], - "client_id": "aiCLMsJhaiAU5AQF6ivtGhOgX5kdVrew", + "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7128,7 +7303,7 @@ } ], "allowed_origins": [], - "client_id": "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i", + "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7150,22 +7325,11 @@ }, { "tenant": "auth0-deploy-cli-e2e", - "global": false, - "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "callbacks": [], - "client_metadata": {}, + "global": false, + "is_token_endpoint_ip_header_trusted": false, + "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", @@ -7184,7 +7348,7 @@ "subject": "deprecated" } ], - "client_id": "C7rgq9izKWOshVEWDXXN6b4U9kO2pG4I", + "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7192,7 +7356,6 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -7237,7 +7400,7 @@ "subject": "deprecated" } ], - "client_id": "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK", + "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7255,46 +7418,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": "hDDRxPqUrBYtyNqiQ8frHkBmIE9YI2Wm", - "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, @@ -7336,7 +7459,7 @@ "subject": "deprecated" } ], - "client_id": "IkrAr3QznUL7J5YBXjNabFo1R5En7Vth", + "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7393,7 +7516,7 @@ "subject": "deprecated" } ], - "client_id": "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", + "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7458,7 +7581,7 @@ "limit": 100, "connections": [ { - "id": "con_N4wxJ8dAAKN5aAbi", + "id": "con_qtM6Tit8tl0FMG0U", "options": { "mfa": { "active": true, @@ -7475,6 +7598,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 @@ -7485,6 +7613,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -7501,19 +7637,32 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" ] }, { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -7523,8 +7672,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -7532,6 +7681,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", @@ -7544,7 +7721,7 @@ "limit": 100, "connections": [ { - "id": "con_N4wxJ8dAAKN5aAbi", + "id": "con_qtM6Tit8tl0FMG0U", "options": { "mfa": { "active": true, @@ -7561,6 +7738,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 @@ -7571,6 +7753,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -7587,19 +7777,32 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" ] }, { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -7609,8 +7812,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -7621,26 +7824,39 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_jqlYBGj0EXGWWwDq", + "path": "/api/v2/connections/con_eSHGfDptLUMkQdaq", "body": "", "status": 200, "response": { - "id": "con_jqlYBGj0EXGWWwDq", + "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": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ], "realms": [ "Username-Password-Authentication" @@ -7652,11 +7868,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_jqlYBGj0EXGWWwDq", + "path": "/api/v2/connections/con_eSHGfDptLUMkQdaq", "body": { "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD" + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ], "is_domain_connection": false, "options": { @@ -7665,7 +7881,20 @@ "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": [ @@ -7674,14 +7903,27 @@ }, "status": 200, "response": { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -7689,7 +7931,7 @@ "is_domain_connection": false, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD" + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ], "realms": [ "Username-Password-Authentication" @@ -7775,7 +8017,7 @@ "subject": "deprecated" } ], - "client_id": "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7795,12 +8037,20 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "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", @@ -7819,7 +8069,7 @@ "subject": "deprecated" } ], - "client_id": "aiCLMsJhaiAU5AQF6ivtGhOgX5kdVrew", + "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7827,6 +8077,7 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -7838,21 +8089,12 @@ "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": "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": true, "refresh_token": { "expiration_type": "non-expiring", @@ -7871,8 +8113,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i", + "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7880,24 +8121,20 @@ "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": "API Explorer Application", + "name": "Node App", "allowed_clients": [], + "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, @@ -7928,7 +8165,8 @@ "subject": "deprecated" } ], - "client_id": "C7rgq9izKWOshVEWDXXN6b4U9kO2pG4I", + "allowed_origins": [], + "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7938,41 +8176,33 @@ }, "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": "The Default App", - "allowed_clients": [], - "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": 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": [ { @@ -7981,7 +8211,7 @@ "subject": "deprecated" } ], - "client_id": "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK", + "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -7989,12 +8219,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 @@ -8003,19 +8230,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": [ { @@ -8024,7 +8263,7 @@ "subject": "deprecated" } ], - "client_id": "hDDRxPqUrBYtyNqiQ8frHkBmIE9YI2Wm", + "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8032,9 +8271,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 @@ -8080,7 +8322,7 @@ "subject": "deprecated" } ], - "client_id": "IkrAr3QznUL7J5YBXjNabFo1R5En7Vth", + "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8137,7 +8379,7 @@ "subject": "deprecated" } ], - "client_id": "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", + "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8202,7 +8444,7 @@ "limit": 100, "connections": [ { - "id": "con_N4wxJ8dAAKN5aAbi", + "id": "con_qtM6Tit8tl0FMG0U", "options": { "mfa": { "active": true, @@ -8219,6 +8461,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 @@ -8229,6 +8476,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -8245,12 +8500,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" ] }, { - "id": "con_qXhJkhSirvwvOHpc", + "id": "con_5GrbjeMQ0PbSYHPc", "options": { "email": true, "scope": [ @@ -8266,19 +8521,32 @@ "google-oauth2" ], "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ" ] }, { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -8288,8 +8556,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -8309,7 +8577,7 @@ "limit": 100, "connections": [ { - "id": "con_N4wxJ8dAAKN5aAbi", + "id": "con_qtM6Tit8tl0FMG0U", "options": { "mfa": { "active": true, @@ -8326,6 +8594,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 @@ -8336,6 +8609,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -8352,12 +8633,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" ] }, { - "id": "con_qXhJkhSirvwvOHpc", + "id": "con_5GrbjeMQ0PbSYHPc", "options": { "email": true, "scope": [ @@ -8373,19 +8654,32 @@ "google-oauth2" ], "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ" ] }, { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -8395,8 +8689,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -8419,20 +8713,61 @@ "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" + }, + "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, - "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, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -8440,7 +8775,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8448,9 +8783,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -8459,18 +8795,28 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", + "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": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, "sso_disabled": false, @@ -8481,7 +8827,7 @@ "subject": "deprecated" } ], - "client_id": "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8489,10 +8835,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -8525,7 +8871,7 @@ "subject": "deprecated" } ], - "client_id": "aiCLMsJhaiAU5AQF6ivtGhOgX5kdVrew", + "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8578,7 +8924,7 @@ } ], "allowed_origins": [], - "client_id": "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i", + "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8602,20 +8948,9 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "API Explorer Application", - "allowed_clients": [], - "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", @@ -8634,7 +8969,7 @@ "subject": "deprecated" } ], - "client_id": "C7rgq9izKWOshVEWDXXN6b4U9kO2pG4I", + "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8642,7 +8977,6 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -8687,7 +9021,7 @@ "subject": "deprecated" } ], - "client_id": "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK", + "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8705,46 +9039,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": "hDDRxPqUrBYtyNqiQ8frHkBmIE9YI2Wm", - "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, @@ -8786,7 +9080,7 @@ "subject": "deprecated" } ], - "client_id": "IkrAr3QznUL7J5YBXjNabFo1R5En7Vth", + "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8843,7 +9137,7 @@ "subject": "deprecated" } ], - "client_id": "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", + "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -8908,8 +9202,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_Aa6SaHhfwHIMZctB", - "client_id": "C7rgq9izKWOshVEWDXXN6b4U9kO2pG4I", + "id": "cgr_2zq7mVXA87scv9MN", + "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -9045,8 +9339,8 @@ ] }, { - "id": "cgr_Uvfv2anWyTWpI1qQ", - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "id": "cgr_WrFlRGbdZ6AbrsLZ", + "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -9162,11 +9456,6 @@ "read:entitlements", "read:attack_protection", "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", "read:organizations", "update:organizations", "create:organizations", @@ -9183,35 +9472,12 @@ "delete:organization_member_roles", "create:organization_invitations", "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:client_credentials", - "create:client_credentials", - "update:client_credentials", - "delete:client_credentials" + "delete:organization_invitations" ] }, { - "id": "cgr_saPqZnrza0C1gDas", - "client_id": "hDDRxPqUrBYtyNqiQ8frHkBmIE9YI2Wm", + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -9327,6 +9593,11 @@ "read:entitlements", "read:attack_protection", "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", "read:organizations", "update:organizations", "create:organizations", @@ -9343,7 +9614,30 @@ "delete:organization_member_roles", "create:organization_invitations", "read:organization_invitations", - "delete:organization_invitations" + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials" ] } ] @@ -9360,22 +9654,22 @@ "response": { "roles": [ { - "id": "rol_wCNt1OJGjx5XM8xo", + "id": "rol_rdIzOQupZMdQ7JAJ", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_WO708ZFi8mkRKQDQ", + "id": "rol_wvQhvLwCJ5rGOqvW", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_IDZdN2XbY72UAlNg", + "id": "rol_Mubp0xpYSP1f7JyM", "name": "read_only", "description": "Read Only" }, { - "id": "rol_6hr4gXp3Hn5l13B6", + "id": "rol_x9WzmRo0VhIA1UoP", "name": "read_osnly", "description": "Readz Only" } @@ -9390,7 +9684,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_wCNt1OJGjx5XM8xo/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_rdIzOQupZMdQ7JAJ/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -9405,7 +9699,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_WO708ZFi8mkRKQDQ/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_wvQhvLwCJ5rGOqvW/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -9420,7 +9714,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_IDZdN2XbY72UAlNg/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_Mubp0xpYSP1f7JyM/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -9435,7 +9729,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_6hr4gXp3Hn5l13B6/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_x9WzmRo0VhIA1UoP/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -9456,7 +9750,7 @@ "response": { "actions": [ { - "id": "cd2e3be4-4860-48e2-b94e-bd655b137f17", + "id": "8f0c40cf-653b-4705-9381-3479c0ed03c2", "name": "My Custom Action", "supported_triggers": [ { @@ -9464,34 +9758,34 @@ "version": "v2" } ], - "created_at": "2023-10-27T17:59:29.019781220Z", - "updated_at": "2023-10-27T17:59:29.029582969Z", + "created_at": "2023-12-22T14:51:47.252041680Z", + "updated_at": "2023-12-22T14:51:47.290735734Z", "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": "4fb88542-f3f6-4ded-bf87-fed2d7275f46", + "id": "cd0e4435-4242-43ed-9441-dee1cb701b27", "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-10-27T17:59:29.414649344Z", - "created_at": "2023-10-27T17:59:29.317291Z", - "updated_at": "2023-10-27T17:59:29.416228236Z" + "build_time": "2023-12-22T14:51:47.619418918Z", + "created_at": "2023-12-22T14:51:47.533727461Z", + "updated_at": "2023-12-22T14:51:47.620010749Z" }, "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": "4fb88542-f3f6-4ded-bf87-fed2d7275f46", + "id": "cd0e4435-4242-43ed-9441-dee1cb701b27", "deployed": true, "number": 1, - "built_at": "2023-10-27T17:59:29.414649344Z", + "built_at": "2023-12-22T14:51:47.619418918Z", "secrets": [], "status": "built", - "created_at": "2023-10-27T17:59:29.317291Z", - "updated_at": "2023-10-27T17:59:29.416228236Z", + "created_at": "2023-12-22T14:51:47.533727461Z", + "updated_at": "2023-12-22T14:51:47.620010749Z", "runtime": "node16", "supported_triggers": [ { @@ -9518,7 +9812,7 @@ "response": { "actions": [ { - "id": "cd2e3be4-4860-48e2-b94e-bd655b137f17", + "id": "8f0c40cf-653b-4705-9381-3479c0ed03c2", "name": "My Custom Action", "supported_triggers": [ { @@ -9526,34 +9820,34 @@ "version": "v2" } ], - "created_at": "2023-10-27T17:59:29.019781220Z", - "updated_at": "2023-10-27T17:59:29.029582969Z", + "created_at": "2023-12-22T14:51:47.252041680Z", + "updated_at": "2023-12-22T14:51:47.290735734Z", "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": "4fb88542-f3f6-4ded-bf87-fed2d7275f46", + "id": "cd0e4435-4242-43ed-9441-dee1cb701b27", "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-10-27T17:59:29.414649344Z", - "created_at": "2023-10-27T17:59:29.317291Z", - "updated_at": "2023-10-27T17:59:29.416228236Z" + "build_time": "2023-12-22T14:51:47.619418918Z", + "created_at": "2023-12-22T14:51:47.533727461Z", + "updated_at": "2023-12-22T14:51:47.620010749Z" }, "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": "4fb88542-f3f6-4ded-bf87-fed2d7275f46", + "id": "cd0e4435-4242-43ed-9441-dee1cb701b27", "deployed": true, "number": 1, - "built_at": "2023-10-27T17:59:29.414649344Z", + "built_at": "2023-12-22T14:51:47.619418918Z", "secrets": [], "status": "built", - "created_at": "2023-10-27T17:59:29.317291Z", - "updated_at": "2023-10-27T17:59:29.416228236Z", + "created_at": "2023-12-22T14:51:47.533727461Z", + "updated_at": "2023-12-22T14:51:47.620010749Z", "runtime": "node16", "supported_triggers": [ { @@ -9580,7 +9874,7 @@ "response": { "organizations": [ { - "id": "org_KGHEhn16DHYitg8j", + "id": "org_w77D4ZISPOWL3v9R", "name": "org1", "display_name": "Organization", "branding": { @@ -9591,7 +9885,7 @@ } }, { - "id": "org_oGfwJLbdRss0aiIU", + "id": "org_wyehRBjAkFeGeYib", "name": "org2", "display_name": "Organization2" } @@ -9612,7 +9906,7 @@ "response": { "organizations": [ { - "id": "org_KGHEhn16DHYitg8j", + "id": "org_w77D4ZISPOWL3v9R", "name": "org1", "display_name": "Organization", "branding": { @@ -9623,7 +9917,7 @@ } }, { - "id": "org_oGfwJLbdRss0aiIU", + "id": "org_wyehRBjAkFeGeYib", "name": "org2", "display_name": "Organization2" } @@ -9635,7 +9929,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_KGHEhn16DHYitg8j/enabled_connections", + "path": "/api/v2/organizations/org_w77D4ZISPOWL3v9R/enabled_connections", "body": "", "status": 200, "response": [], @@ -9645,7 +9939,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_oGfwJLbdRss0aiIU/enabled_connections", + "path": "/api/v2/organizations/org_wyehRBjAkFeGeYib/enabled_connections", "body": "", "status": 200, "response": [], @@ -9664,7 +9958,7 @@ "limit": 100, "connections": [ { - "id": "con_N4wxJ8dAAKN5aAbi", + "id": "con_qtM6Tit8tl0FMG0U", "options": { "mfa": { "active": true, @@ -9681,6 +9975,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 @@ -9691,6 +9990,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -9707,12 +10014,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" ] }, { - "id": "con_qXhJkhSirvwvOHpc", + "id": "con_5GrbjeMQ0PbSYHPc", "options": { "email": true, "scope": [ @@ -9728,19 +10035,32 @@ "google-oauth2" ], "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ" ] }, { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -9750,8 +10070,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -9826,7 +10146,8 @@ "colors": { "primary": "#F8F8F2", "page_background": "#222221" - } + }, + "identifier_first": true }, "session_cookie": { "mode": "non-persistent" @@ -9847,7 +10168,7 @@ "limit": 100, "rules": [ { - "id": "rul_C7jutXH10zOIrWjD", + "id": "rul_wSNZtfFVlghPXbCh", "enabled": true, "script": "function (user, context, callback) {\n callback(null, user, context);\n}\n", "name": "my-rule", @@ -10640,6 +10961,22 @@ "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" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -10741,7 +11078,7 @@ "subject": "deprecated" } ], - "client_id": "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10761,12 +11098,20 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Quickstarts API (Test Application)", - "client_metadata": { - "foo": "bar" - }, + "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", @@ -10785,7 +11130,7 @@ "subject": "deprecated" } ], - "client_id": "aiCLMsJhaiAU5AQF6ivtGhOgX5kdVrew", + "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10793,6 +11138,7 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "client_aliases": [], "token_endpoint_auth_method": "client_secret_post", "app_type": "non_interactive", "grant_types": [ @@ -10804,21 +11150,12 @@ "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": "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": true, "refresh_token": { "expiration_type": "non-expiring", @@ -10837,8 +11174,7 @@ "subject": "deprecated" } ], - "allowed_origins": [], - "client_id": "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i", + "client_id": "5i1LKZRN9jQzCsQrmW2ESUt68nkGFMKA", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10846,24 +11182,20 @@ "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": "API Explorer Application", + "name": "Node App", "allowed_clients": [], + "allowed_logout_urls": [], "callbacks": [], "client_metadata": {}, "cross_origin_auth": false, @@ -10894,7 +11226,8 @@ "subject": "deprecated" } ], - "client_id": "C7rgq9izKWOshVEWDXXN6b4U9kO2pG4I", + "allowed_origins": [], + "client_id": "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10904,41 +11237,33 @@ }, "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": "The Default App", - "allowed_clients": [], - "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": 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": [ { @@ -10947,7 +11272,7 @@ "subject": "deprecated" } ], - "client_id": "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK", + "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10955,12 +11280,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 @@ -10969,19 +11291,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": [ { @@ -10990,7 +11324,7 @@ "subject": "deprecated" } ], - "client_id": "hDDRxPqUrBYtyNqiQ8frHkBmIE9YI2Wm", + "client_id": "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -10998,9 +11332,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 @@ -11046,7 +11383,7 @@ "subject": "deprecated" } ], - "client_id": "IkrAr3QznUL7J5YBXjNabFo1R5En7Vth", + "client_id": "G6vSeNYLDhpWWwEIxMjiaFwVVjAgI6aZ", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11103,7 +11440,7 @@ "subject": "deprecated" } ], - "client_id": "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", + "client_id": "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -11136,7 +11473,7 @@ "limit": 100, "connections": [ { - "id": "con_N4wxJ8dAAKN5aAbi", + "id": "con_qtM6Tit8tl0FMG0U", "options": { "mfa": { "active": true, @@ -11153,6 +11490,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 @@ -11163,6 +11505,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -11179,19 +11529,32 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" ] }, { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -11201,8 +11564,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -11222,7 +11585,7 @@ "limit": 100, "connections": [ { - "id": "con_N4wxJ8dAAKN5aAbi", + "id": "con_qtM6Tit8tl0FMG0U", "options": { "mfa": { "active": true, @@ -11239,6 +11602,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 @@ -11249,6 +11617,14 @@ "enable": true, "dictionary": [] }, + "authentication_methods": { + "passkey": { + "enabled": false + }, + "password": { + "enabled": true + } + }, "brute_force_protection": true, "password_no_personal_info": { "enable": true @@ -11265,12 +11641,12 @@ "boo-baz-db-connection-test" ], "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "XU3HEdULg0LbN6de15xJ7IJXlN8yzc2i" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "xWWNesHlqi9LIJ7lyi0ck3hJRbNvqyXT" ] }, { - "id": "con_qXhJkhSirvwvOHpc", + "id": "con_5GrbjeMQ0PbSYHPc", "options": { "email": true, "scope": [ @@ -11286,19 +11662,32 @@ "google-oauth2" ], "enabled_clients": [ - "4MrfAJP6yC2ZwoTZoc7iSeNrf02CFUSU", - "6O6nqtWY3q8ZeCsWotJCX6aQkFEv2owK" + "3QDtbJP8aTej8tDtPs3sOFdQyCyT0x8D", + "MllkXGZYbvCEeB19PsrCEH6r7gQICBEQ" ] }, { - "id": "con_jqlYBGj0EXGWWwDq", + "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", @@ -11308,8 +11697,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "HbMrMJdzWweU8OT06lnGlw6kOvsegmJD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -11424,22 +11813,7 @@ { "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/blocked_account", + "path": "/api/v2/email-templates/stolen_credentials", "body": "", "status": 404, "response": { @@ -11454,7 +11828,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": { @@ -11488,7 +11862,22 @@ { "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": { + "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": { @@ -11518,7 +11907,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/stolen_credentials", + "path": "/api/v2/email-templates/user_invitation", "body": "", "status": 404, "response": { @@ -11533,7 +11922,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/enrollment_email", + "path": "/api/v2/email-templates/blocked_account", "body": "", "status": 404, "response": { @@ -11548,7 +11937,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/enrollment_email", "body": "", "status": 404, "response": { @@ -11563,7 +11952,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/change_password", + "path": "/api/v2/email-templates/password_reset", "body": "", "status": 404, "response": { @@ -11587,8 +11976,8 @@ "limit": 100, "client_grants": [ { - "id": "cgr_Aa6SaHhfwHIMZctB", - "client_id": "C7rgq9izKWOshVEWDXXN6b4U9kO2pG4I", + "id": "cgr_2zq7mVXA87scv9MN", + "client_id": "eGfUEoW6KgKKBY7tVRG26SNMfOSDOW0e", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -11724,8 +12113,8 @@ ] }, { - "id": "cgr_Uvfv2anWyTWpI1qQ", - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "id": "cgr_WrFlRGbdZ6AbrsLZ", + "client_id": "0itJPHYpEe5IeQBicfvZiwe4lhiZxts9", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -11841,11 +12230,6 @@ "read:entitlements", "read:attack_protection", "update:attack_protection", - "read:organizations_summary", - "create:authentication_methods", - "read:authentication_methods", - "update:authentication_methods", - "delete:authentication_methods", "read:organizations", "update:organizations", "create:organizations", @@ -11862,35 +12246,12 @@ "delete:organization_member_roles", "create:organization_invitations", "read:organization_invitations", - "delete:organization_invitations", - "read:scim_config", - "create:scim_config", - "update:scim_config", - "delete:scim_config", - "create:scim_token", - "read:scim_token", - "delete:scim_token", - "delete:phone_providers", - "create:phone_providers", - "read:phone_providers", - "update:phone_providers", - "delete:phone_templates", - "create:phone_templates", - "read:phone_templates", - "update:phone_templates", - "create:encryption_keys", - "read:encryption_keys", - "update:encryption_keys", - "delete:encryption_keys", - "read:client_credentials", - "create:client_credentials", - "update:client_credentials", - "delete:client_credentials" + "delete:organization_invitations" ] }, { - "id": "cgr_saPqZnrza0C1gDas", - "client_id": "hDDRxPqUrBYtyNqiQ8frHkBmIE9YI2Wm", + "id": "cgr_t3j1isctGZmOVylt", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ "read:client_grants", @@ -12006,6 +12367,11 @@ "read:entitlements", "read:attack_protection", "update:attack_protection", + "read:organizations_summary", + "create:authentication_methods", + "read:authentication_methods", + "update:authentication_methods", + "delete:authentication_methods", "read:organizations", "update:organizations", "create:organizations", @@ -12022,7 +12388,30 @@ "delete:organization_member_roles", "create:organization_invitations", "read:organization_invitations", - "delete:organization_invitations" + "delete:organization_invitations", + "read:scim_config", + "create:scim_config", + "update:scim_config", + "delete:scim_config", + "create:scim_token", + "read:scim_token", + "delete:scim_token", + "delete:phone_providers", + "create:phone_providers", + "read:phone_providers", + "update:phone_providers", + "delete:phone_templates", + "create:phone_templates", + "read:phone_templates", + "update:phone_templates", + "create:encryption_keys", + "read:encryption_keys", + "update:encryption_keys", + "delete:encryption_keys", + "read:client_credentials", + "create:client_credentials", + "update:client_credentials", + "delete:client_credentials" ] } ] @@ -12162,22 +12551,22 @@ "response": { "roles": [ { - "id": "rol_wCNt1OJGjx5XM8xo", + "id": "rol_rdIzOQupZMdQ7JAJ", "name": "Admin", "description": "Can read and write things" }, { - "id": "rol_WO708ZFi8mkRKQDQ", + "id": "rol_wvQhvLwCJ5rGOqvW", "name": "Reader", "description": "Can only read things" }, { - "id": "rol_IDZdN2XbY72UAlNg", + "id": "rol_Mubp0xpYSP1f7JyM", "name": "read_only", "description": "Read Only" }, { - "id": "rol_6hr4gXp3Hn5l13B6", + "id": "rol_x9WzmRo0VhIA1UoP", "name": "read_osnly", "description": "Readz Only" } @@ -12192,7 +12581,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_wCNt1OJGjx5XM8xo/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_rdIzOQupZMdQ7JAJ/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -12207,7 +12596,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_WO708ZFi8mkRKQDQ/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_wvQhvLwCJ5rGOqvW/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -12222,7 +12611,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_IDZdN2XbY72UAlNg/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_Mubp0xpYSP1f7JyM/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -12237,7 +12626,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/roles/rol_6hr4gXp3Hn5l13B6/permissions?include_totals=true&page=0&per_page=100", + "path": "/api/v2/roles/rol_x9WzmRo0VhIA1UoP/permissions?include_totals=true&page=0&per_page=100", "body": "", "status": 200, "response": { @@ -12362,7 +12751,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/custom-text/en", + "path": "/api/v2/prompts/login-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -12372,7 +12761,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/custom-text/en", + "path": "/api/v2/prompts/login/custom-text/en", "body": "", "status": 200, "response": {}, @@ -12382,7 +12771,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login/custom-text/en", + "path": "/api/v2/prompts/login-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -12442,7 +12831,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": {}, @@ -12462,7 +12851,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": {}, @@ -12552,7 +12941,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/device-flow/custom-text/en", + "path": "/api/v2/prompts/email-verification/custom-text/en", "body": "", "status": 200, "response": {}, @@ -12562,7 +12951,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-verification/custom-text/en", + "path": "/api/v2/prompts/device-flow/custom-text/en", "body": "", "status": 200, "response": {}, @@ -12632,7 +13021,7 @@ "response": { "actions": [ { - "id": "cd2e3be4-4860-48e2-b94e-bd655b137f17", + "id": "8f0c40cf-653b-4705-9381-3479c0ed03c2", "name": "My Custom Action", "supported_triggers": [ { @@ -12640,34 +13029,34 @@ "version": "v2" } ], - "created_at": "2023-10-27T17:59:29.019781220Z", - "updated_at": "2023-10-27T17:59:29.029582969Z", + "created_at": "2023-12-22T14:51:47.252041680Z", + "updated_at": "2023-12-22T14:51:47.290735734Z", "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": "4fb88542-f3f6-4ded-bf87-fed2d7275f46", + "id": "cd0e4435-4242-43ed-9441-dee1cb701b27", "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-10-27T17:59:29.414649344Z", - "created_at": "2023-10-27T17:59:29.317291Z", - "updated_at": "2023-10-27T17:59:29.416228236Z" + "build_time": "2023-12-22T14:51:47.619418918Z", + "created_at": "2023-12-22T14:51:47.533727461Z", + "updated_at": "2023-12-22T14:51:47.620010749Z" }, "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": "4fb88542-f3f6-4ded-bf87-fed2d7275f46", + "id": "cd0e4435-4242-43ed-9441-dee1cb701b27", "deployed": true, "number": 1, - "built_at": "2023-10-27T17:59:29.414649344Z", + "built_at": "2023-12-22T14:51:47.619418918Z", "secrets": [], "status": "built", - "created_at": "2023-10-27T17:59:29.317291Z", - "updated_at": "2023-10-27T17:59:29.416228236Z", + "created_at": "2023-12-22T14:51:47.533727461Z", + "updated_at": "2023-12-22T14:51:47.620010749Z", "runtime": "node16", "supported_triggers": [ { @@ -12700,7 +13089,6 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", @@ -12713,24 +13101,23 @@ }, { "id": "post-login", - "version": "v2", + "version": "v1", "status": "DEPRECATED", "runtimes": [ - "node12", - "node16", - "node18" + "node12" ], - "default_runtime": "node16", + "default_runtime": "node12", "compatible_triggers": [] }, { "id": "post-login", - "version": "v1", + "version": "v2", "status": "DEPRECATED", "runtimes": [ - "node12" + "node12", + "node16" ], - "default_runtime": "node12", + "default_runtime": "node16", "compatible_triggers": [] }, { @@ -12750,7 +13137,6 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", @@ -12773,7 +13159,6 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", @@ -12781,25 +13166,24 @@ }, { "id": "post-user-registration", - "version": "v2", - "status": "CURRENT", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node12", - "node16", - "node18", - "node18-actions" + "node12" ], - "default_runtime": "node18-actions", + "default_runtime": "node12", "compatible_triggers": [] }, { "id": "post-user-registration", - "version": "v1", - "status": "DEPRECATED", + "version": "v2", + "status": "CURRENT", "runtimes": [ - "node12" + "node12", + "node16", + "node18-actions" ], - "default_runtime": "node12", + "default_runtime": "node18-actions", "compatible_triggers": [] }, { @@ -12819,7 +13203,6 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", @@ -12841,7 +13224,6 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", @@ -12853,11 +13235,18 @@ "status": "CURRENT", "runtimes": [ "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", "compatible_triggers": [] + }, + { + "id": "login-post-identifier", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "runtimes": [], + "compatible_triggers": [] } ] }, @@ -12955,6 +13344,19 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/actions/triggers/login-post-identifier/bindings", + "body": "", + "status": 200, + "response": { + "bindings": [], + "per_page": 20 + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -12964,7 +13366,7 @@ "response": { "organizations": [ { - "id": "org_KGHEhn16DHYitg8j", + "id": "org_w77D4ZISPOWL3v9R", "name": "org1", "display_name": "Organization", "branding": { @@ -12975,7 +13377,7 @@ } }, { - "id": "org_oGfwJLbdRss0aiIU", + "id": "org_wyehRBjAkFeGeYib", "name": "org2", "display_name": "Organization2" } @@ -12996,7 +13398,7 @@ "response": { "organizations": [ { - "id": "org_KGHEhn16DHYitg8j", + "id": "org_w77D4ZISPOWL3v9R", "name": "org1", "display_name": "Organization", "branding": { @@ -13007,7 +13409,7 @@ } }, { - "id": "org_oGfwJLbdRss0aiIU", + "id": "org_wyehRBjAkFeGeYib", "name": "org2", "display_name": "Organization2" } @@ -13019,7 +13421,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_KGHEhn16DHYitg8j/enabled_connections", + "path": "/api/v2/organizations/org_w77D4ZISPOWL3v9R/enabled_connections", "body": "", "status": 200, "response": [], @@ -13029,7 +13431,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations/org_oGfwJLbdRss0aiIU/enabled_connections", + "path": "/api/v2/organizations/org_wyehRBjAkFeGeYib/enabled_connections", "body": "", "status": 200, "response": [], @@ -13039,19 +13441,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/breached-password-detection", + "path": "/api/v2/attack-protection/brute-force-protection", "body": "", "status": 200, "response": { - "enabled": false, - "shields": [], - "admin_notification_frequency": [], - "method": "standard", - "stage": { - "pre-user-registration": { - "shields": [] - } - } + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 }, "rawHeaders": [], "responseIsBinary": false @@ -13086,18 +13487,19 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/attack-protection/breached-password-detection", "body": "", "status": 200, "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 + "enabled": false, + "shields": [], + "admin_notification_frequency": [], + "method": "standard", + "stage": { + "pre-user-registration": { + "shields": [] + } + } }, "rawHeaders": [], "responseIsBinary": false @@ -13110,14 +13512,24 @@ "status": 200, "response": [ { - "id": "lst_0000000000013779", + "id": "lst_0000000000015065", + "name": "Suspended DD Log Stream", + "type": "datadog", + "status": "active", + "sink": { + "datadogApiKey": "some-sensitive-api-key", + "datadogRegion": "us" + } + }, + { + "id": "lst_0000000000015066", "name": "Amazon EventBridge", "type": "eventbridge", "status": "active", "sink": { "awsAccountId": "123456789012", "awsRegion": "us-east-2", - "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-0da0aa0b-670c-4088-9b45-b5f59405aade/auth0.logs" + "awsPartnerEventSource": "aws.partner/auth0.com/auth0-deploy-cli-e2e-a0d29214-9e3a-4756-ad63-145ad18d8001/auth0.logs" }, "filters": [ { @@ -13157,16 +13569,6 @@ "name": "auth.token_exchange.fail" } ] - }, - { - "id": "lst_0000000000013778", - "name": "Suspended DD Log Stream", - "type": "datadog", - "status": "active", - "sink": { - "datadogApiKey": "some-sensitive-api-key", - "datadogRegion": "us" - } } ], "rawHeaders": [], 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 3c8dbf440..94856211c 100644 --- a/test/e2e/recordings/should-deploy-without-throwing-an-error.json +++ b/test/e2e/recordings/should-deploy-without-throwing-an-error.json @@ -696,6 +696,22 @@ "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" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -735,21 +751,20 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_auth": 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": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -757,7 +772,7 @@ "subject": "deprecated" } ], - "client_id": "WM31waMImeHDtQnjVLPzg2uvu00vgdim", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -765,10 +780,9 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -777,20 +791,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", + "name": "Default App", + "callbacks": [], + "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, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -798,7 +813,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -806,9 +821,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -821,7 +837,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/WM31waMImeHDtQnjVLPzg2uvu00vgdim", + "path": "/api/v2/clients/aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", "body": { "name": "Default App", "callbacks": [], @@ -878,7 +894,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "WM31waMImeHDtQnjVLPzg2uvu00vgdim", + "client_id": "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -902,12 +918,12 @@ "method": "GET", "path": "/api/v2/emails/provider?include_fields=true&fields=name%2Cenabled%2Ccredentials%2Csettings%2Cdefault_from_address", "body": "", - "status": 200, + "status": 404, "response": { - "name": "mandrill", - "credentials": {}, - "default_from_address": "auth0-user@auth0.com", - "enabled": false + "statusCode": 404, + "error": "Not Found", + "message": "There is not a configured email provider", + "errorCode": "inexistent_email_provider" }, "rawHeaders": [], "responseIsBinary": false @@ -915,7 +931,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 }, @@ -929,7 +945,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/duo", + "path": "/api/v2/guardian/factors/webauthn-roaming", "body": { "enabled": false }, @@ -943,7 +959,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-roaming", + "path": "/api/v2/guardian/factors/sms", "body": { "enabled": false }, @@ -985,7 +1001,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/recovery-code", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -999,7 +1015,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/sms", + "path": "/api/v2/guardian/factors/push-notification", "body": { "enabled": false }, @@ -1013,7 +1029,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/webauthn-platform", + "path": "/api/v2/guardian/factors/recovery-code", "body": { "enabled": false }, @@ -1071,35 +1087,8 @@ }, "status": 200, "response": { - "universal_login_experience": "new" - }, - "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 + "universal_login_experience": "new", + "identifier_first": true }, "rawHeaders": [], "responseIsBinary": false @@ -1158,6 +1147,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", @@ -1208,21 +1225,20 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_auth": 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": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1230,7 +1246,7 @@ "subject": "deprecated" } ], - "client_id": "WM31waMImeHDtQnjVLPzg2uvu00vgdim", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1238,10 +1254,9 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1250,20 +1265,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", + "name": "Default App", + "callbacks": [], + "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, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1271,7 +1287,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1279,9 +1295,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1335,14 +1352,27 @@ "limit": 100, "connections": [ { - "id": "con_tPtALYZ6wQWOFos3", + "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", @@ -1352,7 +1382,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "WM31waMImeHDtQnjVLPzg2uvu00vgdim" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" ] } ] @@ -1372,14 +1403,27 @@ "limit": 100, "connections": [ { - "id": "con_tPtALYZ6wQWOFos3", + "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", @@ -1389,7 +1433,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "WM31waMImeHDtQnjVLPzg2uvu00vgdim" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" ] } ] @@ -1400,25 +1445,39 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_tPtALYZ6wQWOFos3", + "path": "/api/v2/connections/con_qavKC44AnXdVIktG", "body": "", "status": 200, "response": { - "id": "con_tPtALYZ6wQWOFos3", + "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": [ - "WM31waMImeHDtQnjVLPzg2uvu00vgdim" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" ], "realms": [ "Username-Password-Authentication" @@ -1430,11 +1489,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_tPtALYZ6wQWOFos3", + "path": "/api/v2/connections/con_qavKC44AnXdVIktG", "body": { "enabled_clients": [ - "WM31waMImeHDtQnjVLPzg2uvu00vgdim", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" ], "is_domain_connection": false, "options": { @@ -1443,7 +1502,20 @@ "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": [ @@ -1452,22 +1524,35 @@ }, "status": 200, "response": { - "id": "con_tPtALYZ6wQWOFos3", + "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": [ - "WM31waMImeHDtQnjVLPzg2uvu00vgdim", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" ], "realms": [ "Username-Password-Authentication" @@ -1491,21 +1576,20 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_auth": 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": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1513,7 +1597,7 @@ "subject": "deprecated" } ], - "client_id": "WM31waMImeHDtQnjVLPzg2uvu00vgdim", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1521,10 +1605,9 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1533,20 +1616,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", + "name": "Default App", + "callbacks": [], + "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, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1554,7 +1638,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1562,9 +1646,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1618,14 +1703,27 @@ "limit": 100, "connections": [ { - "id": "con_tPtALYZ6wQWOFos3", + "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", @@ -1636,7 +1734,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "WM31waMImeHDtQnjVLPzg2uvu00vgdim" + "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" ] } ] @@ -1656,14 +1754,27 @@ "limit": 100, "connections": [ { - "id": "con_tPtALYZ6wQWOFos3", + "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", @@ -1674,7 +1785,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "WM31waMImeHDtQnjVLPzg2uvu00vgdim" + "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" ] } ] @@ -1690,8 +1801,8 @@ "name": "google-oauth2", "strategy": "google-oauth2", "enabled_clients": [ - "WM31waMImeHDtQnjVLPzg2uvu00vgdim", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" ], "is_domain_connection": false, "options": { @@ -1705,7 +1816,7 @@ }, "status": 201, "response": { - "id": "con_9EN7bDJcMepWxhmM", + "id": "con_F6FupkR2JVv0xmQV", "options": { "email": true, "scope": [ @@ -1719,7 +1830,7 @@ "is_domain_connection": false, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "WM31waMImeHDtQnjVLPzg2uvu00vgdim" + "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" ], "realms": [ "google-oauth2" @@ -1743,21 +1854,20 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Default App", - "callbacks": [], - "cross_origin_auth": 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": 2592000, - "idle_token_lifetime": 1296000, + "token_lifetime": 31557600, + "idle_token_lifetime": 2592000, "rotation_type": "non-rotating" }, - "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1765,7 +1875,7 @@ "subject": "deprecated" } ], - "client_id": "WM31waMImeHDtQnjVLPzg2uvu00vgdim", + "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1773,10 +1883,9 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, + "token_endpoint_auth_method": "client_secret_post", + "app_type": "non_interactive", "grant_types": [ - "authorization_code", - "implicit", - "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1785,20 +1894,21 @@ "tenant": "auth0-deploy-cli-e2e", "global": false, "is_token_endpoint_ip_header_trusted": false, - "name": "Deploy CLI", + "name": "Default App", + "callbacks": [], + "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, "infinite_token_lifetime": true, "infinite_idle_token_lifetime": true, - "token_lifetime": 31557600, - "idle_token_lifetime": 2592000, + "token_lifetime": 2592000, + "idle_token_lifetime": 1296000, "rotation_type": "non-rotating" }, + "sso_disabled": false, "signing_keys": [ { "cert": "[REDACTED]", @@ -1806,7 +1916,7 @@ "subject": "deprecated" } ], - "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "client_id": "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -1814,9 +1924,10 @@ "lifetime_in_seconds": 36000, "secret_encoded": false }, - "token_endpoint_auth_method": "client_secret_post", - "app_type": "non_interactive", "grant_types": [ + "authorization_code", + "implicit", + "refresh_token", "client_credentials" ], "custom_login_page_on": true @@ -1870,7 +1981,7 @@ "limit": 100, "client_grants": [ { - "id": "cgr_Uvfv2anWyTWpI1qQ", + "id": "cgr_t3j1isctGZmOVylt", "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ @@ -2119,7 +2230,7 @@ "limit": 100, "connections": [ { - "id": "con_9EN7bDJcMepWxhmM", + "id": "con_F6FupkR2JVv0xmQV", "options": { "email": true, "scope": [ @@ -2136,18 +2247,31 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "WM31waMImeHDtQnjVLPzg2uvu00vgdim" + "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" ] }, { - "id": "con_tPtALYZ6wQWOFos3", + "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", @@ -2158,7 +2282,7 @@ ], "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "WM31waMImeHDtQnjVLPzg2uvu00vgdim" + "aeVst9TwA6QPHDkpexs1vfl9PiQBJUza" ] } ] @@ -2184,7 +2308,7 @@ "status": 200, "response": { "allowed_logout_urls": [ - "https://travel0.com/logoutCallback" + "https://mycompany.org/logoutCallback" ], "change_password": { "enabled": true, @@ -2220,7 +2344,7 @@ "disable_clickjack_protection_headers": false, "enable_pipeline2": false }, - "friendly_name": "This tenant name should be preserved", + "friendly_name": "My Test Tenant", "guardian_mfa_page": { "enabled": true, "html": "MFA\n" @@ -2229,13 +2353,14 @@ "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", + "support_email": "support@mycompany.org", + "support_url": "https://mycompany.org/support", "universal_login": { "colors": { "primary": "#F8F8F2", "page_background": "#222221" - } + }, + "identifier_first": true }, "session_cookie": { "mode": "non-persistent" 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 025626acf..7ba389f22 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 @@ -795,6 +795,22 @@ "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" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -896,7 +912,7 @@ "subject": "deprecated" } ], - "client_id": "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -929,14 +945,27 @@ "limit": 100, "connections": [ { - "id": "con_jhN5HBbQHUJEcF6n", + "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", @@ -946,8 +975,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -967,14 +996,27 @@ "limit": 100, "connections": [ { - "id": "con_jhN5HBbQHUJEcF6n", + "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", @@ -984,8 +1026,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -1082,17 +1124,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 @@ -1100,14 +1139,18 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/reset_email", + "path": "/api/v2/email-templates/welcome_email", "body": "", - "status": 404, + "status": 200, "response": { - "statusCode": 404, - "error": "Not Found", - "message": "The template does not exist.", - "errorCode": "inexistent_email_template" + "template": "welcome_email", + "body": "\n \n

Welcome!

\n \n\n", + "from": "", + "resultUrl": "https://example.com/welcome", + "subject": "Welcome", + "syntax": "liquid", + "urlLifetimeInSeconds": 3600, + "enabled": false }, "rawHeaders": [], "responseIsBinary": false @@ -1130,18 +1173,17 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/welcome_email", + "path": "/api/v2/email-templates/verify_email", "body": "", "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 @@ -1149,7 +1191,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/reset_email", "body": "", "status": 404, "response": { @@ -1209,7 +1251,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": { @@ -1224,7 +1266,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/user_invitation", "body": "", "status": 404, "response": { @@ -1239,7 +1281,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/email-templates/user_invitation", + "path": "/api/v2/email-templates/password_reset", "body": "", "status": 404, "response": { @@ -1263,7 +1305,7 @@ "limit": 100, "client_grants": [ { - "id": "cgr_Uvfv2anWyTWpI1qQ", + "id": "cgr_t3j1isctGZmOVylt", "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ @@ -1486,25 +1528,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 }, @@ -1693,7 +1735,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-id/custom-text/en", + "path": "/api/v2/prompts/login-password/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1703,7 +1745,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/login-password/custom-text/en", + "path": "/api/v2/prompts/login-id/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1763,7 +1805,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": {}, @@ -1773,7 +1815,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa-push/custom-text/en", + "path": "/api/v2/prompts/mfa-otp/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1783,7 +1825,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": {}, @@ -1803,7 +1845,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-voice/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1813,7 +1855,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": {}, @@ -1843,7 +1885,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/status/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1853,7 +1895,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/mfa/custom-text/en", + "path": "/api/v2/prompts/mfa-recovery-code/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1863,7 +1905,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/status/custom-text/en", + "path": "/api/v2/prompts/mfa/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1873,7 +1915,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/email-verification/custom-text/en", + "path": "/api/v2/prompts/device-flow/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1883,7 +1925,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/prompts/device-flow/custom-text/en", + "path": "/api/v2/prompts/email-otp-challenge/custom-text/en", "body": "", "status": 200, "response": {}, @@ -1893,7 +1935,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": {}, @@ -1975,6 +2017,17 @@ "default_runtime": "node12", "compatible_triggers": [] }, + { + "id": "post-login", + "version": "v2", + "status": "DEPRECATED", + "runtimes": [ + "node12", + "node16" + ], + "default_runtime": "node16", + "compatible_triggers": [] + }, { "id": "post-login", "version": "v3", @@ -1982,7 +2035,6 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", @@ -1994,15 +2046,13 @@ ] }, { - "id": "post-login", - "version": "v2", + "id": "credentials-exchange", + "version": "v1", "status": "DEPRECATED", "runtimes": [ - "node12", - "node16", - "node18" + "node12" ], - "default_runtime": "node16", + "default_runtime": "node12", "compatible_triggers": [] }, { @@ -2012,22 +2062,11 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", "compatible_triggers": [] }, - { - "id": "credentials-exchange", - "version": "v1", - "status": "DEPRECATED", - "runtimes": [ - "node12" - ], - "default_runtime": "node12", - "compatible_triggers": [] - }, { "id": "pre-user-registration", "version": "v2", @@ -2035,7 +2074,6 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", @@ -2068,7 +2106,6 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", @@ -2091,7 +2128,6 @@ "runtimes": [ "node12", "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", @@ -2099,24 +2135,23 @@ }, { "id": "send-phone-message", - "version": "v2", - "status": "CURRENT", + "version": "v1", + "status": "DEPRECATED", "runtimes": [ - "node12", - "node16", - "node18", - "node18-actions" + "node12" ], - "default_runtime": "node18-actions", "compatible_triggers": [] }, { "id": "send-phone-message", - "version": "v1", - "status": "DEPRECATED", + "version": "v2", + "status": "CURRENT", "runtimes": [ - "node12" + "node12", + "node16", + "node18-actions" ], + "default_runtime": "node18-actions", "compatible_triggers": [] }, { @@ -2125,11 +2160,18 @@ "status": "CURRENT", "runtimes": [ "node16", - "node18", "node18-actions" ], "default_runtime": "node18-actions", "compatible_triggers": [] + }, + { + "id": "login-post-identifier", + "version": "v1", + "status": "CURRENT", + "default_runtime": "node18", + "runtimes": [], + "compatible_triggers": [] } ] }, @@ -2230,14 +2272,12 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?include_totals=true", + "path": "/api/v2/actions/triggers/login-post-identifier/bindings", "body": "", "status": 200, "response": { - "organizations": [], - "start": 0, - "limit": 50, - "total": 0 + "bindings": [], + "per_page": 20 }, "rawHeaders": [], "responseIsBinary": false @@ -2245,11 +2285,14 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/organizations?include_totals=true&take=50", + "path": "/api/v2/organizations?include_totals=true", "body": "", "status": 200, "response": { - "organizations": [] + "organizations": [], + "start": 0, + "limit": 50, + "total": 0 }, "rawHeaders": [], "responseIsBinary": false @@ -2257,18 +2300,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/attack-protection/brute-force-protection", + "path": "/api/v2/organizations?include_totals=true&take=50", "body": "", "status": 200, "response": { - "enabled": true, - "shields": [ - "block", - "user_notification" - ], - "mode": "count_per_identifier_and_ip", - "allowlist": [], - "max_attempts": 10 + "organizations": [] }, "rawHeaders": [], "responseIsBinary": false @@ -2293,6 +2329,25 @@ "rawHeaders": [], "responseIsBinary": false }, + { + "scope": "https://deploy-cli-dev.eu.auth0.com:443", + "method": "GET", + "path": "/api/v2/attack-protection/brute-force-protection", + "body": "", + "status": 200, + "response": { + "enabled": true, + "shields": [ + "block", + "user_notification" + ], + "mode": "count_per_identifier_and_ip", + "allowlist": [], + "max_attempts": 10 + }, + "rawHeaders": [], + "responseIsBinary": false + }, { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", @@ -2580,7 +2635,8 @@ "colors": { "primary": "#F8F8F2", "page_background": "#222221" - } + }, + "identifier_first": true }, "session_cookie": { "mode": "non-persistent" @@ -3226,6 +3282,22 @@ "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" + }, { "value": "read:client_credentials", "description": "Read Client Credentials" @@ -3327,7 +3399,7 @@ "subject": "deprecated" } ], - "client_id": "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3351,7 +3423,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/clients/GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD", + "path": "/api/v2/clients/xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "body": { "name": "Default App", "callbacks": [], @@ -3408,7 +3480,7 @@ "subject": "/CN=auth0-deploy-cli-e2e.us.auth0.com" } ], - "client_id": "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3445,7 +3517,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/push-notification", + "path": "/api/v2/guardian/factors/webauthn-platform", "body": { "enabled": false }, @@ -3473,7 +3545,7 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PUT", - "path": "/api/v2/guardian/factors/email", + "path": "/api/v2/guardian/factors/push-notification", "body": { "enabled": false }, @@ -3515,7 +3587,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 }, @@ -3644,34 +3716,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": "PATCH", @@ -3726,6 +3770,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", @@ -3843,7 +3915,7 @@ "subject": "deprecated" } ], - "client_id": "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -3908,14 +3980,27 @@ "limit": 100, "connections": [ { - "id": "con_jhN5HBbQHUJEcF6n", + "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", @@ -3925,8 +4010,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -3946,14 +4031,27 @@ "limit": 100, "connections": [ { - "id": "con_jhN5HBbQHUJEcF6n", + "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", @@ -3963,8 +4061,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -3975,26 +4073,39 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "GET", - "path": "/api/v2/connections/con_jhN5HBbQHUJEcF6n", + "path": "/api/v2/connections/con_eSHGfDptLUMkQdaq", "body": "", "status": 200, "response": { - "id": "con_jhN5HBbQHUJEcF6n", + "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": [ - "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ], "realms": [ "Username-Password-Authentication" @@ -4006,11 +4117,11 @@ { "scope": "https://deploy-cli-dev.eu.auth0.com:443", "method": "PATCH", - "path": "/api/v2/connections/con_jhN5HBbQHUJEcF6n", + "path": "/api/v2/connections/con_eSHGfDptLUMkQdaq", "body": { "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD" + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ], "is_domain_connection": false, "options": { @@ -4019,7 +4130,20 @@ "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": [ @@ -4028,14 +4152,27 @@ }, "status": 200, "response": { - "id": "con_jhN5HBbQHUJEcF6n", + "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", @@ -4043,7 +4180,7 @@ "is_domain_connection": false, "enabled_clients": [ "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", - "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD" + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ], "realms": [ "Username-Password-Authentication" @@ -4129,7 +4266,7 @@ "subject": "deprecated" } ], - "client_id": "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4194,14 +4331,27 @@ "limit": 100, "connections": [ { - "id": "con_jhN5HBbQHUJEcF6n", + "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", @@ -4211,8 +4361,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -4232,14 +4382,27 @@ "limit": 100, "connections": [ { - "id": "con_jhN5HBbQHUJEcF6n", + "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", @@ -4249,8 +4412,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -4389,7 +4552,7 @@ "subject": "deprecated" } ], - "client_id": "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD", + "client_id": "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm", "callback_url_template": false, "client_secret": "[REDACTED]", "jwt_configuration": { @@ -4454,7 +4617,7 @@ "limit": 100, "client_grants": [ { - "id": "cgr_Uvfv2anWyTWpI1qQ", + "id": "cgr_t3j1isctGZmOVylt", "client_id": "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", "audience": "https://auth0-deploy-cli-e2e.us.auth0.com/api/v2/", "scope": [ @@ -4725,14 +4888,27 @@ "limit": 100, "connections": [ { - "id": "con_jhN5HBbQHUJEcF6n", + "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", @@ -4742,8 +4918,8 @@ "Username-Password-Authentication" ], "enabled_clients": [ - "GunrGye8hwbrx4eUMZJvsSuAhjiLsLdD", - "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE" + "Vp0gMRF8PtMzekil38qWoj4Fjw2VjRZE", + "xy3hfqvRZhP9glmLayoGXrnFS5EDaAMm" ] } ] @@ -4846,7 +5022,8 @@ "colors": { "primary": "#F8F8F2", "page_background": "#222221" - } + }, + "identifier_first": true }, "session_cookie": { "mode": "non-persistent" diff --git a/test/tools/auth0/handlers/logStreams.test.ts b/test/tools/auth0/handlers/logStreams.test.ts index 93904d821..53fdc4ce7 100644 --- a/test/tools/auth0/handlers/logStreams.test.ts +++ b/test/tools/auth0/handlers/logStreams.test.ts @@ -49,6 +49,29 @@ const mockLogStreams = [ httpEndpoint: 'https://suspended.com/logs', }, }, + { + id: 'log-stream-5', + name: 'Active EventGrid Log Stream', + type: 'eventgrid', + status: 'active', + sink: { + azureSubscriptionId: 'some id', + azureRegion: 'some region', + azureResourceGroup: 'some rg', + azurePartnerTopic: 'some topic name', + }, + }, + { + id: 'log-stream-6', + name: 'Active EventBridge Log Stream', + type: 'eventbridge', + status: 'active', + sink: { + awsRegion: "some region", + awsAccountId: "some id", + awsPartnerEventSource: "some source", + }, + }, ]; const auth0ApiClientMock = { @@ -119,10 +142,71 @@ describe('#logStreams handler', () => { httpEndpoint: 'https://suspended.com/logs', }, }, + { + id: 'log-stream-5', + name: 'Active EventGrid Log Stream', + type: 'eventgrid', + status: 'active', + sink: { + azureSubscriptionId: 'some id', + azureRegion: 'some region', + azureResourceGroup: 'some rg', + azurePartnerTopic: 'some topic name', + }, + }, + { + id: 'log-stream-6', + name: 'Active EventBridge Log Stream', + type: 'eventbridge', + status: 'active', + sink: { + awsRegion: "some region", + awsAccountId: "some id", + awsPartnerEventSource: "some source", + }, + }, ], }); }); + it('should create log streams', async () => { + let didCreateFunctionGetCalled = false; + + const handler = new logStreamsHandler({ + config: () => {}, + client: { + ...auth0ApiClientMock, + logStreams: { + ...auth0ApiClientMock.logStreams, + getAll: async () => [], + }, + }, + functions: { + create: (data) => { + didCreateFunctionGetCalled = true; + const expectedValue = (() => { + const value = mockLogStreams.find((logStream) => { + return logStream.id === data.id; + }); + value.sink = { ...value.sink }; + //@ts-ignore because it's actually ok for sink property to be omitted in POST payload + delete value.status; // Not expecting status in POST payload + if (value?.type == 'eventgrid') delete value.sink.azurePartnerTopic; // Topic name is auto-generated on create, not expecting it in POST payload + if (value?.type == 'eventbridge') delete value.sink.awsPartnerEventSource; // Not expecting this in POST payload + + return value; + })(); + + expect(data).to.deep.equal(expectedValue); + return Promise.resolve(data); + }, + }, + }); + + await handler.processChanges({ logStreams: mockLogStreams }); + expect(didCreateFunctionGetCalled).to.equal(true); + }); + it('should update log streams settings', async () => { let didUpdateFunctionGetCalled = false; @@ -136,10 +220,13 @@ describe('#logStreams handler', () => { const value = mockLogStreams.find((logStream) => { return logStream.id === id; }); + //@ts-ignore because it's actually ok for status property to be omitted in PATCH payload + if (value?.type === 'eventbridge' || value?.type === 'eventgrid') delete value.sink; delete value.id; // Not expecting ID in PATCH payload delete value.type; // Not expecting type in PATCH payload //@ts-ignore because it's actually ok for status property to be omitted in PATCH payload if (value?.status === 'suspended') delete value.status; // Not expecting status in PATCH payload if suspended + return value; })();