diff --git a/docs/resources/connection.md b/docs/resources/connection.md index 1562ef02f..a3febd179 100644 --- a/docs/resources/connection.md +++ b/docs/resources/connection.md @@ -31,6 +31,7 @@ resource "auth0_connection" "my_connection" { options { password_policy = "excellent" brute_force_protection = true + strategy_version = 2 enabled_database_customization = true import_mode = false requires_username = true @@ -253,6 +254,7 @@ resource "auth0_connection" "oauth2" { options { client_id = "" client_secret = "" + strategy_version = 2 scopes = ["basic_profile", "profile", "email"] token_endpoint = "https://auth.example.com/oauth2/token" authorization_endpoint = "https://auth.example.com/oauth2/authorize" @@ -284,6 +286,7 @@ resource "auth0_connection" "ad" { disable_self_service_change_password = true brute_force_protection = true tenant_domain = "example.com" + strategy_version = 2 icon_url = "https://example.com/assets/logo.png" domain_aliases = [ "example.com", @@ -312,12 +315,13 @@ resource "auth0_connection" "azure_ad" { strategy = "waad" show_as_button = true options { - identity_api = "azure-active-directory-v1.0" - client_id = "123456" - client_secret = "123456" - app_id = "app-id-123" - tenant_domain = "example.onmicrosoft.com" - domain = "example.onmicrosoft.com" + identity_api = "azure-active-directory-v1.0" + client_id = "123456" + client_secret = "123456" + strategy_version = 2 + app_id = "app-id-123" + tenant_domain = "example.onmicrosoft.com" + domain = "example.onmicrosoft.com" domain_aliases = [ "example.com", "api.example.com" @@ -468,6 +472,7 @@ resource "auth0_connection" "samlp" { sign_in_endpoint = "https://saml.provider/sign_in" sign_out_endpoint = "https://saml.provider/sign_out" disable_sign_out = true + strategy_version = 2 tenant_domain = "example.com" domain_aliases = ["example.com", "alias.example.com"] protocol_binding = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" diff --git a/examples/resources/auth0_connection/resource.tf b/examples/resources/auth0_connection/resource.tf index fe246c74b..a397664b3 100644 --- a/examples/resources/auth0_connection/resource.tf +++ b/examples/resources/auth0_connection/resource.tf @@ -12,6 +12,7 @@ resource "auth0_connection" "my_connection" { options { password_policy = "excellent" brute_force_protection = true + strategy_version = 2 enabled_database_customization = true import_mode = false requires_username = true diff --git a/examples/resources/auth0_connection/resource_with_ad.tf b/examples/resources/auth0_connection/resource_with_ad.tf index d5cc5ff92..fa0de5452 100644 --- a/examples/resources/auth0_connection/resource_with_ad.tf +++ b/examples/resources/auth0_connection/resource_with_ad.tf @@ -8,6 +8,7 @@ resource "auth0_connection" "ad" { disable_self_service_change_password = true brute_force_protection = true tenant_domain = "example.com" + strategy_version = 2 icon_url = "https://example.com/assets/logo.png" domain_aliases = [ "example.com", diff --git a/examples/resources/auth0_connection/resource_with_azure_ad.tf b/examples/resources/auth0_connection/resource_with_azure_ad.tf index 20cad2011..21d1baeb7 100644 --- a/examples/resources/auth0_connection/resource_with_azure_ad.tf +++ b/examples/resources/auth0_connection/resource_with_azure_ad.tf @@ -3,12 +3,13 @@ resource "auth0_connection" "azure_ad" { strategy = "waad" show_as_button = true options { - identity_api = "azure-active-directory-v1.0" - client_id = "123456" - client_secret = "123456" - app_id = "app-id-123" - tenant_domain = "example.onmicrosoft.com" - domain = "example.onmicrosoft.com" + identity_api = "azure-active-directory-v1.0" + client_id = "123456" + client_secret = "123456" + strategy_version = 2 + app_id = "app-id-123" + tenant_domain = "example.onmicrosoft.com" + domain = "example.onmicrosoft.com" domain_aliases = [ "example.com", "api.example.com" diff --git a/examples/resources/auth0_connection/resource_with_oauth2.tf b/examples/resources/auth0_connection/resource_with_oauth2.tf index ba64a1128..36a743b7b 100644 --- a/examples/resources/auth0_connection/resource_with_oauth2.tf +++ b/examples/resources/auth0_connection/resource_with_oauth2.tf @@ -7,6 +7,7 @@ resource "auth0_connection" "oauth2" { options { client_id = "" client_secret = "" + strategy_version = 2 scopes = ["basic_profile", "profile", "email"] token_endpoint = "https://auth.example.com/oauth2/token" authorization_endpoint = "https://auth.example.com/oauth2/authorize" diff --git a/examples/resources/auth0_connection/resource_with_saml.tf b/examples/resources/auth0_connection/resource_with_saml.tf index a83672ef7..a66f136df 100644 --- a/examples/resources/auth0_connection/resource_with_saml.tf +++ b/examples/resources/auth0_connection/resource_with_saml.tf @@ -10,6 +10,7 @@ resource "auth0_connection" "samlp" { sign_in_endpoint = "https://saml.provider/sign_in" sign_out_endpoint = "https://saml.provider/sign_out" disable_sign_out = true + strategy_version = 2 tenant_domain = "example.com" domain_aliases = ["example.com", "alias.example.com"] protocol_binding = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" diff --git a/go.mod b/go.mod index 02dcbe301..fee1bad4c 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.22 require ( github.com/PuerkitoBio/rehttp v1.4.0 - github.com/auth0/go-auth0 v1.10.0 + github.com/auth0/go-auth0 v1.10.1-0.20240919142940-86c7e2f07e06 github.com/google/go-cmp v0.6.0 github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 github.com/hashicorp/go-multierror v1.1.1 @@ -78,7 +78,7 @@ require ( golang.org/x/exp v0.0.0-20240525044651-4c93da0ed11d // indirect golang.org/x/mod v0.19.0 // indirect golang.org/x/net v0.26.0 // indirect - golang.org/x/oauth2 v0.22.0 // indirect + golang.org/x/oauth2 v0.23.0 // indirect golang.org/x/sync v0.8.0 // indirect golang.org/x/sys v0.23.0 // indirect golang.org/x/text v0.17.0 // indirect diff --git a/go.sum b/go.sum index 7ddbe7f12..9ad10e30c 100644 --- a/go.sum +++ b/go.sum @@ -24,8 +24,8 @@ github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/auth0/go-auth0 v1.10.0 h1:7fjcuVjtTET5NEg8RPl3uYadGto7WZnBl31LcnXANWc= -github.com/auth0/go-auth0 v1.10.0/go.mod h1:VMTiemb4rn2TUPiH9obD2FoHS2FoTALTsnKU0NUXLxk= +github.com/auth0/go-auth0 v1.10.1-0.20240919142940-86c7e2f07e06 h1:KhdyIAvazLFhgG1xHDNY8YdWK5C8s6TU4izA3DPhfoI= +github.com/auth0/go-auth0 v1.10.1-0.20240919142940-86c7e2f07e06/go.mod h1:VyYseHsdB4s9jmfBqoxnzJTvZr0w17ZJ5kjNdA+ag9Y= github.com/aybabtme/iocontrol v0.0.0-20150809002002-ad15bcfc95a0 h1:0NmehRCgyk5rljDQLKUO+cRJCnduDyn11+zGZIc9Z48= github.com/aybabtme/iocontrol v0.0.0-20150809002002-ad15bcfc95a0/go.mod h1:6L7zgvqo0idzI7IO8de6ZC051AfXb5ipkIJ7bIA2tGA= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= @@ -238,8 +238,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= -golang.org/x/oauth2 v0.22.0 h1:BzDx2FehcG7jJwgWLELCdmLuxk2i+x9UDpSiss2u0ZA= -golang.org/x/oauth2 v0.22.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= +golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs= +golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= diff --git a/internal/auth0/connection/expand.go b/internal/auth0/connection/expand.go index 6df2133d3..81cd7a155 100644 --- a/internal/auth0/connection/expand.go +++ b/internal/auth0/connection/expand.go @@ -329,6 +329,7 @@ func expandConnectionOptionsAuth0(_ *schema.ResourceData, config cty.Value) (int Configuration: value.MapOfStrings(config.GetAttr("configuration")), Precedence: value.Strings(config.GetAttr("precedence")), Attributes: expandConnectionOptionsAttributes(config.GetAttr("attributes")), + StrategyVersion: value.Int(config.GetAttr("strategy_version")), } config.GetAttr("validation").ForEachElement( @@ -507,6 +508,7 @@ func expandConnectionOptionsOAuth2(data *schema.ResourceData, config cty.Value) LogoURL: value.String(config.GetAttr("icon_url")), PKCEEnabled: value.Bool(config.GetAttr("pkce_enabled")), Scripts: value.MapOfStrings(config.GetAttr("scripts")), + StrategyVersion: value.Int(config.GetAttr("strategy_version")), } expandConnectionOptionsScopes(data, options) @@ -691,6 +693,7 @@ func expandConnectionOptionsAD(_ *schema.ResourceData, config cty.Value) (interf NonPersistentAttrs: value.Strings(config.GetAttr("non_persistent_attrs")), BruteForceProtection: value.Bool(config.GetAttr("brute_force_protection")), DisableSelfServiceChangePassword: value.Bool(config.GetAttr("disable_self_service_change_password")), + StrategyVersion: value.Int(config.GetAttr("strategy_version")), } options.SetUserAttributes = value.String(config.GetAttr("set_user_root_attributes")) @@ -721,6 +724,7 @@ func expandConnectionOptionsAzureAD(data *schema.ResourceData, config cty.Value) IdentityAPI: value.String(config.GetAttr("identity_api")), NonPersistentAttrs: value.Strings(config.GetAttr("non_persistent_attrs")), TrustEmailVerified: value.String(config.GetAttr("should_trust_email_verified_connection")), + StrategyVersion: value.Int(config.GetAttr("strategy_version")), } options.SetUserAttributes = value.String(config.GetAttr("set_user_root_attributes")) @@ -850,6 +854,7 @@ func expandConnectionOptionsSAML(_ *schema.ResourceData, config cty.Value) (inte EntityID: value.String(config.GetAttr("entity_id")), MetadataXML: value.String(config.GetAttr("metadata_xml")), MetadataURL: value.String(config.GetAttr("metadata_url")), + StrategyVersion: value.Int(config.GetAttr("strategy_version")), } options.SetUserAttributes = value.String(config.GetAttr("set_user_root_attributes")) @@ -907,6 +912,7 @@ func expandConnectionOptionsADFS(_ *schema.ResourceData, config cty.Value) (inte EnableUsersAPI: value.Bool(config.GetAttr("api_enable_users")), TrustEmailVerified: value.String(config.GetAttr("should_trust_email_verified_connection")), NonPersistentAttrs: value.Strings(config.GetAttr("non_persistent_attrs")), + StrategyVersion: value.Int(config.GetAttr("strategy_version")), } options.SetUserAttributes = value.String(config.GetAttr("set_user_root_attributes")) diff --git a/internal/auth0/connection/flatten.go b/internal/auth0/connection/flatten.go index b266fd962..9d5e61d9c 100644 --- a/internal/auth0/connection/flatten.go +++ b/internal/auth0/connection/flatten.go @@ -323,6 +323,7 @@ func flattenConnectionOptionsAuth0( "set_user_root_attributes": options.GetSetUserAttributes(), "upstream_params": upstreamParams, "precedence": options.GetPrecedence(), + "strategy_version": options.GetStrategyVersion(), } if options.Attributes != nil { @@ -450,6 +451,7 @@ func flattenConnectionOptionsOAuth2( "non_persistent_attrs": options.GetNonPersistentAttrs(), "icon_url": options.GetLogoURL(), "pkce_enabled": options.GetPKCEEnabled(), + "strategy_version": options.GetStrategyVersion(), "upstream_params": upstreamParams, } @@ -813,6 +815,7 @@ func flattenConnectionOptionsAD( "non_persistent_attrs": options.GetNonPersistentAttrs(), "set_user_root_attributes": options.GetSetUserAttributes(), "disable_self_service_change_password": options.GetDisableSelfServiceChangePassword(), + "strategy_version": options.GetStrategyVersion(), "upstream_params": upstreamParams, } @@ -855,6 +858,7 @@ func flattenConnectionOptionsAzureAD( "non_persistent_attrs": options.GetNonPersistentAttrs(), "should_trust_email_verified_connection": options.GetTrustEmailVerified(), "set_user_root_attributes": options.GetSetUserAttributes(), + "strategy_version": options.GetStrategyVersion(), "upstream_params": upstreamParams, } @@ -890,6 +894,7 @@ func flattenConnectionOptionsADFS( "should_trust_email_verified_connection": options.GetTrustEmailVerified(), "non_persistent_attrs": options.GetNonPersistentAttrs(), "set_user_root_attributes": options.GetSetUserAttributes(), + "strategy_version": options.GetStrategyVersion(), "upstream_params": upstreamParams, } @@ -939,6 +944,7 @@ func flattenConnectionOptionsSAML( "metadata_url": options.GetMetadataURL(), "metadata_xml": data.Get("options.0.metadata_xml").(string), // Does not get read back. "set_user_root_attributes": options.GetSetUserAttributes(), + "strategy_version": options.GetStrategyVersion(), "fields_map": fieldsMap, "upstream_params": upstreamParams, } diff --git a/internal/auth0/connection/resource_clients_test.go b/internal/auth0/connection/resource_clients_test.go index 83daf606f..8c7b06d6d 100644 --- a/internal/auth0/connection/resource_clients_test.go +++ b/internal/auth0/connection/resource_clients_test.go @@ -163,6 +163,9 @@ resource "auth0_connection_clients" "my_conn_client_assoc" { func TestAccConnectionClientsImport(t *testing.T) { if os.Getenv("AUTH0_DOMAIN") != acctest.RecordingsDomain { // The test runs only with recordings as it requires an initial setup. + // If you need to re-record it, comment out the t.Skip, create the + // resources defined above and fix the IDs in the test before running + // make record. t.Skip() } @@ -172,21 +175,21 @@ func TestAccConnectionClientsImport(t *testing.T) { Config: acctest.ParseTestName(testAccConnectionClientsImport, t.Name()), ResourceName: "auth0_connection.my_conn", ImportState: true, - ImportStateId: "con_ouKiPbGv6eONERfA", + ImportStateId: "con_QfclIwGFilDZfig3", ImportStatePersist: true, }, { Config: acctest.ParseTestName(testAccConnectionClientsImport, t.Name()), ResourceName: "auth0_client.my_client-1", ImportState: true, - ImportStateId: "TGIXl1IBOpFmwBpxuCLsoXwl5OQBa1Z7", + ImportStateId: "iUytqzFf4KueZRmFL7DRFNqn8RrQGu5Q", ImportStatePersist: true, }, { Config: acctest.ParseTestName(testAccConnectionClientsImport, t.Name()), ResourceName: "auth0_connection_clients.my_conn_client_assoc", ImportState: true, - ImportStateId: "con_ouKiPbGv6eONERfA", + ImportStateId: "con_QfclIwGFilDZfig3", ImportStatePersist: true, }, { diff --git a/internal/auth0/connection/resource_test.go b/internal/auth0/connection/resource_test.go index 1cd6b9d07..b4caeeae3 100644 --- a/internal/auth0/connection/resource_test.go +++ b/internal/auth0/connection/resource_test.go @@ -23,6 +23,7 @@ func TestAccConnection(t *testing.T) { resource.TestCheckResourceAttr("auth0_connection.my_connection", "metadata.key1", "foo"), resource.TestCheckResourceAttr("auth0_connection.my_connection", "metadata.key2", "bar"), resource.TestCheckNoResourceAttr("auth0_connection.my_connection", "show_as_button"), + resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.strategy_version", "2"), resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.password_policy", "fair"), resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.password_no_personal_info.0.enable", "true"), resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.password_dictionary.0.enable", "true"), @@ -72,6 +73,7 @@ resource "auth0_connection" "my_connection" { key2 = "bar" } options { + strategy_version = 2 password_policy = "fair" password_history { enable = true @@ -490,6 +492,7 @@ func TestAccConnectionAD(t *testing.T) { resource.TestCheckResourceAttr("auth0_connection.ad", "options.0.domain_aliases.#", "2"), resource.TestCheckResourceAttr("auth0_connection.ad", "options.0.tenant_domain", "example.com"), resource.TestCheckResourceAttr("auth0_connection.ad", "options.0.use_kerberos", "false"), + resource.TestCheckResourceAttr("auth0_connection.ad", "options.0.strategy_version", "2"), resource.TestCheckTypeSetElemAttr("auth0_connection.ad", "options.0.ips.*", "192.168.1.2"), resource.TestCheckTypeSetElemAttr("auth0_connection.ad", "options.0.ips.*", "192.168.1.1"), resource.TestCheckTypeSetElemAttr("auth0_connection.ad", "options.0.domain_aliases.*", "example.com"), @@ -531,6 +534,7 @@ resource "auth0_connection" "ad" { strategy = "ad" show_as_button = true options { + strategy_version = 2 disable_self_service_change_password = false brute_force_protection = true tenant_domain = "example.com" @@ -587,6 +591,7 @@ func TestAccConnectionAzureAD(t *testing.T) { resource.TestCheckResourceAttr("auth0_connection.azure_ad", "options.0.identity_api", "azure-active-directory-v1.0"), resource.TestCheckResourceAttr("auth0_connection.azure_ad", "options.0.client_id", "123456"), resource.TestCheckResourceAttr("auth0_connection.azure_ad", "options.0.client_secret", "123456"), + resource.TestCheckResourceAttr("auth0_connection.azure_ad", "options.0.strategy_version", "2"), resource.TestCheckResourceAttr("auth0_connection.azure_ad", "options.0.tenant_domain", "example.onmicrosoft.com"), resource.TestCheckResourceAttr("auth0_connection.azure_ad", "options.0.domain", "example.onmicrosoft.com"), resource.TestCheckResourceAttr("auth0_connection.azure_ad", "options.0.domain_aliases.#", "2"), @@ -634,11 +639,12 @@ resource "auth0_connection" "azure_ad" { strategy = "waad" show_as_button = true options { - identity_api = "azure-active-directory-v1.0" - client_id = "123456" - client_secret = "123456" - tenant_domain = "example.onmicrosoft.com" - domain = "example.onmicrosoft.com" + identity_api = "azure-active-directory-v1.0" + client_id = "123456" + client_secret = "123456" + strategy_version = 2 + tenant_domain = "example.onmicrosoft.com" + domain = "example.onmicrosoft.com" domain_aliases = [ "example.com", "api.example.com" @@ -714,6 +720,7 @@ func TestAccConnectionADFS(t *testing.T) { resource.TestCheckResourceAttr("auth0_connection.adfs", "options.0.adfs_server", "https://raw.githubusercontent.com/auth0/terraform-provider-auth0/b5ed4fc037bcf7be0a8953033a3c3ffa1be17083/test/data/federation_metadata.xml"), resource.TestCheckResourceAttr("auth0_connection.adfs", "options.0.api_enable_users", "false"), resource.TestCheckResourceAttr("auth0_connection.adfs", "options.0.set_user_root_attributes", "on_each_login"), + resource.TestCheckResourceAttr("auth0_connection.adfs", "options.0.strategy_version", "2"), resource.TestCheckResourceAttr("auth0_connection.adfs", "options.0.non_persistent_attrs.#", "2"), resource.TestCheckResourceAttr("auth0_connection.adfs", "options.0.non_persistent_attrs.0", "gender"), resource.TestCheckResourceAttr("auth0_connection.adfs", "options.0.non_persistent_attrs.1", "hair_color"), @@ -760,6 +767,7 @@ resource "auth0_connection" "adfs" { icon_url = "https://example.com/logo.svg" adfs_server = "https://raw.githubusercontent.com/auth0/terraform-provider-auth0/b5ed4fc037bcf7be0a8953033a3c3ffa1be17083/test/data/federation_metadata.xml" sign_in_endpoint = "https://adfs.provider/wsfed" + strategy_version = 2 api_enable_users = false set_user_root_attributes = "on_each_login" non_persistent_attrs = ["gender","hair_color"] @@ -863,7 +871,7 @@ func TestAccConnectionOIDC(t *testing.T) { resource.TestCheckResourceAttr("auth0_connection.oidc", "options.0.connection_settings.#", "1"), resource.TestCheckResourceAttr("auth0_connection.oidc", "options.0.connection_settings.0.pkce", "disabled"), resource.TestCheckResourceAttr("auth0_connection.oidc", "options.0.attribute_map.#", "1"), - resource.TestCheckResourceAttr("auth0_connection.oidc", "options.0.attribute_map.0.mapping_mode", "basic_profile"), + resource.TestCheckResourceAttr("auth0_connection.oidc", "options.0.attribute_map.0.mapping_mode", "bind_all"), ), }, { @@ -889,7 +897,7 @@ func TestAccConnectionOIDC(t *testing.T) { resource.TestCheckResourceAttr("auth0_connection.oidc", "options.0.connection_settings.#", "1"), resource.TestCheckResourceAttr("auth0_connection.oidc", "options.0.connection_settings.0.pkce", "auto"), resource.TestCheckResourceAttr("auth0_connection.oidc", "options.0.attribute_map.#", "1"), - resource.TestCheckResourceAttr("auth0_connection.oidc", "options.0.attribute_map.0.mapping_mode", "basic_profile"), + resource.TestCheckResourceAttr("auth0_connection.oidc", "options.0.attribute_map.0.mapping_mode", "use_map"), resource.TestCheckResourceAttr("auth0_connection.oidc", "options.0.attribute_map.0.userinfo_scope", "openid email profile groups"), resource.TestCheckResourceAttr("auth0_connection.oidc", "options.0.attribute_map.0.attributes", "{\"email\":\"${context.tokenset.email}\",\"email_verified\":\"${context.tokenset.email_verified}\",\"family_name\":\"${context.tokenset.family_name}\",\"given_name\":\"${context.tokenset.given_name}\",\"name\":\"${context.tokenset.name}\",\"nickname\":\"${context.tokenset.nickname}\",\"picture\":\"${context.tokenset.picture}\"}"), ), @@ -929,8 +937,8 @@ resource "auth0_connection" "oidc" { strategy = "oidc" show_as_button = true options { - client_id = "123456" - client_secret = "123456" + client_id = "123456" + client_secret = "123456" domain_aliases = [ "example.com", "api.example.com" @@ -956,7 +964,7 @@ resource "auth0_connection" "oidc" { } attribute_map { - mapping_mode = "basic_profile" + mapping_mode = "bind_all" } } } @@ -989,7 +997,7 @@ resource "auth0_connection" "oidc" { } attribute_map { - mapping_mode = "basic_profile" + mapping_mode = "use_map" userinfo_scope = "openid email profile groups" attributes = jsonencode({ "name": "$${context.tokenset.name}", @@ -1237,6 +1245,7 @@ func TestAccConnectionOAuth2(t *testing.T) { resource.TestCheckResourceAttr("auth0_connection.oauth2", "strategy", "oauth2"), resource.TestCheckResourceAttr("auth0_connection.oauth2", "options.0.client_id", "123456"), resource.TestCheckResourceAttr("auth0_connection.oauth2", "options.0.client_secret", "123456"), + resource.TestCheckResourceAttr("auth0_connection.oauth2", "options.0.strategy_version", "2"), resource.TestCheckResourceAttr("auth0_connection.oauth2", "options.0.token_endpoint", "https://api.login.yahoo.com/oauth2/get_token"), resource.TestCheckResourceAttr("auth0_connection.oauth2", "options.0.authorization_endpoint", "https://api.login.yahoo.com/oauth2/request_auth"), resource.TestCheckResourceAttr("auth0_connection.oauth2", "options.0.scopes.#", "3"), @@ -1279,6 +1288,7 @@ resource "auth0_connection" "oauth2" { options { client_id = "123456" client_secret = "123456" + strategy_version = 2 token_endpoint = "https://api.login.yahoo.com/oauth2/get_token" authorization_endpoint = "https://api.login.yahoo.com/oauth2/request_auth" scopes = [ "openid", "email", "profile" ] @@ -2201,6 +2211,7 @@ func TestAccConnectionSAML(t *testing.T) { resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.sign_in_endpoint", "https://saml-from-metadata-xml.provider/sign_in"), resource.TestCheckResourceAttrSet("auth0_connection.my_connection", "options.0.signing_cert"), resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.disable_sign_out", "false"), + resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.strategy_version", "2"), resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.entity_id", ""), resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.idp_initiated.0.client_authorize_query", "type=code&timeout=30"), resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.fields_map", "{\"email\":[\"emailaddress\",\"nameidentifier\"],\"family_name\":\"surname\",\"name\":[\"name\",\"nameidentifier\"]}"), @@ -2262,6 +2273,7 @@ resource "auth0_connection" "my_connection" { disable_sign_out = false user_id_attribute = "https://saml.provider/imi/ns/identity-200810" + strategy_version = 2 tenant_domain = "example.com" domain_aliases = ["example.com", "example.coz"] protocol_binding = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" diff --git a/internal/auth0/connection/schema.go b/internal/auth0/connection/schema.go index 588633664..31230eec6 100644 --- a/internal/auth0/connection/schema.go +++ b/internal/auth0/connection/schema.go @@ -15,6 +15,7 @@ var resourceSchema = map[string]*schema.Schema{ "display_name": { Type: schema.TypeString, Optional: true, + Computed: true, Description: "Name used in login screen.", }, "is_domain_connection": { diff --git a/test/data/recordings/TestAccConnection.yaml b/test/data/recordings/TestAccConnection.yaml index 37a1ace71..74e12fd43 100644 --- a/test/data/recordings/TestAccConnection.yaml +++ b/test/data/recordings/TestAccConnection.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 846 + content_length: 867 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance-Test-Connection-TestAccConnection","strategy":"auth0","is_domain_connection":true,"metadata":{"key1":"foo","key2":"bar"},"options":{"mfa":{"active":true,"return_enroll_settings":true},"validation":{"username":{"max":40,"min":10}},"passwordPolicy":"fair","password_history":{"enable":true,"size":5},"password_no_personal_info":{"enable":true},"password_dictionary":{"dictionary":["1234","admin","password"],"enable":true},"password_complexity_options":{"min_length":6},"enabledDatabaseCustomization":false,"brute_force_protection":true,"import_mode":false,"disable_signup":false,"requires_username":true,"customScripts":{"get_user":"myFunction"},"configuration":{"foo":"bar"},"non_persistent_attrs":["gender","hair_color"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"disable_self_service_change_password":false}} + {"name":"Acceptance-Test-Connection-TestAccConnection","strategy":"auth0","is_domain_connection":true,"metadata":{"key1":"foo","key2":"bar"},"options":{"mfa":{"active":true,"return_enroll_settings":true},"validation":{"username":{"max":40,"min":10}},"passwordPolicy":"fair","password_history":{"enable":true,"size":5},"password_no_personal_info":{"enable":true},"password_dictionary":{"dictionary":["1234","admin","password"],"enable":true},"password_complexity_options":{"min_length":6},"enabledDatabaseCustomization":false,"brute_force_protection":true,"import_mode":false,"disable_signup":false,"requires_username":true,"customScripts":{"get_user":"myFunction"},"configuration":{"foo":"bar"},"strategy_version":2,"non_persistent_attrs":["gender","hair_color"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"disable_self_service_change_password":false}} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.16.0 + - Go-Auth0/1.10.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections method: POST response: @@ -30,33 +30,32 @@ interactions: trailer: {} content_length: -1 uncompressed: false - body: '{"id":"con_dFvRUNNkrPXlSiDw","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"fair","validation":{"username":{"max":40,"min":10}},"password_history":{"enable":true,"size":5},"password_no_personal_info":{"enable":true},"password_dictionary":{"dictionary":["1234","admin","password"],"enable":true},"password_complexity_options":{"min_length":6},"enabledDatabaseCustomization":false,"brute_force_protection":true,"import_mode":false,"disable_signup":false,"requires_username":true,"customScripts":{"get_user":"myFunction"},"non_persistent_attrs":["gender","hair_color"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"disable_self_service_change_password":false,"configuration":{"foo":"2.0$fe4b6c362b1011a21e0abd2ff582b562$3f5b978005ebd74ae949d727e67ba3cc$3b8a7fa370ea85a8ac36e92d2eb21b8ca96714dcb2417f6a62690339a09b3ebc"},"strategy_version":2},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' + body: '{"id":"con_IPeCaCzy6ARWKhUd","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"fair","validation":{"username":{"max":40,"min":10}},"password_history":{"enable":true,"size":5},"password_no_personal_info":{"enable":true},"password_dictionary":{"dictionary":["1234","admin","password"],"enable":true},"password_complexity_options":{"min_length":6},"enabledDatabaseCustomization":false,"brute_force_protection":true,"import_mode":false,"disable_signup":false,"requires_username":true,"customScripts":{"get_user":"myFunction"},"strategy_version":2,"non_persistent_attrs":["gender","hair_color"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"disable_self_service_change_password":false,"configuration":{"foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EUitlTEVneFZlWmlXL1MzU1NFbkp4SVFhRUhBY1NOb0FCcHd1aytmRW9sT3ZRSUVhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDkzODA3OCRiMDFiOWNhODI0OWNiNGU4NjVkOTJjNGIkMjZlNmRhM2I1YTFhZDIxNzQzMmRhZTFmMWNmNTRjNmI="},"authentication_methods":{"password":{"enabled":true},"passkey":{"enabled":false}},"passkey_options":{"challenge_ui":"both","progressive_enrollment_enabled":true,"local_enrollment_enabled":true}},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 179.745375ms + duration: 196.697917ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dFvRUNNkrPXlSiDw + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_IPeCaCzy6ARWKhUd method: GET response: proto: HTTP/2.0 @@ -66,33 +65,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_dFvRUNNkrPXlSiDw","options":{"mfa":{"active":true,"return_enroll_settings":true},"validation":{"username":{"max":40,"min":10}},"import_mode":false,"configuration":{"foo":"2.0$fe4b6c362b1011a21e0abd2ff582b562$3f5b978005ebd74ae949d727e67ba3cc$3b8a7fa370ea85a8ac36e92d2eb21b8ca96714dcb2417f6a62690339a09b3ebc"},"customScripts":{"get_user":"myFunction"},"disable_signup":false,"passwordPolicy":"fair","upstream_params":{"screen_name":{"alias":"login_hint"}},"password_history":{"size":5,"enable":true},"strategy_version":2,"requires_username":true,"password_dictionary":{"enable":true,"dictionary":["1234","admin","password"]},"non_persistent_attrs":["gender","hair_color"],"brute_force_protection":true,"password_no_personal_info":{"enable":true},"password_complexity_options":{"min_length":6},"enabledDatabaseCustomization":false,"disable_self_service_change_password":false},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' + body: '{"id":"con_IPeCaCzy6ARWKhUd","options":{"mfa":{"active":true,"return_enroll_settings":true},"validation":{"username":{"max":40,"min":10}},"import_mode":false,"configuration":{"foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EUitlTEVneFZlWmlXL1MzU1NFbkp4SVFhRUhBY1NOb0FCcHd1aytmRW9sT3ZRSUVhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDkzODA3OCRiMDFiOWNhODI0OWNiNGU4NjVkOTJjNGIkMjZlNmRhM2I1YTFhZDIxNzQzMmRhZTFmMWNmNTRjNmI="},"customScripts":{"get_user":"myFunction"},"disable_signup":false,"passwordPolicy":"fair","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"upstream_params":{"screen_name":{"alias":"login_hint"}},"password_history":{"size":5,"enable":true},"strategy_version":2,"requires_username":true,"password_dictionary":{"enable":true,"dictionary":["1234","admin","password"]},"non_persistent_attrs":["gender","hair_color"],"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true,"password_no_personal_info":{"enable":true},"password_complexity_options":{"min_length":6},"enabledDatabaseCustomization":false,"disable_self_service_change_password":false},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 174.67525ms + duration: 144.738667ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dFvRUNNkrPXlSiDw + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_IPeCaCzy6ARWKhUd method: GET response: proto: HTTP/2.0 @@ -102,33 +100,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_dFvRUNNkrPXlSiDw","options":{"mfa":{"active":true,"return_enroll_settings":true},"validation":{"username":{"max":40,"min":10}},"import_mode":false,"configuration":{"foo":"2.0$fe4b6c362b1011a21e0abd2ff582b562$3f5b978005ebd74ae949d727e67ba3cc$3b8a7fa370ea85a8ac36e92d2eb21b8ca96714dcb2417f6a62690339a09b3ebc"},"customScripts":{"get_user":"myFunction"},"disable_signup":false,"passwordPolicy":"fair","upstream_params":{"screen_name":{"alias":"login_hint"}},"password_history":{"size":5,"enable":true},"strategy_version":2,"requires_username":true,"password_dictionary":{"enable":true,"dictionary":["1234","admin","password"]},"non_persistent_attrs":["gender","hair_color"],"brute_force_protection":true,"password_no_personal_info":{"enable":true},"password_complexity_options":{"min_length":6},"enabledDatabaseCustomization":false,"disable_self_service_change_password":false},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' + body: '{"id":"con_IPeCaCzy6ARWKhUd","options":{"mfa":{"active":true,"return_enroll_settings":true},"validation":{"username":{"max":40,"min":10}},"import_mode":false,"configuration":{"foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EUitlTEVneFZlWmlXL1MzU1NFbkp4SVFhRUhBY1NOb0FCcHd1aytmRW9sT3ZRSUVhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDkzODA3OCRiMDFiOWNhODI0OWNiNGU4NjVkOTJjNGIkMjZlNmRhM2I1YTFhZDIxNzQzMmRhZTFmMWNmNTRjNmI="},"customScripts":{"get_user":"myFunction"},"disable_signup":false,"passwordPolicy":"fair","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"upstream_params":{"screen_name":{"alias":"login_hint"}},"password_history":{"size":5,"enable":true},"strategy_version":2,"requires_username":true,"password_dictionary":{"enable":true,"dictionary":["1234","admin","password"]},"non_persistent_attrs":["gender","hair_color"],"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true,"password_no_personal_info":{"enable":true},"password_complexity_options":{"min_length":6},"enabledDatabaseCustomization":false,"disable_self_service_change_password":false},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 203.55225ms + duration: 144.499625ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dFvRUNNkrPXlSiDw + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_IPeCaCzy6ARWKhUd method: GET response: proto: HTTP/2.0 @@ -138,33 +135,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_dFvRUNNkrPXlSiDw","options":{"mfa":{"active":true,"return_enroll_settings":true},"validation":{"username":{"max":40,"min":10}},"import_mode":false,"configuration":{"foo":"2.0$fe4b6c362b1011a21e0abd2ff582b562$3f5b978005ebd74ae949d727e67ba3cc$3b8a7fa370ea85a8ac36e92d2eb21b8ca96714dcb2417f6a62690339a09b3ebc"},"customScripts":{"get_user":"myFunction"},"disable_signup":false,"passwordPolicy":"fair","upstream_params":{"screen_name":{"alias":"login_hint"}},"password_history":{"size":5,"enable":true},"strategy_version":2,"requires_username":true,"password_dictionary":{"enable":true,"dictionary":["1234","admin","password"]},"non_persistent_attrs":["gender","hair_color"],"brute_force_protection":true,"password_no_personal_info":{"enable":true},"password_complexity_options":{"min_length":6},"enabledDatabaseCustomization":false,"disable_self_service_change_password":false},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' + body: '{"id":"con_IPeCaCzy6ARWKhUd","options":{"mfa":{"active":true,"return_enroll_settings":true},"validation":{"username":{"max":40,"min":10}},"import_mode":false,"configuration":{"foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EUitlTEVneFZlWmlXL1MzU1NFbkp4SVFhRUhBY1NOb0FCcHd1aytmRW9sT3ZRSUVhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDkzODA3OCRiMDFiOWNhODI0OWNiNGU4NjVkOTJjNGIkMjZlNmRhM2I1YTFhZDIxNzQzMmRhZTFmMWNmNTRjNmI="},"customScripts":{"get_user":"myFunction"},"disable_signup":false,"passwordPolicy":"fair","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"upstream_params":{"screen_name":{"alias":"login_hint"}},"password_history":{"size":5,"enable":true},"strategy_version":2,"requires_username":true,"password_dictionary":{"enable":true,"dictionary":["1234","admin","password"]},"non_persistent_attrs":["gender","hair_color"],"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true,"password_no_personal_info":{"enable":true},"password_complexity_options":{"min_length":6},"enabledDatabaseCustomization":false,"disable_self_service_change_password":false},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 279.879708ms + duration: 142.853625ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dFvRUNNkrPXlSiDw + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_IPeCaCzy6ARWKhUd method: GET response: proto: HTTP/2.0 @@ -174,13 +170,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_dFvRUNNkrPXlSiDw","options":{"mfa":{"active":true,"return_enroll_settings":true},"validation":{"username":{"max":40,"min":10}},"import_mode":false,"configuration":{"foo":"2.0$fe4b6c362b1011a21e0abd2ff582b562$3f5b978005ebd74ae949d727e67ba3cc$3b8a7fa370ea85a8ac36e92d2eb21b8ca96714dcb2417f6a62690339a09b3ebc"},"customScripts":{"get_user":"myFunction"},"disable_signup":false,"passwordPolicy":"fair","upstream_params":{"screen_name":{"alias":"login_hint"}},"password_history":{"size":5,"enable":true},"strategy_version":2,"requires_username":true,"password_dictionary":{"enable":true,"dictionary":["1234","admin","password"]},"non_persistent_attrs":["gender","hair_color"],"brute_force_protection":true,"password_no_personal_info":{"enable":true},"password_complexity_options":{"min_length":6},"enabledDatabaseCustomization":false,"disable_self_service_change_password":false},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' + body: '{"id":"con_IPeCaCzy6ARWKhUd","options":{"mfa":{"active":true,"return_enroll_settings":true},"validation":{"username":{"max":40,"min":10}},"import_mode":false,"configuration":{"foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EUitlTEVneFZlWmlXL1MzU1NFbkp4SVFhRUhBY1NOb0FCcHd1aytmRW9sT3ZRSUVhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDkzODA3OCRiMDFiOWNhODI0OWNiNGU4NjVkOTJjNGIkMjZlNmRhM2I1YTFhZDIxNzQzMmRhZTFmMWNmNTRjNmI="},"customScripts":{"get_user":"myFunction"},"disable_signup":false,"passwordPolicy":"fair","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"upstream_params":{"screen_name":{"alias":"login_hint"}},"password_history":{"size":5,"enable":true},"strategy_version":2,"requires_username":true,"password_dictionary":{"enable":true,"dictionary":["1234","admin","password"]},"non_persistent_attrs":["gender","hair_color"],"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true,"password_no_personal_info":{"enable":true},"password_complexity_options":{"min_length":6},"enabledDatabaseCustomization":false,"disable_self_service_change_password":false},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 134.633084ms + duration: 161.016292ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dFvRUNNkrPXlSiDw + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_IPeCaCzy6ARWKhUd method: PATCH response: proto: HTTP/2.0 @@ -210,33 +206,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_dFvRUNNkrPXlSiDw","options":{"mfa":{"active":true,"return_enroll_settings":false},"import_mode":false,"configuration":{"foo":"2.0$36d9c7cd70c86020f261b3d4281e938e$9293156bc470086234dcdd559893f616$5699ba9622269296277092f8bc60d4652b6103e2da8bd4cb7d310213bcb5bb30"},"customScripts":{"get_user":"myFunction"},"disable_signup":false,"passwordPolicy":"fair","password_history":{"size":5,"enable":true},"requires_username":true,"non_persistent_attrs":[],"enable_script_context":true,"brute_force_protection":false,"set_user_root_attributes":"on_first_login","password_no_personal_info":{"enable":true},"enabledDatabaseCustomization":true,"disable_self_service_change_password":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' + body: '{"id":"con_IPeCaCzy6ARWKhUd","options":{"mfa":{"active":true,"return_enroll_settings":false},"import_mode":false,"configuration":{"foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EKy96WEVnd0hsSTFHazdwVy9jdWduVU1hRUhodEVhKzdTR3dqdU9RaXNrK3V2VkFhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJGI3N2YzMiRmZThiZmEwZDUwOWI2MmM0MzY1OGIzYTUkMjc2MDgxOWE0MDc3ZTM4ZDIyOGYzYjM4ODY4OTM5MjY="},"customScripts":{"get_user":"myFunction"},"disable_signup":false,"passwordPolicy":"fair","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"password_history":{"size":5,"enable":true},"requires_username":true,"non_persistent_attrs":[],"enable_script_context":true,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":false,"set_user_root_attributes":"on_first_login","password_no_personal_info":{"enable":true},"enabledDatabaseCustomization":true,"disable_self_service_change_password":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 272.759625ms + duration: 402.314584ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dFvRUNNkrPXlSiDw + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_IPeCaCzy6ARWKhUd method: GET response: proto: HTTP/2.0 @@ -246,33 +241,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_dFvRUNNkrPXlSiDw","options":{"mfa":{"active":true,"return_enroll_settings":false},"import_mode":false,"configuration":{"foo":"2.0$36d9c7cd70c86020f261b3d4281e938e$9293156bc470086234dcdd559893f616$5699ba9622269296277092f8bc60d4652b6103e2da8bd4cb7d310213bcb5bb30"},"customScripts":{"get_user":"myFunction"},"disable_signup":false,"passwordPolicy":"fair","password_history":{"size":5,"enable":true},"requires_username":true,"non_persistent_attrs":[],"enable_script_context":true,"brute_force_protection":false,"set_user_root_attributes":"on_first_login","password_no_personal_info":{"enable":true},"enabledDatabaseCustomization":true,"disable_self_service_change_password":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' + body: '{"id":"con_IPeCaCzy6ARWKhUd","options":{"mfa":{"active":true,"return_enroll_settings":false},"import_mode":false,"configuration":{"foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EKy96WEVnd0hsSTFHazdwVy9jdWduVU1hRUhodEVhKzdTR3dqdU9RaXNrK3V2VkFhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJGI3N2YzMiRmZThiZmEwZDUwOWI2MmM0MzY1OGIzYTUkMjc2MDgxOWE0MDc3ZTM4ZDIyOGYzYjM4ODY4OTM5MjY="},"customScripts":{"get_user":"myFunction"},"disable_signup":false,"passwordPolicy":"fair","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"password_history":{"size":5,"enable":true},"requires_username":true,"non_persistent_attrs":[],"enable_script_context":true,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":false,"set_user_root_attributes":"on_first_login","password_no_personal_info":{"enable":true},"enabledDatabaseCustomization":true,"disable_self_service_change_password":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.177916ms + duration: 150.11375ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dFvRUNNkrPXlSiDw + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_IPeCaCzy6ARWKhUd method: GET response: proto: HTTP/2.0 @@ -282,13 +276,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_dFvRUNNkrPXlSiDw","options":{"mfa":{"active":true,"return_enroll_settings":false},"import_mode":false,"configuration":{"foo":"2.0$36d9c7cd70c86020f261b3d4281e938e$9293156bc470086234dcdd559893f616$5699ba9622269296277092f8bc60d4652b6103e2da8bd4cb7d310213bcb5bb30"},"customScripts":{"get_user":"myFunction"},"disable_signup":false,"passwordPolicy":"fair","password_history":{"size":5,"enable":true},"requires_username":true,"non_persistent_attrs":[],"enable_script_context":true,"brute_force_protection":false,"set_user_root_attributes":"on_first_login","password_no_personal_info":{"enable":true},"enabledDatabaseCustomization":true,"disable_self_service_change_password":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' + body: '{"id":"con_IPeCaCzy6ARWKhUd","options":{"mfa":{"active":true,"return_enroll_settings":false},"import_mode":false,"configuration":{"foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EKy96WEVnd0hsSTFHazdwVy9jdWduVU1hRUhodEVhKzdTR3dqdU9RaXNrK3V2VkFhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJGI3N2YzMiRmZThiZmEwZDUwOWI2MmM0MzY1OGIzYTUkMjc2MDgxOWE0MDc3ZTM4ZDIyOGYzYjM4ODY4OTM5MjY="},"customScripts":{"get_user":"myFunction"},"disable_signup":false,"passwordPolicy":"fair","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"password_history":{"size":5,"enable":true},"requires_username":true,"non_persistent_attrs":[],"enable_script_context":true,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":false,"set_user_root_attributes":"on_first_login","password_no_personal_info":{"enable":true},"enabledDatabaseCustomization":true,"disable_self_service_change_password":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnection","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnection"],"metadata":{"key1":"foo","key2":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 305.603042ms + duration: 137.584417ms - id: 8 request: proto: HTTP/1.1 @@ -306,8 +300,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dFvRUNNkrPXlSiDw + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_IPeCaCzy6ARWKhUd method: DELETE response: proto: HTTP/2.0 @@ -317,10 +311,10 @@ interactions: trailer: {} content_length: 41 uncompressed: false - body: '{"deleted_at":"2023-03-16T09:23:13.215Z"}' + body: '{"deleted_at":"2024-09-12T21:27:48.639Z"}' headers: Content-Type: - application/json; charset=utf-8 status: 202 Accepted code: 202 - duration: 183.888375ms + duration: 147.271166ms diff --git a/test/data/recordings/TestAccConnectionAD.yaml b/test/data/recordings/TestAccConnectionAD.yaml index a9d8a412f..f0549cad4 100644 --- a/test/data/recordings/TestAccConnectionAD.yaml +++ b/test/data/recordings/TestAccConnectionAD.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 395 + content_length: 416 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance-Test-AD-TestAccConnectionAD","strategy":"ad","show_as_button":true,"options":{"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"ips":["192.168.1.1","192.168.1.2"],"brute_force_protection":true,"non_persistent_attrs":["ethnicity","gender"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"disable_self_service_change_password":false}} + {"name":"Acceptance-Test-AD-TestAccConnectionAD","strategy":"ad","show_as_button":true,"options":{"strategy_version":2,"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"ips":["192.168.1.1","192.168.1.2"],"brute_force_protection":true,"non_persistent_attrs":["ethnicity","gender"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"disable_self_service_change_password":false}} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/latest + - Go-Auth0/1.10.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections method: POST response: @@ -28,35 +28,34 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 622 + content_length: 642 uncompressed: false - body: '{"id":"con_yAtnohItHFcriZzk","options":{"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"ips":["192.168.1.1","192.168.1.2"],"brute_force_protection":true,"non_persistent_attrs":["ethnicity","gender"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"disable_self_service_change_password":false},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/lmMkUOn0gQFneCfrfV7VT46B2raRSFcS","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' + body: '{"id":"con_OoLY9skaNl8vhQ80","options":{"strategy_version":2,"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"ips":["192.168.1.1","192.168.1.2"],"brute_force_protection":true,"non_persistent_attrs":["ethnicity","gender"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"disable_self_service_change_password":false},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/AnKGKFnIhoZk5iFJXFrEEPqoLmB2Q4ey","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 209.435167ms + duration: 171.225583ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yAtnohItHFcriZzk + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_OoLY9skaNl8vhQ80 method: GET response: proto: HTTP/2.0 @@ -66,33 +65,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_yAtnohItHFcriZzk","options":{"ips":["192.168.1.1","192.168.1.2"],"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"non_persistent_attrs":["ethnicity","gender"],"brute_force_protection":true,"disable_self_service_change_password":false},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/lmMkUOn0gQFneCfrfV7VT46B2raRSFcS","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' + body: '{"id":"con_OoLY9skaNl8vhQ80","options":{"ips":["192.168.1.1","192.168.1.2"],"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"non_persistent_attrs":["ethnicity","gender"],"brute_force_protection":true,"disable_self_service_change_password":false},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/AnKGKFnIhoZk5iFJXFrEEPqoLmB2Q4ey","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.596875ms + duration: 143.382708ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yAtnohItHFcriZzk + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_OoLY9skaNl8vhQ80 method: GET response: proto: HTTP/2.0 @@ -102,33 +100,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_yAtnohItHFcriZzk","options":{"ips":["192.168.1.1","192.168.1.2"],"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"non_persistent_attrs":["ethnicity","gender"],"brute_force_protection":true,"disable_self_service_change_password":false},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/lmMkUOn0gQFneCfrfV7VT46B2raRSFcS","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' + body: '{"id":"con_OoLY9skaNl8vhQ80","options":{"ips":["192.168.1.1","192.168.1.2"],"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"non_persistent_attrs":["ethnicity","gender"],"brute_force_protection":true,"disable_self_service_change_password":false},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/AnKGKFnIhoZk5iFJXFrEEPqoLmB2Q4ey","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.970333ms + duration: 142.16325ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yAtnohItHFcriZzk + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_OoLY9skaNl8vhQ80 method: GET response: proto: HTTP/2.0 @@ -138,33 +135,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_yAtnohItHFcriZzk","options":{"ips":["192.168.1.1","192.168.1.2"],"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"non_persistent_attrs":["ethnicity","gender"],"brute_force_protection":true,"disable_self_service_change_password":false},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/lmMkUOn0gQFneCfrfV7VT46B2raRSFcS","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' + body: '{"id":"con_OoLY9skaNl8vhQ80","options":{"ips":["192.168.1.1","192.168.1.2"],"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"non_persistent_attrs":["ethnicity","gender"],"brute_force_protection":true,"disable_self_service_change_password":false},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/AnKGKFnIhoZk5iFJXFrEEPqoLmB2Q4ey","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 133.853042ms + duration: 141.087084ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yAtnohItHFcriZzk + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_OoLY9skaNl8vhQ80 method: GET response: proto: HTTP/2.0 @@ -174,13 +170,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_yAtnohItHFcriZzk","options":{"ips":["192.168.1.1","192.168.1.2"],"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"non_persistent_attrs":["ethnicity","gender"],"brute_force_protection":true,"disable_self_service_change_password":false},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/lmMkUOn0gQFneCfrfV7VT46B2raRSFcS","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' + body: '{"id":"con_OoLY9skaNl8vhQ80","options":{"ips":["192.168.1.1","192.168.1.2"],"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"non_persistent_attrs":["ethnicity","gender"],"brute_force_protection":true,"disable_self_service_change_password":false},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/AnKGKFnIhoZk5iFJXFrEEPqoLmB2Q4ey","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 176.196ms + duration: 137.881625ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yAtnohItHFcriZzk + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_OoLY9skaNl8vhQ80 method: PATCH response: proto: HTTP/2.0 @@ -210,33 +206,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_yAtnohItHFcriZzk","options":{"ips":["192.168.1.1","192.168.1.2"],"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"non_persistent_attrs":["ethnicity","gender"],"brute_force_protection":true,"set_user_root_attributes":"on_first_login","disable_self_service_change_password":true},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/lmMkUOn0gQFneCfrfV7VT46B2raRSFcS","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' + body: '{"id":"con_OoLY9skaNl8vhQ80","options":{"ips":["192.168.1.1","192.168.1.2"],"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"non_persistent_attrs":["ethnicity","gender"],"brute_force_protection":true,"set_user_root_attributes":"on_first_login","disable_self_service_change_password":true},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/AnKGKFnIhoZk5iFJXFrEEPqoLmB2Q4ey","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 163.709ms + duration: 250.544042ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yAtnohItHFcriZzk + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_OoLY9skaNl8vhQ80 method: GET response: proto: HTTP/2.0 @@ -246,33 +241,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_yAtnohItHFcriZzk","options":{"ips":["192.168.1.1","192.168.1.2"],"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"non_persistent_attrs":["ethnicity","gender"],"brute_force_protection":true,"set_user_root_attributes":"on_first_login","disable_self_service_change_password":true},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/lmMkUOn0gQFneCfrfV7VT46B2raRSFcS","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' + body: '{"id":"con_OoLY9skaNl8vhQ80","options":{"ips":["192.168.1.1","192.168.1.2"],"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"non_persistent_attrs":["ethnicity","gender"],"brute_force_protection":true,"set_user_root_attributes":"on_first_login","disable_self_service_change_password":true},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/AnKGKFnIhoZk5iFJXFrEEPqoLmB2Q4ey","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.574666ms + duration: 155.177ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yAtnohItHFcriZzk + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_OoLY9skaNl8vhQ80 method: GET response: proto: HTTP/2.0 @@ -282,13 +276,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_yAtnohItHFcriZzk","options":{"ips":["192.168.1.1","192.168.1.2"],"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"non_persistent_attrs":["ethnicity","gender"],"brute_force_protection":true,"set_user_root_attributes":"on_first_login","disable_self_service_change_password":true},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/lmMkUOn0gQFneCfrfV7VT46B2raRSFcS","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' + body: '{"id":"con_OoLY9skaNl8vhQ80","options":{"ips":["192.168.1.1","192.168.1.2"],"tenant_domain":"example.com","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"non_persistent_attrs":["ethnicity","gender"],"brute_force_protection":true,"set_user_root_attributes":"on_first_login","disable_self_service_change_password":true},"strategy":"ad","name":"Acceptance-Test-AD-TestAccConnectionAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/ad/AnKGKFnIhoZk5iFJXFrEEPqoLmB2Q4ey","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-AD-TestAccConnectionAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.606708ms + duration: 151.26925ms - id: 8 request: proto: HTTP/1.1 @@ -306,8 +300,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_yAtnohItHFcriZzk + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_OoLY9skaNl8vhQ80 method: DELETE response: proto: HTTP/2.0 @@ -317,10 +311,10 @@ interactions: trailer: {} content_length: 41 uncompressed: false - body: '{"deleted_at":"2023-11-08T12:52:41.530Z"}' + body: '{"deleted_at":"2024-09-12T21:27:16.594Z"}' headers: Content-Type: - application/json; charset=utf-8 status: 202 Accepted code: 202 - duration: 106.59675ms + duration: 150.868083ms diff --git a/test/data/recordings/TestAccConnectionADFS.yaml b/test/data/recordings/TestAccConnectionADFS.yaml index 45b9c4a8d..8ff24d2db 100644 --- a/test/data/recordings/TestAccConnectionADFS.yaml +++ b/test/data/recordings/TestAccConnectionADFS.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 622 + content_length: 643 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance-Test-ADFS-TestAccConnectionADFS","strategy":"adfs","show_as_button":true,"options":{"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"icon_url":"https://example.com/logo.svg","adfs_server":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/b5ed4fc037bcf7be0a8953033a3c3ffa1be17083/test/data/federation_metadata.xml","api_enable_users":false,"non_persistent_attrs":["gender","hair_color"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"signInEndpoint":"https://adfs.provider/wsfed","should_trust_email_verified_connection":"always_set_emails_as_verified"}} + {"name":"Acceptance-Test-ADFS-TestAccConnectionADFS","strategy":"adfs","show_as_button":true,"options":{"strategy_version":2,"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"icon_url":"https://example.com/logo.svg","adfs_server":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/b5ed4fc037bcf7be0a8953033a3c3ffa1be17083/test/data/federation_metadata.xml","api_enable_users":false,"non_persistent_attrs":["gender","hair_color"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"signInEndpoint":"https://adfs.provider/wsfed","should_trust_email_verified_connection":"always_set_emails_as_verified"}} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 + - Go-Auth0/1.10.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections method: POST response: @@ -28,35 +28,34 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 872 + content_length: 868 uncompressed: false - body: '{"id":"con_P1pga8T8U8vGt5dP","options":{"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"icon_url":"https://example.com/logo.svg","adfs_server":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/b5ed4fc037bcf7be0a8953033a3c3ffa1be17083/test/data/federation_metadata.xml","api_enable_users":false,"non_persistent_attrs":["gender","hair_color"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"signInEndpoint":"https://adfs.provider/wsfed","should_trust_email_verified_connection":"always_set_emails_as_verified","thumbprints":[]},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/A57GHZ3M","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' + body: '{"id":"con_rYP4biAVSsETivE3","options":{"strategy_version":2,"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"icon_url":"https://example.com/logo.svg","adfs_server":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/b5ed4fc037bcf7be0a8953033a3c3ffa1be17083/test/data/federation_metadata.xml","api_enable_users":false,"non_persistent_attrs":["gender","hair_color"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"signInEndpoint":"https://adfs.provider/wsfed","should_trust_email_verified_connection":"always_set_emails_as_verified","thumbprints":[]},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/CbV08lsz","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 379.954208ms + duration: 364.488334ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_P1pga8T8U8vGt5dP + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rYP4biAVSsETivE3 method: GET response: proto: HTTP/2.0 @@ -66,33 +65,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_P1pga8T8U8vGt5dP","options":{"icon_url":"https://example.com/logo.svg","adfs_server":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/b5ed4fc037bcf7be0a8953033a3c3ffa1be17083/test/data/federation_metadata.xml","thumbprints":[],"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":false,"non_persistent_attrs":["gender","hair_color"],"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/A57GHZ3M","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' + body: '{"id":"con_rYP4biAVSsETivE3","options":{"icon_url":"https://example.com/logo.svg","adfs_server":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/b5ed4fc037bcf7be0a8953033a3c3ffa1be17083/test/data/federation_metadata.xml","thumbprints":[],"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":false,"strategy_version":2,"non_persistent_attrs":["gender","hair_color"],"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/CbV08lsz","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 145.003792ms + duration: 158.704083ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_P1pga8T8U8vGt5dP + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rYP4biAVSsETivE3 method: GET response: proto: HTTP/2.0 @@ -102,33 +100,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_P1pga8T8U8vGt5dP","options":{"icon_url":"https://example.com/logo.svg","adfs_server":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/b5ed4fc037bcf7be0a8953033a3c3ffa1be17083/test/data/federation_metadata.xml","thumbprints":[],"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":false,"non_persistent_attrs":["gender","hair_color"],"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/A57GHZ3M","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' + body: '{"id":"con_rYP4biAVSsETivE3","options":{"icon_url":"https://example.com/logo.svg","adfs_server":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/b5ed4fc037bcf7be0a8953033a3c3ffa1be17083/test/data/federation_metadata.xml","thumbprints":[],"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":false,"strategy_version":2,"non_persistent_attrs":["gender","hair_color"],"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/CbV08lsz","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.30325ms + duration: 145.303875ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_P1pga8T8U8vGt5dP + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rYP4biAVSsETivE3 method: GET response: proto: HTTP/2.0 @@ -138,33 +135,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_P1pga8T8U8vGt5dP","options":{"icon_url":"https://example.com/logo.svg","adfs_server":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/b5ed4fc037bcf7be0a8953033a3c3ffa1be17083/test/data/federation_metadata.xml","thumbprints":[],"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":false,"non_persistent_attrs":["gender","hair_color"],"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/A57GHZ3M","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' + body: '{"id":"con_rYP4biAVSsETivE3","options":{"icon_url":"https://example.com/logo.svg","adfs_server":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/b5ed4fc037bcf7be0a8953033a3c3ffa1be17083/test/data/federation_metadata.xml","thumbprints":[],"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":false,"strategy_version":2,"non_persistent_attrs":["gender","hair_color"],"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/CbV08lsz","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.08375ms + duration: 142.107208ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_P1pga8T8U8vGt5dP + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rYP4biAVSsETivE3 method: GET response: proto: HTTP/2.0 @@ -174,13 +170,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_P1pga8T8U8vGt5dP","options":{"icon_url":"https://example.com/logo.svg","adfs_server":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/b5ed4fc037bcf7be0a8953033a3c3ffa1be17083/test/data/federation_metadata.xml","thumbprints":[],"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":false,"non_persistent_attrs":["gender","hair_color"],"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/A57GHZ3M","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' + body: '{"id":"con_rYP4biAVSsETivE3","options":{"icon_url":"https://example.com/logo.svg","adfs_server":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/b5ed4fc037bcf7be0a8953033a3c3ffa1be17083/test/data/federation_metadata.xml","thumbprints":[],"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":false,"strategy_version":2,"non_persistent_attrs":["gender","hair_color"],"should_trust_email_verified_connection":"always_set_emails_as_verified"},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/CbV08lsz","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.565292ms + duration: 143.350292ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_P1pga8T8U8vGt5dP + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rYP4biAVSsETivE3 method: PATCH response: proto: HTTP/2.0 @@ -210,33 +206,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_P1pga8T8U8vGt5dP","options":{"icon_url":"https://example.com/logo.svg","adfs_server":"","thumbprints":[],"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n\n","signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":false,"non_persistent_attrs":["gender","hair_color"],"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/A57GHZ3M","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' + body: '{"id":"con_rYP4biAVSsETivE3","options":{"icon_url":"https://example.com/logo.svg","adfs_server":"","thumbprints":[],"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n\n","signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":false,"non_persistent_attrs":["gender","hair_color"],"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/CbV08lsz","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 149.111459ms + duration: 176.824ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_P1pga8T8U8vGt5dP + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rYP4biAVSsETivE3 method: GET response: proto: HTTP/2.0 @@ -246,33 +241,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_P1pga8T8U8vGt5dP","options":{"icon_url":"https://example.com/logo.svg","adfs_server":"","thumbprints":[],"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n\n","signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":false,"non_persistent_attrs":["gender","hair_color"],"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/A57GHZ3M","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' + body: '{"id":"con_rYP4biAVSsETivE3","options":{"icon_url":"https://example.com/logo.svg","adfs_server":"","thumbprints":[],"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n\n","signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":false,"non_persistent_attrs":["gender","hair_color"],"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/CbV08lsz","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.952333ms + duration: 142.85775ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_P1pga8T8U8vGt5dP + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rYP4biAVSsETivE3 method: GET response: proto: HTTP/2.0 @@ -282,13 +276,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_P1pga8T8U8vGt5dP","options":{"icon_url":"https://example.com/logo.svg","adfs_server":"","thumbprints":[],"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n\n","signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":false,"non_persistent_attrs":["gender","hair_color"],"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/A57GHZ3M","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' + body: '{"id":"con_rYP4biAVSsETivE3","options":{"icon_url":"https://example.com/logo.svg","adfs_server":"","thumbprints":[],"tenant_domain":"example.auth0.com","domain_aliases":["example.com"],"fedMetadataXml":"\n\n \n \n \n https://adfs.provider/\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n https://adfs.provider/wsfed\n \n \n \n \n \n \n \n\n\n","signInEndpoint":"https://adfs.provider/wsfed","upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":false,"non_persistent_attrs":["gender","hair_color"],"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"adfs","name":"Acceptance-Test-ADFS-TestAccConnectionADFS","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/adfs/CbV08lsz","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-ADFS-TestAccConnectionADFS"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.075834ms + duration: 136.205958ms - id: 8 request: proto: HTTP/1.1 @@ -306,8 +300,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_P1pga8T8U8vGt5dP + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rYP4biAVSsETivE3 method: DELETE response: proto: HTTP/2.0 @@ -317,10 +311,10 @@ interactions: trailer: {} content_length: 41 uncompressed: false - body: '{"deleted_at":"2023-08-31T08:59:30.329Z"}' + body: '{"deleted_at":"2024-09-12T21:27:11.158Z"}' headers: Content-Type: - application/json; charset=utf-8 status: 202 Accepted code: 202 - duration: 124.713125ms + duration: 164.579125ms diff --git a/test/data/recordings/TestAccConnectionApple.yaml b/test/data/recordings/TestAccConnectionApple.yaml index 95d5c5818..a46b5e716 100644 --- a/test/data/recordings/TestAccConnectionApple.yaml +++ b/test/data/recordings/TestAccConnectionApple.yaml @@ -1,290 +1,285 @@ --- version: 2 interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 672 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance-Test-Apple-TestAccConnectionApple","strategy":"apple","is_domain_connection":false,"options":{"client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","team_id":"team_id","kid":"key_id","name":true,"email":true,"set_user_root_attributes":"on_each_login","non_persistent_attrs":null,"upstream_params":{"screen_name":{"alias":"login_hint"}}}} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - 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: -1 - uncompressed: false - body: '{"id":"con_iJtTGSUO2cIa4OS2","options":{"client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","team_id":"team_id","kid":"key_id","name":true,"email":true,"set_user_root_attributes":"on_each_login","non_persistent_attrs":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":"name email"},"strategy":"apple","name":"Acceptance-Test-Apple-TestAccConnectionApple","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Apple-TestAccConnectionApple"]}' - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_iJtTGSUO2cIa4OS2 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_iJtTGSUO2cIa4OS2","options":{"kid":"key_id","name":true,"email":true,"scope":"name email","team_id":"team_id","client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","upstream_params":{"screen_name":{"alias":"login_hint"}},"non_persistent_attrs":null,"set_user_root_attributes":"on_each_login"},"strategy":"apple","name":"Acceptance-Test-Apple-TestAccConnectionApple","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Apple-TestAccConnectionApple"]}' - 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: 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.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_iJtTGSUO2cIa4OS2 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_iJtTGSUO2cIa4OS2","options":{"kid":"key_id","name":true,"email":true,"scope":"name email","team_id":"team_id","client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","upstream_params":{"screen_name":{"alias":"login_hint"}},"non_persistent_attrs":null,"set_user_root_attributes":"on_each_login"},"strategy":"apple","name":"Acceptance-Test-Apple-TestAccConnectionApple","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Apple-TestAccConnectionApple"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_iJtTGSUO2cIa4OS2 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_iJtTGSUO2cIa4OS2","options":{"kid":"key_id","name":true,"email":true,"scope":"name email","team_id":"team_id","client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","upstream_params":{"screen_name":{"alias":"login_hint"}},"non_persistent_attrs":null,"set_user_root_attributes":"on_each_login"},"strategy":"apple","name":"Acceptance-Test-Apple-TestAccConnectionApple","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Apple-TestAccConnectionApple"]}' - 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: 558 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"is_domain_connection":false,"options":{"client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","team_id":"team_id_update","kid":"key_id_update","name":false,"email":true,"set_user_root_attributes":"on_first_login","non_persistent_attrs":null}} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_iJtTGSUO2cIa4OS2 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_iJtTGSUO2cIa4OS2","options":{"kid":"key_id_update","name":false,"email":true,"scope":"email","team_id":"team_id_update","client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","non_persistent_attrs":null,"set_user_root_attributes":"on_first_login"},"strategy":"apple","name":"Acceptance-Test-Apple-TestAccConnectionApple","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Apple-TestAccConnectionApple"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_iJtTGSUO2cIa4OS2 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_iJtTGSUO2cIa4OS2","options":{"kid":"key_id_update","name":false,"email":true,"scope":"email","team_id":"team_id_update","client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","non_persistent_attrs":null,"set_user_root_attributes":"on_first_login"},"strategy":"apple","name":"Acceptance-Test-Apple-TestAccConnectionApple","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Apple-TestAccConnectionApple"]}' - 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: 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.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_iJtTGSUO2cIa4OS2 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_iJtTGSUO2cIa4OS2","options":{"kid":"key_id_update","name":false,"email":true,"scope":"email","team_id":"team_id_update","client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","non_persistent_attrs":null,"set_user_root_attributes":"on_first_login"},"strategy":"apple","name":"Acceptance-Test-Apple-TestAccConnectionApple","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Apple-TestAccConnectionApple"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_iJtTGSUO2cIa4OS2 - 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: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 644 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance-Test-Apple-TestAccConnectionApple","strategy":"apple","is_domain_connection":false,"options":{"client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","team_id":"team_id","kid":"key_id","name":true,"email":true,"set_user_root_attributes":"on_each_login","upstream_params":{"screen_name":{"alias":"login_hint"}}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + 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: 771 + uncompressed: false + body: '{"id":"con_ZreNpmdras2E31d5","options":{"client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","team_id":"team_id","kid":"key_id","name":true,"email":true,"set_user_root_attributes":"on_each_login","upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":"name email"},"strategy":"apple","name":"Acceptance-Test-Apple-TestAccConnectionApple","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Apple-TestAccConnectionApple"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 150.127667ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ZreNpmdras2E31d5 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_ZreNpmdras2E31d5","options":{"kid":"key_id","name":true,"email":true,"scope":"name email","team_id":"team_id","client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","upstream_params":{"screen_name":{"alias":"login_hint"}},"set_user_root_attributes":"on_each_login"},"strategy":"apple","name":"Acceptance-Test-Apple-TestAccConnectionApple","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Apple-TestAccConnectionApple"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 143.480625ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ZreNpmdras2E31d5 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_ZreNpmdras2E31d5","options":{"kid":"key_id","name":true,"email":true,"scope":"name email","team_id":"team_id","client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","upstream_params":{"screen_name":{"alias":"login_hint"}},"set_user_root_attributes":"on_each_login"},"strategy":"apple","name":"Acceptance-Test-Apple-TestAccConnectionApple","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Apple-TestAccConnectionApple"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 143.961833ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ZreNpmdras2E31d5 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_ZreNpmdras2E31d5","options":{"kid":"key_id","name":true,"email":true,"scope":"name email","team_id":"team_id","client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","upstream_params":{"screen_name":{"alias":"login_hint"}},"set_user_root_attributes":"on_each_login"},"strategy":"apple","name":"Acceptance-Test-Apple-TestAccConnectionApple","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Apple-TestAccConnectionApple"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 137.813917ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 530 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"is_domain_connection":false,"options":{"client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","team_id":"team_id_update","kid":"key_id_update","name":false,"email":true,"set_user_root_attributes":"on_first_login"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ZreNpmdras2E31d5 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_ZreNpmdras2E31d5","options":{"kid":"key_id_update","name":false,"email":true,"scope":"email","team_id":"team_id_update","client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","set_user_root_attributes":"on_first_login"},"strategy":"apple","name":"Acceptance-Test-Apple-TestAccConnectionApple","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Apple-TestAccConnectionApple"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 180.384375ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ZreNpmdras2E31d5 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_ZreNpmdras2E31d5","options":{"kid":"key_id_update","name":false,"email":true,"scope":"email","team_id":"team_id_update","client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","set_user_root_attributes":"on_first_login"},"strategy":"apple","name":"Acceptance-Test-Apple-TestAccConnectionApple","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Apple-TestAccConnectionApple"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 148.623417ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ZreNpmdras2E31d5 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_ZreNpmdras2E31d5","options":{"kid":"key_id_update","name":false,"email":true,"scope":"email","team_id":"team_id_update","client_id":"client_id","app_secret":"-----BEGIN PRIVATE KEY-----\nMIHBAgEAMA0GCSqGSIb3DQEBAQUABIGsMIGpAgEAAiEA3+luhVHxSJ8cv3VNzQDP\nEL6BPs7FjBq4oro0MWM+QJMCAwEAAQIgWbq6/pRK4/ZXV+ZTSj7zuxsWZuK5i3ET\nfR2TCEkZR3kCEQD2ElqDr/pY5aHA++9HioY9AhEA6PIxC1c/K3gJqu+K+EsfDwIQ\nG5MS8Y7Wzv9skOOqfKnZQQIQdG24vaZZ2GwiyOD5YKiLWQIQYNtrb3j0BWsT4LI+\nN9+l1g==\n-----END PRIVATE KEY-----","set_user_root_attributes":"on_first_login"},"strategy":"apple","name":"Acceptance-Test-Apple-TestAccConnectionApple","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Apple-TestAccConnectionApple"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 140.463667ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ZreNpmdras2E31d5 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 41 + uncompressed: false + body: '{"deleted_at":"2024-09-12T21:26:48.469Z"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 202 Accepted + code: 202 + duration: 150.539208ms diff --git a/test/data/recordings/TestAccConnectionAzureAD.yaml b/test/data/recordings/TestAccConnectionAzureAD.yaml index 2bd4848f7..1d6284160 100644 --- a/test/data/recordings/TestAccConnectionAzureAD.yaml +++ b/test/data/recordings/TestAccConnectionAzureAD.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 620 + content_length: 641 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","strategy":"waad","show_as_button":true,"options":{"client_id":"123456","client_secret":"123456","tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","domain_aliases":["api.example.com","example.com"],"identity_api":"azure-active-directory-v1.0","waad_protocol":"openid-connect","use_wsfed":false,"useCommonEndpoint":false,"api_enable_users":true,"basic_profile":true,"ext_profile":true,"ext_groups":true,"should_trust_email_verified_connection":"never_set_emails_as_verified","upstream_params":{"screen_name":{"alias":"login_hint"}}}} + {"name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","strategy":"waad","show_as_button":true,"options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","domain_aliases":["api.example.com","example.com"],"identity_api":"azure-active-directory-v1.0","waad_protocol":"openid-connect","use_wsfed":false,"useCommonEndpoint":false,"api_enable_users":true,"basic_profile":true,"ext_profile":true,"ext_groups":true,"should_trust_email_verified_connection":"never_set_emails_as_verified","upstream_params":{"screen_name":{"alias":"login_hint"}}}} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 + - Go-Auth0/1.10.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections method: POST response: @@ -30,33 +30,32 @@ interactions: trailer: {} content_length: -1 uncompressed: false - body: '{"id":"con_dAweBN15jCPJXn6m","options":{"client_id":"123456","client_secret":"123456","tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","domain_aliases":["api.example.com","example.com"],"identity_api":"azure-active-directory-v1.0","waad_protocol":"openid-connect","use_wsfed":false,"useCommonEndpoint":false,"api_enable_users":true,"basic_profile":true,"ext_profile":true,"ext_groups":true,"should_trust_email_verified_connection":"never_set_emails_as_verified","upstream_params":{"screen_name":{"alias":"login_hint"}},"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","thumbprints":["f8a23743d9cd47b6d1a1fc66799a17a9b1d919ec","9472c8bb89a82aaccf72893095f0913c7ca39798"]},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/tV6FByCP","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_UqghLdzVUhenLt7a","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","domain_aliases":["api.example.com","example.com"],"identity_api":"azure-active-directory-v1.0","waad_protocol":"openid-connect","use_wsfed":false,"useCommonEndpoint":false,"api_enable_users":true,"basic_profile":true,"ext_profile":true,"ext_groups":true,"should_trust_email_verified_connection":"never_set_emails_as_verified","upstream_params":{"screen_name":{"alias":"login_hint"}},"thumbprints":["4a3138b6fcc0c00a28e86077dbe83540076021c9","1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","2743ae2dd284d5280f768e2f77eb145f1bb6751b","824f47a0658299810b52ad51110d0290783e46c6"],"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","waad_common_endpoint":false,"userid_attribute":"oid"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/B121PNH5","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 569.489125ms + duration: 388.469792ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dAweBN15jCPJXn6m + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_UqghLdzVUhenLt7a method: GET response: proto: HTTP/2.0 @@ -66,33 +65,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_dAweBN15jCPJXn6m","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["f8a23743d9cd47b6d1a1fc66799a17a9b1d919ec","9472c8bb89a82aaccf72893095f0913c7ca39798"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"useCommonEndpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/tV6FByCP","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_UqghLdzVUhenLt7a","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["4a3138b6fcc0c00a28e86077dbe83540076021c9","1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","2743ae2dd284d5280f768e2f77eb145f1bb6751b","824f47a0658299810b52ad51110d0290783e46c6"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/B121PNH5","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.615167ms + duration: 200.323625ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dAweBN15jCPJXn6m + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_UqghLdzVUhenLt7a method: GET response: proto: HTTP/2.0 @@ -102,33 +100,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_dAweBN15jCPJXn6m","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["f8a23743d9cd47b6d1a1fc66799a17a9b1d919ec","9472c8bb89a82aaccf72893095f0913c7ca39798"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"useCommonEndpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/tV6FByCP","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_UqghLdzVUhenLt7a","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["4a3138b6fcc0c00a28e86077dbe83540076021c9","1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","2743ae2dd284d5280f768e2f77eb145f1bb6751b","824f47a0658299810b52ad51110d0290783e46c6"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/B121PNH5","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.54875ms + duration: 184.929625ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dAweBN15jCPJXn6m + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_UqghLdzVUhenLt7a method: GET response: proto: HTTP/2.0 @@ -138,33 +135,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_dAweBN15jCPJXn6m","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["f8a23743d9cd47b6d1a1fc66799a17a9b1d919ec","9472c8bb89a82aaccf72893095f0913c7ca39798"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"useCommonEndpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/tV6FByCP","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_UqghLdzVUhenLt7a","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["4a3138b6fcc0c00a28e86077dbe83540076021c9","1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","2743ae2dd284d5280f768e2f77eb145f1bb6751b","824f47a0658299810b52ad51110d0290783e46c6"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/B121PNH5","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.558875ms + duration: 217.119375ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dAweBN15jCPJXn6m + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_UqghLdzVUhenLt7a method: GET response: proto: HTTP/2.0 @@ -174,33 +170,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_dAweBN15jCPJXn6m","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["f8a23743d9cd47b6d1a1fc66799a17a9b1d919ec","9472c8bb89a82aaccf72893095f0913c7ca39798"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"useCommonEndpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/tV6FByCP","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_UqghLdzVUhenLt7a","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["4a3138b6fcc0c00a28e86077dbe83540076021c9","1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","2743ae2dd284d5280f768e2f77eb145f1bb6751b","824f47a0658299810b52ad51110d0290783e46c6"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/B121PNH5","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.5015ms + duration: 193.132667ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 752 + content_length: 856 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"show_as_button":true,"options":{"client_id":"123456","client_secret":"123456","tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","domain_aliases":["api.example.com","example.com"],"identity_api":"azure-active-directory-v1.0","waad_protocol":"openid-connect","use_wsfed":false,"useCommonEndpoint":false,"api_enable_users":true,"basic_profile":true,"ext_profile":true,"ext_groups":true,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified","upstream_params":{"screen_name":{"alias":"login_hint"}},"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","thumbprints":["f8a23743d9cd47b6d1a1fc66799a17a9b1d919ec","9472c8bb89a82aaccf72893095f0913c7ca39798"]}} + {"show_as_button":true,"options":{"client_id":"123456","client_secret":"123456","tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","domain_aliases":["api.example.com","example.com"],"identity_api":"azure-active-directory-v1.0","waad_protocol":"openid-connect","use_wsfed":false,"useCommonEndpoint":false,"api_enable_users":true,"basic_profile":true,"ext_profile":true,"ext_groups":true,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified","upstream_params":{"screen_name":{"alias":"login_hint"}},"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","thumbprints":["4a3138b6fcc0c00a28e86077dbe83540076021c9","1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","2743ae2dd284d5280f768e2f77eb145f1bb6751b","824f47a0658299810b52ad51110d0290783e46c6"]}} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dAweBN15jCPJXn6m + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_UqghLdzVUhenLt7a method: PATCH response: proto: HTTP/2.0 @@ -210,33 +206,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_dAweBN15jCPJXn6m","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["f8a23743d9cd47b6d1a1fc66799a17a9b1d919ec","9472c8bb89a82aaccf72893095f0913c7ca39798"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"useCommonEndpoint":false,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/tV6FByCP","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_UqghLdzVUhenLt7a","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["4a3138b6fcc0c00a28e86077dbe83540076021c9","1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","2743ae2dd284d5280f768e2f77eb145f1bb6751b","824f47a0658299810b52ad51110d0290783e46c6"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"userid_attribute":null,"useCommonEndpoint":false,"waad_common_endpoint":false,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/B121PNH5","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 439.426625ms + duration: 364.643833ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dAweBN15jCPJXn6m + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_UqghLdzVUhenLt7a method: GET response: proto: HTTP/2.0 @@ -246,33 +241,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_dAweBN15jCPJXn6m","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["f8a23743d9cd47b6d1a1fc66799a17a9b1d919ec","9472c8bb89a82aaccf72893095f0913c7ca39798"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"useCommonEndpoint":false,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/tV6FByCP","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_UqghLdzVUhenLt7a","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["4a3138b6fcc0c00a28e86077dbe83540076021c9","1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","2743ae2dd284d5280f768e2f77eb145f1bb6751b","824f47a0658299810b52ad51110d0290783e46c6"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"userid_attribute":null,"useCommonEndpoint":false,"waad_common_endpoint":false,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/B121PNH5","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 158.296125ms + duration: 176.896542ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dAweBN15jCPJXn6m + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_UqghLdzVUhenLt7a method: GET response: proto: HTTP/2.0 @@ -282,13 +276,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_dAweBN15jCPJXn6m","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["f8a23743d9cd47b6d1a1fc66799a17a9b1d919ec","9472c8bb89a82aaccf72893095f0913c7ca39798"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"useCommonEndpoint":false,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/tV6FByCP","is_domain_connection":false,"show_as_button":true,"enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_UqghLdzVUhenLt7a","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["4a3138b6fcc0c00a28e86077dbe83540076021c9","1fd9e3e40392b30329860d52171ee3695fa507dc","8a48f046b8d93d1e7c6bfc10c54ce9cc6b94378b","2743ae2dd284d5280f768e2f77eb145f1bb6751b","824f47a0658299810b52ad51110d0290783e46c6"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"userid_attribute":null,"useCommonEndpoint":false,"waad_common_endpoint":false,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/B121PNH5","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.425583ms + duration: 205.429958ms - id: 8 request: proto: HTTP/1.1 @@ -306,8 +300,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_dAweBN15jCPJXn6m + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_UqghLdzVUhenLt7a method: DELETE response: proto: HTTP/2.0 @@ -317,10 +311,10 @@ interactions: trailer: {} content_length: 41 uncompressed: false - body: '{"deleted_at":"2023-08-31T08:59:42.378Z"}' + body: '{"deleted_at":"2024-09-13T14:49:36.430Z"}' headers: Content-Type: - application/json; charset=utf-8 status: 202 Accepted code: 202 - duration: 112.65575ms + duration: 197.561167ms diff --git a/test/data/recordings/TestAccConnectionClient.yaml b/test/data/recordings/TestAccConnectionClient.yaml index 3b59eb1c1..40eff951b 100644 --- a/test/data/recordings/TestAccConnectionClient.yaml +++ b/test/data/recordings/TestAccConnectionClient.yaml @@ -1,1188 +1,1165 @@ --- version: 2 interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 81 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance-Test-Connection-TestAccConnectionClient","strategy":"auth0"} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - 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: 361 - uncompressed: false - 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: 254.984472ms - - 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/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 135.640394ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 60 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance-Test-Client-1-TestAccConnectionClient"} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - 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 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: false - 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: 320.429288ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv - 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":"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: 168.292771ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 189.85862ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 57 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"enabled_clients":["abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"]} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - 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 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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: 200 OK - code: 200 - duration: 151.48578ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 60 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance-Test-Client-2-TestAccConnectionClient"} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - 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 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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: 201 Created - code: 201 - duration: 410.757931ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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: 200 OK - code: 200 - duration: 170.022978ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK - 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":"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: 143.127685ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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: 200 OK - code: 200 - duration: 181.394779ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 92 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"enabled_clients":["abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv","nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK"]} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - 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 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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","nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 149.914158ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 121.740598ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 131.551577ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv - 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":"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: 134.536232ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 122.757546ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK - 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":"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: 110.007723ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.78407ms - - id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK - 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":"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: 131.491152ms - - id: 18 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 148.502791ms - - id: 19 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv - 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":"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: 148.53109ms - - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 190.181984ms - - id: 21 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.074937ms - - id: 22 - 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.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK","abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.277364ms - - id: 23 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 57 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"enabled_clients":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK"]} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - 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 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 208.030045ms - - id: 24 - 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.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/abYGKOQlrLVr0LyQV1k2v0CeDqcNf5zv - 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":"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: 114.401294ms - - 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/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK - 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":"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: 133.358647ms - - 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/0.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 143.703315ms - - id: 27 - 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.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 148.687691ms - - id: 28 - 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.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: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 152.081979ms - - id: 29 - 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.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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":["nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 152.170315ms - - id: 30 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 25 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"enabled_clients":null} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - 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 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - 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":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 144.530013ms - - id: 31 - 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.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_LuLO2bKCL60cX2Im - 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-12-20T12:12:16.888Z"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 202 Accepted - code: 202 - duration: 163.840626ms - - id: 32 - 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.14.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/nX2U9nyu9jz53V3OdkMzoBu7Pym6xYJK - 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: 108.663689ms + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 81 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance-Test-Connection-TestAccConnectionClient","strategy":"auth0"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + 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: 556 + uncompressed: false + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"authentication_methods":{"password":{"enabled":true},"passkey":{"enabled":false}},"passkey_options":{"challenge_ui":"both","progressive_enrollment_enabled":true,"local_enrollment_enabled":true},"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: 182.823542ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"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: 144.182833ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 60 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance-Test-Client-1-TestAccConnectionClient"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + 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":"Acceptance-Test-Client-1-TestAccConnectionClient","client_id":"Itv2W4rh5AwpMhSZ7url2itVa1Wapf36","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,"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: 295.257458ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Itv2W4rh5AwpMhSZ7url2itVa1Wapf36 + 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":"Itv2W4rh5AwpMhSZ7url2itVa1Wapf36","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,"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: 142.600792ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"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: 150.823333ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 60 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance-Test-Client-2-TestAccConnectionClient"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + 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":"Acceptance-Test-Client-2-TestAccConnectionClient","client_id":"XDplWKzAdLtAacsbx0uML7oGE430O0Tw","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,"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: 314.877125ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 57 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"enabled_clients":["Itv2W4rh5AwpMhSZ7url2itVa1Wapf36"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["Itv2W4rh5AwpMhSZ7url2itVa1Wapf36"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 208.182584ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/XDplWKzAdLtAacsbx0uML7oGE430O0Tw + 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":"XDplWKzAdLtAacsbx0uML7oGE430O0Tw","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,"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: 150.8685ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["Itv2W4rh5AwpMhSZ7url2itVa1Wapf36"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 176.586083ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["Itv2W4rh5AwpMhSZ7url2itVa1Wapf36"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 143.256292ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 92 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"enabled_clients":["Itv2W4rh5AwpMhSZ7url2itVa1Wapf36","XDplWKzAdLtAacsbx0uML7oGE430O0Tw"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["Itv2W4rh5AwpMhSZ7url2itVa1Wapf36","XDplWKzAdLtAacsbx0uML7oGE430O0Tw"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 153.34625ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["Itv2W4rh5AwpMhSZ7url2itVa1Wapf36","XDplWKzAdLtAacsbx0uML7oGE430O0Tw"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 146.960542ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["Itv2W4rh5AwpMhSZ7url2itVa1Wapf36","XDplWKzAdLtAacsbx0uML7oGE430O0Tw"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 138.294667ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Itv2W4rh5AwpMhSZ7url2itVa1Wapf36 + 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":"Itv2W4rh5AwpMhSZ7url2itVa1Wapf36","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,"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: 153.284ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["Itv2W4rh5AwpMhSZ7url2itVa1Wapf36","XDplWKzAdLtAacsbx0uML7oGE430O0Tw"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 163.986166ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/XDplWKzAdLtAacsbx0uML7oGE430O0Tw + 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":"XDplWKzAdLtAacsbx0uML7oGE430O0Tw","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,"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: 162.20725ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["Itv2W4rh5AwpMhSZ7url2itVa1Wapf36","XDplWKzAdLtAacsbx0uML7oGE430O0Tw"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 144.101ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/XDplWKzAdLtAacsbx0uML7oGE430O0Tw + 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":"XDplWKzAdLtAacsbx0uML7oGE430O0Tw","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,"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: 148.038375ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["Itv2W4rh5AwpMhSZ7url2itVa1Wapf36","XDplWKzAdLtAacsbx0uML7oGE430O0Tw"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 163.491459ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Itv2W4rh5AwpMhSZ7url2itVa1Wapf36 + 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":"Itv2W4rh5AwpMhSZ7url2itVa1Wapf36","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,"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: 200.836792ms + - 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/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["Itv2W4rh5AwpMhSZ7url2itVa1Wapf36","XDplWKzAdLtAacsbx0uML7oGE430O0Tw"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 202.279375ms + - 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/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["Itv2W4rh5AwpMhSZ7url2itVa1Wapf36","XDplWKzAdLtAacsbx0uML7oGE430O0Tw"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 160.31925ms + - 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/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["Itv2W4rh5AwpMhSZ7url2itVa1Wapf36","XDplWKzAdLtAacsbx0uML7oGE430O0Tw"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 159.940834ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 57 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"enabled_clients":["XDplWKzAdLtAacsbx0uML7oGE430O0Tw"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["XDplWKzAdLtAacsbx0uML7oGE430O0Tw"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 187.65125ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Itv2W4rh5AwpMhSZ7url2itVa1Wapf36 + 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":"Itv2W4rh5AwpMhSZ7url2itVa1Wapf36","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,"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: 152.892041ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/XDplWKzAdLtAacsbx0uML7oGE430O0Tw + 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":"XDplWKzAdLtAacsbx0uML7oGE430O0Tw","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,"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: 166.210833ms + - id: 26 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["XDplWKzAdLtAacsbx0uML7oGE430O0Tw"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 175.631291ms + - 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/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["XDplWKzAdLtAacsbx0uML7oGE430O0Tw"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 172.887042ms + - id: 28 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClient","is_domain_connection":false,"enabled_clients":["XDplWKzAdLtAacsbx0uML7oGE430O0Tw"],"realms":["Acceptance-Test-Connection-TestAccConnectionClient"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 138.926834ms + - id: 29 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Itv2W4rh5AwpMhSZ7url2itVa1Wapf36 + 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: 165.554375ms + - id: 30 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 25 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"enabled_clients":null} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_K5StyRCIefx4k87z","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"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: 185.670416ms + - id: 31 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K5StyRCIefx4k87z + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 41 + uncompressed: false + body: '{"deleted_at":"2024-09-12T21:28:48.129Z"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 202 Accepted + code: 202 + duration: 148.408959ms + - id: 32 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/XDplWKzAdLtAacsbx0uML7oGE430O0Tw + 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: 200.743542ms diff --git a/test/data/recordings/TestAccConnectionClients.yaml b/test/data/recordings/TestAccConnectionClients.yaml index 10247d524..4a4d863f7 100644 --- a/test/data/recordings/TestAccConnectionClients.yaml +++ b/test/data/recordings/TestAccConnectionClients.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 + - Go-Auth0/1.10.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections method: POST response: @@ -30,33 +30,32 @@ interactions: trailer: {} content_length: 558 uncompressed: false - body: '{"id":"con_0I9mGSatSxBeBKge","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"authentication_methods":{"password":{"enabled":true},"passkey":{"enabled":false}},"passkey_options":{"challenge_ui":"both","progressive_enrollment_enabled":true,"local_enrollment_enabled":true},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"authentication_methods":{"password":{"enabled":true},"passkey":{"enabled":false}},"passkey_options":{"challenge_ui":"both","progressive_enrollment_enabled":true,"local_enrollment_enabled":true},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 6.641665125s + duration: 151.628084ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N method: GET response: proto: HTTP/2.0 @@ -66,33 +65,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 747.918208ms + duration: 139.607209ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true method: GET response: proto: HTTP/2.0 @@ -102,13 +100,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 4.232926459s + duration: 147.287958ms - id: 3 request: proto: HTTP/1.1 @@ -127,8 +125,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N method: PATCH response: proto: HTTP/2.0 @@ -138,33 +136,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 673.697209ms + duration: 160.081125ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true method: GET response: proto: HTTP/2.0 @@ -174,33 +171,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 2.008501959s + duration: 143.564292ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N method: GET response: proto: HTTP/2.0 @@ -210,33 +206,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 1.538896708s + duration: 137.717042ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true method: GET response: proto: HTTP/2.0 @@ -246,33 +241,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 1.594325833s + duration: 131.992792ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N method: GET response: proto: HTTP/2.0 @@ -282,33 +276,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 467.217ms + duration: 146.810167ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true method: GET response: proto: HTTP/2.0 @@ -318,13 +311,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 324.282709ms + duration: 136.437083ms - id: 9 request: proto: HTTP/1.1 @@ -343,7 +336,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 + - Go-Auth0/1.10.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients method: POST response: @@ -354,33 +347,32 @@ interactions: trailer: {} content_length: -1 uncompressed: false - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClients","client_id":"UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg","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,"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-TestAccConnectionClients","client_id":"wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P","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,"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: 1.819750209s + duration: 402.289375ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P method: GET response: proto: HTTP/2.0 @@ -390,13 +382,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClients","client_id":"UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg","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,"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-TestAccConnectionClients","client_id":"wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P","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,"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: 1.923786208s + duration: 137.412417ms - id: 11 request: proto: HTTP/1.1 @@ -409,14 +401,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"enabled_clients":["UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg"]} + {"enabled_clients":["wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N method: PATCH response: proto: HTTP/2.0 @@ -426,33 +418,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg"],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P"],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 2.274151667s + duration: 171.9575ms - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true method: GET response: proto: HTTP/2.0 @@ -462,33 +453,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 912.172625ms + duration: 135.043917ms - id: 13 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N method: GET response: proto: HTTP/2.0 @@ -498,33 +488,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg"],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P"],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 610.675417ms + duration: 138.764667ms - id: 14 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P method: GET response: proto: HTTP/2.0 @@ -534,33 +523,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClients","client_id":"UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg","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,"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-TestAccConnectionClients","client_id":"wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P","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,"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: 2.938033291s + duration: 156.152ms - id: 15 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true method: GET response: proto: HTTP/2.0 @@ -570,33 +558,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 333.05225ms + duration: 143.169958ms - id: 16 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N method: GET response: proto: HTTP/2.0 @@ -606,33 +593,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg"],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P"],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 3.837746625s + duration: 147.737167ms - id: 17 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P method: GET response: proto: HTTP/2.0 @@ -642,33 +628,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClients","client_id":"UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg","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,"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-TestAccConnectionClients","client_id":"wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P","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,"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: 2.070649834s + duration: 147.857208ms - id: 18 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true method: GET response: proto: HTTP/2.0 @@ -678,13 +663,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 635.874334ms + duration: 140.711583ms - id: 19 request: proto: HTTP/1.1 @@ -703,7 +688,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 + - Go-Auth0/1.10.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients method: POST response: @@ -714,33 +699,32 @@ interactions: trailer: {} content_length: -1 uncompressed: false - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClients","client_id":"aYQMYYKScxCG9UsfE2UMi9ZkdKZwrpp8","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,"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-TestAccConnectionClients","client_id":"uW2FwFPpM3lFMT1kLsJOsFqzmeHEve7m","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,"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: 1.273457459s + duration: 270.49425ms - id: 20 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/aYQMYYKScxCG9UsfE2UMi9ZkdKZwrpp8 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/uW2FwFPpM3lFMT1kLsJOsFqzmeHEve7m method: GET response: proto: HTTP/2.0 @@ -750,13 +734,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClients","client_id":"aYQMYYKScxCG9UsfE2UMi9ZkdKZwrpp8","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,"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-TestAccConnectionClients","client_id":"uW2FwFPpM3lFMT1kLsJOsFqzmeHEve7m","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,"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: 1.012607333s + duration: 159.229042ms - id: 21 request: proto: HTTP/1.1 @@ -769,14 +753,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"enabled_clients":["UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg","aYQMYYKScxCG9UsfE2UMi9ZkdKZwrpp8"]} + {"enabled_clients":["uW2FwFPpM3lFMT1kLsJOsFqzmeHEve7m","wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N method: PATCH response: proto: HTTP/2.0 @@ -786,33 +770,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg","aYQMYYKScxCG9UsfE2UMi9ZkdKZwrpp8"],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["uW2FwFPpM3lFMT1kLsJOsFqzmeHEve7m","wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P"],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 1.10740025s + duration: 157.598917ms - id: 22 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true method: GET response: proto: HTTP/2.0 @@ -822,33 +805,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["aYQMYYKScxCG9UsfE2UMi9ZkdKZwrpp8","UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P","uW2FwFPpM3lFMT1kLsJOsFqzmeHEve7m"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 1.848775041s + duration: 131.523375ms - id: 23 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N method: GET response: proto: HTTP/2.0 @@ -858,33 +840,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["aYQMYYKScxCG9UsfE2UMi9ZkdKZwrpp8","UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg"],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P","uW2FwFPpM3lFMT1kLsJOsFqzmeHEve7m"],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 814.332209ms + duration: 145.346708ms - id: 24 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P method: GET response: proto: HTTP/2.0 @@ -894,33 +875,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClients","client_id":"UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg","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,"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-TestAccConnectionClients","client_id":"wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P","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,"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: 1.143348041s + duration: 142.870333ms - id: 25 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/aYQMYYKScxCG9UsfE2UMi9ZkdKZwrpp8 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/uW2FwFPpM3lFMT1kLsJOsFqzmeHEve7m method: GET response: proto: HTTP/2.0 @@ -930,33 +910,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClients","client_id":"aYQMYYKScxCG9UsfE2UMi9ZkdKZwrpp8","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,"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-TestAccConnectionClients","client_id":"uW2FwFPpM3lFMT1kLsJOsFqzmeHEve7m","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,"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: 788.914042ms + duration: 138.353667ms - id: 26 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true method: GET response: proto: HTTP/2.0 @@ -966,33 +945,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["aYQMYYKScxCG9UsfE2UMi9ZkdKZwrpp8","UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P","uW2FwFPpM3lFMT1kLsJOsFqzmeHEve7m"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 3.396354709s + duration: 168.340875ms - id: 27 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/aYQMYYKScxCG9UsfE2UMi9ZkdKZwrpp8 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/uW2FwFPpM3lFMT1kLsJOsFqzmeHEve7m method: GET response: proto: HTTP/2.0 @@ -1002,33 +980,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClients","client_id":"aYQMYYKScxCG9UsfE2UMi9ZkdKZwrpp8","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,"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-TestAccConnectionClients","client_id":"uW2FwFPpM3lFMT1kLsJOsFqzmeHEve7m","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,"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: 2.033297792s + duration: 143.707916ms - id: 28 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N method: GET response: proto: HTTP/2.0 @@ -1038,33 +1015,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClients","client_id":"UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg","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,"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_xEuykzkeQsXtbj1N","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P","uW2FwFPpM3lFMT1kLsJOsFqzmeHEve7m"],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 3.793117833s + duration: 149.4825ms - id: 29 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P method: GET response: proto: HTTP/2.0 @@ -1074,33 +1050,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["aYQMYYKScxCG9UsfE2UMi9ZkdKZwrpp8","UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg"]}' + body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClients","client_id":"wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P","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,"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: 3.981864917s + duration: 149.430833ms - id: 30 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true method: GET response: proto: HTTP/2.0 @@ -1110,13 +1085,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["aYQMYYKScxCG9UsfE2UMi9ZkdKZwrpp8","UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg"],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":["wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P","uW2FwFPpM3lFMT1kLsJOsFqzmeHEve7m"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 5.374189916s + duration: 151.34025ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1110,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N method: PATCH response: proto: HTTP/2.0 @@ -1146,13 +1121,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 1.63569325s + duration: 167.91075ms - id: 32 request: proto: HTTP/1.1 @@ -1170,8 +1145,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/aYQMYYKScxCG9UsfE2UMi9ZkdKZwrpp8 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/uW2FwFPpM3lFMT1kLsJOsFqzmeHEve7m method: DELETE response: proto: HTTP/2.0 @@ -1187,7 +1162,7 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 2.07057025s + duration: 174.056875ms - id: 33 request: proto: HTTP/1.1 @@ -1205,8 +1180,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UXdIeKr4F7gN9XoTTwqWe6iaVRauhXbg + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/wF6k7Q2wlI6IGUMMmhQacRti46RQaD2P method: DELETE response: proto: HTTP/2.0 @@ -1222,27 +1197,26 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 712.691208ms + duration: 150.481291ms - id: 34 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N method: GET response: proto: HTTP/2.0 @@ -1252,33 +1226,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 1.092904042s + duration: 140.090416ms - id: 35 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N method: GET response: proto: HTTP/2.0 @@ -1288,33 +1261,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 890.910125ms + duration: 140.098375ms - id: 36 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N method: GET response: proto: HTTP/2.0 @@ -1324,13 +1296,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_0I9mGSatSxBeBKge","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' + body: '{"id":"con_xEuykzkeQsXtbj1N","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionClients","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionClients"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 1.096448083s + duration: 137.915834ms - id: 37 request: proto: HTTP/1.1 @@ -1348,8 +1320,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.4.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0I9mGSatSxBeBKge + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xEuykzkeQsXtbj1N method: DELETE response: proto: HTTP/2.0 @@ -1359,10 +1331,10 @@ interactions: trailer: {} content_length: 41 uncompressed: false - body: '{"deleted_at":"2023-12-19T13:31:47.751Z"}' + body: '{"deleted_at":"2024-09-12T21:29:04.443Z"}' headers: Content-Type: - application/json; charset=utf-8 status: 202 Accepted code: 202 - duration: 687.4345ms + duration: 164.320166ms diff --git a/test/data/recordings/TestAccConnectionClientsImport.yaml b/test/data/recordings/TestAccConnectionClientsImport.yaml index 88b449e7b..e3ac39708 100644 --- a/test/data/recordings/TestAccConnectionClientsImport.yaml +++ b/test/data/recordings/TestAccConnectionClientsImport.yaml @@ -6,21 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ouKiPbGv6eONERfA + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_QfclIwGFilDZfig3 method: GET response: proto: HTTP/2.0 @@ -30,33 +29,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_ouKiPbGv6eONERfA","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-TestAccConnectionClientsImport","is_domain_connection":false,"enabled_clients":["TGIXl1IBOpFmwBpxuCLsoXwl5OQBa1Z7"],"realms":["Acceptance-Test-TestAccConnectionClientsImport"]}' + body: '{"id":"con_QfclIwGFilDZfig3","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-TestAccConnectionClientsImport","is_domain_connection":false,"enabled_clients":["iUytqzFf4KueZRmFL7DRFNqn8RrQGu5Q"],"realms":["Acceptance-Test-TestAccConnectionClientsImport"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.959625ms + duration: 190.368333ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/TGIXl1IBOpFmwBpxuCLsoXwl5OQBa1Z7 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/iUytqzFf4KueZRmFL7DRFNqn8RrQGu5Q method: GET response: proto: HTTP/2.0 @@ -66,33 +64,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClientsImport","client_id":"TGIXl1IBOpFmwBpxuCLsoXwl5OQBa1Z7","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,"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-TestAccConnectionClientsImport","client_id":"iUytqzFf4KueZRmFL7DRFNqn8RrQGu5Q","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,"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: 176.210208ms + duration: 183.364459ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ouKiPbGv6eONERfA?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_QfclIwGFilDZfig3?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true method: GET response: proto: HTTP/2.0 @@ -102,33 +99,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_ouKiPbGv6eONERfA","strategy":"auth0","name":"Acceptance-Test-TestAccConnectionClientsImport","is_domain_connection":false,"enabled_clients":["TGIXl1IBOpFmwBpxuCLsoXwl5OQBa1Z7"]}' + body: '{"id":"con_QfclIwGFilDZfig3","strategy":"auth0","name":"Acceptance-Test-TestAccConnectionClientsImport","is_domain_connection":false,"enabled_clients":["iUytqzFf4KueZRmFL7DRFNqn8RrQGu5Q"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.060959ms + duration: 194.630667ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ouKiPbGv6eONERfA + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_QfclIwGFilDZfig3 method: GET response: proto: HTTP/2.0 @@ -138,33 +134,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_ouKiPbGv6eONERfA","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-TestAccConnectionClientsImport","is_domain_connection":false,"enabled_clients":["TGIXl1IBOpFmwBpxuCLsoXwl5OQBa1Z7"],"realms":["Acceptance-Test-TestAccConnectionClientsImport"]}' + body: '{"id":"con_QfclIwGFilDZfig3","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-TestAccConnectionClientsImport","is_domain_connection":false,"enabled_clients":["iUytqzFf4KueZRmFL7DRFNqn8RrQGu5Q"],"realms":["Acceptance-Test-TestAccConnectionClientsImport"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.564708ms + duration: 183.355334ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/TGIXl1IBOpFmwBpxuCLsoXwl5OQBa1Z7 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/iUytqzFf4KueZRmFL7DRFNqn8RrQGu5Q method: GET response: proto: HTTP/2.0 @@ -174,33 +169,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClientsImport","client_id":"TGIXl1IBOpFmwBpxuCLsoXwl5OQBa1Z7","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,"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-TestAccConnectionClientsImport","client_id":"iUytqzFf4KueZRmFL7DRFNqn8RrQGu5Q","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,"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: 99.412417ms + duration: 204.222666ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ouKiPbGv6eONERfA?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_QfclIwGFilDZfig3?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true method: GET response: proto: HTTP/2.0 @@ -210,33 +204,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_ouKiPbGv6eONERfA","strategy":"auth0","name":"Acceptance-Test-TestAccConnectionClientsImport","is_domain_connection":false,"enabled_clients":["TGIXl1IBOpFmwBpxuCLsoXwl5OQBa1Z7"]}' + body: '{"id":"con_QfclIwGFilDZfig3","strategy":"auth0","name":"Acceptance-Test-TestAccConnectionClientsImport","is_domain_connection":false,"enabled_clients":["iUytqzFf4KueZRmFL7DRFNqn8RrQGu5Q"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.206917ms + duration: 213.179042ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ouKiPbGv6eONERfA + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_QfclIwGFilDZfig3 method: GET response: proto: HTTP/2.0 @@ -246,33 +239,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_ouKiPbGv6eONERfA","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-TestAccConnectionClientsImport","is_domain_connection":false,"enabled_clients":["TGIXl1IBOpFmwBpxuCLsoXwl5OQBa1Z7"],"realms":["Acceptance-Test-TestAccConnectionClientsImport"]}' + body: '{"id":"con_QfclIwGFilDZfig3","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-TestAccConnectionClientsImport","is_domain_connection":false,"enabled_clients":["iUytqzFf4KueZRmFL7DRFNqn8RrQGu5Q"],"realms":["Acceptance-Test-TestAccConnectionClientsImport"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.419625ms + duration: 219.022667ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/TGIXl1IBOpFmwBpxuCLsoXwl5OQBa1Z7 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/iUytqzFf4KueZRmFL7DRFNqn8RrQGu5Q method: GET response: proto: HTTP/2.0 @@ -282,33 +274,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-TestAccConnectionClientsImport","client_id":"TGIXl1IBOpFmwBpxuCLsoXwl5OQBa1Z7","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,"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-TestAccConnectionClientsImport","client_id":"iUytqzFf4KueZRmFL7DRFNqn8RrQGu5Q","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,"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: 96.205583ms + duration: 194.848708ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ouKiPbGv6eONERfA?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_QfclIwGFilDZfig3?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true method: GET response: proto: HTTP/2.0 @@ -318,13 +309,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_ouKiPbGv6eONERfA","strategy":"auth0","name":"Acceptance-Test-TestAccConnectionClientsImport","is_domain_connection":false,"enabled_clients":["TGIXl1IBOpFmwBpxuCLsoXwl5OQBa1Z7"]}' + body: '{"id":"con_QfclIwGFilDZfig3","strategy":"auth0","name":"Acceptance-Test-TestAccConnectionClientsImport","is_domain_connection":false,"enabled_clients":["iUytqzFf4KueZRmFL7DRFNqn8RrQGu5Q"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.63025ms + duration: 156.013875ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +334,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ouKiPbGv6eONERfA + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_QfclIwGFilDZfig3 method: PATCH response: proto: HTTP/2.0 @@ -354,13 +345,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_ouKiPbGv6eONERfA","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-TestAccConnectionClientsImport","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-TestAccConnectionClientsImport"]}' + body: '{"id":"con_QfclIwGFilDZfig3","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-TestAccConnectionClientsImport","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-TestAccConnectionClientsImport"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.750791ms + duration: 213.6255ms - id: 10 request: proto: HTTP/1.1 @@ -378,8 +369,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/TGIXl1IBOpFmwBpxuCLsoXwl5OQBa1Z7 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/iUytqzFf4KueZRmFL7DRFNqn8RrQGu5Q method: DELETE response: proto: HTTP/2.0 @@ -395,7 +386,7 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 184.174833ms + duration: 248.956167ms - id: 11 request: proto: HTTP/1.1 @@ -413,8 +404,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ouKiPbGv6eONERfA + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_QfclIwGFilDZfig3 method: DELETE response: proto: HTTP/2.0 @@ -424,10 +415,10 @@ interactions: trailer: {} content_length: 41 uncompressed: false - body: '{"deleted_at":"2023-05-23T09:27:27.698Z"}' + body: '{"deleted_at":"2024-09-13T15:14:45.582Z"}' headers: Content-Type: - application/json; charset=utf-8 status: 202 Accepted code: 202 - duration: 149.468125ms + duration: 204.982666ms diff --git a/test/data/recordings/TestAccConnectionClientsPreventErasingEnabledClientsOnCreate.yaml b/test/data/recordings/TestAccConnectionClientsPreventErasingEnabledClientsOnCreate.yaml index 3e1b86f7b..231af83c3 100644 --- a/test/data/recordings/TestAccConnectionClientsPreventErasingEnabledClientsOnCreate.yaml +++ b/test/data/recordings/TestAccConnectionClientsPreventErasingEnabledClientsOnCreate.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0/1.10.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections method: POST response: @@ -28,35 +28,34 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 343 + content_length: 538 uncompressed: false - body: '{"id":"con_VY2LhgO5EtjcTm9V","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-PreventErasing"]}' + body: '{"id":"con_qAbg7eOsqlGyS7QO","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"authentication_methods":{"password":{"enabled":true},"passkey":{"enabled":false}},"passkey_options":{"challenge_ui":"both","progressive_enrollment_enabled":true,"local_enrollment_enabled":true},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-PreventErasing"]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 190.317ms + duration: 233.051166ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_VY2LhgO5EtjcTm9V + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_qAbg7eOsqlGyS7QO method: GET response: proto: HTTP/2.0 @@ -66,13 +65,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_VY2LhgO5EtjcTm9V","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-PreventErasing"]}' + body: '{"id":"con_qAbg7eOsqlGyS7QO","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-PreventErasing"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 138.727875ms + duration: 204.124667ms - id: 2 request: proto: HTTP/1.1 @@ -91,7 +90,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0/1.10.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients method: POST response: @@ -102,33 +101,32 @@ interactions: trailer: {} content_length: -1 uncompressed: false - body: '{"name":"Acceptance-Test-Client-1-PreventErasing","client_id":"TqWoBEncmLak9u4tlZZmsr71XFNTWnAX","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,"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-PreventErasing","client_id":"wbAFKohm1sWfccVlFvGyrJV4GATz2E4W","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,"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: 681.056167ms + duration: 329.340167ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/TqWoBEncmLak9u4tlZZmsr71XFNTWnAX + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/wbAFKohm1sWfccVlFvGyrJV4GATz2E4W method: GET response: proto: HTTP/2.0 @@ -138,33 +136,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance-Test-Client-1-PreventErasing","client_id":"TqWoBEncmLak9u4tlZZmsr71XFNTWnAX","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,"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-PreventErasing","client_id":"wbAFKohm1sWfccVlFvGyrJV4GATz2E4W","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,"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: 180.318ms + duration: 197.865583ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_VY2LhgO5EtjcTm9V + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_qAbg7eOsqlGyS7QO method: GET response: proto: HTTP/2.0 @@ -174,13 +171,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_VY2LhgO5EtjcTm9V","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-PreventErasing"]}' + body: '{"id":"con_qAbg7eOsqlGyS7QO","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-PreventErasing"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 137.005125ms + duration: 175.470167ms - id: 5 request: proto: HTTP/1.1 @@ -193,14 +190,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"enabled_clients":["TqWoBEncmLak9u4tlZZmsr71XFNTWnAX"]} + {"enabled_clients":["wbAFKohm1sWfccVlFvGyrJV4GATz2E4W"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_VY2LhgO5EtjcTm9V + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_qAbg7eOsqlGyS7QO method: PATCH response: proto: HTTP/2.0 @@ -210,33 +207,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_VY2LhgO5EtjcTm9V","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":["TqWoBEncmLak9u4tlZZmsr71XFNTWnAX"],"realms":["Acceptance-Test-Connection-PreventErasing"]}' + body: '{"id":"con_qAbg7eOsqlGyS7QO","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":["wbAFKohm1sWfccVlFvGyrJV4GATz2E4W"],"realms":["Acceptance-Test-Connection-PreventErasing"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 146.729ms + duration: 198.040375ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_VY2LhgO5EtjcTm9V + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_qAbg7eOsqlGyS7QO method: GET response: proto: HTTP/2.0 @@ -246,33 +242,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_VY2LhgO5EtjcTm9V","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":["TqWoBEncmLak9u4tlZZmsr71XFNTWnAX"],"realms":["Acceptance-Test-Connection-PreventErasing"]}' + body: '{"id":"con_qAbg7eOsqlGyS7QO","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":["wbAFKohm1sWfccVlFvGyrJV4GATz2E4W"],"realms":["Acceptance-Test-Connection-PreventErasing"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 153.497042ms + duration: 205.440209ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_VY2LhgO5EtjcTm9V?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_qAbg7eOsqlGyS7QO?fields=enabled_clients%2Cstrategy%2Cname&include_fields=true method: GET response: proto: HTTP/2.0 @@ -282,33 +277,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_VY2LhgO5EtjcTm9V","strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":["TqWoBEncmLak9u4tlZZmsr71XFNTWnAX"]}' + body: '{"id":"con_qAbg7eOsqlGyS7QO","strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":["wbAFKohm1sWfccVlFvGyrJV4GATz2E4W"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 140.307625ms + duration: 380.42525ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_VY2LhgO5EtjcTm9V + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_qAbg7eOsqlGyS7QO method: GET response: proto: HTTP/2.0 @@ -318,13 +312,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_VY2LhgO5EtjcTm9V","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":["TqWoBEncmLak9u4tlZZmsr71XFNTWnAX"],"realms":["Acceptance-Test-Connection-PreventErasing"]}' + body: '{"id":"con_qAbg7eOsqlGyS7QO","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":["wbAFKohm1sWfccVlFvGyrJV4GATz2E4W"],"realms":["Acceptance-Test-Connection-PreventErasing"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.093083ms + duration: 168.358541ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +337,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_VY2LhgO5EtjcTm9V + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_qAbg7eOsqlGyS7QO method: PATCH response: proto: HTTP/2.0 @@ -354,13 +348,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_VY2LhgO5EtjcTm9V","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-PreventErasing"]}' + body: '{"id":"con_qAbg7eOsqlGyS7QO","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-PreventErasing","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-PreventErasing"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 177.433375ms + duration: 189.472417ms - id: 10 request: proto: HTTP/1.1 @@ -378,8 +372,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/TqWoBEncmLak9u4tlZZmsr71XFNTWnAX + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/wbAFKohm1sWfccVlFvGyrJV4GATz2E4W method: DELETE response: proto: HTTP/2.0 @@ -395,7 +389,7 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 147.694416ms + duration: 301.0905ms - id: 11 request: proto: HTTP/1.1 @@ -413,8 +407,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_VY2LhgO5EtjcTm9V + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_qAbg7eOsqlGyS7QO method: DELETE response: proto: HTTP/2.0 @@ -424,10 +418,10 @@ interactions: trailer: {} content_length: 41 uncompressed: false - body: '{"deleted_at":"2023-05-08T14:19:03.398Z"}' + body: '{"deleted_at":"2024-09-13T14:52:30.148Z"}' headers: Content-Type: - application/json; charset=utf-8 status: 202 Accepted code: 202 - duration: 211.139834ms + duration: 204.075792ms diff --git a/test/data/recordings/TestAccConnectionConfiguration.yaml b/test/data/recordings/TestAccConnectionConfiguration.yaml index cc0d815b3..bcb728254 100644 --- a/test/data/recordings/TestAccConnectionConfiguration.yaml +++ b/test/data/recordings/TestAccConnectionConfiguration.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.10.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections method: POST response: @@ -28,35 +28,34 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 678 + content_length: -1 uncompressed: false - body: '{"id":"con_482BTJPR5p3Q81RH","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","brute_force_protection":true,"configuration":{"bar":"2.0$ec150ff5f374e616e57dc00a339ce2db$d5d377e1ba8dbe441d3d84e1e49622f6$43c77093c2d97788eb5b1e0c36fc5150c49d6e335b170005e0707a88370aa615","foo":"2.0$e613d7a15f2aef47a8c625ac3fb153b6$5732466a75180ec0f0050034942b7852$6f7719f3349958b9aba06c06376d78ec35baf541c48a2bb359fc7190af9f5e31"},"strategy_version":2},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' + body: '{"id":"con_JQw9hhjEytXA8cx2","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","brute_force_protection":true,"configuration":{"bar":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9ETXE4K0VneGZjblJpRmZrSFovaElWWFVhRUlOV0dpNEs1YnpVaHBOUkpFN2xwcllhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDdiMThjNyQ2NWJlYTBmODM2OGU5OTMwYWRmYWI4YzUkMWIyMDYxMDAwNjJiYjQxYTQwMmY4ZTUzZDMwMzE5ZTc=","foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EaVpQckVnd0FtdUpoNlVYZGRWM1R0N01hRUY1aG4wMHRMRkZYTDZSMmttTFFwcUVhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDhlZjg2MSQ3ZDZjZjAyNWIwMjM0MGEwMzYyYzY5NzAkNTQ4NDAzNDRmNjExODgzOGMzNmY5MzQ1MDQ4NzBlNjU="},"strategy_version":2,"authentication_methods":{"password":{"enabled":true},"passkey":{"enabled":false}},"passkey_options":{"challenge_ui":"both","progressive_enrollment_enabled":true,"local_enrollment_enabled":true}},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 170.936458ms + duration: 192.284958ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_482BTJPR5p3Q81RH + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_JQw9hhjEytXA8cx2 method: GET response: proto: HTTP/2.0 @@ -66,33 +65,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_482BTJPR5p3Q81RH","options":{"mfa":{"active":true,"return_enroll_settings":true},"configuration":{"bar":"2.0$ec150ff5f374e616e57dc00a339ce2db$d5d377e1ba8dbe441d3d84e1e49622f6$43c77093c2d97788eb5b1e0c36fc5150c49d6e335b170005e0707a88370aa615","foo":"2.0$e613d7a15f2aef47a8c625ac3fb153b6$5732466a75180ec0f0050034942b7852$6f7719f3349958b9aba06c06376d78ec35baf541c48a2bb359fc7190af9f5e31"},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' + body: '{"id":"con_JQw9hhjEytXA8cx2","options":{"mfa":{"active":true,"return_enroll_settings":true},"configuration":{"bar":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9ETXE4K0VneGZjblJpRmZrSFovaElWWFVhRUlOV0dpNEs1YnpVaHBOUkpFN2xwcllhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDdiMThjNyQ2NWJlYTBmODM2OGU5OTMwYWRmYWI4YzUkMWIyMDYxMDAwNjJiYjQxYTQwMmY4ZTUzZDMwMzE5ZTc=","foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EaVpQckVnd0FtdUpoNlVYZGRWM1R0N01hRUY1aG4wMHRMRkZYTDZSMmttTFFwcUVhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDhlZjg2MSQ3ZDZjZjAyNWIwMjM0MGEwMzYyYzY5NzAkNTQ4NDAzNDRmNjExODgzOGMzNmY5MzQ1MDQ4NzBlNjU="},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.186958ms + duration: 143.705125ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_482BTJPR5p3Q81RH + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_JQw9hhjEytXA8cx2 method: GET response: proto: HTTP/2.0 @@ -102,33 +100,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_482BTJPR5p3Q81RH","options":{"mfa":{"active":true,"return_enroll_settings":true},"configuration":{"bar":"2.0$ec150ff5f374e616e57dc00a339ce2db$d5d377e1ba8dbe441d3d84e1e49622f6$43c77093c2d97788eb5b1e0c36fc5150c49d6e335b170005e0707a88370aa615","foo":"2.0$e613d7a15f2aef47a8c625ac3fb153b6$5732466a75180ec0f0050034942b7852$6f7719f3349958b9aba06c06376d78ec35baf541c48a2bb359fc7190af9f5e31"},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' + body: '{"id":"con_JQw9hhjEytXA8cx2","options":{"mfa":{"active":true,"return_enroll_settings":true},"configuration":{"bar":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9ETXE4K0VneGZjblJpRmZrSFovaElWWFVhRUlOV0dpNEs1YnpVaHBOUkpFN2xwcllhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDdiMThjNyQ2NWJlYTBmODM2OGU5OTMwYWRmYWI4YzUkMWIyMDYxMDAwNjJiYjQxYTQwMmY4ZTUzZDMwMzE5ZTc=","foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EaVpQckVnd0FtdUpoNlVYZGRWM1R0N01hRUY1aG4wMHRMRkZYTDZSMmttTFFwcUVhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDhlZjg2MSQ3ZDZjZjAyNWIwMjM0MGEwMzYyYzY5NzAkNTQ4NDAzNDRmNjExODgzOGMzNmY5MzQ1MDQ4NzBlNjU="},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.861292ms + duration: 139.805ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_482BTJPR5p3Q81RH + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_JQw9hhjEytXA8cx2 method: GET response: proto: HTTP/2.0 @@ -138,33 +135,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_482BTJPR5p3Q81RH","options":{"mfa":{"active":true,"return_enroll_settings":true},"configuration":{"bar":"2.0$ec150ff5f374e616e57dc00a339ce2db$d5d377e1ba8dbe441d3d84e1e49622f6$43c77093c2d97788eb5b1e0c36fc5150c49d6e335b170005e0707a88370aa615","foo":"2.0$e613d7a15f2aef47a8c625ac3fb153b6$5732466a75180ec0f0050034942b7852$6f7719f3349958b9aba06c06376d78ec35baf541c48a2bb359fc7190af9f5e31"},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' + body: '{"id":"con_JQw9hhjEytXA8cx2","options":{"mfa":{"active":true,"return_enroll_settings":true},"configuration":{"bar":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9ETXE4K0VneGZjblJpRmZrSFovaElWWFVhRUlOV0dpNEs1YnpVaHBOUkpFN2xwcllhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDdiMThjNyQ2NWJlYTBmODM2OGU5OTMwYWRmYWI4YzUkMWIyMDYxMDAwNjJiYjQxYTQwMmY4ZTUzZDMwMzE5ZTc=","foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EaVpQckVnd0FtdUpoNlVYZGRWM1R0N01hRUY1aG4wMHRMRkZYTDZSMmttTFFwcUVhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDhlZjg2MSQ3ZDZjZjAyNWIwMjM0MGEwMzYyYzY5NzAkNTQ4NDAzNDRmNjExODgzOGMzNmY5MzQ1MDQ4NzBlNjU="},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.070041ms + duration: 152.975959ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_482BTJPR5p3Q81RH + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_JQw9hhjEytXA8cx2 method: GET response: proto: HTTP/2.0 @@ -174,13 +170,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_482BTJPR5p3Q81RH","options":{"mfa":{"active":true,"return_enroll_settings":true},"configuration":{"bar":"2.0$ec150ff5f374e616e57dc00a339ce2db$d5d377e1ba8dbe441d3d84e1e49622f6$43c77093c2d97788eb5b1e0c36fc5150c49d6e335b170005e0707a88370aa615","foo":"2.0$e613d7a15f2aef47a8c625ac3fb153b6$5732466a75180ec0f0050034942b7852$6f7719f3349958b9aba06c06376d78ec35baf541c48a2bb359fc7190af9f5e31"},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' + body: '{"id":"con_JQw9hhjEytXA8cx2","options":{"mfa":{"active":true,"return_enroll_settings":true},"configuration":{"bar":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9ETXE4K0VneGZjblJpRmZrSFovaElWWFVhRUlOV0dpNEs1YnpVaHBOUkpFN2xwcllhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDdiMThjNyQ2NWJlYTBmODM2OGU5OTMwYWRmYWI4YzUkMWIyMDYxMDAwNjJiYjQxYTQwMmY4ZTUzZDMwMzE5ZTc=","foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EaVpQckVnd0FtdUpoNlVYZGRWM1R0N01hRUY1aG4wMHRMRkZYTDZSMmttTFFwcUVhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDhlZjg2MSQ3ZDZjZjAyNWIwMjM0MGEwMzYyYzY5NzAkNTQ4NDAzNDRmNjExODgzOGMzNmY5MzQ1MDQ4NzBlNjU="},"passwordPolicy":"good","passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"strategy_version":2,"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.356ms + duration: 140.360917ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_482BTJPR5p3Q81RH + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_JQw9hhjEytXA8cx2 method: PATCH response: proto: HTTP/2.0 @@ -210,33 +206,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_482BTJPR5p3Q81RH","options":{"configuration":{"bar":"2.0$61a2fb121da1b1be44801e6931ac4c25$299420ac6dc27de2af7c5436d49f4344$691652a3967907b88e23183348f41bdb0466f6150085d1b655f44f6209998748","baz":"2.0$a923388fdae928f19976978a69c41ff5$644796e6030d370f6a9abc92fe7cefa6$c44d867948500178342947a6df04a1bd912e576c251eaba2b800b138c35db050","foo":"2.0$f3921ad662670279ac1ed213acb6f033$0fe12d47830efc1b7be7ba2937dbda65$b7b0ca61c17afd1cf1e88ee8a29810cbf19d87cd0eebf6abb68e118200c6f1f5"},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' + body: '{"id":"con_JQw9hhjEytXA8cx2","options":{"configuration":{"bar":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EY3BLckVnek0weEdIOWxIU0JRUEV2VnNhRUdKZHQ0dUNTemZGaE0wb0FCcjdSaHdhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJGYwYTEwMyRlYzE2MDA4OTVlMDdjOWZiZTQ1ZTI0NmQkMDdlM2Y5ZTA1YmJjNGUzZmUwZmZiMTA2NDJhOTkxY2I=","baz":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EWFB6Z0VnelNXelpheTRIeG1XR0d4SmdhRUhaL29OdGlLZ2hJRDJHTlJkcThDaW9hRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDRkMjUyOCRhODc1N2NiNTM2ZTRhMzM3NDFlZGIzZGIkZjg0MWJmZTc5MzlhNDIzNTg4NTU4MGViZjIyMzM4NjU=","foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9ENE5oOEVneEZVT2pNTXJjcEIwRHVEdFFhRU5jVkZoYzkveVZYc1BsMGx3VFlHMDRhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJGI5MjBkNyQ3MzZkNjc5OGNiODhiNzVhM2E1YmE2YmUkMTMzNWZlZGY5Y2NjYzBlZGJkNDE2NDdlY2E1YmNjMTk="},"passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 138.717708ms + duration: 178.38775ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_482BTJPR5p3Q81RH + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_JQw9hhjEytXA8cx2 method: GET response: proto: HTTP/2.0 @@ -246,33 +241,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_482BTJPR5p3Q81RH","options":{"configuration":{"bar":"2.0$61a2fb121da1b1be44801e6931ac4c25$299420ac6dc27de2af7c5436d49f4344$691652a3967907b88e23183348f41bdb0466f6150085d1b655f44f6209998748","baz":"2.0$a923388fdae928f19976978a69c41ff5$644796e6030d370f6a9abc92fe7cefa6$c44d867948500178342947a6df04a1bd912e576c251eaba2b800b138c35db050","foo":"2.0$f3921ad662670279ac1ed213acb6f033$0fe12d47830efc1b7be7ba2937dbda65$b7b0ca61c17afd1cf1e88ee8a29810cbf19d87cd0eebf6abb68e118200c6f1f5"},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' + body: '{"id":"con_JQw9hhjEytXA8cx2","options":{"configuration":{"bar":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EY3BLckVnek0weEdIOWxIU0JRUEV2VnNhRUdKZHQ0dUNTemZGaE0wb0FCcjdSaHdhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJGYwYTEwMyRlYzE2MDA4OTVlMDdjOWZiZTQ1ZTI0NmQkMDdlM2Y5ZTA1YmJjNGUzZmUwZmZiMTA2NDJhOTkxY2I=","baz":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EWFB6Z0VnelNXelpheTRIeG1XR0d4SmdhRUhaL29OdGlLZ2hJRDJHTlJkcThDaW9hRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDRkMjUyOCRhODc1N2NiNTM2ZTRhMzM3NDFlZGIzZGIkZjg0MWJmZTc5MzlhNDIzNTg4NTU4MGViZjIyMzM4NjU=","foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9ENE5oOEVneEZVT2pNTXJjcEIwRHVEdFFhRU5jVkZoYzkveVZYc1BsMGx3VFlHMDRhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJGI5MjBkNyQ3MzZkNjc5OGNiODhiNzVhM2E1YmE2YmUkMTMzNWZlZGY5Y2NjYzBlZGJkNDE2NDdlY2E1YmNjMTk="},"passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.950208ms + duration: 140.774583ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_482BTJPR5p3Q81RH + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_JQw9hhjEytXA8cx2 method: GET response: proto: HTTP/2.0 @@ -282,13 +276,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_482BTJPR5p3Q81RH","options":{"configuration":{"bar":"2.0$61a2fb121da1b1be44801e6931ac4c25$299420ac6dc27de2af7c5436d49f4344$691652a3967907b88e23183348f41bdb0466f6150085d1b655f44f6209998748","baz":"2.0$a923388fdae928f19976978a69c41ff5$644796e6030d370f6a9abc92fe7cefa6$c44d867948500178342947a6df04a1bd912e576c251eaba2b800b138c35db050","foo":"2.0$f3921ad662670279ac1ed213acb6f033$0fe12d47830efc1b7be7ba2937dbda65$b7b0ca61c17afd1cf1e88ee8a29810cbf19d87cd0eebf6abb68e118200c6f1f5"},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' + body: '{"id":"con_JQw9hhjEytXA8cx2","options":{"configuration":{"bar":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EY3BLckVnek0weEdIOWxIU0JRUEV2VnNhRUdKZHQ0dUNTemZGaE0wb0FCcjdSaHdhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJGYwYTEwMyRlYzE2MDA4OTVlMDdjOWZiZTQ1ZTI0NmQkMDdlM2Y5ZTA1YmJjNGUzZmUwZmZiMTA2NDJhOTkxY2I=","baz":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9EWFB6Z0VnelNXelpheTRIeG1XR0d4SmdhRUhaL29OdGlLZ2hJRDJHTlJkcThDaW9hRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJDRkMjUyOCRhODc1N2NiNTM2ZTRhMzM3NDFlZGIzZGIkZjg0MWJmZTc5MzlhNDIzNTg4NTU4MGViZjIyMzM4NjU=","foo":"CgRlZmdoEqgBQ2tJS0lEMWhCei9YVFZsTlZhaVBlOWY2clQrTmxiYXRxdTR6YWowTHZUenkzRDF1RWd4cEdSZDNqZStmVjduSlVwOGFFQTBGN1BpNzV0cXdSemE2Y1N5U0tRVVNKUW9ENE5oOEVneEZVT2pNTXJjcEIwRHVEdFFhRU5jVkZoYzkveVZYc1BsMGx3VFlHMDRhRUhkY2wzS2JnMG40alNmdFE3a3IyQ1E9Gkg1LjAkMDAwJGI5MjBkNyQ3MzZkNjc5OGNiODhiNzVhM2E1YmE2YmUkMTMzNWZlZGY5Y2NjYzBlZGJkNDE2NDdlY2E1YmNjMTk="},"passkey_options":{"challenge_ui":"both","local_enrollment_enabled":true,"progressive_enrollment_enabled":true},"authentication_methods":{"passkey":{"enabled":false},"password":{"enabled":true}},"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-TestAccConnectionConfiguration","is_domain_connection":true,"enabled_clients":[],"realms":["Acceptance-Test-Connection-TestAccConnectionConfiguration"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.258917ms + duration: 149.457416ms - id: 8 request: proto: HTTP/1.1 @@ -306,8 +300,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_482BTJPR5p3Q81RH + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_JQw9hhjEytXA8cx2 method: DELETE response: proto: HTTP/2.0 @@ -317,10 +311,10 @@ interactions: trailer: {} content_length: 41 uncompressed: false - body: '{"deleted_at":"2023-03-01T17:18:04.370Z"}' + body: '{"deleted_at":"2024-09-12T21:26:35.501Z"}' headers: Content-Type: - application/json; charset=utf-8 status: 202 Accepted code: 202 - duration: 201.08275ms + duration: 145.994792ms diff --git a/test/data/recordings/TestAccConnectionGoogleOAuth2.yaml b/test/data/recordings/TestAccConnectionGoogleOAuth2.yaml index c836f4f31..e7e11411c 100644 --- a/test/data/recordings/TestAccConnectionGoogleOAuth2.yaml +++ b/test/data/recordings/TestAccConnectionGoogleOAuth2.yaml @@ -1,146 +1,144 @@ --- version: 2 interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 377 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance-Test-Google-OAuth2-TestAccConnectionGoogleOAuth2","strategy":"google-oauth2","is_domain_connection":false,"options":{"allowed_audiences":["api.example.com","example.com"],"email":true,"profile":true,"gmail":true,"youtube":true,"set_user_root_attributes":"on_each_login","non_persistent_attrs":null,"upstream_params":{"screen_name":{"alias":"login_hint"}}}} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - 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: -1 - uncompressed: false - body: '{"id":"con_2cUel3D6VfYcZHtp","options":{"allowed_audiences":["api.example.com","example.com"],"email":true,"profile":true,"gmail":true,"youtube":true,"set_user_root_attributes":"on_each_login","non_persistent_attrs":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["email","profile","https://mail.google.com/mail/feed/atom","https://gdata.youtube.com"]},"strategy":"google-oauth2","name":"Acceptance-Test-Google-OAuth2-TestAccConnectionGoogleOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Google-OAuth2-TestAccConnectionGoogleOAuth2"]}' - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_2cUel3D6VfYcZHtp - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_2cUel3D6VfYcZHtp","options":{"email":true,"gmail":true,"scope":["email","profile","https://mail.google.com/mail/feed/atom","https://gdata.youtube.com"],"profile":true,"youtube":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["api.example.com","example.com"],"non_persistent_attrs":null,"set_user_root_attributes":"on_each_login"},"strategy":"google-oauth2","name":"Acceptance-Test-Google-OAuth2-TestAccConnectionGoogleOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Google-OAuth2-TestAccConnectionGoogleOAuth2"]}' - 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: 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.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_2cUel3D6VfYcZHtp - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_2cUel3D6VfYcZHtp","options":{"email":true,"gmail":true,"scope":["email","profile","https://mail.google.com/mail/feed/atom","https://gdata.youtube.com"],"profile":true,"youtube":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["api.example.com","example.com"],"non_persistent_attrs":null,"set_user_root_attributes":"on_each_login"},"strategy":"google-oauth2","name":"Acceptance-Test-Google-OAuth2-TestAccConnectionGoogleOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Google-OAuth2-TestAccConnectionGoogleOAuth2"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_2cUel3D6VfYcZHtp - 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: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 383 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance-Test-Google-OAuth2-TestAccConnectionGoogleOAuth2","strategy":"google-oauth2","is_domain_connection":false,"options":{"client_id":"","client_secret":"","email":true,"profile":true,"gmail":true,"youtube":true,"set_user_root_attributes":"on_each_login","upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["api.example.com","example.com"]}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + 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: 601 + uncompressed: false + body: '{"id":"con_SWN3mTf5i7by8ghD","options":{"client_id":"","client_secret":"","email":true,"profile":true,"gmail":true,"youtube":true,"set_user_root_attributes":"on_each_login","upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["api.example.com","example.com"],"scope":["email","profile","https://mail.google.com/mail/feed/atom","https://gdata.youtube.com"]},"strategy":"google-oauth2","name":"Acceptance-Test-Google-OAuth2-TestAccConnectionGoogleOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Google-OAuth2-TestAccConnectionGoogleOAuth2"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 175.281167ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_SWN3mTf5i7by8ghD + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_SWN3mTf5i7by8ghD","options":{"email":true,"gmail":true,"scope":["email","profile","https://mail.google.com/mail/feed/atom","https://gdata.youtube.com"],"profile":true,"youtube":true,"client_id":"","client_secret":"","upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["api.example.com","example.com"],"set_user_root_attributes":"on_each_login"},"strategy":"google-oauth2","name":"Acceptance-Test-Google-OAuth2-TestAccConnectionGoogleOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Google-OAuth2-TestAccConnectionGoogleOAuth2"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 142.290584ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_SWN3mTf5i7by8ghD + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_SWN3mTf5i7by8ghD","options":{"email":true,"gmail":true,"scope":["email","profile","https://mail.google.com/mail/feed/atom","https://gdata.youtube.com"],"profile":true,"youtube":true,"client_id":"","client_secret":"","upstream_params":{"screen_name":{"alias":"login_hint"}},"allowed_audiences":["api.example.com","example.com"],"set_user_root_attributes":"on_each_login"},"strategy":"google-oauth2","name":"Acceptance-Test-Google-OAuth2-TestAccConnectionGoogleOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Google-OAuth2-TestAccConnectionGoogleOAuth2"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 148.285416ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_SWN3mTf5i7by8ghD + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 41 + uncompressed: false + body: '{"deleted_at":"2024-09-12T21:27:26.447Z"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 202 Accepted + code: 202 + duration: 181.36175ms diff --git a/test/data/recordings/TestAccConnectionLinkedin.yaml b/test/data/recordings/TestAccConnectionLinkedin.yaml index 3812296cc..3845671cc 100644 --- a/test/data/recordings/TestAccConnectionLinkedin.yaml +++ b/test/data/recordings/TestAccConnectionLinkedin.yaml @@ -1,290 +1,285 @@ --- version: 2 interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 336 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","strategy":"linkedin","is_domain_connection":false,"options":{"client_id":"client_id","client_secret":"client_secret","strategy_version":2,"email":true,"profile":true,"basic_profile":true,"non_persistent_attrs":null,"upstream_params":{"screen_name":{"alias":"login_hint"}}}} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - 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: -1 - uncompressed: false - body: '{"id":"con_DUbnzTUJXSQilo5b","options":{"client_id":"client_id","client_secret":"client_secret","strategy_version":2,"email":true,"profile":true,"basic_profile":true,"non_persistent_attrs":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["r_emailaddress","r_liteprofile","r_basicprofile"]},"strategy":"linkedin","name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Linkedin-TestAccConnectionLinkedin"]}' - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_DUbnzTUJXSQilo5b - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_DUbnzTUJXSQilo5b","options":{"email":true,"scope":["r_emailaddress","r_liteprofile","r_basicprofile"],"profile":true,"client_id":"client_id","basic_profile":true,"client_secret":"client_secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"non_persistent_attrs":null},"strategy":"linkedin","name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Linkedin-TestAccConnectionLinkedin"]}' - 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: 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.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_DUbnzTUJXSQilo5b - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_DUbnzTUJXSQilo5b","options":{"email":true,"scope":["r_emailaddress","r_liteprofile","r_basicprofile"],"profile":true,"client_id":"client_id","basic_profile":true,"client_secret":"client_secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"non_persistent_attrs":null},"strategy":"linkedin","name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Linkedin-TestAccConnectionLinkedin"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_DUbnzTUJXSQilo5b - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_DUbnzTUJXSQilo5b","options":{"email":true,"scope":["r_emailaddress","r_liteprofile","r_basicprofile"],"profile":true,"client_id":"client_id","basic_profile":true,"client_secret":"client_secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"non_persistent_attrs":null},"strategy":"linkedin","name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Linkedin-TestAccConnectionLinkedin"]}' - 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: 212 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"is_domain_connection":false,"options":{"client_id":"client_id_update","client_secret":"client_secret_update","strategy_version":2,"email":false,"profile":true,"basic_profile":true,"non_persistent_attrs":null}} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_DUbnzTUJXSQilo5b - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_DUbnzTUJXSQilo5b","options":{"email":false,"scope":["r_liteprofile","r_basicprofile"],"profile":true,"client_id":"client_id_update","basic_profile":true,"client_secret":"client_secret_update","strategy_version":2,"non_persistent_attrs":null},"strategy":"linkedin","name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Linkedin-TestAccConnectionLinkedin"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_DUbnzTUJXSQilo5b - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_DUbnzTUJXSQilo5b","options":{"email":false,"scope":["r_liteprofile","r_basicprofile"],"profile":true,"client_id":"client_id_update","basic_profile":true,"client_secret":"client_secret_update","strategy_version":2,"non_persistent_attrs":null},"strategy":"linkedin","name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Linkedin-TestAccConnectionLinkedin"]}' - 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: 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.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_DUbnzTUJXSQilo5b - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_DUbnzTUJXSQilo5b","options":{"email":false,"scope":["r_liteprofile","r_basicprofile"],"profile":true,"client_id":"client_id_update","basic_profile":true,"client_secret":"client_secret_update","strategy_version":2,"non_persistent_attrs":null},"strategy":"linkedin","name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Linkedin-TestAccConnectionLinkedin"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_DUbnzTUJXSQilo5b - 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: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 308 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","strategy":"linkedin","is_domain_connection":false,"options":{"client_id":"client_id","client_secret":"client_secret","strategy_version":2,"email":true,"profile":true,"basic_profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + 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: 480 + uncompressed: false + body: '{"id":"con_OBZprCgrid0WdxL4","options":{"client_id":"client_id","client_secret":"client_secret","strategy_version":2,"email":true,"profile":true,"basic_profile":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["r_emailaddress","r_liteprofile","r_basicprofile"]},"strategy":"linkedin","name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Linkedin-TestAccConnectionLinkedin"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 162.230334ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_OBZprCgrid0WdxL4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_OBZprCgrid0WdxL4","options":{"email":true,"scope":["r_emailaddress","r_liteprofile","r_basicprofile"],"profile":true,"client_id":"client_id","basic_profile":true,"client_secret":"client_secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"linkedin","name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Linkedin-TestAccConnectionLinkedin"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 153.76425ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_OBZprCgrid0WdxL4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_OBZprCgrid0WdxL4","options":{"email":true,"scope":["r_emailaddress","r_liteprofile","r_basicprofile"],"profile":true,"client_id":"client_id","basic_profile":true,"client_secret":"client_secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"linkedin","name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Linkedin-TestAccConnectionLinkedin"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 137.802458ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_OBZprCgrid0WdxL4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_OBZprCgrid0WdxL4","options":{"email":true,"scope":["r_emailaddress","r_liteprofile","r_basicprofile"],"profile":true,"client_id":"client_id","basic_profile":true,"client_secret":"client_secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"linkedin","name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Linkedin-TestAccConnectionLinkedin"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 134.189541ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 184 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"is_domain_connection":false,"options":{"client_id":"client_id_update","client_secret":"client_secret_update","strategy_version":2,"email":false,"profile":true,"basic_profile":true}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_OBZprCgrid0WdxL4 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_OBZprCgrid0WdxL4","options":{"email":false,"scope":["r_liteprofile","r_basicprofile"],"profile":true,"client_id":"client_id_update","basic_profile":true,"client_secret":"client_secret_update","strategy_version":2},"strategy":"linkedin","name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Linkedin-TestAccConnectionLinkedin"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 157.643542ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_OBZprCgrid0WdxL4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_OBZprCgrid0WdxL4","options":{"email":false,"scope":["r_liteprofile","r_basicprofile"],"profile":true,"client_id":"client_id_update","basic_profile":true,"client_secret":"client_secret_update","strategy_version":2},"strategy":"linkedin","name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Linkedin-TestAccConnectionLinkedin"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 144.162417ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_OBZprCgrid0WdxL4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_OBZprCgrid0WdxL4","options":{"email":false,"scope":["r_liteprofile","r_basicprofile"],"profile":true,"client_id":"client_id_update","basic_profile":true,"client_secret":"client_secret_update","strategy_version":2},"strategy":"linkedin","name":"Acceptance-Test-Linkedin-TestAccConnectionLinkedin","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Linkedin-TestAccConnectionLinkedin"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 141.643375ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_OBZprCgrid0WdxL4 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 41 + uncompressed: false + body: '{"deleted_at":"2024-09-12T21:26:45.027Z"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 202 Accepted + code: 202 + duration: 157.493458ms diff --git a/test/data/recordings/TestAccConnectionOAuth2.yaml b/test/data/recordings/TestAccConnectionOAuth2.yaml index 93fef247d..61ab5170c 100644 --- a/test/data/recordings/TestAccConnectionOAuth2.yaml +++ b/test/data/recordings/TestAccConnectionOAuth2.yaml @@ -1,290 +1,285 @@ --- version: 2 interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 540 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","strategy":"oauth2","is_domain_connection":false,"options":{"client_id":"123456","client_secret":"123456","authorizationURL":"https://api.login.yahoo.com/oauth2/request_auth","tokenURL":"https://api.login.yahoo.com/oauth2/get_token","scope":"email openid profile","set_user_root_attributes":"on_each_login","non_persistent_attrs":null,"pkce_enabled":true,"scripts":{"fetchUserProfile":"function( { return callback(null) }"},"upstream_params":{"screen_name":{"alias":"login_hint"}}}} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - 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: -1 - uncompressed: false - body: '{"id":"con_t8udzYupJjK4OccE","options":{"client_id":"123456","client_secret":"123456","authorizationURL":"https://api.login.yahoo.com/oauth2/request_auth","tokenURL":"https://api.login.yahoo.com/oauth2/get_token","scope":"email openid profile","set_user_root_attributes":"on_each_login","non_persistent_attrs":null,"pkce_enabled":true,"scripts":{"fetchUserProfile":"function( { return callback(null) }"},"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"oauth2","name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-OAuth2-TestAccConnectionOAuth2"]}' - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_t8udzYupJjK4OccE - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_t8udzYupJjK4OccE","options":{"scope":"email openid profile","scripts":{"fetchUserProfile":"function( { return callback(null) }"},"tokenURL":"https://api.login.yahoo.com/oauth2/get_token","client_id":"123456","pkce_enabled":true,"client_secret":"123456","upstream_params":{"screen_name":{"alias":"login_hint"}},"authorizationURL":"https://api.login.yahoo.com/oauth2/request_auth","non_persistent_attrs":null,"set_user_root_attributes":"on_each_login"},"strategy":"oauth2","name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-OAuth2-TestAccConnectionOAuth2"]}' - 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: 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.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_t8udzYupJjK4OccE - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_t8udzYupJjK4OccE","options":{"scope":"email openid profile","scripts":{"fetchUserProfile":"function( { return callback(null) }"},"tokenURL":"https://api.login.yahoo.com/oauth2/get_token","client_id":"123456","pkce_enabled":true,"client_secret":"123456","upstream_params":{"screen_name":{"alias":"login_hint"}},"authorizationURL":"https://api.login.yahoo.com/oauth2/request_auth","non_persistent_attrs":null,"set_user_root_attributes":"on_each_login"},"strategy":"oauth2","name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-OAuth2-TestAccConnectionOAuth2"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_t8udzYupJjK4OccE - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_t8udzYupJjK4OccE","options":{"scope":"email openid profile","scripts":{"fetchUserProfile":"function( { return callback(null) }"},"tokenURL":"https://api.login.yahoo.com/oauth2/get_token","client_id":"123456","pkce_enabled":true,"client_secret":"123456","upstream_params":{"screen_name":{"alias":"login_hint"}},"authorizationURL":"https://api.login.yahoo.com/oauth2/request_auth","non_persistent_attrs":null,"set_user_root_attributes":"on_each_login"},"strategy":"oauth2","name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-OAuth2-TestAccConnectionOAuth2"]}' - 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: 441 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"is_domain_connection":false,"options":{"client_id":"1234567","client_secret":"1234567","authorizationURL":"https://www.paypal.com/signin/authorize","tokenURL":"https://api.paypal.com/v1/oauth2/token","scope":"email openid","set_user_root_attributes":"on_first_login","non_persistent_attrs":null,"icon_url":"https://cdn.paypal.com/assets/logo.png","pkce_enabled":false,"scripts":{"fetchUserProfile":"function( { return callback(null) }"}}} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_t8udzYupJjK4OccE - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_t8udzYupJjK4OccE","options":{"scope":"email openid","scripts":{"fetchUserProfile":"function( { return callback(null) }"},"icon_url":"https://cdn.paypal.com/assets/logo.png","tokenURL":"https://api.paypal.com/v1/oauth2/token","client_id":"1234567","pkce_enabled":false,"client_secret":"1234567","authorizationURL":"https://www.paypal.com/signin/authorize","non_persistent_attrs":null,"set_user_root_attributes":"on_first_login"},"strategy":"oauth2","name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-OAuth2-TestAccConnectionOAuth2"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_t8udzYupJjK4OccE - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_t8udzYupJjK4OccE","options":{"scope":"email openid","scripts":{"fetchUserProfile":"function( { return callback(null) }"},"icon_url":"https://cdn.paypal.com/assets/logo.png","tokenURL":"https://api.paypal.com/v1/oauth2/token","client_id":"1234567","pkce_enabled":false,"client_secret":"1234567","authorizationURL":"https://www.paypal.com/signin/authorize","non_persistent_attrs":null,"set_user_root_attributes":"on_first_login"},"strategy":"oauth2","name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-OAuth2-TestAccConnectionOAuth2"]}' - 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: 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.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_t8udzYupJjK4OccE - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_t8udzYupJjK4OccE","options":{"scope":"email openid","scripts":{"fetchUserProfile":"function( { return callback(null) }"},"icon_url":"https://cdn.paypal.com/assets/logo.png","tokenURL":"https://api.paypal.com/v1/oauth2/token","client_id":"1234567","pkce_enabled":false,"client_secret":"1234567","authorizationURL":"https://www.paypal.com/signin/authorize","non_persistent_attrs":null,"set_user_root_attributes":"on_first_login"},"strategy":"oauth2","name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-OAuth2-TestAccConnectionOAuth2"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_t8udzYupJjK4OccE - 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: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 539 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","strategy":"oauth2","is_domain_connection":false,"options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"authorizationURL":"https://api.login.yahoo.com/oauth2/request_auth","tokenURL":"https://api.login.yahoo.com/oauth2/get_token","set_user_root_attributes":"on_each_login","pkce_enabled":true,"scripts":{"fetchUserProfile":"function( { return callback(null) }"},"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["email","openid","profile"]}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + 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: 647 + uncompressed: false + body: '{"id":"con_Xfqyr0lqTg9cPvLU","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"authorizationURL":"https://api.login.yahoo.com/oauth2/request_auth","tokenURL":"https://api.login.yahoo.com/oauth2/get_token","set_user_root_attributes":"on_each_login","pkce_enabled":true,"scripts":{"fetchUserProfile":"function( { return callback(null) }"},"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["email","openid","profile"]},"strategy":"oauth2","name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-OAuth2-TestAccConnectionOAuth2"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 176.859ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_Xfqyr0lqTg9cPvLU + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_Xfqyr0lqTg9cPvLU","options":{"scope":["email","openid","profile"],"scripts":{"fetchUserProfile":"function( { return callback(null) }"},"tokenURL":"https://api.login.yahoo.com/oauth2/get_token","client_id":"123456","pkce_enabled":true,"client_secret":"123456","upstream_params":{"screen_name":{"alias":"login_hint"}},"authorizationURL":"https://api.login.yahoo.com/oauth2/request_auth","strategy_version":2,"set_user_root_attributes":"on_each_login"},"strategy":"oauth2","name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-OAuth2-TestAccConnectionOAuth2"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 181.060208ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_Xfqyr0lqTg9cPvLU + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_Xfqyr0lqTg9cPvLU","options":{"scope":["email","openid","profile"],"scripts":{"fetchUserProfile":"function( { return callback(null) }"},"tokenURL":"https://api.login.yahoo.com/oauth2/get_token","client_id":"123456","pkce_enabled":true,"client_secret":"123456","upstream_params":{"screen_name":{"alias":"login_hint"}},"authorizationURL":"https://api.login.yahoo.com/oauth2/request_auth","strategy_version":2,"set_user_root_attributes":"on_each_login"},"strategy":"oauth2","name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-OAuth2-TestAccConnectionOAuth2"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 170.520667ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_Xfqyr0lqTg9cPvLU + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_Xfqyr0lqTg9cPvLU","options":{"scope":["email","openid","profile"],"scripts":{"fetchUserProfile":"function( { return callback(null) }"},"tokenURL":"https://api.login.yahoo.com/oauth2/get_token","client_id":"123456","pkce_enabled":true,"client_secret":"123456","upstream_params":{"screen_name":{"alias":"login_hint"}},"authorizationURL":"https://api.login.yahoo.com/oauth2/request_auth","strategy_version":2,"set_user_root_attributes":"on_each_login"},"strategy":"oauth2","name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-OAuth2-TestAccConnectionOAuth2"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 156.729458ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 417 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"is_domain_connection":false,"options":{"client_id":"1234567","client_secret":"1234567","authorizationURL":"https://www.paypal.com/signin/authorize","tokenURL":"https://api.paypal.com/v1/oauth2/token","set_user_root_attributes":"on_first_login","icon_url":"https://cdn.paypal.com/assets/logo.png","pkce_enabled":false,"scripts":{"fetchUserProfile":"function( { return callback(null) }"},"scope":["email","openid"]}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_Xfqyr0lqTg9cPvLU + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_Xfqyr0lqTg9cPvLU","options":{"scope":["email","openid"],"scripts":{"fetchUserProfile":"function( { return callback(null) }"},"icon_url":"https://cdn.paypal.com/assets/logo.png","tokenURL":"https://api.paypal.com/v1/oauth2/token","client_id":"1234567","pkce_enabled":false,"client_secret":"1234567","authorizationURL":"https://www.paypal.com/signin/authorize","set_user_root_attributes":"on_first_login"},"strategy":"oauth2","name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-OAuth2-TestAccConnectionOAuth2"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 156.600209ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_Xfqyr0lqTg9cPvLU + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_Xfqyr0lqTg9cPvLU","options":{"scope":["email","openid"],"scripts":{"fetchUserProfile":"function( { return callback(null) }"},"icon_url":"https://cdn.paypal.com/assets/logo.png","tokenURL":"https://api.paypal.com/v1/oauth2/token","client_id":"1234567","pkce_enabled":false,"client_secret":"1234567","authorizationURL":"https://www.paypal.com/signin/authorize","set_user_root_attributes":"on_first_login"},"strategy":"oauth2","name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-OAuth2-TestAccConnectionOAuth2"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 139.736791ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_Xfqyr0lqTg9cPvLU + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_Xfqyr0lqTg9cPvLU","options":{"scope":["email","openid"],"scripts":{"fetchUserProfile":"function( { return callback(null) }"},"icon_url":"https://cdn.paypal.com/assets/logo.png","tokenURL":"https://api.paypal.com/v1/oauth2/token","client_id":"1234567","pkce_enabled":false,"client_secret":"1234567","authorizationURL":"https://www.paypal.com/signin/authorize","set_user_root_attributes":"on_first_login"},"strategy":"oauth2","name":"Acceptance-Test-OAuth2-TestAccConnectionOAuth2","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-OAuth2-TestAccConnectionOAuth2"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 139.771083ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_Xfqyr0lqTg9cPvLU + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 41 + uncompressed: false + body: '{"deleted_at":"2024-09-12T21:26:21.486Z"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 202 Accepted + code: 202 + duration: 169.786708ms diff --git a/test/data/recordings/TestAccConnectionOIDC.yaml b/test/data/recordings/TestAccConnectionOIDC.yaml index 2b20045d4..a497e05dc 100644 --- a/test/data/recordings/TestAccConnectionOIDC.yaml +++ b/test/data/recordings/TestAccConnectionOIDC.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 937 + content_length: 932 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","strategy":"oidc","show_as_button":true,"options":{"client_id":"123456","client_secret":"123456","domain_aliases":["api.example.com","example.com"],"discovery_url":"https://api.login.yahoo.com/.well-known/openid-configuration","authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","type":"back_channel","userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","scope":"email openid profile","set_user_root_attributes":"on_each_login","non_persistent_attrs":["gender","hair_color"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"connection_settings":{"pkce":"disabled"},"attribute_map":{"mapping_mode":"basic_profile"}}} + {"name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","strategy":"oidc","show_as_button":true,"options":{"client_id":"123456","client_secret":"123456","domain_aliases":["api.example.com","example.com"],"discovery_url":"https://api.login.yahoo.com/.well-known/openid-configuration","authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","type":"back_channel","userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","scope":"email openid profile","set_user_root_attributes":"on_each_login","non_persistent_attrs":["gender","hair_color"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"connection_settings":{"pkce":"disabled"},"attribute_map":{"mapping_mode":"bind_all"}}} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 + - Go-Auth0/1.10.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections method: POST response: @@ -30,33 +30,32 @@ interactions: trailer: {} content_length: -1 uncompressed: false - body: '{"id":"con_rBkGMxTRAQaTQHcB","options":{"client_id":"123456","client_secret":"123456","domain_aliases":["api.example.com","example.com"],"discovery_url":"https://api.login.yahoo.com/.well-known/openid-configuration","authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","type":"back_channel","userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","scope":"email openid profile","set_user_root_attributes":"on_each_login","non_persistent_attrs":["gender","hair_color"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"connection_settings":{"pkce":"disabled"},"attribute_map":{"mapping_mode":"basic_profile"},"schema_version":"openid-1.0.0","oidc_metadata":{"issuer":"https://api.login.yahoo.com","authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","introspection_endpoint":"https://api.login.yahoo.com/oauth2/introspect","userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","token_revocation_endpoint":"https://api.login.yahoo.com/oauth2/revoke","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","response_types_supported":["code","token","id_token","code token","code id_token","token id_token","code token id_token"],"subject_types_supported":["public"],"grant_types_supported":["authorization_code","refresh_token"],"id_token_signing_alg_values_supported":["ES256","RS256"],"scopes_supported":["openid","openid2","profile","email"],"acr_values_supported":["AAL1","AAL2"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"],"claims_supported":["aud","email","email_verified","birthdate","exp","family_name","given_name","iat","iss","locale","name","sub","auth_time"],"response_modes_supported":["query"],"display_values_supported":["page"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false}},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' + body: '{"id":"con_U8Y22FLGSJvyQfAh","options":{"client_id":"123456","client_secret":"123456","domain_aliases":["api.example.com","example.com"],"discovery_url":"https://api.login.yahoo.com/.well-known/openid-configuration","authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","type":"back_channel","userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","scope":"email openid profile","set_user_root_attributes":"on_each_login","non_persistent_attrs":["gender","hair_color"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"connection_settings":{"pkce":"disabled"},"attribute_map":{"mapping_mode":"bind_all"},"oidc_metadata":{"issuer":"https://api.login.yahoo.com","authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","introspection_endpoint":"https://api.login.yahoo.com/oauth2/introspect","userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","token_revocation_endpoint":"https://api.login.yahoo.com/oauth2/revoke","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","response_types_supported":["code","token","id_token","code token","code id_token","token id_token","code token id_token"],"subject_types_supported":["public"],"grant_types_supported":["authorization_code","refresh_token"],"id_token_signing_alg_values_supported":["ES256","RS256"],"scopes_supported":["openid","openid2","profile","email"],"acr_values_supported":["AAL1","AAL2"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"],"claims_supported":["aud","email","email_verified","birthdate","exp","family_name","given_name","iat","iss","locale","name","sub","auth_time"],"response_modes_supported":["query"],"display_values_supported":["page"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 212.412709ms + duration: 232.90475ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rBkGMxTRAQaTQHcB + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_U8Y22FLGSJvyQfAh method: GET response: proto: HTTP/2.0 @@ -66,33 +65,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_rBkGMxTRAQaTQHcB","options":{"type":"back_channel","scope":"email openid profile","issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","client_id":"123456","attribute_map":{"mapping_mode":"basic_profile"},"client_secret":"123456","discovery_url":"https://api.login.yahoo.com/.well-known/openid-configuration","oidc_metadata":{"issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","claims_supported":["aud","email","email_verified","birthdate","exp","family_name","given_name","iat","iss","locale","name","sub","auth_time"],"scopes_supported":["openid","openid2","profile","email"],"userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","acr_values_supported":["AAL1","AAL2"],"grant_types_supported":["authorization_code","refresh_token"],"authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","introspection_endpoint":"https://api.login.yahoo.com/oauth2/introspect","subject_types_supported":["public"],"display_values_supported":["page"],"response_modes_supported":["query"],"response_types_supported":["code","token","id_token","code token","code id_token","token id_token","code token id_token"],"token_revocation_endpoint":"https://api.login.yahoo.com/oauth2/revoke","claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["ES256","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"]},"domain_aliases":["api.example.com","example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","connection_settings":{"pkce":"disabled"},"non_persistent_attrs":["gender","hair_color"],"authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","set_user_root_attributes":"on_each_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' + body: '{"id":"con_U8Y22FLGSJvyQfAh","options":{"type":"back_channel","scope":"email openid profile","issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","client_id":"123456","attribute_map":{"mapping_mode":"bind_all"},"client_secret":"123456","discovery_url":"https://api.login.yahoo.com/.well-known/openid-configuration","oidc_metadata":{"issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","claims_supported":["aud","email","email_verified","birthdate","exp","family_name","given_name","iat","iss","locale","name","sub","auth_time"],"scopes_supported":["openid","openid2","profile","email"],"userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","acr_values_supported":["AAL1","AAL2"],"grant_types_supported":["authorization_code","refresh_token"],"authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","introspection_endpoint":"https://api.login.yahoo.com/oauth2/introspect","subject_types_supported":["public"],"display_values_supported":["page"],"response_modes_supported":["query"],"response_types_supported":["code","token","id_token","code token","code id_token","token id_token","code token id_token"],"token_revocation_endpoint":"https://api.login.yahoo.com/oauth2/revoke","claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["ES256","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"]},"domain_aliases":["api.example.com","example.com"],"schema_version":"oidc-V4","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","connection_settings":{"pkce":"disabled"},"non_persistent_attrs":["gender","hair_color"],"authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","set_user_root_attributes":"on_each_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.557166ms + duration: 165.096042ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rBkGMxTRAQaTQHcB + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_U8Y22FLGSJvyQfAh method: GET response: proto: HTTP/2.0 @@ -102,33 +100,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_rBkGMxTRAQaTQHcB","options":{"type":"back_channel","scope":"email openid profile","issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","client_id":"123456","attribute_map":{"mapping_mode":"basic_profile"},"client_secret":"123456","discovery_url":"https://api.login.yahoo.com/.well-known/openid-configuration","oidc_metadata":{"issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","claims_supported":["aud","email","email_verified","birthdate","exp","family_name","given_name","iat","iss","locale","name","sub","auth_time"],"scopes_supported":["openid","openid2","profile","email"],"userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","acr_values_supported":["AAL1","AAL2"],"grant_types_supported":["authorization_code","refresh_token"],"authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","introspection_endpoint":"https://api.login.yahoo.com/oauth2/introspect","subject_types_supported":["public"],"display_values_supported":["page"],"response_modes_supported":["query"],"response_types_supported":["code","token","id_token","code token","code id_token","token id_token","code token id_token"],"token_revocation_endpoint":"https://api.login.yahoo.com/oauth2/revoke","claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["ES256","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"]},"domain_aliases":["api.example.com","example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","connection_settings":{"pkce":"disabled"},"non_persistent_attrs":["gender","hair_color"],"authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","set_user_root_attributes":"on_each_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' + body: '{"id":"con_U8Y22FLGSJvyQfAh","options":{"type":"back_channel","scope":"email openid profile","issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","client_id":"123456","attribute_map":{"mapping_mode":"bind_all"},"client_secret":"123456","discovery_url":"https://api.login.yahoo.com/.well-known/openid-configuration","oidc_metadata":{"issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","claims_supported":["aud","email","email_verified","birthdate","exp","family_name","given_name","iat","iss","locale","name","sub","auth_time"],"scopes_supported":["openid","openid2","profile","email"],"userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","acr_values_supported":["AAL1","AAL2"],"grant_types_supported":["authorization_code","refresh_token"],"authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","introspection_endpoint":"https://api.login.yahoo.com/oauth2/introspect","subject_types_supported":["public"],"display_values_supported":["page"],"response_modes_supported":["query"],"response_types_supported":["code","token","id_token","code token","code id_token","token id_token","code token id_token"],"token_revocation_endpoint":"https://api.login.yahoo.com/oauth2/revoke","claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["ES256","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"]},"domain_aliases":["api.example.com","example.com"],"schema_version":"oidc-V4","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","connection_settings":{"pkce":"disabled"},"non_persistent_attrs":["gender","hair_color"],"authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","set_user_root_attributes":"on_each_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 201.898583ms + duration: 160.895833ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rBkGMxTRAQaTQHcB + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_U8Y22FLGSJvyQfAh method: GET response: proto: HTTP/2.0 @@ -138,33 +135,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_rBkGMxTRAQaTQHcB","options":{"type":"back_channel","scope":"email openid profile","issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","client_id":"123456","attribute_map":{"mapping_mode":"basic_profile"},"client_secret":"123456","discovery_url":"https://api.login.yahoo.com/.well-known/openid-configuration","oidc_metadata":{"issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","claims_supported":["aud","email","email_verified","birthdate","exp","family_name","given_name","iat","iss","locale","name","sub","auth_time"],"scopes_supported":["openid","openid2","profile","email"],"userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","acr_values_supported":["AAL1","AAL2"],"grant_types_supported":["authorization_code","refresh_token"],"authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","introspection_endpoint":"https://api.login.yahoo.com/oauth2/introspect","subject_types_supported":["public"],"display_values_supported":["page"],"response_modes_supported":["query"],"response_types_supported":["code","token","id_token","code token","code id_token","token id_token","code token id_token"],"token_revocation_endpoint":"https://api.login.yahoo.com/oauth2/revoke","claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["ES256","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"]},"domain_aliases":["api.example.com","example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","connection_settings":{"pkce":"disabled"},"non_persistent_attrs":["gender","hair_color"],"authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","set_user_root_attributes":"on_each_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' + body: '{"id":"con_U8Y22FLGSJvyQfAh","options":{"type":"back_channel","scope":"email openid profile","issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","client_id":"123456","attribute_map":{"mapping_mode":"bind_all"},"client_secret":"123456","discovery_url":"https://api.login.yahoo.com/.well-known/openid-configuration","oidc_metadata":{"issuer":"https://api.login.yahoo.com","jwks_uri":"https://api.login.yahoo.com/openid/v1/certs","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","claims_supported":["aud","email","email_verified","birthdate","exp","family_name","given_name","iat","iss","locale","name","sub","auth_time"],"scopes_supported":["openid","openid2","profile","email"],"userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","acr_values_supported":["AAL1","AAL2"],"grant_types_supported":["authorization_code","refresh_token"],"authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","introspection_endpoint":"https://api.login.yahoo.com/oauth2/introspect","subject_types_supported":["public"],"display_values_supported":["page"],"response_modes_supported":["query"],"response_types_supported":["code","token","id_token","code token","code id_token","token id_token","code token id_token"],"token_revocation_endpoint":"https://api.login.yahoo.com/oauth2/revoke","claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["ES256","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"]},"domain_aliases":["api.example.com","example.com"],"schema_version":"oidc-V4","token_endpoint":"https://api.login.yahoo.com/oauth2/get_token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://api.login.yahoo.com/openid/v1/userinfo","connection_settings":{"pkce":"disabled"},"non_persistent_attrs":["gender","hair_color"],"authorization_endpoint":"https://api.login.yahoo.com/oauth2/request_auth","set_user_root_attributes":"on_each_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.072417ms + duration: 146.362666ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 1086 + content_length: 1080 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","show_as_button":false,"options":{"client_id":"1234567","client_secret":"1234567","domain_aliases":["example.com"],"discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","authorization_endpoint":"https://www.paypal.com/signin/authorize","issuer":"https://www.paypalobjects.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","type":"front_channel","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","token_endpoint":"https://api.paypal.com/v1/oauth2/token","scope":"email openid","set_user_root_attributes":"on_first_login","connection_settings":{"pkce":"auto"},"attribute_map":{"userinfo_scope":"openid email profile groups","mapping_mode":"basic_profile","attributes":{"email":"${context.tokenset.email}","email_verified":"${context.tokenset.email_verified}","family_name":"${context.tokenset.family_name}","given_name":"${context.tokenset.given_name}","name":"${context.tokenset.name}","nickname":"${context.tokenset.nickname}","picture":"${context.tokenset.picture}"}}}} + {"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","show_as_button":false,"options":{"client_id":"1234567","client_secret":"1234567","domain_aliases":["example.com"],"discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","authorization_endpoint":"https://www.paypal.com/signin/authorize","issuer":"https://www.paypalobjects.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","type":"front_channel","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","token_endpoint":"https://api.paypal.com/v1/oauth2/token","scope":"email openid","set_user_root_attributes":"on_first_login","connection_settings":{"pkce":"auto"},"attribute_map":{"userinfo_scope":"openid email profile groups","mapping_mode":"use_map","attributes":{"email":"${context.tokenset.email}","email_verified":"${context.tokenset.email_verified}","family_name":"${context.tokenset.family_name}","given_name":"${context.tokenset.given_name}","name":"${context.tokenset.name}","nickname":"${context.tokenset.nickname}","picture":"${context.tokenset.picture}"}}}} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rBkGMxTRAQaTQHcB + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_U8Y22FLGSJvyQfAh method: PATCH response: proto: HTTP/2.0 @@ -174,33 +171,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_rBkGMxTRAQaTQHcB","options":{"type":"front_channel","scope":"email openid","issuer":"https://www.paypalobjects.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","client_id":"1234567","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"basic_profile","userinfo_scope":"openid email profile groups"},"client_secret":"1234567","discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","domain_aliases":["example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://www.paypal.com/signin/authorize","set_user_root_attributes":"on_first_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' + body: '{"id":"con_U8Y22FLGSJvyQfAh","options":{"type":"front_channel","scope":"email openid","issuer":"https://www.paypalobjects.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","client_id":"1234567","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"use_map","userinfo_scope":"openid email profile groups"},"client_secret":"1234567","discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","oidc_metadata":{"issuer":"https://www.paypal.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","token_endpoint":"https://api.paypal.com/v1/oauth2/token","claims_supported":["aud","iss","iat","exp","auth_time","nonce","sessionIndex","user_id"],"scopes_supported":["email","address","phone","openid","profile","https://uri.paypal.com/services/wallet/sendmoney","https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/expresscheckout"],"userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","revocation_endpoint":"https://api.paypal.com/v1/oauth2/revoke","grant_types_supported":["authorization_code","refresh_token"],"registration_endpoint":"https://api.paypal.com/v1/oauth2/applications","authorization_endpoint":"https://www.paypal.com/signin/authorize","subject_types_supported":["pairwise"],"response_modes_supported":["query","form_post"],"response_types_supported":["code","code id_token"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"code_challenge_methods_supported":["RS256","ES256","S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["HS256","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic"]},"domain_aliases":["example.com"],"schema_version":"oidc-V4","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://www.paypal.com/signin/authorize","set_user_root_attributes":"on_first_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 180.579958ms + duration: 350.743417ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rBkGMxTRAQaTQHcB + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_U8Y22FLGSJvyQfAh method: GET response: proto: HTTP/2.0 @@ -210,33 +206,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_rBkGMxTRAQaTQHcB","options":{"type":"front_channel","scope":"email openid","issuer":"https://www.paypalobjects.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","client_id":"1234567","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"basic_profile","userinfo_scope":"openid email profile groups"},"client_secret":"1234567","discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","domain_aliases":["example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://www.paypal.com/signin/authorize","set_user_root_attributes":"on_first_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' + body: '{"id":"con_U8Y22FLGSJvyQfAh","options":{"type":"front_channel","scope":"email openid","issuer":"https://www.paypalobjects.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","client_id":"1234567","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"use_map","userinfo_scope":"openid email profile groups"},"client_secret":"1234567","discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","oidc_metadata":{"issuer":"https://www.paypal.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","token_endpoint":"https://api.paypal.com/v1/oauth2/token","claims_supported":["aud","iss","iat","exp","auth_time","nonce","sessionIndex","user_id"],"scopes_supported":["email","address","phone","openid","profile","https://uri.paypal.com/services/wallet/sendmoney","https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/expresscheckout"],"userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","revocation_endpoint":"https://api.paypal.com/v1/oauth2/revoke","grant_types_supported":["authorization_code","refresh_token"],"registration_endpoint":"https://api.paypal.com/v1/oauth2/applications","authorization_endpoint":"https://www.paypal.com/signin/authorize","subject_types_supported":["pairwise"],"response_modes_supported":["query","form_post"],"response_types_supported":["code","code id_token"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"code_challenge_methods_supported":["RS256","ES256","S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["HS256","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic"]},"domain_aliases":["example.com"],"schema_version":"oidc-V4","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://www.paypal.com/signin/authorize","set_user_root_attributes":"on_first_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.055916ms + duration: 150.145667ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rBkGMxTRAQaTQHcB + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_U8Y22FLGSJvyQfAh method: GET response: proto: HTTP/2.0 @@ -246,33 +241,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_rBkGMxTRAQaTQHcB","options":{"type":"front_channel","scope":"email openid","issuer":"https://www.paypalobjects.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","client_id":"1234567","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"basic_profile","userinfo_scope":"openid email profile groups"},"client_secret":"1234567","discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","domain_aliases":["example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://www.paypal.com/signin/authorize","set_user_root_attributes":"on_first_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' + body: '{"id":"con_U8Y22FLGSJvyQfAh","options":{"type":"front_channel","scope":"email openid","issuer":"https://www.paypalobjects.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","client_id":"1234567","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"use_map","userinfo_scope":"openid email profile groups"},"client_secret":"1234567","discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","oidc_metadata":{"issuer":"https://www.paypal.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","token_endpoint":"https://api.paypal.com/v1/oauth2/token","claims_supported":["aud","iss","iat","exp","auth_time","nonce","sessionIndex","user_id"],"scopes_supported":["email","address","phone","openid","profile","https://uri.paypal.com/services/wallet/sendmoney","https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/expresscheckout"],"userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","revocation_endpoint":"https://api.paypal.com/v1/oauth2/revoke","grant_types_supported":["authorization_code","refresh_token"],"registration_endpoint":"https://api.paypal.com/v1/oauth2/applications","authorization_endpoint":"https://www.paypal.com/signin/authorize","subject_types_supported":["pairwise"],"response_modes_supported":["query","form_post"],"response_types_supported":["code","code id_token"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"code_challenge_methods_supported":["RS256","ES256","S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["HS256","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic"]},"domain_aliases":["example.com"],"schema_version":"oidc-V4","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://www.paypal.com/signin/authorize","set_user_root_attributes":"on_first_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.006083ms + duration: 164.38675ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rBkGMxTRAQaTQHcB + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_U8Y22FLGSJvyQfAh method: GET response: proto: HTTP/2.0 @@ -282,33 +276,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_rBkGMxTRAQaTQHcB","options":{"type":"front_channel","scope":"email openid","issuer":"https://www.paypalobjects.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","client_id":"1234567","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"basic_profile","userinfo_scope":"openid email profile groups"},"client_secret":"1234567","discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","domain_aliases":["example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://www.paypal.com/signin/authorize","set_user_root_attributes":"on_first_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' + body: '{"id":"con_U8Y22FLGSJvyQfAh","options":{"type":"front_channel","scope":"email openid","issuer":"https://www.paypalobjects.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","client_id":"1234567","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"use_map","userinfo_scope":"openid email profile groups"},"client_secret":"1234567","discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","oidc_metadata":{"issuer":"https://www.paypal.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","token_endpoint":"https://api.paypal.com/v1/oauth2/token","claims_supported":["aud","iss","iat","exp","auth_time","nonce","sessionIndex","user_id"],"scopes_supported":["email","address","phone","openid","profile","https://uri.paypal.com/services/wallet/sendmoney","https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/expresscheckout"],"userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","revocation_endpoint":"https://api.paypal.com/v1/oauth2/revoke","grant_types_supported":["authorization_code","refresh_token"],"registration_endpoint":"https://api.paypal.com/v1/oauth2/applications","authorization_endpoint":"https://www.paypal.com/signin/authorize","subject_types_supported":["pairwise"],"response_modes_supported":["query","form_post"],"response_types_supported":["code","code id_token"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"code_challenge_methods_supported":["RS256","ES256","S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["HS256","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic"]},"domain_aliases":["example.com"],"schema_version":"oidc-V4","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://www.paypal.com/signin/authorize","set_user_root_attributes":"on_first_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.413083ms + duration: 145.757125ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rBkGMxTRAQaTQHcB + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_U8Y22FLGSJvyQfAh method: GET response: proto: HTTP/2.0 @@ -318,13 +311,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_rBkGMxTRAQaTQHcB","options":{"type":"front_channel","scope":"email openid","issuer":"https://www.paypalobjects.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","client_id":"1234567","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"basic_profile","userinfo_scope":"openid email profile groups"},"client_secret":"1234567","discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","domain_aliases":["example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://www.paypal.com/signin/authorize","set_user_root_attributes":"on_first_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' + body: '{"id":"con_U8Y22FLGSJvyQfAh","options":{"type":"front_channel","scope":"email openid","issuer":"https://www.paypalobjects.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","client_id":"1234567","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"use_map","userinfo_scope":"openid email profile groups"},"client_secret":"1234567","discovery_url":"https://www.paypalobjects.com/.well-known/openid-configuration","oidc_metadata":{"issuer":"https://www.paypal.com","jwks_uri":"https://api.paypal.com/v1/oauth2/certs","token_endpoint":"https://api.paypal.com/v1/oauth2/token","claims_supported":["aud","iss","iat","exp","auth_time","nonce","sessionIndex","user_id"],"scopes_supported":["email","address","phone","openid","profile","https://uri.paypal.com/services/wallet/sendmoney","https://uri.paypal.com/services/payments/futurepayments","https://uri.paypal.com/services/expresscheckout"],"userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","revocation_endpoint":"https://api.paypal.com/v1/oauth2/revoke","grant_types_supported":["authorization_code","refresh_token"],"registration_endpoint":"https://api.paypal.com/v1/oauth2/applications","authorization_endpoint":"https://www.paypal.com/signin/authorize","subject_types_supported":["pairwise"],"response_modes_supported":["query","form_post"],"response_types_supported":["code","code id_token"],"claims_parameter_supported":false,"request_parameter_supported":false,"request_uri_parameter_supported":false,"code_challenge_methods_supported":["RS256","ES256","S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["HS256","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic"]},"domain_aliases":["example.com"],"schema_version":"oidc-V4","token_endpoint":"https://api.paypal.com/v1/oauth2/token","userinfo_endpoint":"https://api.paypal.com/v1/oauth2/token/userinfo","connection_settings":{"pkce":"auto"},"authorization_endpoint":"https://www.paypal.com/signin/authorize","set_user_root_attributes":"on_first_login"},"strategy":"oidc","name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-OIDC-TestAccConnectionOIDC","enabled_clients":[],"realms":["Acceptance-Test-OIDC-TestAccConnectionOIDC"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.271708ms + duration: 140.03275ms - id: 9 request: proto: HTTP/1.1 @@ -342,8 +335,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_rBkGMxTRAQaTQHcB + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_U8Y22FLGSJvyQfAh method: DELETE response: proto: HTTP/2.0 @@ -353,10 +346,10 @@ interactions: trailer: {} content_length: 41 uncompressed: false - body: '{"deleted_at":"2023-09-19T17:37:43.033Z"}' + body: '{"deleted_at":"2024-09-12T21:48:53.369Z"}' headers: Content-Type: - application/json; charset=utf-8 status: 202 Accepted code: 202 - duration: 120.548ms + duration: 167.191292ms diff --git a/test/data/recordings/TestAccConnectionOkta.yaml b/test/data/recordings/TestAccConnectionOkta.yaml index ccccb9710..d488dadf7 100644 --- a/test/data/recordings/TestAccConnectionOkta.yaml +++ b/test/data/recordings/TestAccConnectionOkta.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 + - Go-Auth0/1.10.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections method: POST response: @@ -30,33 +30,32 @@ interactions: trailer: {} content_length: -1 uncompressed: false - body: '{"id":"con_YHHWRjHlsLrortw7","options":{"client_id":"123456","client_secret":"123456","domain":"domain.okta.com","domain_aliases":["api.example.com","example.com"],"icon_url":"https://example.com/logo.svg","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","token_endpoint":"https://domain.okta.com/oauth2/v1/token","scope":"email openid profile","set_user_root_attributes":"on_each_login","non_persistent_attrs":["gender","hair_color"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"connection_settings":{"pkce":"disabled"},"attribute_map":{"mapping_mode":"basic_profile"},"schema_version":"openid-1.0.0","oidc_metadata":{"issuer":"https://domain.okta.com","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","token_endpoint":"https://domain.okta.com/oauth2/v1/token","userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"subject_types_supported":["public"],"id_token_signing_alg_values_supported":["RS256"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"code_challenge_methods_supported":["S256"],"introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","request_parameter_supported":true,"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","claims_parameter_supported":false,"request_uri_parameter_supported":true,"require_request_uri_registration":false},"type":"back_channel"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' + body: '{"id":"con_awMGzrVUX1KQ0XNM","options":{"client_id":"123456","client_secret":"123456","domain":"domain.okta.com","domain_aliases":["api.example.com","example.com"],"icon_url":"https://example.com/logo.svg","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","token_endpoint":"https://domain.okta.com/oauth2/v1/token","scope":"email openid profile","set_user_root_attributes":"on_each_login","non_persistent_attrs":["gender","hair_color"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"connection_settings":{"pkce":"disabled"},"attribute_map":{"mapping_mode":"basic_profile"},"oidc_metadata":{"issuer":"https://domain.okta.com","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","token_endpoint":"https://domain.okta.com/oauth2/v1/token","userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"subject_types_supported":["public"],"id_token_signing_alg_values_supported":["RS256"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"code_challenge_methods_supported":["S256"],"introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","request_parameter_supported":true,"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","dpop_signing_alg_values_supported":["RS256","RS384","RS512","ES256","ES384","ES512"],"claims_parameter_supported":false,"request_uri_parameter_supported":false,"require_request_uri_registration":false},"schema_version":"oidc-V4","type":"back_channel"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 719.411792ms + duration: 864.388583ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_YHHWRjHlsLrortw7 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_awMGzrVUX1KQ0XNM method: GET response: proto: HTTP/2.0 @@ -66,33 +65,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_YHHWRjHlsLrortw7","options":{"type":"back_channel","scope":"email openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","client_id":"123456","attribute_map":{"mapping_mode":"basic_profile"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":true,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["api.example.com","example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://domain.okta.com/oauth2/v1/token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","connection_settings":{"pkce":"disabled"},"non_persistent_attrs":["gender","hair_color"],"authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","set_user_root_attributes":"on_each_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' + body: '{"id":"con_awMGzrVUX1KQ0XNM","options":{"type":"back_channel","scope":"email openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","client_id":"123456","attribute_map":{"mapping_mode":"basic_profile"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":false,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"dpop_signing_alg_values_supported":["RS256","RS384","RS512","ES256","ES384","ES512"],"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["api.example.com","example.com"],"schema_version":"oidc-V4","token_endpoint":"https://domain.okta.com/oauth2/v1/token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","connection_settings":{"pkce":"disabled"},"non_persistent_attrs":["gender","hair_color"],"authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","set_user_root_attributes":"on_each_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 134.9825ms + duration: 141.933208ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_YHHWRjHlsLrortw7 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_awMGzrVUX1KQ0XNM method: GET response: proto: HTTP/2.0 @@ -102,33 +100,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_YHHWRjHlsLrortw7","options":{"type":"back_channel","scope":"email openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","client_id":"123456","attribute_map":{"mapping_mode":"basic_profile"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":true,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["api.example.com","example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://domain.okta.com/oauth2/v1/token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","connection_settings":{"pkce":"disabled"},"non_persistent_attrs":["gender","hair_color"],"authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","set_user_root_attributes":"on_each_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' + body: '{"id":"con_awMGzrVUX1KQ0XNM","options":{"type":"back_channel","scope":"email openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","client_id":"123456","attribute_map":{"mapping_mode":"basic_profile"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":false,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"dpop_signing_alg_values_supported":["RS256","RS384","RS512","ES256","ES384","ES512"],"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["api.example.com","example.com"],"schema_version":"oidc-V4","token_endpoint":"https://domain.okta.com/oauth2/v1/token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","connection_settings":{"pkce":"disabled"},"non_persistent_attrs":["gender","hair_color"],"authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","set_user_root_attributes":"on_each_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.216125ms + duration: 142.774416ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_YHHWRjHlsLrortw7 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_awMGzrVUX1KQ0XNM method: GET response: proto: HTTP/2.0 @@ -138,13 +135,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_YHHWRjHlsLrortw7","options":{"type":"back_channel","scope":"email openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","client_id":"123456","attribute_map":{"mapping_mode":"basic_profile"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":true,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["api.example.com","example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://domain.okta.com/oauth2/v1/token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","connection_settings":{"pkce":"disabled"},"non_persistent_attrs":["gender","hair_color"],"authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","set_user_root_attributes":"on_each_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' + body: '{"id":"con_awMGzrVUX1KQ0XNM","options":{"type":"back_channel","scope":"email openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","client_id":"123456","attribute_map":{"mapping_mode":"basic_profile"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":false,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"dpop_signing_alg_values_supported":["RS256","RS384","RS512","ES256","ES384","ES512"],"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["api.example.com","example.com"],"schema_version":"oidc-V4","token_endpoint":"https://domain.okta.com/oauth2/v1/token","upstream_params":{"screen_name":{"alias":"login_hint"}},"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","connection_settings":{"pkce":"disabled"},"non_persistent_attrs":["gender","hair_color"],"authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","set_user_root_attributes":"on_each_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.61425ms + duration: 144.619ms - id: 4 request: proto: HTTP/1.1 @@ -163,8 +160,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_YHHWRjHlsLrortw7 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_awMGzrVUX1KQ0XNM method: PATCH response: proto: HTTP/2.0 @@ -174,33 +171,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_YHHWRjHlsLrortw7","options":{"type":"back_channel","scope":"openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/v2/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v2/keys","client_id":"123456","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"basic_profile","userinfo_scope":"openid email profile groups"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":true,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://domain.okta.com/oauth2/v2/token","userinfo_endpoint":"https://domain.okta.com/oauth2/v2/userinfo","connection_settings":{"pkce":"auto"},"non_persistent_attrs":["gender"],"authorization_endpoint":"https://domain.okta.com/oauth2/v2/authorize","set_user_root_attributes":"on_first_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' + body: '{"id":"con_awMGzrVUX1KQ0XNM","options":{"type":"back_channel","scope":"openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/v2/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v2/keys","client_id":"123456","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"basic_profile","userinfo_scope":"openid email profile groups"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":false,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"dpop_signing_alg_values_supported":["RS256","RS384","RS512","ES256","ES384","ES512"],"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["example.com"],"schema_version":"oidc-V4","token_endpoint":"https://domain.okta.com/oauth2/v2/token","userinfo_endpoint":"https://domain.okta.com/oauth2/v2/userinfo","connection_settings":{"pkce":"auto"},"non_persistent_attrs":["gender"],"authorization_endpoint":"https://domain.okta.com/oauth2/v2/authorize","set_user_root_attributes":"on_first_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 760.282125ms + duration: 1.041712833s - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_YHHWRjHlsLrortw7 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_awMGzrVUX1KQ0XNM method: GET response: proto: HTTP/2.0 @@ -210,33 +206,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_YHHWRjHlsLrortw7","options":{"type":"back_channel","scope":"openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/v2/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v2/keys","client_id":"123456","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"basic_profile","userinfo_scope":"openid email profile groups"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":true,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://domain.okta.com/oauth2/v2/token","userinfo_endpoint":"https://domain.okta.com/oauth2/v2/userinfo","connection_settings":{"pkce":"auto"},"non_persistent_attrs":["gender"],"authorization_endpoint":"https://domain.okta.com/oauth2/v2/authorize","set_user_root_attributes":"on_first_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' + body: '{"id":"con_awMGzrVUX1KQ0XNM","options":{"type":"back_channel","scope":"openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/v2/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v2/keys","client_id":"123456","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"basic_profile","userinfo_scope":"openid email profile groups"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":false,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"dpop_signing_alg_values_supported":["RS256","RS384","RS512","ES256","ES384","ES512"],"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["example.com"],"schema_version":"oidc-V4","token_endpoint":"https://domain.okta.com/oauth2/v2/token","userinfo_endpoint":"https://domain.okta.com/oauth2/v2/userinfo","connection_settings":{"pkce":"auto"},"non_persistent_attrs":["gender"],"authorization_endpoint":"https://domain.okta.com/oauth2/v2/authorize","set_user_root_attributes":"on_first_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.743541ms + duration: 150.074166ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_YHHWRjHlsLrortw7 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_awMGzrVUX1KQ0XNM method: GET response: proto: HTTP/2.0 @@ -246,33 +241,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_YHHWRjHlsLrortw7","options":{"type":"back_channel","scope":"openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/v2/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v2/keys","client_id":"123456","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"basic_profile","userinfo_scope":"openid email profile groups"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":true,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://domain.okta.com/oauth2/v2/token","userinfo_endpoint":"https://domain.okta.com/oauth2/v2/userinfo","connection_settings":{"pkce":"auto"},"non_persistent_attrs":["gender"],"authorization_endpoint":"https://domain.okta.com/oauth2/v2/authorize","set_user_root_attributes":"on_first_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' + body: '{"id":"con_awMGzrVUX1KQ0XNM","options":{"type":"back_channel","scope":"openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/v2/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v2/keys","client_id":"123456","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"basic_profile","userinfo_scope":"openid email profile groups"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":false,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"dpop_signing_alg_values_supported":["RS256","RS384","RS512","ES256","ES384","ES512"],"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["example.com"],"schema_version":"oidc-V4","token_endpoint":"https://domain.okta.com/oauth2/v2/token","userinfo_endpoint":"https://domain.okta.com/oauth2/v2/userinfo","connection_settings":{"pkce":"auto"},"non_persistent_attrs":["gender"],"authorization_endpoint":"https://domain.okta.com/oauth2/v2/authorize","set_user_root_attributes":"on_first_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 199.516917ms + duration: 165.153417ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_YHHWRjHlsLrortw7 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_awMGzrVUX1KQ0XNM method: GET response: proto: HTTP/2.0 @@ -282,33 +276,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_YHHWRjHlsLrortw7","options":{"type":"back_channel","scope":"openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/v2/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v2/keys","client_id":"123456","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"basic_profile","userinfo_scope":"openid email profile groups"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":true,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://domain.okta.com/oauth2/v2/token","userinfo_endpoint":"https://domain.okta.com/oauth2/v2/userinfo","connection_settings":{"pkce":"auto"},"non_persistent_attrs":["gender"],"authorization_endpoint":"https://domain.okta.com/oauth2/v2/authorize","set_user_root_attributes":"on_first_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' + body: '{"id":"con_awMGzrVUX1KQ0XNM","options":{"type":"back_channel","scope":"openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/v2/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v2/keys","client_id":"123456","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"basic_profile","userinfo_scope":"openid email profile groups"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":false,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"dpop_signing_alg_values_supported":["RS256","RS384","RS512","ES256","ES384","ES512"],"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["example.com"],"schema_version":"oidc-V4","token_endpoint":"https://domain.okta.com/oauth2/v2/token","userinfo_endpoint":"https://domain.okta.com/oauth2/v2/userinfo","connection_settings":{"pkce":"auto"},"non_persistent_attrs":["gender"],"authorization_endpoint":"https://domain.okta.com/oauth2/v2/authorize","set_user_root_attributes":"on_first_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.409875ms + duration: 155.781291ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_YHHWRjHlsLrortw7 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_awMGzrVUX1KQ0XNM method: GET response: proto: HTTP/2.0 @@ -318,13 +311,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_YHHWRjHlsLrortw7","options":{"type":"back_channel","scope":"openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/v2/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v2/keys","client_id":"123456","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"basic_profile","userinfo_scope":"openid email profile groups"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":true,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["example.com"],"schema_version":"openid-1.0.0","token_endpoint":"https://domain.okta.com/oauth2/v2/token","userinfo_endpoint":"https://domain.okta.com/oauth2/v2/userinfo","connection_settings":{"pkce":"auto"},"non_persistent_attrs":["gender"],"authorization_endpoint":"https://domain.okta.com/oauth2/v2/authorize","set_user_root_attributes":"on_first_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' + body: '{"id":"con_awMGzrVUX1KQ0XNM","options":{"type":"back_channel","scope":"openid profile","domain":"domain.okta.com","issuer":"https://domain.okta.com","icon_url":"https://example.com/v2/logo.svg","jwks_uri":"https://domain.okta.com/oauth2/v2/keys","client_id":"123456","attribute_map":{"attributes":{"name":"${context.tokenset.name}","email":"${context.tokenset.email}","picture":"${context.tokenset.picture}","nickname":"${context.tokenset.nickname}","given_name":"${context.tokenset.given_name}","family_name":"${context.tokenset.family_name}","email_verified":"${context.tokenset.email_verified}"},"mapping_mode":"basic_profile","userinfo_scope":"openid email profile groups"},"client_secret":"123456","oidc_metadata":{"issuer":"https://domain.okta.com","jwks_uri":"https://domain.okta.com/oauth2/v1/keys","token_endpoint":"https://domain.okta.com/oauth2/v1/token","claims_supported":["iss","ver","sub","aud","iat","exp","jti","auth_time","amr","idp","nonce","name","nickname","preferred_username","given_name","middle_name","family_name","email","email_verified","profile","zoneinfo","locale","address","phone_number","picture","website","gender","birthdate","updated_at","at_hash","c_hash"],"scopes_supported":["openid","email","profile","address","phone","offline_access","groups"],"userinfo_endpoint":"https://domain.okta.com/oauth2/v1/userinfo","revocation_endpoint":"https://domain.okta.com/oauth2/v1/revoke","end_session_endpoint":"https://domain.okta.com/oauth2/v1/logout","grant_types_supported":["authorization_code","implicit","refresh_token","password","urn:ietf:params:oauth:grant-type:device_code"],"registration_endpoint":"https://domain.okta.com/oauth2/v1/clients","authorization_endpoint":"https://domain.okta.com/oauth2/v1/authorize","introspection_endpoint":"https://domain.okta.com/oauth2/v1/introspect","subject_types_supported":["public"],"response_modes_supported":["query","fragment","form_post","okta_post_message"],"response_types_supported":["code","id_token","code id_token","code token","id_token token","code id_token token"],"claims_parameter_supported":false,"request_parameter_supported":true,"device_authorization_endpoint":"https://domain.okta.com/oauth2/v1/device/authorize","request_uri_parameter_supported":false,"code_challenge_methods_supported":["S256"],"require_request_uri_registration":false,"dpop_signing_alg_values_supported":["RS256","RS384","RS512","ES256","ES384","ES512"],"id_token_signing_alg_values_supported":["RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"],"request_object_signing_alg_values_supported":["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES512"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","client_secret_jwt","private_key_jwt","none"]},"domain_aliases":["example.com"],"schema_version":"oidc-V4","token_endpoint":"https://domain.okta.com/oauth2/v2/token","userinfo_endpoint":"https://domain.okta.com/oauth2/v2/userinfo","connection_settings":{"pkce":"auto"},"non_persistent_attrs":["gender"],"authorization_endpoint":"https://domain.okta.com/oauth2/v2/authorize","set_user_root_attributes":"on_first_login"},"strategy":"okta","name":"Acceptance-Test-Okta-TestAccConnectionOkta","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-Okta-TestAccConnectionOkta","enabled_clients":[],"realms":["Acceptance-Test-Okta-TestAccConnectionOkta"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.851083ms + duration: 154.675292ms - id: 9 request: proto: HTTP/1.1 @@ -342,8 +335,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.1.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_YHHWRjHlsLrortw7 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_awMGzrVUX1KQ0XNM method: DELETE response: proto: HTTP/2.0 @@ -353,10 +346,10 @@ interactions: trailer: {} content_length: 41 uncompressed: false - body: '{"deleted_at":"2023-09-19T17:38:02.774Z"}' + body: '{"deleted_at":"2024-09-12T21:27:06.686Z"}' headers: Content-Type: - application/json; charset=utf-8 status: 202 Accepted code: 202 - duration: 117.958875ms + duration: 152.200792ms diff --git a/test/data/recordings/TestAccConnectionSAML.yaml b/test/data/recordings/TestAccConnectionSAML.yaml index 03122162d..d5b93b8c5 100644 --- a/test/data/recordings/TestAccConnectionSAML.yaml +++ b/test/data/recordings/TestAccConnectionSAML.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 4521 + content_length: 4542 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance-Test-SAML-TestAccConnectionSAML","display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","strategy":"samlp","show_as_button":false,"options":{"idpinitiated":{"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code\u0026timeout=30"},"signing_key":{"key":"-----BEGIN PRIVATE KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"},"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your public key cert here}...\n-----END CERTIFICATE-----"},"protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","tenant_domain":"example.com","domain_aliases":["example.com","example.coz"],"disableSignout":false,"signatureAlgorithm":"rsa-sha256","digestAlgorithm":"sha256","metadataXml":"\t\t\u003c?xml version=\"1.0\"?\u003e\n\u003cmd:EntityDescriptor xmlns:md=\"urn:oasis:names:tc:SAML:2.0:metadata\" entityID=\"https://example.com\"\u003e\n \u003cmd:IDPSSODescriptor protocolSupportEnumeration=\"urn:oasis:names:tc:SAML:2.0:protocol\"\u003e\n \u003cmd:SingleLogoutService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\" Location=\"https://saml-from-metadata-xml.provider/sign_out\"/\u003e\n \u003cmd:SingleSignOnService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\" Location=\"https://saml-from-metadata-xml.provider/sign_in\"/\u003e\n \u003cmd:KeyDescriptor use=\"signing\"\u003e\n \u003cds:KeyInfo xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\"\u003e\n \u003cds:X509Data\u003e\n \u003cds:X509Certificate\u003e\n MIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\n BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\n aWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\n MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\n ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\n CgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\n QhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\n Y1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n 58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\n lZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\n aJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\n LtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\n cqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\n BAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\n MAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n 3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\n OZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n /ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\n XZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\n PAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n \u003c/ds:X509Certificate\u003e\n \u003c/ds:X509Data\u003e\n \u003c/ds:KeyInfo\u003e\n \u003c/md:KeyDescriptor\u003e\n \u003c/md:IDPSSODescriptor\u003e\n\u003c/md:EntityDescriptor\u003e\n","fieldsMap":{"email":["emailaddress","nameidentifier"],"family_name":"surname","name":["name","nameidentifier"]},"requestTemplate":"\u003csamlp:AuthnRequest xmlns:samlp=\"urn:oasis:names:tc:SAML:2.0:protocol\"\n@@AssertServiceURLAndDestination@@\n ID=\"@@ID@@\"\n IssueInstant=\"@@IssueInstant@@\"\n ProtocolBinding=\"@@ProtocolBinding@@\" Version=\"2.0\"\u003e\n \u003csaml:Issuer xmlns:saml=\"urn:oasis:names:tc:SAML:2.0:assertion\"\u003e@@Issuer@@\u003c/saml:Issuer\u003e\n\u003c/samlp:AuthnRequest\u003e","user_id_attribute":"https://saml.provider/imi/ns/identity-200810","icon_url":"https://example.com/logo.svg","upstream_params":{"screen_name":{"alias":"login_hint"}}}} + {"name":"Acceptance-Test-SAML-TestAccConnectionSAML","display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","strategy":"samlp","show_as_button":false,"options":{"strategy_version":2,"idpinitiated":{"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code\u0026timeout=30"},"signing_key":{"key":"-----BEGIN PRIVATE KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"},"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your public key cert here}...\n-----END CERTIFICATE-----"},"protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","tenant_domain":"example.com","domain_aliases":["example.com","example.coz"],"disableSignout":false,"signatureAlgorithm":"rsa-sha256","digestAlgorithm":"sha256","metadataXml":"\t\t\u003c?xml version=\"1.0\"?\u003e\n\u003cmd:EntityDescriptor xmlns:md=\"urn:oasis:names:tc:SAML:2.0:metadata\" entityID=\"https://example.com\"\u003e\n \u003cmd:IDPSSODescriptor protocolSupportEnumeration=\"urn:oasis:names:tc:SAML:2.0:protocol\"\u003e\n \u003cmd:SingleLogoutService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\" Location=\"https://saml-from-metadata-xml.provider/sign_out\"/\u003e\n \u003cmd:SingleSignOnService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\" Location=\"https://saml-from-metadata-xml.provider/sign_in\"/\u003e\n \u003cmd:KeyDescriptor use=\"signing\"\u003e\n \u003cds:KeyInfo xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\"\u003e\n \u003cds:X509Data\u003e\n \u003cds:X509Certificate\u003e\n MIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\n BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\n aWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\n MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\n ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\n CgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\n QhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\n Y1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n 58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\n lZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\n aJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\n LtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\n cqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\n BAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\n MAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n 3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\n OZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n /ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\n XZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\n PAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n \u003c/ds:X509Certificate\u003e\n \u003c/ds:X509Data\u003e\n \u003c/ds:KeyInfo\u003e\n \u003c/md:KeyDescriptor\u003e\n \u003c/md:IDPSSODescriptor\u003e\n\u003c/md:EntityDescriptor\u003e\n","fieldsMap":{"email":["emailaddress","nameidentifier"],"family_name":"surname","name":["name","nameidentifier"]},"requestTemplate":"\u003csamlp:AuthnRequest xmlns:samlp=\"urn:oasis:names:tc:SAML:2.0:protocol\"\n@@AssertServiceURLAndDestination@@\n ID=\"@@ID@@\"\n IssueInstant=\"@@IssueInstant@@\"\n ProtocolBinding=\"@@ProtocolBinding@@\" Version=\"2.0\"\u003e\n \u003csaml:Issuer xmlns:saml=\"urn:oasis:names:tc:SAML:2.0:assertion\"\u003e@@Issuer@@\u003c/saml:Issuer\u003e\n\u003c/samlp:AuthnRequest\u003e","user_id_attribute":"https://saml.provider/imi/ns/identity-200810","icon_url":"https://example.com/logo.svg","upstream_params":{"screen_name":{"alias":"login_hint"}}}} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 + - Go-Auth0/1.10.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections method: POST response: @@ -30,33 +30,32 @@ interactions: trailer: {} content_length: -1 uncompressed: false - body: '{"id":"con_GFRkNPx9npSLye37","options":{"idpinitiated":{"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=30","enabled":true},"signing_key":{"key":"-----BEGIN PRIVATE KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"},"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your public key cert here}...\n-----END CERTIFICATE-----"},"protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","tenant_domain":"example.com","domain_aliases":["example.com","example.coz"],"disableSignout":false,"signatureAlgorithm":"rsa-sha256","digestAlgorithm":"sha256","fieldsMap":{"email":["emailaddress","nameidentifier"],"family_name":"surname","name":["name","nameidentifier"]},"requestTemplate":"\n @@Issuer@@\n","user_id_attribute":"https://saml.provider/imi/ns/identity-200810","icon_url":"https://example.com/logo.svg","upstream_params":{"screen_name":{"alias":"login_hint"}},"signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","stateOrProvinceName":"Some-State","organizationName":"Internet Widgits Pty Ltd"},"thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/qay8JLZX","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' + body: '{"id":"con_AooOEYitZrAAaqEa","options":{"strategy_version":2,"idpinitiated":{"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=30","enabled":true},"signing_key":{"key":"-----BEGIN PRIVATE KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"},"decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your public key cert here}...\n-----END CERTIFICATE-----"},"protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","tenant_domain":"example.com","domain_aliases":["example.com","example.coz"],"disableSignout":false,"signatureAlgorithm":"rsa-sha256","digestAlgorithm":"sha256","fieldsMap":{"email":["emailaddress","nameidentifier"],"family_name":"surname","name":["name","nameidentifier"]},"requestTemplate":"\n @@Issuer@@\n","user_id_attribute":"https://saml.provider/imi/ns/identity-200810","icon_url":"https://example.com/logo.svg","upstream_params":{"screen_name":{"alias":"login_hint"}},"signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","stateOrProvinceName":"Some-State","organizationName":"Internet Widgits Pty Ltd"},"thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/VWBSra6g","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 153.796916ms + duration: 261.7875ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_GFRkNPx9npSLye37 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_AooOEYitZrAAaqEa method: GET response: proto: HTTP/2.0 @@ -66,33 +65,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_GFRkNPx9npSLye37","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"icon_url":"https://example.com/logo.svg","fieldsMap":{"name":["name","nameidentifier"],"email":["emailaddress","nameidentifier"],"family_name":"surname"},"signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","signing_key":{"key":"-----BEGIN PRIVATE KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"},"thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"idpinitiated":{"enabled":true,"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=30"},"bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your public key cert here}...\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","disableSignout":false,"domain_aliases":["example.com","example.coz"],"signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","digestAlgorithm":"sha256","protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","requestTemplate":"\n @@Issuer@@\n","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","upstream_params":{"screen_name":{"alias":"login_hint"}},"user_id_attribute":"https://saml.provider/imi/ns/identity-200810","signatureAlgorithm":"rsa-sha256"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/qay8JLZX","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' + body: '{"id":"con_AooOEYitZrAAaqEa","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"icon_url":"https://example.com/logo.svg","fieldsMap":{"name":["name","nameidentifier"],"email":["emailaddress","nameidentifier"],"family_name":"surname"},"signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","signing_key":{"key":"-----BEGIN PRIVATE KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"},"thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"idpinitiated":{"enabled":true,"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=30"},"bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your public key cert here}...\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","disableSignout":false,"domain_aliases":["example.com","example.coz"],"signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","digestAlgorithm":"sha256","protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","requestTemplate":"\n @@Issuer@@\n","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"user_id_attribute":"https://saml.provider/imi/ns/identity-200810","signatureAlgorithm":"rsa-sha256"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/VWBSra6g","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.59225ms + duration: 145.826125ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_GFRkNPx9npSLye37 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_AooOEYitZrAAaqEa method: GET response: proto: HTTP/2.0 @@ -102,33 +100,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_GFRkNPx9npSLye37","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"icon_url":"https://example.com/logo.svg","fieldsMap":{"name":["name","nameidentifier"],"email":["emailaddress","nameidentifier"],"family_name":"surname"},"signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","signing_key":{"key":"-----BEGIN PRIVATE KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"},"thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"idpinitiated":{"enabled":true,"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=30"},"bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your public key cert here}...\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","disableSignout":false,"domain_aliases":["example.com","example.coz"],"signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","digestAlgorithm":"sha256","protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","requestTemplate":"\n @@Issuer@@\n","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","upstream_params":{"screen_name":{"alias":"login_hint"}},"user_id_attribute":"https://saml.provider/imi/ns/identity-200810","signatureAlgorithm":"rsa-sha256"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/qay8JLZX","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' + body: '{"id":"con_AooOEYitZrAAaqEa","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"icon_url":"https://example.com/logo.svg","fieldsMap":{"name":["name","nameidentifier"],"email":["emailaddress","nameidentifier"],"family_name":"surname"},"signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","signing_key":{"key":"-----BEGIN PRIVATE KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"},"thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"idpinitiated":{"enabled":true,"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=30"},"bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your public key cert here}...\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","disableSignout":false,"domain_aliases":["example.com","example.coz"],"signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","digestAlgorithm":"sha256","protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","requestTemplate":"\n @@Issuer@@\n","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"user_id_attribute":"https://saml.provider/imi/ns/identity-200810","signatureAlgorithm":"rsa-sha256"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/VWBSra6g","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.371333ms + duration: 153.198709ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_GFRkNPx9npSLye37 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_AooOEYitZrAAaqEa method: GET response: proto: HTTP/2.0 @@ -138,33 +135,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_GFRkNPx9npSLye37","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"icon_url":"https://example.com/logo.svg","fieldsMap":{"name":["name","nameidentifier"],"email":["emailaddress","nameidentifier"],"family_name":"surname"},"signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","signing_key":{"key":"-----BEGIN PRIVATE KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"},"thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"idpinitiated":{"enabled":true,"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=30"},"bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your public key cert here}...\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","disableSignout":false,"domain_aliases":["example.com","example.coz"],"signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","digestAlgorithm":"sha256","protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","requestTemplate":"\n @@Issuer@@\n","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","upstream_params":{"screen_name":{"alias":"login_hint"}},"user_id_attribute":"https://saml.provider/imi/ns/identity-200810","signatureAlgorithm":"rsa-sha256"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/qay8JLZX","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' + body: '{"id":"con_AooOEYitZrAAaqEa","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"icon_url":"https://example.com/logo.svg","fieldsMap":{"name":["name","nameidentifier"],"email":["emailaddress","nameidentifier"],"family_name":"surname"},"signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","signing_key":{"key":"-----BEGIN PRIVATE KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"},"thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"idpinitiated":{"enabled":true,"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=30"},"bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your public key cert here}...\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","disableSignout":false,"domain_aliases":["example.com","example.coz"],"signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","digestAlgorithm":"sha256","protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","requestTemplate":"\n @@Issuer@@\n","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"user_id_attribute":"https://saml.provider/imi/ns/identity-200810","signatureAlgorithm":"rsa-sha256"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/VWBSra6g","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.598833ms + duration: 153.376333ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_GFRkNPx9npSLye37 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_AooOEYitZrAAaqEa method: GET response: proto: HTTP/2.0 @@ -174,13 +170,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_GFRkNPx9npSLye37","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"icon_url":"https://example.com/logo.svg","fieldsMap":{"name":["name","nameidentifier"],"email":["emailaddress","nameidentifier"],"family_name":"surname"},"signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","signing_key":{"key":"-----BEGIN PRIVATE KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"},"thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"idpinitiated":{"enabled":true,"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=30"},"bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your public key cert here}...\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","disableSignout":false,"domain_aliases":["example.com","example.coz"],"signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","digestAlgorithm":"sha256","protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","requestTemplate":"\n @@Issuer@@\n","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","upstream_params":{"screen_name":{"alias":"login_hint"}},"user_id_attribute":"https://saml.provider/imi/ns/identity-200810","signatureAlgorithm":"rsa-sha256"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/qay8JLZX","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' + body: '{"id":"con_AooOEYitZrAAaqEa","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"icon_url":"https://example.com/logo.svg","fieldsMap":{"name":["name","nameidentifier"],"email":["emailaddress","nameidentifier"],"family_name":"surname"},"signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","signing_key":{"key":"-----BEGIN PRIVATE KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"},"thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"idpinitiated":{"enabled":true,"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=30"},"bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your public key cert here}...\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","disableSignout":false,"domain_aliases":["example.com","example.coz"],"signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","digestAlgorithm":"sha256","protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","requestTemplate":"\n @@Issuer@@\n","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"user_id_attribute":"https://saml.provider/imi/ns/identity-200810","signatureAlgorithm":"rsa-sha256"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/VWBSra6g","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 139.880583ms + duration: 150.83225ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_GFRkNPx9npSLye37 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_AooOEYitZrAAaqEa method: PATCH response: proto: HTTP/2.0 @@ -210,33 +206,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_GFRkNPx9npSLye37","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"entityId":"example","fieldsMap":{"name":["name"],"email":["emailaddress","nameidentifier"],"family_name":"appelido"},"metadataUrl":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/132b28c30dfafbe018db0efe3ce2c98c452d4f9c/test/data/saml_metadata.xml","signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"idpinitiated":{"enabled":true,"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=60"},"bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your updated private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your updated public key cert here}...\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","disableSignout":true,"domain_aliases":["example.com","example.coz"],"signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","digestAlgorithm":"sha256","protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","signatureAlgorithm":"rsa-sha256","set_user_root_attributes":"on_first_login"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/qay8JLZX","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' + body: '{"id":"con_AooOEYitZrAAaqEa","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"entityId":"example","fieldsMap":{"name":["name"],"email":["emailaddress","nameidentifier"],"family_name":"appelido"},"metadataUrl":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/132b28c30dfafbe018db0efe3ce2c98c452d4f9c/test/data/saml_metadata.xml","signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"idpinitiated":{"enabled":true,"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=60"},"bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your updated private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your updated public key cert here}...\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","disableSignout":true,"domain_aliases":["example.com","example.coz"],"signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","digestAlgorithm":"sha256","protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","signatureAlgorithm":"rsa-sha256","set_user_root_attributes":"on_first_login"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/VWBSra6g","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 1.069039084s + duration: 452.692167ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_GFRkNPx9npSLye37 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_AooOEYitZrAAaqEa method: GET response: proto: HTTP/2.0 @@ -246,33 +241,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_GFRkNPx9npSLye37","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"entityId":"example","fieldsMap":{"name":["name"],"email":["emailaddress","nameidentifier"],"family_name":"appelido"},"metadataUrl":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/132b28c30dfafbe018db0efe3ce2c98c452d4f9c/test/data/saml_metadata.xml","signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"idpinitiated":{"enabled":true,"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=60"},"bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your updated private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your updated public key cert here}...\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","disableSignout":true,"domain_aliases":["example.com","example.coz"],"signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","digestAlgorithm":"sha256","protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","signatureAlgorithm":"rsa-sha256","set_user_root_attributes":"on_first_login"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/qay8JLZX","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' + body: '{"id":"con_AooOEYitZrAAaqEa","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"entityId":"example","fieldsMap":{"name":["name"],"email":["emailaddress","nameidentifier"],"family_name":"appelido"},"metadataUrl":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/132b28c30dfafbe018db0efe3ce2c98c452d4f9c/test/data/saml_metadata.xml","signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"idpinitiated":{"enabled":true,"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=60"},"bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your updated private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your updated public key cert here}...\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","disableSignout":true,"domain_aliases":["example.com","example.coz"],"signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","digestAlgorithm":"sha256","protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","signatureAlgorithm":"rsa-sha256","set_user_root_attributes":"on_first_login"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/VWBSra6g","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 155.408708ms + duration: 147.489834ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_GFRkNPx9npSLye37 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_AooOEYitZrAAaqEa method: GET response: proto: HTTP/2.0 @@ -282,13 +276,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_GFRkNPx9npSLye37","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"entityId":"example","fieldsMap":{"name":["name"],"email":["emailaddress","nameidentifier"],"family_name":"appelido"},"metadataUrl":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/132b28c30dfafbe018db0efe3ce2c98c452d4f9c/test/data/saml_metadata.xml","signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"idpinitiated":{"enabled":true,"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=60"},"bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your updated private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your updated public key cert here}...\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","disableSignout":true,"domain_aliases":["example.com","example.coz"],"signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","digestAlgorithm":"sha256","protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","signatureAlgorithm":"rsa-sha256","set_user_root_attributes":"on_first_login"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/qay8JLZX","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' + body: '{"id":"con_AooOEYitZrAAaqEa","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAvtH4wKLYlIXZlfYQFJtXZVC3fD8XMarzwvb/fHUyJ6NvNStN+H7GHp3/\nQhZbSaRyqK5hu5xXtFLgnI0QG8oE1NlXbczjH45LeHWhPIdc2uHSpzXic78kOugM\nY1vng4J10PF6+T2FNaiv0iXeIQq9xbwwPYpflViQyJnzGCIZ7VGan6GbRKzyTKcB\n58yx24pJq+CviLXEY52TIW1l5imcjGvLtlCp1za9qBZa4XGoVqHi1kRXkdDSHty6\nlZWj3KxoRvTbiaBCH+75U7rifS6fR9lqjWE57bCGoz7+BBu9YmPKtI1KkyHFqWpx\naJc/AKf9xgg+UumeqVcirUmAsHJrMwIDAQABo4GnMIGkMB0GA1UdDgQWBBTs83nk\nLtoXFlmBUts3EIxcVvkvcjB1BgNVHSMEbjBsgBTs83nkLtoXFlmBUts3EIxcVvkv\ncqFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMKR/NsyfcazMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBABw7w/5k4d5dVDgd/OOOmXdaaCIKvt7d\n3ntlv1SSvAoKT8d8lt97Dm5RrmefBI13I2yivZg5bfTge4+vAV6VdLFdWeFp1b/F\nOZkYUv6A8o5HW0OWQYVX26zIqBcG2Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\n/ICgdZD+rxwxf8Vb/6fntKywWSLgwKH3mJ+Z0kRlpq1g1oieiOm1/gpZ35s0Yuor\nXZba9ptfLCYSggg/qc3d3d0tbHplKYkwFm7f5ORGHDSD5SJm+gI7RPE+4bO8q79R\nPAfbG1UGuJ0b/oigagciHhJp851SQRYf3JuNSc17BnK2L5IEtzjqr+Q=\n-----END CERTIFICATE-----\n","expires":"2016-12-21T23:43:41.000Z","subject":{"countryName":"AU","organizationName":"Internet Widgits Pty Ltd","stateOrProvinceName":"Some-State"},"entityId":"example","fieldsMap":{"name":["name"],"email":["emailaddress","nameidentifier"],"family_name":"appelido"},"metadataUrl":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/132b28c30dfafbe018db0efe3ce2c98c452d4f9c/test/data/saml_metadata.xml","signingCert":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpMWtSWGtkRFNIdHk2CmxaV2ozS3hvUnZUYmlhQkNIKzc1VTdyaWZTNmZSOWxxaldFNTdiQ0dvejcrQkJ1OVltUEt0STFLa3lIRnFXcHgKYUpjL0FLZjl4Z2crVXVtZXFWY2lyVW1Bc0hKck13SURBUUFCbzRHbk1JR2tNQjBHQTFVZERnUVdCQlRzODNuawpMdG9YRmxtQlV0czNFSXhjVnZrdmNqQjFCZ05WSFNNRWJqQnNnQlRzODNua0x0b1hGbG1CVXRzM0VJeGNWdmt2CmNxRkpwRWN3UlRFTE1Ba0dBMVVFQmhNQ1FWVXhFekFSQmdOVkJBZ1RDbE52YldVdFUzUmhkR1V4SVRBZkJnTlYKQkFvVEdFbHVkR1Z5Ym1WMElGZHBaR2RwZEhNZ1VIUjVJRXgwWklJSkFNS1IvTnN5ZmNhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","thumbprints":["499fdf1c2218a99c8595aac2fd95ce36f0a6d59d"],"idpinitiated":{"enabled":true,"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code&timeout=60"},"bindingMethod":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect","decryptionKey":{"key":"-----BEGIN PRIVATE KEY-----\n...{your updated private key here}...\n-----END PRIVATE KEY-----","cert":"-----BEGIN CERTIFICATE-----\n...{your updated public key cert here}...\n-----END CERTIFICATE-----"},"tenant_domain":"example.com","disableSignout":true,"domain_aliases":["example.com","example.coz"],"signInEndpoint":"https://saml-from-metadata-xml.provider/sign_in","digestAlgorithm":"sha256","protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","signOutEndpoint":"https://saml-from-metadata-xml.provider/sign_out","signatureAlgorithm":"rsa-sha256","set_user_root_attributes":"on_first_login"},"strategy":"samlp","name":"Acceptance-Test-SAML-TestAccConnectionSAML","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/p/samlp/VWBSra6g","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.178667ms + duration: 146.740208ms - id: 8 request: proto: HTTP/1.1 @@ -306,8 +300,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_GFRkNPx9npSLye37 + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_AooOEYitZrAAaqEa method: DELETE response: proto: HTTP/2.0 @@ -317,10 +311,10 @@ interactions: trailer: {} content_length: 41 uncompressed: false - body: '{"deleted_at":"2023-08-31T08:58:34.236Z"}' + body: '{"deleted_at":"2024-09-12T21:26:31.861Z"}' headers: Content-Type: - application/json; charset=utf-8 status: 202 Accepted code: 202 - duration: 120.812042ms + duration: 149.5115ms diff --git a/test/data/recordings/TestAccConnectionSMS.yaml b/test/data/recordings/TestAccConnectionSMS.yaml index 6d99c18b9..acd06214c 100644 --- a/test/data/recordings/TestAccConnectionSMS.yaml +++ b/test/data/recordings/TestAccConnectionSMS.yaml @@ -1,146 +1,144 @@ --- version: 2 interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 423 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance-Test-SMS-TestAccConnectionSMS","strategy":"sms","is_domain_connection":false,"options":{"name":"SMS OTP","from":"+12345678","syntax":"md_with_macros","template":"@@password@@","totp":{"time_step":300,"length":6},"twilio_sid":"ABC123","twilio_token":"DEF456","messaging_service_sid":"GHI789","disable_signup":false,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - 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: -1 - uncompressed: false - body: '{"id":"con_Bz89yP7X0T9Hssqh","options":{"name":"SMS OTP","from":"+12345678","syntax":"md_with_macros","template":"@@password@@","totp":{"time_step":300,"length":6},"twilio_sid":"ABC123","twilio_token":"DEF456","messaging_service_sid":"GHI789","disable_signup":false,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Acceptance-Test-SMS-TestAccConnectionSMS","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-SMS-TestAccConnectionSMS"]}' - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_Bz89yP7X0T9Hssqh - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_Bz89yP7X0T9Hssqh","options":{"from":"+12345678","name":"SMS OTP","totp":{"length":6,"time_step":300},"syntax":"md_with_macros","template":"@@password@@","twilio_sid":"ABC123","twilio_token":"DEF456","disable_signup":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"messaging_service_sid":"GHI789","brute_force_protection":true},"strategy":"sms","name":"Acceptance-Test-SMS-TestAccConnectionSMS","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-SMS-TestAccConnectionSMS"]}' - 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: 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.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_Bz89yP7X0T9Hssqh - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_Bz89yP7X0T9Hssqh","options":{"from":"+12345678","name":"SMS OTP","totp":{"length":6,"time_step":300},"syntax":"md_with_macros","template":"@@password@@","twilio_sid":"ABC123","twilio_token":"DEF456","disable_signup":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"messaging_service_sid":"GHI789","brute_force_protection":true},"strategy":"sms","name":"Acceptance-Test-SMS-TestAccConnectionSMS","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-SMS-TestAccConnectionSMS"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_Bz89yP7X0T9Hssqh - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: false - body: '{"deleted_at":"2022-08-30T08:59:32.779Z"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 202 Accepted - code: 202 - duration: 1ms + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 423 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance-Test-SMS-TestAccConnectionSMS","strategy":"sms","is_domain_connection":false,"options":{"name":"SMS OTP","from":"+12345678","syntax":"md_with_macros","template":"@@password@@","totp":{"time_step":300,"length":6},"twilio_sid":"ABC123","twilio_token":"DEF456","messaging_service_sid":"GHI789","disable_signup":false,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + 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: 525 + uncompressed: false + body: '{"id":"con_YPFkIwpcI6ZHRizo","options":{"name":"SMS OTP","from":"+12345678","syntax":"md_with_macros","template":"@@password@@","totp":{"time_step":300,"length":6},"twilio_sid":"ABC123","twilio_token":"DEF456","messaging_service_sid":"GHI789","disable_signup":false,"brute_force_protection":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}},"strategy":"sms","name":"Acceptance-Test-SMS-TestAccConnectionSMS","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-SMS-TestAccConnectionSMS"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 174.971417ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_YPFkIwpcI6ZHRizo + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_YPFkIwpcI6ZHRizo","options":{"from":"+12345678","name":"SMS OTP","totp":{"length":6,"time_step":300},"syntax":"md_with_macros","template":"@@password@@","twilio_sid":"ABC123","twilio_token":"DEF456","disable_signup":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"messaging_service_sid":"GHI789","brute_force_protection":true},"strategy":"sms","name":"Acceptance-Test-SMS-TestAccConnectionSMS","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-SMS-TestAccConnectionSMS"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 139.645583ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_YPFkIwpcI6ZHRizo + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_YPFkIwpcI6ZHRizo","options":{"from":"+12345678","name":"SMS OTP","totp":{"length":6,"time_step":300},"syntax":"md_with_macros","template":"@@password@@","twilio_sid":"ABC123","twilio_token":"DEF456","disable_signup":false,"upstream_params":{"screen_name":{"alias":"login_hint"}},"messaging_service_sid":"GHI789","brute_force_protection":true},"strategy":"sms","name":"Acceptance-Test-SMS-TestAccConnectionSMS","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-SMS-TestAccConnectionSMS"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 146.935042ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_YPFkIwpcI6ZHRizo + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 41 + uncompressed: false + body: '{"deleted_at":"2024-09-12T21:26:57.898Z"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 202 Accepted + code: 202 + duration: 143.160083ms diff --git a/test/data/recordings/TestAccConnectionSalesforce.yaml b/test/data/recordings/TestAccConnectionSalesforce.yaml index e349db685..c78e72d08 100644 --- a/test/data/recordings/TestAccConnectionSalesforce.yaml +++ b/test/data/recordings/TestAccConnectionSalesforce.yaml @@ -1,146 +1,144 @@ --- version: 2 interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 347 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance-Test-Salesforce-Connection-TestAccConnectionSalesforce","strategy":"salesforce-community","is_domain_connection":false,"options":{"client_id":"client-id","client_secret":"client-secret","community_base_url":"https://salesforce.example.com","non_persistent_attrs":null,"upstream_params":{"screen_name":{"alias":"login_hint"}}}} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - 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: -1 - uncompressed: false - body: '{"id":"con_hfKpDqIIEwRalp3R","options":{"client_id":"client-id","client_secret":"client-secret","community_base_url":"https://salesforce.example.com","non_persistent_attrs":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"salesforce-community","name":"Acceptance-Test-Salesforce-Connection-TestAccConnectionSalesforce","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Salesforce-Connection-TestAccConnectionSalesforce"]}' - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_hfKpDqIIEwRalp3R - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_hfKpDqIIEwRalp3R","options":{"scope":[],"client_id":"client-id","client_secret":"client-secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"community_base_url":"https://salesforce.example.com","non_persistent_attrs":null},"strategy":"salesforce-community","name":"Acceptance-Test-Salesforce-Connection-TestAccConnectionSalesforce","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Salesforce-Connection-TestAccConnectionSalesforce"]}' - 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: 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.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_hfKpDqIIEwRalp3R - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_hfKpDqIIEwRalp3R","options":{"scope":[],"client_id":"client-id","client_secret":"client-secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"community_base_url":"https://salesforce.example.com","non_persistent_attrs":null},"strategy":"salesforce-community","name":"Acceptance-Test-Salesforce-Connection-TestAccConnectionSalesforce","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Salesforce-Connection-TestAccConnectionSalesforce"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_hfKpDqIIEwRalp3R - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: false - body: '{"deleted_at":"2022-08-30T08:59:42.957Z"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 202 Accepted - code: 202 - duration: 1ms + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 319 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance-Test-Salesforce-Connection-TestAccConnectionSalesforce","strategy":"salesforce-community","is_domain_connection":false,"options":{"client_id":"client-id","client_secret":"client-secret","community_base_url":"https://salesforce.example.com","upstream_params":{"screen_name":{"alias":"login_hint"}}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + 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: 457 + uncompressed: false + body: '{"id":"con_RWTi1HP5TTkLkul4","options":{"client_id":"client-id","client_secret":"client-secret","community_base_url":"https://salesforce.example.com","upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":[]},"strategy":"salesforce-community","name":"Acceptance-Test-Salesforce-Connection-TestAccConnectionSalesforce","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Salesforce-Connection-TestAccConnectionSalesforce"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 157.024291ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_RWTi1HP5TTkLkul4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_RWTi1HP5TTkLkul4","options":{"scope":[],"client_id":"client-id","client_secret":"client-secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"community_base_url":"https://salesforce.example.com"},"strategy":"salesforce-community","name":"Acceptance-Test-Salesforce-Connection-TestAccConnectionSalesforce","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Salesforce-Connection-TestAccConnectionSalesforce"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 160.038375ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_RWTi1HP5TTkLkul4 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_RWTi1HP5TTkLkul4","options":{"scope":[],"client_id":"client-id","client_secret":"client-secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"community_base_url":"https://salesforce.example.com"},"strategy":"salesforce-community","name":"Acceptance-Test-Salesforce-Connection-TestAccConnectionSalesforce","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Salesforce-Connection-TestAccConnectionSalesforce"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 148.340625ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_RWTi1HP5TTkLkul4 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 41 + uncompressed: false + body: '{"deleted_at":"2024-09-12T21:27:30.978Z"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 202 Accepted + code: 202 + duration: 148.13ms diff --git a/test/data/recordings/TestAccConnectionTwitter.yaml b/test/data/recordings/TestAccConnectionTwitter.yaml index d7ddb0cbc..f979941a1 100644 --- a/test/data/recordings/TestAccConnectionTwitter.yaml +++ b/test/data/recordings/TestAccConnectionTwitter.yaml @@ -1,290 +1,285 @@ --- version: 2 interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 266 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","strategy":"twitter","options":{"client_id":"someClientID","client_secret":"someClientSecret","authorizationURL":null,"tokenURL":null,"set_user_root_attributes":"on_each_login","non_persistent_attrs":null}} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - 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: -1 - uncompressed: false - body: '{"id":"con_ybYrfHIpKNl3wJwN","options":{"client_id":"someClientID","client_secret":"someClientSecret","authorizationURL":null,"tokenURL":null,"set_user_root_attributes":"on_each_login","non_persistent_attrs":null},"strategy":"twitter","name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Twitter-TestAccConnectionTwitter"]}' - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ybYrfHIpKNl3wJwN - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_ybYrfHIpKNl3wJwN","options":{"tokenURL":null,"client_id":"someClientID","client_secret":"someClientSecret","authorizationURL":null,"non_persistent_attrs":null,"set_user_root_attributes":"on_each_login"},"strategy":"twitter","name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Twitter-TestAccConnectionTwitter"]}' - 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: 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.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ybYrfHIpKNl3wJwN - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_ybYrfHIpKNl3wJwN","options":{"tokenURL":null,"client_id":"someClientID","client_secret":"someClientSecret","authorizationURL":null,"non_persistent_attrs":null,"set_user_root_attributes":"on_each_login"},"strategy":"twitter","name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Twitter-TestAccConnectionTwitter"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ybYrfHIpKNl3wJwN - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_ybYrfHIpKNl3wJwN","options":{"tokenURL":null,"client_id":"someClientID","client_secret":"someClientSecret","authorizationURL":null,"non_persistent_attrs":null,"set_user_root_attributes":"on_each_login"},"strategy":"twitter","name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Twitter-TestAccConnectionTwitter"]}' - 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: 261 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"is_domain_connection":false,"options":{"client_id":"someClientID","client_secret":"someClientSecret","authorizationURL":null,"tokenURL":null,"scope":"basic_profile","set_user_root_attributes":"on_each_login","non_persistent_attrs":null,"pkce_enabled":false}} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ybYrfHIpKNl3wJwN - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_ybYrfHIpKNl3wJwN","options":{"scope":"basic_profile","tokenURL":null,"client_id":"someClientID","pkce_enabled":false,"client_secret":"someClientSecret","authorizationURL":null,"non_persistent_attrs":null,"set_user_root_attributes":"on_each_login"},"strategy":"twitter","name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Twitter-TestAccConnectionTwitter"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ybYrfHIpKNl3wJwN - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_ybYrfHIpKNl3wJwN","options":{"scope":"basic_profile","tokenURL":null,"client_id":"someClientID","pkce_enabled":false,"client_secret":"someClientSecret","authorizationURL":null,"non_persistent_attrs":null,"set_user_root_attributes":"on_each_login"},"strategy":"twitter","name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Twitter-TestAccConnectionTwitter"]}' - 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: 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.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ybYrfHIpKNl3wJwN - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_ybYrfHIpKNl3wJwN","options":{"scope":"basic_profile","tokenURL":null,"client_id":"someClientID","pkce_enabled":false,"client_secret":"someClientSecret","authorizationURL":null,"non_persistent_attrs":null,"set_user_root_attributes":"on_each_login"},"strategy":"twitter","name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Twitter-TestAccConnectionTwitter"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_ybYrfHIpKNl3wJwN - 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: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 238 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","strategy":"twitter","options":{"client_id":"someClientID","client_secret":"someClientSecret","authorizationURL":null,"tokenURL":null,"set_user_root_attributes":"on_each_login"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + 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: 377 + uncompressed: false + body: '{"id":"con_VjztzwMHd045xVt8","options":{"client_id":"someClientID","client_secret":"someClientSecret","authorizationURL":null,"tokenURL":null,"set_user_root_attributes":"on_each_login"},"strategy":"twitter","name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Twitter-TestAccConnectionTwitter"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 181.085458ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_VjztzwMHd045xVt8 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_VjztzwMHd045xVt8","options":{"client_id":"someClientID","client_secret":"someClientSecret","set_user_root_attributes":"on_each_login"},"strategy":"twitter","name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Twitter-TestAccConnectionTwitter"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 168.388333ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_VjztzwMHd045xVt8 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_VjztzwMHd045xVt8","options":{"client_id":"someClientID","client_secret":"someClientSecret","set_user_root_attributes":"on_each_login"},"strategy":"twitter","name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Twitter-TestAccConnectionTwitter"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 135.6995ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_VjztzwMHd045xVt8 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_VjztzwMHd045xVt8","options":{"client_id":"someClientID","client_secret":"someClientSecret","set_user_root_attributes":"on_each_login"},"strategy":"twitter","name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Twitter-TestAccConnectionTwitter"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 149.072375ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 185 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"options":{"client_id":"someClientID","client_secret":"someClientSecret","authorizationURL":null,"tokenURL":null,"set_user_root_attributes":"on_each_login","scope":["basic_profile"]}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_VjztzwMHd045xVt8 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_VjztzwMHd045xVt8","options":{"scope":["basic_profile"],"tokenURL":null,"client_id":"someClientID","client_secret":"someClientSecret","authorizationURL":null,"set_user_root_attributes":"on_each_login"},"strategy":"twitter","name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Twitter-TestAccConnectionTwitter"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 172.520375ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_VjztzwMHd045xVt8 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_VjztzwMHd045xVt8","options":{"scope":["basic_profile"],"client_id":"someClientID","client_secret":"someClientSecret","set_user_root_attributes":"on_each_login"},"strategy":"twitter","name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Twitter-TestAccConnectionTwitter"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 168.744791ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_VjztzwMHd045xVt8 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_VjztzwMHd045xVt8","options":{"scope":["basic_profile"],"client_id":"someClientID","client_secret":"someClientSecret","set_user_root_attributes":"on_each_login"},"strategy":"twitter","name":"Acceptance-Test-Twitter-TestAccConnectionTwitter","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Twitter-TestAccConnectionTwitter"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 150.202875ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_VjztzwMHd045xVt8 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 41 + uncompressed: false + body: '{"deleted_at":"2024-09-12T21:26:27.668Z"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 202 Accepted + code: 202 + duration: 154.267208ms diff --git a/test/data/recordings/TestAccConnectionWindowslive.yaml b/test/data/recordings/TestAccConnectionWindowslive.yaml index cb9492f9e..c471dfefd 100644 --- a/test/data/recordings/TestAccConnectionWindowslive.yaml +++ b/test/data/recordings/TestAccConnectionWindowslive.yaml @@ -1,290 +1,285 @@ --- version: 2 interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 328 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","strategy":"windowslive","is_domain_connection":false,"options":{"client_id":"client_id","client_secret":"client_secret","strategy_version":2,"graph_user":true,"signin":true,"non_persistent_attrs":null,"upstream_params":{"screen_name":{"alias":"login_hint"}}}} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - 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: -1 - uncompressed: false - body: '{"id":"con_0V3JboomO8cG73H0","options":{"client_id":"client_id","client_secret":"client_secret","strategy_version":2,"graph_user":true,"signin":true,"non_persistent_attrs":null,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["https://graph.microsoft.com/User.Read"]},"strategy":"windowslive","name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Windowslive-TestAccConnectionWindowslive"]}' - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0V3JboomO8cG73H0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_0V3JboomO8cG73H0","options":{"scope":["https://graph.microsoft.com/User.Read"],"signin":true,"client_id":"client_id","graph_user":true,"client_secret":"client_secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"non_persistent_attrs":null},"strategy":"windowslive","name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Windowslive-TestAccConnectionWindowslive"]}' - 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: 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.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0V3JboomO8cG73H0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_0V3JboomO8cG73H0","options":{"scope":["https://graph.microsoft.com/User.Read"],"signin":true,"client_id":"client_id","graph_user":true,"client_secret":"client_secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"non_persistent_attrs":null},"strategy":"windowslive","name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Windowslive-TestAccConnectionWindowslive"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0V3JboomO8cG73H0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_0V3JboomO8cG73H0","options":{"scope":["https://graph.microsoft.com/User.Read"],"signin":true,"client_id":"client_id","graph_user":true,"client_secret":"client_secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2,"non_persistent_attrs":null},"strategy":"windowslive","name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Windowslive-TestAccConnectionWindowslive"]}' - 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: 195 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"is_domain_connection":false,"options":{"client_id":"client_id_update","client_secret":"client_secret_update","strategy_version":2,"graph_user":false,"signin":true,"non_persistent_attrs":null}} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0V3JboomO8cG73H0 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_0V3JboomO8cG73H0","options":{"scope":[],"signin":true,"client_id":"client_id_update","graph_user":false,"client_secret":"client_secret_update","strategy_version":2,"non_persistent_attrs":null},"strategy":"windowslive","name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Windowslive-TestAccConnectionWindowslive"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - 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/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0V3JboomO8cG73H0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_0V3JboomO8cG73H0","options":{"scope":[],"signin":true,"client_id":"client_id_update","graph_user":false,"client_secret":"client_secret_update","strategy_version":2,"non_persistent_attrs":null},"strategy":"windowslive","name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Windowslive-TestAccConnectionWindowslive"]}' - 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: 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.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0V3JboomO8cG73H0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"con_0V3JboomO8cG73H0","options":{"scope":[],"signin":true,"client_id":"client_id_update","graph_user":false,"client_secret":"client_secret_update","strategy_version":2,"non_persistent_attrs":null},"strategy":"windowslive","name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Windowslive-TestAccConnectionWindowslive"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_0V3JboomO8cG73H0 - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: false - body: '{"deleted_at":"2022-08-30T09:00:09.243Z"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 202 Accepted - code: 202 - duration: 1ms + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 300 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","strategy":"windowslive","is_domain_connection":false,"options":{"client_id":"client_id","client_secret":"client_secret","strategy_version":2,"graph_user":true,"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + 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: 468 + uncompressed: false + body: '{"id":"con_XLYlaG3JSVerDmya","options":{"client_id":"client_id","client_secret":"client_secret","strategy_version":2,"graph_user":true,"signin":true,"upstream_params":{"screen_name":{"alias":"login_hint"}},"scope":["https://graph.microsoft.com/User.Read"]},"strategy":"windowslive","name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Windowslive-TestAccConnectionWindowslive"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 159.266667ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_XLYlaG3JSVerDmya + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_XLYlaG3JSVerDmya","options":{"scope":["https://graph.microsoft.com/User.Read"],"signin":true,"client_id":"client_id","graph_user":true,"client_secret":"client_secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"windowslive","name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Windowslive-TestAccConnectionWindowslive"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 139.409583ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_XLYlaG3JSVerDmya + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_XLYlaG3JSVerDmya","options":{"scope":["https://graph.microsoft.com/User.Read"],"signin":true,"client_id":"client_id","graph_user":true,"client_secret":"client_secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"windowslive","name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Windowslive-TestAccConnectionWindowslive"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 152.591667ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_XLYlaG3JSVerDmya + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_XLYlaG3JSVerDmya","options":{"scope":["https://graph.microsoft.com/User.Read"],"signin":true,"client_id":"client_id","graph_user":true,"client_secret":"client_secret","upstream_params":{"screen_name":{"alias":"login_hint"}},"strategy_version":2},"strategy":"windowslive","name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Windowslive-TestAccConnectionWindowslive"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 143.799292ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 167 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"is_domain_connection":false,"options":{"client_id":"client_id_update","client_secret":"client_secret_update","strategy_version":2,"graph_user":false,"signin":true}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_XLYlaG3JSVerDmya + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_XLYlaG3JSVerDmya","options":{"scope":[],"signin":true,"client_id":"client_id_update","graph_user":false,"client_secret":"client_secret_update","strategy_version":2},"strategy":"windowslive","name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Windowslive-TestAccConnectionWindowslive"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 164.294917ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_XLYlaG3JSVerDmya + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_XLYlaG3JSVerDmya","options":{"scope":[],"signin":true,"client_id":"client_id_update","graph_user":false,"client_secret":"client_secret_update","strategy_version":2},"strategy":"windowslive","name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Windowslive-TestAccConnectionWindowslive"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 147.829166ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_XLYlaG3JSVerDmya + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"con_XLYlaG3JSVerDmya","options":{"scope":[],"signin":true,"client_id":"client_id_update","graph_user":false,"client_secret":"client_secret_update","strategy_version":2},"strategy":"windowslive","name":"Acceptance-Test-Windowslive-TestAccConnectionWindowslive","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Windowslive-TestAccConnectionWindowslive"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 175.602209ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.10.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_XLYlaG3JSVerDmya + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 41 + uncompressed: false + body: '{"deleted_at":"2024-09-12T21:26:38.963Z"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 202 Accepted + code: 202 + duration: 140.238ms