diff --git a/docs/data-sources/tenant.md b/docs/data-sources/tenant.md index ac517d3c9..70cb20f8c 100644 --- a/docs/data-sources/tenant.md +++ b/docs/data-sources/tenant.md @@ -63,9 +63,9 @@ Read-Only: - `enable_legacy_profile` (Boolean) - `enable_pipeline2` (Boolean) - `enable_public_signup_user_exists_error` (Boolean) +- `enable_sso` (Boolean) - `mfa_show_factor_list_on_enrollment` (Boolean) - `no_disclose_enterprise_connections` (Boolean) -- `require_pushed_authorization_requests` (Boolean) - `revoke_refresh_token_grant` (Boolean) - `use_scope_descriptions_for_consent` (Boolean) diff --git a/docs/resources/tenant.md b/docs/resources/tenant.md index 484e5b6d2..53c3da159 100644 --- a/docs/resources/tenant.md +++ b/docs/resources/tenant.md @@ -94,9 +94,9 @@ Optional: - `enable_legacy_profile` (Boolean) Whether ID tokens and the userinfo endpoint includes a complete user profile (true) or only OpenID Connect claims (false). - `enable_pipeline2` (Boolean) Indicates whether advanced API Authorization scenarios are enabled. - `enable_public_signup_user_exists_error` (Boolean) Indicates whether the public sign up process shows a `user_exists` error if the user already exists. +- `enable_sso` (Boolean) Flag indicating whether users will not be prompted to confirm log in before SSO redirection. This flag applies to existing tenants only; new tenants have it enforced as true. - `mfa_show_factor_list_on_enrollment` (Boolean) Used to allow users to pick which factor to enroll with from the list of available MFA factors. - `no_disclose_enterprise_connections` (Boolean) Do not Publish Enterprise Connections Information with IdP domains on the lock configuration file. -- `require_pushed_authorization_requests` (Boolean) Makes the use of Pushed Authorization Requests mandatory for all clients across the tenant. This feature currently needs to be enabled on the tenant in order to make use of it. - `revoke_refresh_token_grant` (Boolean) Delete underlying grant when a refresh token is revoked via the Authentication API. - `use_scope_descriptions_for_consent` (Boolean) Indicates whether to use scope descriptions for consent. diff --git a/internal/auth0/tenant/expand.go b/internal/auth0/tenant/expand.go index a2f92be35..c788e61de 100644 --- a/internal/auth0/tenant/expand.go +++ b/internal/auth0/tenant/expand.go @@ -50,6 +50,7 @@ func expandTenantFlags(config cty.Value) *management.TenantFlags { EnablePipeline2: value.Bool(flags.GetAttr("enable_pipeline2")), EnableDynamicClientRegistration: value.Bool(flags.GetAttr("enable_dynamic_client_registration")), EnableCustomDomainInEmails: value.Bool(flags.GetAttr("enable_custom_domain_in_emails")), + EnableSSO: value.Bool(flags.GetAttr("enable_sso")), EnableLegacyLogsSearchV2: value.Bool(flags.GetAttr("enable_legacy_logs_search_v2")), DisableClickjackProtectionHeaders: value.Bool(flags.GetAttr("disable_clickjack_protection_headers")), EnablePublicSignupUserExistsError: value.Bool(flags.GetAttr("enable_public_signup_user_exists_error")), @@ -67,7 +68,6 @@ func expandTenantFlags(config cty.Value) *management.TenantFlags { DashboardInsightsView: value.Bool(flags.GetAttr("dashboard_insights_view")), DisableFieldsMapFix: value.Bool(flags.GetAttr("disable_fields_map_fix")), MFAShowFactorListOnEnrollment: value.Bool(flags.GetAttr("mfa_show_factor_list_on_enrollment")), - RequirePushedAuthorizationRequests: value.Bool(flags.GetAttr("require_pushed_authorization_requests")), } return stop diff --git a/internal/auth0/tenant/flatten.go b/internal/auth0/tenant/flatten.go index edae4ae63..fffbddd14 100644 --- a/internal/auth0/tenant/flatten.go +++ b/internal/auth0/tenant/flatten.go @@ -49,6 +49,7 @@ func flattenTenantFlags(flags *management.TenantFlags) []interface{} { m["enable_pipeline2"] = flags.EnablePipeline2 m["enable_dynamic_client_registration"] = flags.EnableDynamicClientRegistration m["enable_custom_domain_in_emails"] = flags.EnableCustomDomainInEmails + m["enable_sso"] = flags.EnableSSO m["enable_legacy_logs_search_v2"] = flags.EnableLegacyLogsSearchV2 m["disable_clickjack_protection_headers"] = flags.DisableClickjackProtectionHeaders m["enable_public_signup_user_exists_error"] = flags.EnablePublicSignupUserExistsError @@ -66,7 +67,6 @@ func flattenTenantFlags(flags *management.TenantFlags) []interface{} { m["dashboard_insights_view"] = flags.DashboardInsightsView m["disable_fields_map_fix"] = flags.DisableFieldsMapFix m["mfa_show_factor_list_on_enrollment"] = flags.MFAShowFactorListOnEnrollment - m["require_pushed_authorization_requests"] = flags.RequirePushedAuthorizationRequests return []interface{}{m} } diff --git a/internal/auth0/tenant/resource.go b/internal/auth0/tenant/resource.go index 976d8bd15..b69240d04 100644 --- a/internal/auth0/tenant/resource.go +++ b/internal/auth0/tenant/resource.go @@ -145,6 +145,13 @@ func NewResource() *schema.Resource { Description: "Indicates whether the tenant allows custom domains in emails. " + "Before enabling this flag, you must have a custom domain with status: `ready`.", }, + "enable_sso": { + Type: schema.TypeBool, + Optional: true, + Computed: true, + Description: "Flag indicating whether users will not be prompted to confirm log in before SSO redirection. " + + "This flag applies to existing tenants only; new tenants have it enforced as true.", + }, "enable_legacy_logs_search_v2": { Type: schema.TypeBool, Optional: true, @@ -247,12 +254,6 @@ func NewResource() *schema.Resource { Computed: true, Description: "Used to allow users to pick which factor to enroll with from the list of available MFA factors.", }, - "require_pushed_authorization_requests": { - Type: schema.TypeBool, - Optional: true, - Computed: true, - Description: "Makes the use of Pushed Authorization Requests mandatory for all clients across the tenant. This feature currently needs to be enabled on the tenant in order to make use of it.", - }, }, }, }, diff --git a/internal/auth0/tenant/resource_test.go b/internal/auth0/tenant/resource_test.go index a8b2d3e9c..1c796ec22 100644 --- a/internal/auth0/tenant/resource_test.go +++ b/internal/auth0/tenant/resource_test.go @@ -83,6 +83,54 @@ func TestAccTenant(t *testing.T) { }) } +// TestAccTenant_EnableSSO tests the enable_sso flag. This test is added separately because it can only be tested on existing tenants. +// For new tenants, this flag is always set to true. +func TestAccTenant_EnableSSO(t *testing.T) { + acctest.Test(t, resource.TestCase{ + Steps: []resource.TestStep{ + { + Config: testAccEmptyTenant, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "session_lifetime", "168"), + resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "idle_session_lifetime", "72"), + ), + }, + { + Config: testAccTenantEnableSSOConfigCreate, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "session_lifetime", "168"), + resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "idle_session_lifetime", "72"), + resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "flags.0.enable_sso", "false"), + ), + }, + { + Config: testAccTenantEnableSSOConfigUpdate, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "session_lifetime", "168"), + resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "idle_session_lifetime", "72"), + resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "flags.0.enable_sso", "true"), + ), + }, + }, + }) +} + +const testAccTenantEnableSSOConfigCreate = ` +resource "auth0_tenant" "my_tenant" { + flags { + enable_sso = false + } +} +` + +const testAccTenantEnableSSOConfigUpdate = ` +resource "auth0_tenant" "my_tenant" { + flags { + enable_sso = true + } +} +` + const testAccTenantConfigCreate = ` resource "auth0_tenant" "my_tenant" { default_directory = "" @@ -109,7 +157,6 @@ resource "auth0_tenant" "my_tenant" { disable_management_api_sms_obfuscation = false disable_fields_map_fix = false mfa_show_factor_list_on_enrollment = false - require_pushed_authorization_requests = false } session_cookie { @@ -147,7 +194,6 @@ resource "auth0_tenant" "my_tenant" { disable_management_api_sms_obfuscation = true disable_fields_map_fix = true mfa_show_factor_list_on_enrollment = true - require_pushed_authorization_requests = true } session_cookie { diff --git a/test/data/recordings/TestAccTenant.yaml b/test/data/recordings/TestAccTenant.yaml index 7b001d2b2..671f5f61b 100644 --- a/test/data/recordings/TestAccTenant.yaml +++ b/test/data/recordings/TestAccTenant.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.2.0 + - Go-Auth0/1.6.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings method: PATCH response: @@ -30,32 +30,31 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"require_pushed_authorization_requests":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"persistent"}}' + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"universal_login":true,"revoke_refresh_token_grant":false,"dashboard_new_onboarding":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 300.774125ms + duration: 424.132167ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.2.0 + - Go-Auth0/1.6.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings method: GET response: @@ -66,32 +65,31 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"require_pushed_authorization_requests":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"dashboard_new_onboarding":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 244.475666ms + duration: 384.138167ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.2.0 + - Go-Auth0/1.6.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings method: GET response: @@ -102,32 +100,31 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"require_pushed_authorization_requests":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"dashboard_new_onboarding":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 239.992833ms + duration: 364.18175ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.2.0 + - Go-Auth0/1.6.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings method: GET response: @@ -138,32 +135,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"require_pushed_authorization_requests":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"dashboard_new_onboarding":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 269.371083ms + duration: 377.435625ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 950 + content_length: 904 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"default_audience":"","default_directory":"","flags":{"disable_clickjack_protection_headers":true,"enable_public_signup_user_exists_error":true,"use_scope_descriptions_for_consent":true,"no_disclose_enterprise_connections":false,"disable_management_api_sms_obfuscation":false,"disable_fields_map_fix":false,"mfa_show_factor_list_on_enrollment":false,"require_pushed_authorization_requests":false},"friendly_name":"My Test Tenant","picture_url":"https://mycompany.org/logo.png","support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","allowed_logout_urls":["https://mycompany.org/logoutCallback"],"session_lifetime":720,"sandbox_version":"16","default_redirection_uri":"https://example.com/login","enabled_locales":["en","de","fr"],"session_cookie":{"mode":"non-persistent"},"sessions":{"oidc_logout_prompt_enabled":false},"allow_organization_name_in_authentication_api":false,"customize_mfa_in_postlogin_action":false} + {"default_audience":"","default_directory":"","flags":{"disable_clickjack_protection_headers":true,"enable_public_signup_user_exists_error":true,"use_scope_descriptions_for_consent":true,"no_disclose_enterprise_connections":false,"disable_management_api_sms_obfuscation":false,"disable_fields_map_fix":false,"mfa_show_factor_list_on_enrollment":false},"friendly_name":"My Test Tenant","picture_url":"https://mycompany.org/logo.png","support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","allowed_logout_urls":["https://mycompany.org/logoutCallback"],"session_lifetime":720,"sandbox_version":"16","default_redirection_uri":"https://example.com/login","enabled_locales":["en","de","fr"],"session_cookie":{"mode":"non-persistent"},"sessions":{"oidc_logout_prompt_enabled":false},"allow_organization_name_in_authentication_api":false,"customize_mfa_in_postlogin_action":false} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.2.0 + - Go-Auth0/1.6.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings method: PATCH response: @@ -174,32 +171,31 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"allowed_logout_urls":["https://mycompany.org/logoutCallback"],"default_audience":"","default_directory":"","default_redirection_uri":"https://example.com/login","enabled_locales":["en","de","fr"],"flags":{"allow_changing_enable_sso":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_public_signup_user_exists_error":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"universal_login":true,"use_scope_descriptions_for_consent":true,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":false,"require_pushed_authorization_requests":false,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":false,"disable_clickjack_protection_headers":true},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"allow_organization_name_in_authentication_api":false,"customize_mfa_in_postlogin_action":false,"universal_login":{"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"}}' + body: '{"allowed_logout_urls":["https://mycompany.org/logoutCallback"],"default_audience":"","default_directory":"","default_redirection_uri":"https://example.com/login","enabled_locales":["en","de","fr"],"flags":{"allow_changing_enable_sso":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_public_signup_user_exists_error":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"universal_login":true,"use_scope_descriptions_for_consent":true,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":false,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":false,"disable_clickjack_protection_headers":true},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":false,"customize_mfa_in_postlogin_action":false,"session_cookie":{"mode":"non-persistent"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 521.495208ms + duration: 425.377708ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.2.0 + - Go-Auth0/1.6.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings method: GET response: @@ -210,32 +206,31 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"allowed_logout_urls":["https://mycompany.org/logoutCallback"],"default_audience":"","default_directory":"","default_redirection_uri":"https://example.com/login","enabled_locales":["en","de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":true,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":false,"require_pushed_authorization_requests":false,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":false,"disable_clickjack_protection_headers":true},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"allow_organization_name_in_authentication_api":false,"customize_mfa_in_postlogin_action":false,"universal_login":{"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16"]}' + body: '{"allowed_logout_urls":["https://mycompany.org/logoutCallback"],"default_audience":"","default_directory":"","default_redirection_uri":"https://example.com/login","enabled_locales":["en","de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":true,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":false,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":false,"disable_clickjack_protection_headers":true},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":false,"customize_mfa_in_postlogin_action":false,"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 248.521542ms + duration: 924.337917ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.2.0 + - Go-Auth0/1.6.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings method: GET response: @@ -246,32 +241,31 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"allowed_logout_urls":["https://mycompany.org/logoutCallback"],"default_audience":"","default_directory":"","default_redirection_uri":"https://example.com/login","enabled_locales":["en","de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":true,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":false,"require_pushed_authorization_requests":false,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":false,"disable_clickjack_protection_headers":true},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"allow_organization_name_in_authentication_api":false,"customize_mfa_in_postlogin_action":false,"universal_login":{"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16"]}' + body: '{"allowed_logout_urls":["https://mycompany.org/logoutCallback"],"default_audience":"","default_directory":"","default_redirection_uri":"https://example.com/login","enabled_locales":["en","de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":true,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":false,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":false,"disable_clickjack_protection_headers":true},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":false,"customize_mfa_in_postlogin_action":false,"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 236.452709ms + duration: 376.414042ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.2.0 + - Go-Auth0/1.6.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings method: GET response: @@ -282,32 +276,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"allowed_logout_urls":["https://mycompany.org/logoutCallback"],"default_audience":"","default_directory":"","default_redirection_uri":"https://example.com/login","enabled_locales":["en","de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":true,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":false,"require_pushed_authorization_requests":false,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":false,"disable_clickjack_protection_headers":true},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"allow_organization_name_in_authentication_api":false,"customize_mfa_in_postlogin_action":false,"universal_login":{"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16"]}' + body: '{"allowed_logout_urls":["https://mycompany.org/logoutCallback"],"default_audience":"","default_directory":"","default_redirection_uri":"https://example.com/login","enabled_locales":["en","de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":true,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":false,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":false,"disable_clickjack_protection_headers":true},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":false,"customize_mfa_in_postlogin_action":false,"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 254.800416ms + duration: 532.126333ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 851 + content_length: 806 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"default_directory":"","flags":{"disable_clickjack_protection_headers":false,"enable_public_signup_user_exists_error":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"disable_management_api_sms_obfuscation":true,"disable_fields_map_fix":true,"mfa_show_factor_list_on_enrollment":true,"require_pushed_authorization_requests":true},"friendly_name":"My Test Tenant","picture_url":"https://mycompany.org/logo.png","support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","allowed_logout_urls":[],"session_lifetime":720,"sandbox_version":"16","default_redirection_uri":"","enabled_locales":["de","fr"],"session_cookie":{"mode":"persistent"},"sessions":{"oidc_logout_prompt_enabled":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true} + {"default_directory":"","flags":{"disable_clickjack_protection_headers":false,"enable_public_signup_user_exists_error":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"disable_management_api_sms_obfuscation":true,"disable_fields_map_fix":true,"mfa_show_factor_list_on_enrollment":true},"friendly_name":"My Test Tenant","picture_url":"https://mycompany.org/logo.png","support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","allowed_logout_urls":[],"session_lifetime":720,"sandbox_version":"16","default_redirection_uri":"","enabled_locales":["de","fr"],"session_cookie":{"mode":"persistent"},"sessions":{"oidc_logout_prompt_enabled":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.2.0 + - Go-Auth0/1.6.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings method: PATCH response: @@ -318,32 +312,31 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"require_pushed_authorization_requests":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"persistent"}}' + body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"session_cookie":{"mode":"persistent"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 294.944ms + duration: 416.516125ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.2.0 + - Go-Auth0/1.6.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings method: GET response: @@ -354,32 +347,31 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"require_pushed_authorization_requests":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 254.815291ms + duration: 369.060625ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.2.0 + - Go-Auth0/1.6.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings method: GET response: @@ -390,32 +382,31 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"require_pushed_authorization_requests":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 237.322958ms + duration: 386.368708ms - id: 11 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.2.0 + - Go-Auth0/1.6.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings method: GET response: @@ -426,13 +417,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"require_pushed_authorization_requests":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":720,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 241.73375ms + duration: 370.906667ms - id: 12 request: proto: HTTP/1.1 @@ -451,7 +442,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.2.0 + - Go-Auth0/1.6.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings method: PATCH response: @@ -462,32 +453,31 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"require_pushed_authorization_requests":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"persistent"}}' + body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"session_cookie":{"mode":"persistent"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 284.327542ms + duration: 429.25775ms - id: 13 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.2.0 + - Go-Auth0/1.6.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings method: GET response: @@ -498,32 +488,31 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"require_pushed_authorization_requests":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 254.263041ms + duration: 372.1175ms - id: 14 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.2.0 + - Go-Auth0/1.6.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings method: GET response: @@ -534,10 +523,10 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"require_pushed_authorization_requests":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + body: '{"allowed_logout_urls":[],"default_audience":"","default_directory":"","enabled_locales":["de","fr"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_public_signup_user_exists_error":true,"enable_sso":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 237.9535ms + duration: 417.443458ms diff --git a/test/data/recordings/TestAccTenant_EnableSSO.yaml b/test/data/recordings/TestAccTenant_EnableSSO.yaml new file mode 100644 index 000000000..7ffd086f9 --- /dev/null +++ b/test/data/recordings/TestAccTenant_EnableSSO.yaml @@ -0,0 +1,391 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 52 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"session_lifetime":168,"idle_session_lifetime":72} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.6.0 + 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":[],"default_audience":"","default_directory":"","enabled_locales":["en"],"flags":{"allow_changing_enable_sso":true,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_client_connections":false,"enable_public_signup_user_exists_error":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"new_universal_login_experience_enabled":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"custom_domains_provisioning":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","guardian_mfa_page":{"enabled":true,"html":"\n\n\n 2nd Factor Authentication\n \n \n \n\n\n\n\n
\n
\n
\n \n
\n
\n
\n
\n\n \n\n \n\n\n"},"idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"colors":{"page_background":"#FF4F40","primary":"#2A2E35"},"is_custom_theme_set":true,"is_custom_template_set":true,"identifier_first":true,"webauthn_platform_first_factor":false},"session_cookie":{"mode":"persistent"}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 389.042584ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.6.0 + 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":[],"default_audience":"","default_directory":"","enabled_locales":["en"],"flags":{"allow_changing_enable_sso":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_client_connections":false,"enable_public_signup_user_exists_error":true,"enable_sso":true,"new_universal_login_experience_enabled":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"custom_domains_provisioning":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","guardian_mfa_page":{"enabled":true,"html":"\n\n\n 2nd Factor Authentication\n \n \n \n\n\n\n\n
\n
\n
\n \n
\n
\n
\n
\n\n \n\n \n\n\n"},"idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"colors":{"page_background":"#FF4F40","primary":"#2A2E35"}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 345.502375ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.6.0 + 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":[],"default_audience":"","default_directory":"","enabled_locales":["en"],"flags":{"allow_changing_enable_sso":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_client_connections":false,"enable_public_signup_user_exists_error":true,"enable_sso":true,"new_universal_login_experience_enabled":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"custom_domains_provisioning":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","guardian_mfa_page":{"enabled":true,"html":"\n\n\n 2nd Factor Authentication\n \n \n \n\n\n\n\n
\n
\n
\n \n
\n
\n
\n
\n\n \n\n \n\n\n"},"idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"colors":{"page_background":"#FF4F40","primary":"#2A2E35"}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 348.383542ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.6.0 + 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":[],"default_audience":"","default_directory":"","enabled_locales":["en"],"flags":{"allow_changing_enable_sso":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_client_connections":false,"enable_public_signup_user_exists_error":true,"enable_sso":true,"new_universal_login_experience_enabled":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"custom_domains_provisioning":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","guardian_mfa_page":{"enabled":true,"html":"\n\n\n 2nd Factor Authentication\n \n \n \n\n\n\n\n
\n
\n
\n \n
\n
\n
\n
\n\n \n\n \n\n\n"},"idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"colors":{"page_background":"#FF4F40","primary":"#2A2E35"}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 314.751166ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 54 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"flags":{"enable_sso":false},"session_lifetime":168} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.6.0 + 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":[],"default_audience":"","default_directory":"","enabled_locales":["en"],"flags":{"allow_changing_enable_sso":true,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_client_connections":false,"enable_public_signup_user_exists_error":true,"enable_sso":false,"enforce_client_authentication_on_passwordless_start":true,"new_universal_login_experience_enabled":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"custom_domains_provisioning":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","guardian_mfa_page":{"enabled":true,"html":"\n\n\n 2nd Factor Authentication\n \n \n \n\n\n\n\n
\n
\n
\n \n
\n
\n
\n
\n\n \n\n \n\n\n"},"idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"colors":{"page_background":"#FF4F40","primary":"#2A2E35"},"is_custom_theme_set":true,"is_custom_template_set":true,"identifier_first":true,"webauthn_platform_first_factor":false},"session_cookie":{"mode":"persistent"}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 515.61425ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.6.0 + 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":[],"default_audience":"","default_directory":"","enabled_locales":["en"],"flags":{"allow_changing_enable_sso":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_client_connections":false,"enable_public_signup_user_exists_error":true,"enable_sso":false,"new_universal_login_experience_enabled":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"custom_domains_provisioning":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","guardian_mfa_page":{"enabled":true,"html":"\n\n\n 2nd Factor Authentication\n \n \n \n\n\n\n\n
\n
\n
\n \n
\n
\n
\n
\n\n \n\n \n\n\n"},"idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"colors":{"page_background":"#FF4F40","primary":"#2A2E35"}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 358.847625ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.6.0 + 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":[],"default_audience":"","default_directory":"","enabled_locales":["en"],"flags":{"allow_changing_enable_sso":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_client_connections":false,"enable_public_signup_user_exists_error":true,"enable_sso":false,"new_universal_login_experience_enabled":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"custom_domains_provisioning":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","guardian_mfa_page":{"enabled":true,"html":"\n\n\n 2nd Factor Authentication\n \n \n \n\n\n\n\n
\n
\n
\n \n
\n
\n
\n
\n\n \n\n \n\n\n"},"idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"colors":{"page_background":"#FF4F40","primary":"#2A2E35"}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 333.070625ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.6.0 + 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":[],"default_audience":"","default_directory":"","enabled_locales":["en"],"flags":{"allow_changing_enable_sso":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_client_connections":false,"enable_public_signup_user_exists_error":true,"enable_sso":false,"new_universal_login_experience_enabled":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"custom_domains_provisioning":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","guardian_mfa_page":{"enabled":true,"html":"\n\n\n 2nd Factor Authentication\n \n \n \n\n\n\n\n
\n
\n
\n \n
\n
\n
\n
\n\n \n\n \n\n\n"},"idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"colors":{"page_background":"#FF4F40","primary":"#2A2E35"}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 345.096167ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 53 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"flags":{"enable_sso":true},"session_lifetime":168} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.6.0 + 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":[],"default_audience":"","default_directory":"","enabled_locales":["en"],"flags":{"allow_changing_enable_sso":true,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_client_connections":false,"enable_public_signup_user_exists_error":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"new_universal_login_experience_enabled":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"custom_domains_provisioning":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","guardian_mfa_page":{"enabled":true,"html":"\n\n\n 2nd Factor Authentication\n \n \n \n\n\n\n\n
\n
\n
\n \n
\n
\n
\n
\n\n \n\n \n\n\n"},"idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"colors":{"page_background":"#FF4F40","primary":"#2A2E35"},"is_custom_theme_set":true,"is_custom_template_set":true,"identifier_first":true,"webauthn_platform_first_factor":false},"session_cookie":{"mode":"persistent"}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 356.050958ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.6.0 + 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":[],"default_audience":"","default_directory":"","enabled_locales":["en"],"flags":{"allow_changing_enable_sso":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_client_connections":false,"enable_public_signup_user_exists_error":true,"enable_sso":true,"new_universal_login_experience_enabled":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"custom_domains_provisioning":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","guardian_mfa_page":{"enabled":true,"html":"\n\n\n 2nd Factor Authentication\n \n \n \n\n\n\n\n
\n
\n
\n \n
\n
\n
\n
\n\n \n\n \n\n\n"},"idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"colors":{"page_background":"#FF4F40","primary":"#2A2E35"}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 734.119542ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.6.0 + 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":[],"default_audience":"","default_directory":"","enabled_locales":["en"],"flags":{"allow_changing_enable_sso":true,"disable_impersonation":true,"disable_management_api_sms_obfuscation":true,"enable_client_connections":false,"enable_public_signup_user_exists_error":true,"enable_sso":true,"new_universal_login_experience_enabled":true,"universal_login":true,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"disable_fields_map_fix":true,"dashboard_new_onboarding":false,"mfa_show_factor_list_on_enrollment":true,"custom_domains_provisioning":true,"disable_clickjack_protection_headers":false},"friendly_name":"My Test Tenant","guardian_mfa_page":{"enabled":true,"html":"\n\n\n 2nd Factor Authentication\n \n \n \n\n\n\n\n
\n
\n
\n \n
\n
\n
\n
\n\n \n\n \n\n\n"},"idle_session_lifetime":72,"picture_url":"https://mycompany.org/logo.png","sandbox_version":"16","session_lifetime":168,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":true},"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"allow_organization_name_in_authentication_api":true,"customize_mfa_in_postlogin_action":true,"universal_login":{"colors":{"page_background":"#FF4F40","primary":"#2A2E35"}},"session_cookie":{"mode":"persistent"},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 331.49225ms