From 17d80771079551ebf7a5566babb737dde1a2f0aa Mon Sep 17 00:00:00 2001 From: Sergiu Ghitea Date: Tue, 20 Dec 2022 13:05:03 +0100 Subject: [PATCH] Deprecate enabled_clients on the auth0_connection resource --- docs/resources/connection.md | 2 +- .../provider/resource_auth0_connection.go | 15 +- .../resource_auth0_connection_client_test.go | 12 - .../resource_auth0_connection_test.go | 74 -- .../provider/structure_auth0_connection.go | 1 - .../recordings/TestAccConnectionClient.yaml | 632 +++-------- .../TestAccConnectionWithEnabledClients.yaml | 1006 ----------------- 7 files changed, 164 insertions(+), 1578 deletions(-) delete mode 100644 test/data/recordings/TestAccConnectionWithEnabledClients.yaml diff --git a/docs/resources/connection.md b/docs/resources/connection.md index fa24dbda2..18b04ed8e 100644 --- a/docs/resources/connection.md +++ b/docs/resources/connection.md @@ -601,7 +601,7 @@ resource "auth0_connection" "okta" { ### Optional - `display_name` (String) Name used in login screen. -- `enabled_clients` (Set of String) IDs of the clients for which the connection is enabled. +- `enabled_clients` (Set of String, Deprecated) IDs of the clients for which the connection is enabled. This has been deprecated in favor of the `auth0_connection_client` resource. - `is_domain_connection` (Boolean) Indicates whether the connection is domain level. - `metadata` (Map of String) Metadata associated with the connection, in the form of a map of string values (max 255 chars). Maximum of 10 metadata properties allowed. - `options` (Block List, Max: 1) Configuration settings for connection options. (see [below for nested schema](#nestedblock--options)) diff --git a/internal/provider/resource_auth0_connection.go b/internal/provider/resource_auth0_connection.go index c780c9072..ef4fe75b5 100644 --- a/internal/provider/resource_auth0_connection.go +++ b/internal/provider/resource_auth0_connection.go @@ -739,11 +739,15 @@ var connectionSchema = map[string]*schema.Schema{ }, }, "enabled_clients": { - Type: schema.TypeSet, - Elem: &schema.Schema{Type: schema.TypeString}, - Optional: true, - Computed: true, - Description: "IDs of the clients for which the connection is enabled.", + Type: schema.TypeSet, + Elem: &schema.Schema{Type: schema.TypeString}, + Optional: true, + Computed: true, + Description: "IDs of the clients for which the connection is enabled. " + + "This has been deprecated in favor of the `auth0_connection_client` resource.", + Deprecated: "Management of enabled clients on a connection through this property has been deprecated in " + + "favor of the `auth0_connection_client` resource. Please migrate all managed enabled clients of the " + + "connection to the new resource type.", }, "realms": { Type: schema.TypeList, @@ -924,7 +928,6 @@ func readConnection(ctx context.Context, d *schema.ResourceData, m interface{}) d.Set("is_domain_connection", connection.GetIsDomainConnection()), d.Set("strategy", connection.GetStrategy()), d.Set("options", connectionOptions), - d.Set("enabled_clients", connection.GetEnabledClients()), d.Set("realms", connection.GetRealms()), d.Set("metadata", connection.GetMetadata()), ) diff --git a/internal/provider/resource_auth0_connection_client_test.go b/internal/provider/resource_auth0_connection_client_test.go index 7c82b357c..7c474bc0d 100644 --- a/internal/provider/resource_auth0_connection_client_test.go +++ b/internal/provider/resource_auth0_connection_client_test.go @@ -87,12 +87,6 @@ func TestAccConnectionClient(t *testing.T) { resource.TestCheckResourceAttr("auth0_connection_client.my_conn_client_assoc-2", "name", fmt.Sprintf("Acceptance-Test-Connection-%s", t.Name())), ), }, - { - RefreshState: true, - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_connection.my_conn", "enabled_clients.#", "2"), - ), - }, { Config: template.ParseTestName(testAccDeleteConnectionClient, t.Name()), Check: resource.ComposeTestCheckFunc( @@ -106,12 +100,6 @@ func TestAccConnectionClient(t *testing.T) { resource.TestCheckResourceAttr("auth0_connection_client.my_conn_client_assoc-2", "name", fmt.Sprintf("Acceptance-Test-Connection-%s", t.Name())), ), }, - { - RefreshState: true, - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_connection.my_conn", "enabled_clients.#", "1"), - ), - }, }, }) } diff --git a/internal/provider/resource_auth0_connection_test.go b/internal/provider/resource_auth0_connection_test.go index 4e22e2b43..826052131 100644 --- a/internal/provider/resource_auth0_connection_test.go +++ b/internal/provider/resource_auth0_connection_test.go @@ -645,80 +645,6 @@ resource "auth0_connection" "oauth2" { } ` -func TestAccConnectionWithEnabledClients(t *testing.T) { - httpRecorder := recorder.New(t) - - resource.Test(t, resource.TestCase{ - ProviderFactories: testProviders(httpRecorder), - Steps: []resource.TestStep{ - { - Config: template.ParseTestName(testAccConnectionWithEnabledClientsConfig, t.Name()), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_connection.my_connection", "name", fmt.Sprintf("Acceptance-Test-Connection-%s", t.Name())), - resource.TestCheckResourceAttr("auth0_connection.my_connection", "enabled_clients.#", "4"), - resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.#", "1"), // Gets computed with defaults by the API. - ), - }, - { - Config: template.ParseTestName(testAccConnectionWithEmptyEnabledClientsConfig, t.Name()), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_connection.my_connection", "enabled_clients.#", "0"), - ), - }, - }, - }) -} - -const testAccConnectionWithEnabledClientsConfig = ` -resource "auth0_client" "my_client_1" { - name = "Application - Acceptance Test - 1 - {{.testName}}" - description = "Test Applications Long Description" - app_type = "non_interactive" -} - -resource "auth0_client" "my_client_2" { - depends_on = [auth0_client.my_client_1] - name = "Application - Acceptance Test - 2 - {{.testName}}" - description = "Test Applications Long Description" - app_type = "non_interactive" -} - -resource "auth0_client" "my_client_3" { - depends_on = [auth0_client.my_client_2] - name = "Application - Acceptance Test - 3 - {{.testName}}" - description = "Test Applications Long Description" - app_type = "non_interactive" -} - -resource "auth0_client" "my_client_4" { - depends_on = [auth0_client.my_client_3] - name = "Application - Acceptance Test - 4 - {{.testName}}" - description = "Test Applications Long Description" - app_type = "non_interactive" -} - -resource "auth0_connection" "my_connection" { - name = "Acceptance-Test-Connection-{{.testName}}" - is_domain_connection = true - strategy = "auth0" - enabled_clients = [ - auth0_client.my_client_1.id, - auth0_client.my_client_2.id, - auth0_client.my_client_3.id, - auth0_client.my_client_4.id, - ] -} -` - -const testAccConnectionWithEmptyEnabledClientsConfig = ` -resource "auth0_connection" "my_connection" { - name = "Acceptance-Test-Connection-{{.testName}}" - is_domain_connection = true - strategy = "auth0" - enabled_clients = [] -} -` - func TestAccConnectionSMS(t *testing.T) { httpRecorder := recorder.New(t) diff --git a/internal/provider/structure_auth0_connection.go b/internal/provider/structure_auth0_connection.go index 4ff7e4f44..64a5364bd 100644 --- a/internal/provider/structure_auth0_connection.go +++ b/internal/provider/structure_auth0_connection.go @@ -609,7 +609,6 @@ func expandConnection(d *schema.ResourceData) (*management.Connection, diag.Diag connection := &management.Connection{ DisplayName: value.String(config.GetAttr("display_name")), IsDomainConnection: value.Bool(config.GetAttr("is_domain_connection")), - EnabledClients: value.Strings(config.GetAttr("enabled_clients")), Metadata: value.MapOfStrings(config.GetAttr("metadata")), } diff --git a/test/data/recordings/TestAccConnectionClient.yaml b/test/data/recordings/TestAccConnectionClient.yaml index 2eed607d3..3b59eb1c1 100644 --- a/test/data/recordings/TestAccConnectionClient.yaml +++ b/test/data/recordings/TestAccConnectionClient.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 + - Go-Auth0-SDK/0.14.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: { } content_length: 361 uncompressed: false - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 145.595862ms + duration: 254.984472ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 259.818237ms + duration: 135.640394ms - id: 2 request: proto: HTTP/1.1 @@ -91,7 +91,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 + - Go-Auth0-SDK/0.14.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients method: POST response: @@ -102,13 +102,13 @@ interactions: trailer: { } content_length: -1 uncompressed: false - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClient","client_id":"ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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}}' + body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClient","client_id":"abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 201 Created code: 201 - duration: 237.928056ms + duration: 320.429288ms - id: 3 request: proto: HTTP/1.1 @@ -127,8 +127,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv method: GET response: proto: HTTP/2.0 @@ -138,13 +138,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClient","client_id":"ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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}}' + body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClient","client_id":"abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 136.954764ms + duration: 168.292771ms - id: 4 request: proto: HTTP/1.1 @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: GET response: proto: HTTP/2.0 @@ -174,34 +174,34 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.910588ms + duration: 189.85862ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 60 + content_length: 57 transfer_encoding: [ ] trailer: { } host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance-Test-Client-2-TestAccConnectionClient"} + {"enabled_clients":["abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"]} form: { } headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients - method: POST + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -209,35 +209,35 @@ interactions: transfer_encoding: [ ] trailer: { } content_length: -1 - uncompressed: false - body: '{"name":"Acceptance-Test-Client-2-TestAccConnectionClient","client_id":"7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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}}' + uncompressed: true + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 201.973745ms + status: 200 OK + code: 200 + duration: 151.48578ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 57 + content_length: 60 transfer_encoding: [ ] trailer: { } host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"enabled_clients":["ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ"]} + {"name":"Acceptance-Test-Client-2-TestAccConnectionClient"} form: { } headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM - method: PATCH + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -245,14 +245,14 @@ interactions: transfer_encoding: [ ] trailer: { } content_length: -1 - uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + uncompressed: false + body: '{"name":"Acceptance-Test-Client-2-TestAccConnectionClient","client_id":"nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 132.481946ms + status: 201 Created + code: 201 + duration: 410.757931ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: GET response: proto: HTTP/2.0 @@ -282,13 +282,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.557534ms + duration: 170.022978ms - id: 8 request: proto: HTTP/1.1 @@ -307,8 +307,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3 + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK method: GET response: proto: HTTP/2.0 @@ -318,13 +318,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-2-TestAccConnectionClient","client_id":"7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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}}' + body: '{"name":"Acceptance-Test-Client-2-TestAccConnectionClient","client_id":"nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 221.125759ms + duration: 143.127685ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: GET response: proto: HTTP/2.0 @@ -354,13 +354,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 210.010959ms + duration: 181.394779ms - id: 10 request: proto: HTTP/1.1 @@ -373,14 +373,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"enabled_clients":["ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ","7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3"]} + {"enabled_clients":["abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv","nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK"]} form: { } headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: PATCH response: proto: HTTP/2.0 @@ -390,13 +390,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ","7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv","nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 151.283017ms + duration: 149.914158ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.478274ms + duration: 121.740598ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.597265ms + duration: 131.551577ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClient","client_id":"ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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}}' + body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClient","client_id":"abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 107.201906ms + duration: 134.536232ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.140097ms + duration: 122.757546ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3 + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-2-TestAccConnectionClient","client_id":"7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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}}' + body: '{"name":"Acceptance-Test-Client-2-TestAccConnectionClient","client_id":"nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 111.980165ms + duration: 110.007723ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.314999ms + duration: 112.78407ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"name":"Acceptance-Test-Client-2-TestAccConnectionClient","client_id":"nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 136.313375ms + duration: 131.491152ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClient","client_id":"ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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}}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.66735ms + duration: 148.502791ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClient","client_id":"abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 110.922864ms + duration: 148.53109ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3 + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-2-TestAccConnectionClient","client_id":"7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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}}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 127.100276ms + duration: 190.181984ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 144.145024ms + duration: 109.074937ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: GET response: proto: HTTP/2.0 @@ -822,34 +822,34 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.343808ms + duration: 116.277364ms - id: 23 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 57 transfer_encoding: [ ] trailer: { } host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"enabled_clients":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK"]} form: { } headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3 - method: GET + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -858,13 +858,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-2-TestAccConnectionClient","client_id":"7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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}}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.645159ms + duration: 208.030045ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv method: GET response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClient","client_id":"abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 164.285625ms + duration: 114.401294ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClient","client_id":"ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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}}' + body: '{"name":"Acceptance-Test-Client-2-TestAccConnectionClient","client_id":"nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 164.191316ms + duration: 133.358647ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 186.908385ms + duration: 143.703315ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: GET response: proto: HTTP/2.0 @@ -1002,49 +1002,48 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.753477ms + duration: 148.687691ms - id: 28 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 57 + content_length: 0 transfer_encoding: [ ] trailer: { } host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3"]} + body: "" form: { } headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM - method: PATCH + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [ ] trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 143.422727ms + status: 204 No Content + code: 204 + duration: 152.081979ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1062,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: GET response: proto: HTTP/2.0 @@ -1074,337 +1073,14 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.132622ms + duration: 152.170315ms - id: 30 - 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.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClient","client_id":"ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 137.498149ms - - id: 31 - 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.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"name":"Acceptance-Test-Client-2-TestAccConnectionClient","client_id":"7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 140.858286ms - - id: 32 - 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.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.588047ms - - id: 33 - 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.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.424776ms - - id: 34 - 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.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"name":"Acceptance-Test-Client-2-TestAccConnectionClient","client_id":"7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 171.685396ms - - id: 35 - 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.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClient","client_id":"ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 172.123712ms - - id: 36 - 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.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 151.659119ms - - id: 37 - 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.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 131.141472ms - - id: 38 - 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-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/ZXFJ3xLnNr0pT12gEQ2XkLc7c7PGbzzZ - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 178.404406ms - - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -1422,8 +1098,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: PATCH response: proto: HTTP/2.0 @@ -1433,14 +1109,14 @@ interactions: trailer: { } content_length: -1 uncompressed: true - body: '{"id":"con_yDek2jHrWzf5CazM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + body: '{"id":"con_LuLO2bKCL60cX2Im","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 127.141741ms - - id: 40 + duration: 144.530013ms + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -1457,8 +1133,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yDek2jHrWzf5CazM + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im method: DELETE response: proto: HTTP/2.0 @@ -1468,14 +1144,14 @@ interactions: trailer: { } content_length: 41 uncompressed: false - body: '{"deleted_at":"2022-10-25T16:29:32.029Z"}' + body: '{"deleted_at":"2022-12-20T12:12:16.888Z"}' headers: Content-Type: - application/json; charset=utf-8 status: 202 Accepted code: 202 - duration: 151.405422ms - - id: 41 + duration: 163.840626ms + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1492,8 +1168,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/7FaowpJFzoYIZ9PMioQuRxKFvQBWQHi3 + - Go-Auth0-SDK/0.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK method: DELETE response: proto: HTTP/2.0 @@ -1509,4 +1185,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 180.214271ms + duration: 108.663689ms diff --git a/test/data/recordings/TestAccConnectionWithEnabledClients.yaml b/test/data/recordings/TestAccConnectionWithEnabledClients.yaml deleted file mode 100644 index eb2fddae9..000000000 --- a/test/data/recordings/TestAccConnectionWithEnabledClients.yaml +++ /dev/null @@ -1,1006 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 163 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Application - Acceptance Test - 1 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","app_type":"non_interactive"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: false - body: '{"name":"Application - Acceptance Test - 1 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"cdPcMlObMXFX1LqDMIAxP5l2GgIq4wPp","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 201 Created - code: 201 - duration: 1ms - - id: 1 - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/cdPcMlObMXFX1LqDMIAxP5l2GgIq4wPp - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"name":"Application - Acceptance Test - 1 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"cdPcMlObMXFX1LqDMIAxP5l2GgIq4wPp","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 1ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 163 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Application - Acceptance Test - 2 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","app_type":"non_interactive"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: false - body: '{"name":"Application - Acceptance Test - 2 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"TArmqNGXckI8QgBGrjGaCKZPXpDIPy0k","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 201 Created - code: 201 - duration: 1ms - - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/TArmqNGXckI8QgBGrjGaCKZPXpDIPy0k - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"name":"Application - Acceptance Test - 2 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"TArmqNGXckI8QgBGrjGaCKZPXpDIPy0k","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 1ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 163 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Application - Acceptance Test - 3 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","app_type":"non_interactive"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: false - body: '{"name":"Application - Acceptance Test - 3 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"9NoYmbEtWODJ4G1zVWJxpLEEMBU0SzuG","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 201 Created - code: 201 - duration: 1ms - - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/9NoYmbEtWODJ4G1zVWJxpLEEMBU0SzuG - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"name":"Application - Acceptance Test - 3 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"9NoYmbEtWODJ4G1zVWJxpLEEMBU0SzuG","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 1ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 163 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Application - Acceptance Test - 4 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","app_type":"non_interactive"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: false - body: '{"name":"Application - Acceptance Test - 4 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"kduvSYzOvync9opeW5KHP10LsPFFbMiJ","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 201 Created - code: 201 - duration: 1ms - - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/kduvSYzOvync9opeW5KHP10LsPFFbMiJ - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"name":"Application - Acceptance Test - 4 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"kduvSYzOvync9opeW5KHP10LsPFFbMiJ","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 1ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 281 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance-Test-Connection-TestAccConnectionWithEnabledClients","strategy":"auth0","is_domain_connection":true,"enabled_clients":["9NoYmbEtWODJ4G1zVWJxpLEEMBU0SzuG","TArmqNGXckI8QgBGrjGaCKZPXpDIPy0k","cdPcMlObMXFX1LqDMIAxP5l2GgIq4wPp","kduvSYzOvync9opeW5KHP10LsPFFbMiJ"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 523 - uncompressed: false - body: '{"id":"con_qsGQirRSlRRYeluB","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionWithEnabledClients","is_domain_connection":true,"enabled_clients":["cdPcMlObMXFX1LqDMIAxP5l2GgIq4wPp","TArmqNGXckI8QgBGrjGaCKZPXpDIPy0k","9NoYmbEtWODJ4G1zVWJxpLEEMBU0SzuG","kduvSYzOvync9opeW5KHP10LsPFFbMiJ"],"realms":["Acceptance-Test-Connection-TestAccConnectionWithEnabledClients"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 1ms - - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_qsGQirRSlRRYeluB - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"con_qsGQirRSlRRYeluB","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionWithEnabledClients","is_domain_connection":true,"enabled_clients":["cdPcMlObMXFX1LqDMIAxP5l2GgIq4wPp","TArmqNGXckI8QgBGrjGaCKZPXpDIPy0k","9NoYmbEtWODJ4G1zVWJxpLEEMBU0SzuG","kduvSYzOvync9opeW5KHP10LsPFFbMiJ"],"realms":["Acceptance-Test-Connection-TestAccConnectionWithEnabledClients"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/cdPcMlObMXFX1LqDMIAxP5l2GgIq4wPp - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"name":"Application - Acceptance Test - 1 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"cdPcMlObMXFX1LqDMIAxP5l2GgIq4wPp","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 1ms - - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/TArmqNGXckI8QgBGrjGaCKZPXpDIPy0k - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"name":"Application - Acceptance Test - 2 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"TArmqNGXckI8QgBGrjGaCKZPXpDIPy0k","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 1ms - - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/9NoYmbEtWODJ4G1zVWJxpLEEMBU0SzuG - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"name":"Application - Acceptance Test - 3 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"9NoYmbEtWODJ4G1zVWJxpLEEMBU0SzuG","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 1ms - - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/kduvSYzOvync9opeW5KHP10LsPFFbMiJ - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"name":"Application - Acceptance Test - 4 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"kduvSYzOvync9opeW5KHP10LsPFFbMiJ","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 1ms - - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_qsGQirRSlRRYeluB - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"con_qsGQirRSlRRYeluB","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionWithEnabledClients","is_domain_connection":true,"enabled_clients":["cdPcMlObMXFX1LqDMIAxP5l2GgIq4wPp","TArmqNGXckI8QgBGrjGaCKZPXpDIPy0k","9NoYmbEtWODJ4G1zVWJxpLEEMBU0SzuG","kduvSYzOvync9opeW5KHP10LsPFFbMiJ"],"realms":["Acceptance-Test-Connection-TestAccConnectionWithEnabledClients"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_qsGQirRSlRRYeluB - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"con_qsGQirRSlRRYeluB","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionWithEnabledClients","is_domain_connection":true,"enabled_clients":["cdPcMlObMXFX1LqDMIAxP5l2GgIq4wPp","TArmqNGXckI8QgBGrjGaCKZPXpDIPy0k","9NoYmbEtWODJ4G1zVWJxpLEEMBU0SzuG","kduvSYzOvync9opeW5KHP10LsPFFbMiJ"],"realms":["Acceptance-Test-Connection-TestAccConnectionWithEnabledClients"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/9NoYmbEtWODJ4G1zVWJxpLEEMBU0SzuG - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"name":"Application - Acceptance Test - 3 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"9NoYmbEtWODJ4G1zVWJxpLEEMBU0SzuG","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 1ms - - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/kduvSYzOvync9opeW5KHP10LsPFFbMiJ - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"name":"Application - Acceptance Test - 4 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"kduvSYzOvync9opeW5KHP10LsPFFbMiJ","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 1ms - - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/TArmqNGXckI8QgBGrjGaCKZPXpDIPy0k - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"name":"Application - Acceptance Test - 2 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"TArmqNGXckI8QgBGrjGaCKZPXpDIPy0k","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 1ms - - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/cdPcMlObMXFX1LqDMIAxP5l2GgIq4wPp - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"name":"Application - Acceptance Test - 1 - TestAccConnectionWithEnabledClients","description":"Test Applications Long Description","client_id":"cdPcMlObMXFX1LqDMIAxP5l2GgIq4wPp","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"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: 1ms - - id: 20 - 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-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/kduvSYzOvync9opeW5KHP10LsPFFbMiJ - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 1ms - - id: 21 - 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-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/9NoYmbEtWODJ4G1zVWJxpLEEMBU0SzuG - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 1ms - - id: 22 - 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-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/TArmqNGXckI8QgBGrjGaCKZPXpDIPy0k - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 1ms - - id: 23 - 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-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/cdPcMlObMXFX1LqDMIAxP5l2GgIq4wPp - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 1ms - - id: 24 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 51 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"is_domain_connection":true,"enabled_clients":[]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_qsGQirRSlRRYeluB - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"con_qsGQirRSlRRYeluB","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionWithEnabledClients","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionWithEnabledClients"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 25 - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_qsGQirRSlRRYeluB - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"con_qsGQirRSlRRYeluB","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionWithEnabledClients","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionWithEnabledClients"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 26 - 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/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_qsGQirRSlRRYeluB - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"con_qsGQirRSlRRYeluB","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionWithEnabledClients","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionWithEnabledClients"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 27 - 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-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_qsGQirRSlRRYeluB - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 41 - uncompressed: false - body: '{"deleted_at":"2022-09-20T18:25:10.294Z"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 202 Accepted - code: 202 - duration: 1ms