diff --git a/MIGRATION_GUIDE.md b/MIGRATION_GUIDE.md index d5fca285a..4abbb5342 100644 --- a/MIGRATION_GUIDE.md +++ b/MIGRATION_GUIDE.md @@ -15,10 +15,10 @@ automated workflows before upgrading. The `auth0_global_client` resource and data source were introduced primarily to allow managing the `custom_login_page` and `custom_login_page_on` attributes in order to manage the custom login page of a tenant. These are now deprecated in -favor of the `auth0_pages` resource. +favor of the `auth0_pages` resource and data source. -To ensure a smooth transition when we eventually remove the capability to manage the custom -login page through the `auth0_global_client`, we recommend proactively migrating to the `auth0_pages` resource. +To ensure a smooth transition when we eventually remove the capability to manage the custom +login page through the `auth0_global_client`, we recommend proactively migrating to the `auth0_pages` resource and data source. This will help you stay prepared for future changes. @@ -55,7 +55,7 @@ resource "auth0_pages" "my_pages" { #### Tenant Pages The `change_password`, `guardian_mfa_page` and `error_page` attributes on the `auth0_tenant` have been deprecated in -favor of managing them with the `auth0_pages` resource. +favor of managing them with the `auth0_pages` resource. To ensure a smooth transition when we eventually remove the capability to manage these custom Auth0 pages through the `auth0_tenant` resource, we recommend proactively migrating to the `auth0_pages` resource. This will help you stay @@ -151,7 +151,7 @@ resource "auth0_branding" "my_branding" { colors { primary = "#0059d6" page_background = "#000000" - } + } } ``` diff --git a/docs/data-sources/pages.md b/docs/data-sources/pages.md new file mode 100644 index 000000000..2afba97e9 --- /dev/null +++ b/docs/data-sources/pages.md @@ -0,0 +1,64 @@ +--- +page_title: "Data Source: auth0_pages" +description: |- + Use this data source to access the HTML for the login, reset password, multi-factor authentication and error pages. +--- + +# Data Source: auth0_pages + +Use this data source to access the HTML for the login, reset password, multi-factor authentication and error pages. + +## Example Usage + +```terraform +data "auth0_pages" "my_pages" {} +``` + + +## Schema + +### Read-Only + +- `change_password` (List of Object) Configuration settings for customizing the Password Reset page. (see [below for nested schema](#nestedatt--change_password)) +- `error` (List of Object) Configuration settings for the Error pages. (see [below for nested schema](#nestedatt--error)) +- `guardian_mfa` (List of Object) Configuration settings for customizing the Guardian Multi-Factor Authentication page. (see [below for nested schema](#nestedatt--guardian_mfa)) +- `id` (String) The ID of this resource. +- `login` (List of Object) Configuration settings for customizing the Login page. (see [below for nested schema](#nestedatt--login)) + + +### Nested Schema for `change_password` + +Read-Only: + +- `enabled` (Boolean) +- `html` (String) + + + +### Nested Schema for `error` + +Read-Only: + +- `html` (String) +- `show_log_link` (Boolean) +- `url` (String) + + + +### Nested Schema for `guardian_mfa` + +Read-Only: + +- `enabled` (Boolean) +- `html` (String) + + + +### Nested Schema for `login` + +Read-Only: + +- `enabled` (Boolean) +- `html` (String) + + diff --git a/examples/data-sources/auth0_pages/data-source.tf b/examples/data-sources/auth0_pages/data-source.tf new file mode 100644 index 000000000..11aaf42c7 --- /dev/null +++ b/examples/data-sources/auth0_pages/data-source.tf @@ -0,0 +1 @@ +data "auth0_pages" "my_pages" {} diff --git a/internal/auth0/page/data_source.go b/internal/auth0/page/data_source.go new file mode 100644 index 000000000..e1da22fd6 --- /dev/null +++ b/internal/auth0/page/data_source.go @@ -0,0 +1,31 @@ +package page + +import ( + "context" + + "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/id" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + + internalSchema "github.com/auth0/terraform-provider-auth0/internal/schema" +) + +// NewDataSource will return a new auth0_page data source. +func NewDataSource() *schema.Resource { + return &schema.Resource{ + ReadContext: readPagesForDataSource, + Description: "Use this data source to access the HTML for the login, reset password, multi-factor authentication and error pages.", + Schema: dataSourceSchema(), + } +} + +func dataSourceSchema() map[string]*schema.Schema { + dataSourceSchema := internalSchema.TransformResourceToDataSource(NewResource().Schema) + return dataSourceSchema +} + +func readPagesForDataSource(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { + // This resource is not identified by an id in the Auth0 management API. + data.SetId(id.UniqueId()) + return readPages(ctx, data, meta) +} diff --git a/internal/auth0/page/data_source_test.go b/internal/auth0/page/data_source_test.go new file mode 100644 index 000000000..0a5f7d0ec --- /dev/null +++ b/internal/auth0/page/data_source_test.go @@ -0,0 +1,63 @@ +package page_test + +import ( + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" + + "github.com/auth0/terraform-provider-auth0/internal/acctest" +) + +const testAccDataPagesConfig = ` +resource "auth0_pages" "my_pages" { + login { + enabled = true + html = "My Custom Login Page" + } + + change_password { + enabled = true + html = "My Custom Reset Password Page" + } + + guardian_mfa { + enabled = true + html = "My Custom MFA Page" + } + + error { + show_log_link = true + html = "My Custom Error Page" + url = "https://example.com" + } +} + +data "auth0_pages" "my_pages" { + depends_on = [ auth0_pages.my_pages ] +} +` + +func TestAccDataSourcePages(t *testing.T) { + acctest.Test(t, resource.TestCase{ + Steps: []resource.TestStep{ + { + Config: acctest.ParseTestName(testAccDataPagesConfig, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "login.#", "1"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "login.0.enabled", "true"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "login.0.html", "My Custom Login Page"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "change_password.#", "1"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "change_password.0.enabled", "true"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "change_password.0.html", "My Custom Reset Password Page"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "guardian_mfa.#", "1"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "guardian_mfa.0.enabled", "true"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "guardian_mfa.0.html", "My Custom MFA Page"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "error.#", "1"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "error.0.show_log_link", "true"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "error.0.html", "My Custom Error Page"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "error.0.url", "https://example.com"), + ), + }, + }, + }) +} diff --git a/internal/provider/provider.go b/internal/provider/provider.go index bed3fcdfa..ddc74deb0 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -142,6 +142,7 @@ func New() *schema.Provider { "auth0_connection": connection.NewDataSource(), "auth0_custom_domain": customdomain.NewDataSource(), "auth0_organization": organization.NewDataSource(), + "auth0_pages": page.NewDataSource(), "auth0_resource_server": resourceserver.NewDataSource(), "auth0_role": role.NewDataSource(), "auth0_tenant": tenant.NewDataSource(), diff --git a/test/data/recordings/TestAccDataSourcePages.yaml b/test/data/recordings/TestAccDataSourcePages.yaml new file mode 100644 index 000000000..e9657e7cd --- /dev/null +++ b/test/data/recordings/TestAccDataSourcePages.yaml @@ -0,0 +1,867 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 161.598958ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 139 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 163.112042ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 433 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"change_password":{"enabled":true,"html":"\u003chtml\u003e\u003cbody\u003eMy Custom Reset Password Page\u003c/body\u003e\u003c/html\u003e"},"guardian_mfa_page":{"enabled":true,"html":"\u003chtml\u003e\u003cbody\u003eMy Custom MFA Page\u003c/body\u003e\u003c/html\u003e"},"error_page":{"html":"\u003chtml\u003e\u003cbody\u003eMy Custom Error Page\u003c/body\u003e\u003c/html\u003e","show_log_link":true,"url":"https://example.com"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":true,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"My Custom Error Page","show_log_link":true,"url":"https://example.com"},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":true},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true},"is_custom_template_set":true},"session_cookie":{"mode":"non-persistent"}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 296.82875ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 93.959167ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 149.655917ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":true,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"My Custom Error Page","show_log_link":true,"url":"https://example.com"},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":true},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16","12"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 141.207167ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 150.741083ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 147.470584ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":true,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"My Custom Error Page","show_log_link":true,"url":"https://example.com"},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":true},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16","12"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 154.299709ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 139.001583ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 151.17825ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":true,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"My Custom Error Page","show_log_link":true,"url":"https://example.com"},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":true},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16","12"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 132.569084ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 143.173125ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 84.281333ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":true,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"My Custom Error Page","show_log_link":true,"url":"https://example.com"},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":true},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16","12"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 153.5935ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 146.04675ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 62.882792ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":true,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"My Custom Error Page","show_log_link":true,"url":"https://example.com"},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":true},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16","12"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 147.167208ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 141.580792ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 135.080291ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":true,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"My Custom Error Page","show_log_link":true,"url":"https://example.com"},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":true},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16","12"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 134.204333ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 84.235958ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 31 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"custom_login_page_on":false} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":false,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 141.251333ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 132 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"change_password":{"enabled":false},"guardian_mfa_page":{"enabled":false},"error_page":{"html":"","show_log_link":false,"url":""}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":false,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"","show_log_link":false,"url":""},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":false},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true},"is_custom_template_set":true},"session_cookie":{"mode":"non-persistent"}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 313.55525ms