From 93b6a2a3bff8c3afb34789ce1edcbe9c59d430c4 Mon Sep 17 00:00:00 2001 From: Sergiu Ghitea <28300158+sergiught@users.noreply.github.com> Date: Tue, 25 Jul 2023 15:39:04 +0200 Subject: [PATCH] Add support for DecryptionKey on SAML Connection Options --- docs/data-sources/connection.md | 10 +++ docs/resources/connection.md | 22 +++++- .../auth0_connection/resource_with_saml.tf | 12 ++- go.mod | 2 +- go.sum | 9 +++ internal/auth0/connection/expand.go | 9 +++ internal/auth0/connection/flatten.go | 13 ++- internal/auth0/connection/resource_test.go | 79 ++++++++++++------- internal/auth0/connection/schema.go | 19 +++++ .../recordings/TestAccConnectionSAML.yaml | 70 ++++++++-------- 10 files changed, 176 insertions(+), 69 deletions(-) diff --git a/docs/data-sources/connection.md b/docs/data-sources/connection.md index 8dfe81a1f..dfc416c55 100644 --- a/docs/data-sources/connection.md +++ b/docs/data-sources/connection.md @@ -60,6 +60,7 @@ Read-Only: - `configuration` (Map of String) - `custom_scripts` (Map of String) - `debug` (Boolean) +- `decryption_key` (List of Object) (see [below for nested schema](#nestedobjatt--options--decryption_key)) - `digest_algorithm` (String) - `disable_cache` (Boolean) - `disable_self_service_change_password` (Boolean) @@ -134,6 +135,15 @@ Read-Only: - `waad_common_endpoint` (Boolean) - `waad_protocol` (String) + +### Nested Schema for `options.decryption_key` + +Read-Only: + +- `cert` (String) +- `key` (String) + + ### Nested Schema for `options.gateway_authentication` diff --git a/docs/resources/connection.md b/docs/resources/connection.md index 204f28212..c2934ac2d 100644 --- a/docs/resources/connection.md +++ b/docs/resources/connection.md @@ -484,17 +484,25 @@ resource "auth0_connection" "samlp" { - EOF - metadata_url = "https://saml.provider/imi/ns/FederationMetadata.xml" # Use either metadata_url or metadata_xml but not simultanteously + EOF + metadata_url = "https://saml.provider/imi/ns/FederationMetadata.xml" # Use either metadata_url or metadata_xml, but not both. + fields_map = jsonencode({ "name" : ["name", "nameidentifier"] "email" : ["emailaddress", "nameidentifier"] "family_name" : "surname" }) + signing_key { 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-----" } + + decryption_key { + 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-----" + } + idp_initiated { client_id = "client_id" client_protocol = "samlp" @@ -629,6 +637,7 @@ Optional: - `configuration` (Map of String, Sensitive) A case-sensitive map of key value pairs used as configuration variables for the `custom_script`. - `custom_scripts` (Map of String) A map of scripts used to integrate with a custom database. - `debug` (Boolean) When enabled, additional debug information will be generated. +- `decryption_key` (Block List, Max: 1) The key used to decrypt encrypted responses from the connection. Uses the `key` and `cert` properties to provide the private key and certificate respectively. (see [below for nested schema](#nestedblock--options--decryption_key)) - `digest_algorithm` (String) Sign Request Algorithm Digest. - `disable_cache` (Boolean) Indicates whether to disable the cache or not. - `disable_self_service_change_password` (Boolean) Indicates whether to remove the forgot password link within the New Universal Login. @@ -703,6 +712,15 @@ Optional: - `waad_common_endpoint` (Boolean) Indicates whether to use the common endpoint rather than the default endpoint. Typically enabled if you're using this for a multi-tenant application in Azure AD. - `waad_protocol` (String) Protocol to use. + +### Nested Schema for `options.decryption_key` + +Required: + +- `cert` (String) +- `key` (String) + + ### Nested Schema for `options.gateway_authentication` diff --git a/examples/resources/auth0_connection/resource_with_saml.tf b/examples/resources/auth0_connection/resource_with_saml.tf index 447e8c6a3..a83672ef7 100644 --- a/examples/resources/auth0_connection/resource_with_saml.tf +++ b/examples/resources/auth0_connection/resource_with_saml.tf @@ -27,17 +27,25 @@ resource "auth0_connection" "samlp" { - EOF - metadata_url = "https://saml.provider/imi/ns/FederationMetadata.xml" # Use either metadata_url or metadata_xml but not simultanteously + EOF + metadata_url = "https://saml.provider/imi/ns/FederationMetadata.xml" # Use either metadata_url or metadata_xml, but not both. + fields_map = jsonencode({ "name" : ["name", "nameidentifier"] "email" : ["emailaddress", "nameidentifier"] "family_name" : "surname" }) + signing_key { 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-----" } + + decryption_key { + 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-----" + } + idp_initiated { client_id = "client_id" client_protocol = "samlp" diff --git a/go.mod b/go.mod index 688011470..3d3bd214b 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/auth0/terraform-provider-auth0 go 1.20 require ( - github.com/auth0/go-auth0 v1.0.0-beta.0 + github.com/auth0/go-auth0 v0.0.0-20230725103029-dbbff32236a1 github.com/google/go-cmp v0.5.9 github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 github.com/hashicorp/go-multierror v1.1.1 diff --git a/go.sum b/go.sum index 6a2e45b64..08b504030 100644 --- a/go.sum +++ b/go.sum @@ -19,6 +19,8 @@ github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkE github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= 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 v0.0.0-20230725103029-dbbff32236a1 h1:5UAS3lTJwvsHw85kFb7vBVhKC58/FoMymc9l6q5aXm4= +github.com/auth0/go-auth0 v0.0.0-20230725103029-dbbff32236a1/go.mod h1:7OZQ4Jq33xbeMHI1ohaC8BKOW71kkaWWREILoh9vu+0= github.com/auth0/go-auth0 v1.0.0-beta.0 h1:D6yfH9kI4oU++7uvGZfpCe4UA8ria8e7dBcv470x6p8= github.com/auth0/go-auth0 v1.0.0-beta.0/go.mod h1:7OZQ4Jq33xbeMHI1ohaC8BKOW71kkaWWREILoh9vu+0= github.com/aybabtme/iocontrol v0.0.0-20150809002002-ad15bcfc95a0 h1:0NmehRCgyk5rljDQLKUO+cRJCnduDyn11+zGZIc9Z48= @@ -41,6 +43,7 @@ github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= +github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= github.com/go-git/go-billy/v5 v5.4.1 h1:Uwp5tDRkPr+l/TnbHOQzp+tmJfLceOlbVucgpTz8ix4= github.com/go-git/go-git/v5 v5.6.1 h1:q4ZRqQl4pR/ZJHc1L5CFjGA1a10u76aV1iC+nh+bHsk= github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= @@ -112,6 +115,7 @@ github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= +github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jhump/protoreflect v1.6.0 h1:h5jfMVslIg6l29nsMs0D8Wj17RDVdNYti0vDN/PZZoE= github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= @@ -120,6 +124,7 @@ github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= @@ -136,6 +141,7 @@ github.com/mitchellh/cli v1.1.5/go.mod h1:v8+iFts2sPIKUV1ltktPXMCC8fumSKFItNcD2c github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= +github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU= github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8= github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= @@ -156,6 +162,7 @@ github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSg github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k= github.com/russross/blackfriday v1.6.0 h1:KqfZb0pUVN2lYqZUYRddxF4OR8ZMURnJIG5Y3VRLtww= github.com/russross/blackfriday v1.6.0/go.mod h1:ti0ldHuxg49ri4ksnFxlkCfN+hvslNlmVHqNRXXJNAY= +github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4= github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= @@ -183,6 +190,7 @@ github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0= github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= +github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20200414173820-0848c9571904/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= @@ -242,6 +250,7 @@ gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/dnaeon/go-vcr.v3 v3.1.2 h1:F1smfXBqQqwpVifDfUBQG6zzaGjzT+EnVZakrOdr5wA= gopkg.in/dnaeon/go-vcr.v3 v3.1.2/go.mod h1:2IMOnnlx9I6u9x+YBsM3tAMx6AlOxnJ0pWxQAzZ79Ag= gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= +gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/internal/auth0/connection/expand.go b/internal/auth0/connection/expand.go index 4f730d81f..cf1b087aa 100644 --- a/internal/auth0/connection/expand.go +++ b/internal/auth0/connection/expand.go @@ -701,6 +701,15 @@ func expandConnectionOptionsSAML(config cty.Value) (*management.ConnectionOption return stop }) + config.GetAttr("decryption_key").ForEachElement(func(_ cty.Value, key cty.Value) (stop bool) { + options.DecryptionKey = &management.ConnectionOptionsSAMLDecryptionKey{ + Cert: value.String(key.GetAttr("cert")), + Key: value.String(key.GetAttr("key")), + } + + return stop + }) + var err error options.FieldsMap, err = value.MapFromJSON(config.GetAttr("fields_map")) diff --git a/internal/auth0/connection/flatten.go b/internal/auth0/connection/flatten.go index 7baf66bea..0b8dcece3 100644 --- a/internal/auth0/connection/flatten.go +++ b/internal/auth0/connection/flatten.go @@ -643,8 +643,17 @@ func flattenConnectionOptionsSAML( if options.SigningKey != nil { m["signing_key"] = []interface{}{ map[string]interface{}{ - "key": options.SigningKey.GetKey(), - "cert": options.SigningKey.GetCert(), + "key": options.GetSigningKey().GetKey(), + "cert": options.GetSigningKey().GetCert(), + }, + } + } + + if options.DecryptionKey != nil { + m["decryption_key"] = []interface{}{ + map[string]interface{}{ + "key": options.GetDecryptionKey().GetKey(), + "cert": options.GetDecryptionKey().GetCert(), }, } } diff --git a/internal/auth0/connection/resource_test.go b/internal/auth0/connection/resource_test.go index 8f4e35c20..441998d27 100644 --- a/internal/auth0/connection/resource_test.go +++ b/internal/auth0/connection/resource_test.go @@ -1712,6 +1712,9 @@ func TestAccConnectionSAML(t *testing.T) { resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.signing_key.#", "1"), resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.signing_key.0.cert", "-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"), resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.signing_key.0.key", "-----BEGIN PRIVATE KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"), + resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.decryption_key.#", "1"), + resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.decryption_key.0.key", "-----BEGIN PRIVATE KEY-----\n...{your private key here}...\n-----END PRIVATE KEY-----"), + resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.decryption_key.0.cert", "-----BEGIN CERTIFICATE-----\n...{your public key cert here}...\n-----END CERTIFICATE-----"), resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.upstream_params", "{\"screen_name\":{\"alias\":\"login_hint\"}}"), resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.set_user_root_attributes", "on_each_login"), ), @@ -1733,6 +1736,9 @@ func TestAccConnectionSAML(t *testing.T) { resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.signing_key.#", "0"), resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.upstream_params", ""), resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.set_user_root_attributes", "on_first_login"), + resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.decryption_key.#", "1"), + resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.decryption_key.0.key", "-----BEGIN PRIVATE KEY-----\n...{your updated private key here}...\n-----END PRIVATE KEY-----"), + resource.TestCheckResourceAttr("auth0_connection.my_connection", "options.0.decryption_key.0.cert", "-----BEGIN CERTIFICATE-----\n...{your updated public key cert here}...\n-----END CERTIFICATE-----"), ), }, }, @@ -1741,40 +1747,51 @@ func TestAccConnectionSAML(t *testing.T) { const testConnectionSAMLConfigCreate = ` resource "auth0_connection" "my_connection" { - name = "Acceptance-Test-SAML-{{.testName}}" - display_name = "Acceptance-Test-SAML-{{.testName}}" - strategy = "samlp" + name = "Acceptance-Test-SAML-{{.testName}}" + display_name = "Acceptance-Test-SAML-{{.testName}}" + strategy = "samlp" show_as_button = false + options { 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" } - disable_sign_out = false - user_id_attribute = "https://saml.provider/imi/ns/identity-200810" - tenant_domain = "example.com" - domain_aliases = ["example.com", "example.coz"] - protocol_binding = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" - request_template = "\n @@Issuer@@\n" - signature_algorithm = "rsa-sha256" - digest_algorithm = "sha256" - icon_url = "https://example.com/logo.svg" + + decryption_key { + 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-----" + } + + disable_sign_out = false + user_id_attribute = "https://saml.provider/imi/ns/identity-200810" + tenant_domain = "example.com" + domain_aliases = ["example.com", "example.coz"] + protocol_binding = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" + request_template = "\n @@Issuer@@\n" + signature_algorithm = "rsa-sha256" + digest_algorithm = "sha256" + icon_url = "https://example.com/logo.svg" set_user_root_attributes = "on_each_login" + fields_map = jsonencode({ "name": ["name", "nameidentifier"] "email": ["emailaddress", "nameidentifier"] "family_name": "surname" }) + upstream_params = jsonencode({ "screen_name": { "alias": "login_hint" } }) + idp_initiated { - client_id = "client_id" - client_protocol = "samlp" + client_id = "client_id" + client_protocol = "samlp" client_authorize_query = "type=code&timeout=30" } + metadata_xml = < @@ -1818,30 +1835,38 @@ resource "auth0_connection" "my_connection" { const testConnectionSAMLConfigUpdate = ` resource "auth0_connection" "my_connection" { - name = "Acceptance-Test-SAML-{{.testName}}" - display_name = "Acceptance-Test-SAML-{{.testName}}" - strategy = "samlp" + name = "Acceptance-Test-SAML-{{.testName}}" + display_name = "Acceptance-Test-SAML-{{.testName}}" + strategy = "samlp" show_as_button = true + options { - disable_sign_out = true - tenant_domain = "example.com" - domain_aliases = ["example.com", "example.coz"] - protocol_binding = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" - signature_algorithm = "rsa-sha256" - digest_algorithm = "sha256" - entity_id = "example" + disable_sign_out = true + tenant_domain = "example.com" + domain_aliases = ["example.com", "example.coz"] + protocol_binding = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" + signature_algorithm = "rsa-sha256" + digest_algorithm = "sha256" + entity_id = "example" set_user_root_attributes = "on_first_login" + metadata_url = "https://raw.githubusercontent.com/auth0/terraform-provider-auth0/132b28c30dfafbe018db0efe3ce2c98c452d4f9c/test/data/saml_metadata.xml" # dictates 'sign_in_endpoint' and 'sign_in_endpoint' + fields_map = jsonencode({ "name": ["name"] "email": ["emailaddress", "nameidentifier"] "family_name": "appelido" }) + idp_initiated { - client_id = "client_id" - client_protocol = "samlp" + client_id = "client_id" + client_protocol = "samlp" client_authorize_query = "type=code&timeout=60" } - metadata_url = "https://raw.githubusercontent.com/auth0/terraform-provider-auth0/132b28c30dfafbe018db0efe3ce2c98c452d4f9c/test/data/saml_metadata.xml" # dictates 'sign_in_endpoint' and 'sign_in_endpoint' + + decryption_key { + 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-----" + } } } ` diff --git a/internal/auth0/connection/schema.go b/internal/auth0/connection/schema.go index 24f879ff1..467796c93 100644 --- a/internal/auth0/connection/schema.go +++ b/internal/auth0/connection/schema.go @@ -633,6 +633,25 @@ var resourceSchema = map[string]*schema.Schema{ }, }, }, + "decryption_key": { + Type: schema.TypeList, + Optional: true, + MaxItems: 1, + Description: "The key used to decrypt encrypted responses from the connection. " + + "Uses the `key` and `cert` properties to provide the private key and certificate respectively.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "key": { + Type: schema.TypeString, + Required: true, + }, + "cert": { + Type: schema.TypeString, + Required: true, + }, + }, + }, + }, "protocol_binding": { Type: schema.TypeString, Optional: true, diff --git a/test/data/recordings/TestAccConnectionSAML.yaml b/test/data/recordings/TestAccConnectionSAML.yaml index e0673b7c3..c566d230a 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: 4310 + content_length: 4521 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"},"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":{"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 BAYTAkFVMRM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SLgwKH3mJ+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-SDK/0.17.2 + - Go-Auth0/latest url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: -1 uncompressed: false - body: '{"id":"con_k3jrXxfgsJF79S4B","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"},"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":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3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0tLQo=","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/tREbDBRX","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' + body: '{"id":"con_s59El9X1QIPceEjV","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":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW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ml-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/GkZHCRUg","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: 140.773042ms + duration: 150.542ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,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_k3jrXxfgsJF79S4B + - Go-Auth0/latest + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_s59El9X1QIPceEjV method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_k3jrXxfgsJF79S4B","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp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Qrm3reiSl5BLvpj1WSpCsYvs5kaO4vFpMak\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":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjE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iL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","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","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/tREbDBRX","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' + body: '{"id":"con_s59El9X1QIPceEjV","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaX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bHplKYkwFm7f5ORGHDSD5SJm+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":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE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----\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/GkZHCRUg","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: 191.157167ms + duration: 125.433208ms - id: 2 request: proto: HTTP/1.1 @@ -91,8 +91,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_k3jrXxfgsJF79S4B + - Go-Auth0/latest + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_s59El9X1QIPceEjV method: GET response: proto: HTTP/2.0 @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_k3jrXxfgsJF79S4B","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":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ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3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","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","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/tREbDBRX","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' + body: '{"id":"con_s59El9X1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V6VdLFdWeFp1b/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":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg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RFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","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/GkZHCRUg","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: 120.90075ms + duration: 150.640958ms - id: 3 request: proto: HTTP/1.1 @@ -127,8 +127,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_k3jrXxfgsJF79S4B + - Go-Auth0/latest + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_s59El9X1QIPceEjV method: GET response: proto: HTTP/2.0 @@ -138,33 +138,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_k3jrXxfgsJF79S4B","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":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFR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S1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","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","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/tREbDBRX","is_domain_connection":false,"show_as_button":false,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' + body: '{"id":"con_s59El9X1QIPceEjV","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":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcW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Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","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/GkZHCRUg","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: 106.225333ms + duration: 117.17475ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 754 + content_length: 981 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","show_as_button":true,"options":{"idpinitiated":{"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code\u0026timeout=60"},"protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","tenant_domain":"example.com","domain_aliases":["example.com","example.coz"],"disableSignout":true,"signatureAlgorithm":"rsa-sha256","digestAlgorithm":"sha256","metadataUrl":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/132b28c30dfafbe018db0efe3ce2c98c452d4f9c/test/data/saml_metadata.xml","fieldsMap":{"email":["emailaddress","nameidentifier"],"family_name":"appelido","name":["name"]},"entityId":"example","set_user_root_attributes":"on_first_login"}} + {"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","show_as_button":true,"options":{"idpinitiated":{"client_id":"client_id","client_protocol":"samlp","client_authorizequery":"type=code\u0026timeout=60"},"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-----"},"protocolBinding":"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST","tenant_domain":"example.com","domain_aliases":["example.com","example.coz"],"disableSignout":true,"signatureAlgorithm":"rsa-sha256","digestAlgorithm":"sha256","metadataUrl":"https://raw.githubusercontent.com/auth0/terraform-provider-auth0/132b28c30dfafbe018db0efe3ce2c98c452d4f9c/test/data/saml_metadata.xml","fieldsMap":{"email":["emailaddress","nameidentifier"],"family_name":"appelido","name":["name"]},"entityId":"example","set_user_root_attributes":"on_first_login"}} 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_k3jrXxfgsJF79S4B + - Go-Auth0/latest + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_s59El9X1QIPceEjV method: PATCH response: proto: HTTP/2.0 @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_k3jrXxfgsJF79S4B","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":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h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Nhek1Bd0dBMVVkRXdRRgpNQU1CQWY4d0RRWUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFCdzd3LzVrNGQ1ZFZEZ2QvT09PbVhkYWFDSUt2dDdkCjNudGx2MVNTdkFvS1Q4ZDhsdDk3RG01UnJtZWZCSTEzSTJ5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","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","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/tREbDBRX","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' + body: '{"id":"con_s59El9X1QIPceEjV","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":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFF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FpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","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/GkZHCRUg","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: 332.450459ms + duration: 192.154167ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,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_k3jrXxfgsJF79S4B + - Go-Auth0/latest + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_s59El9X1QIPceEjV method: GET response: proto: HTTP/2.0 @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_k3jrXxfgsJF79S4B","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":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5d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5aXZaZzViZlRnZTQrdkFWNlZkTEZkV2VGcDFiL0YKT1prWVV2NkE4bzVIVzBPV1FZVlgyNnpJcUJjRzJRcm0zcmVpU2w1Qkx2cGoxV1NwQ3NZdnM1a2FPNHZGcE1hawovSUNnZFpEK3J4d3hmOFZiLzZmbnRLeXdXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","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","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/tREbDBRX","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' + body: '{"id":"con_s59El9X1QIPceEjV","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCz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xf8Vb/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":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a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KUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","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/GkZHCRUg","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: 117.580708ms + duration: 100.438042ms - id: 6 request: proto: HTTP/1.1 @@ -235,8 +235,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_k3jrXxfgsJF79S4B + - Go-Auth0/latest + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_s59El9X1QIPceEjV method: GET response: proto: HTTP/2.0 @@ -246,13 +246,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_k3jrXxfgsJF79S4B","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":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGS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dXU0xnd0tIM21KK1owa1JscHExZzFvaWVpT20xL2dwWjM1czBZdW9yClhaYmE5cHRmTENZU2dnZy9xYzNkM2QwdGJIcGxLWWt3Rm03ZjVPUkdIRFNENVNKbStnSTdSUEUrNGJPOHE3OVIKUEFmYkcxVUd1SjBiL29pZ2FnY2lIaEpwODUxU1FSWWYzSnVOU2MxN0JuSzJMNUlFdHpqcXIrUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","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","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/tREbDBRX","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-SAML-TestAccConnectionSAML","enabled_clients":[],"realms":["Acceptance-Test-SAML-TestAccConnectionSAML"]}' + body: '{"id":"con_s59El9X1QIPceEjV","options":{"cert":"-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMKR/NsyfcazMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTIxMTEyMjM0MzQxWhcNMTYxMjIxMjM0MzQxWjBF\nMQswCQYDVQQGEwJBVTETMB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5IEtzjqr+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":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR0VENDQXAyZ0F3SUJBZ0lKQU1LUi9Oc3lmY2F6TUEwR0NTcUdTSWIzRFFFQkJRVUFNRVV4Q3pBSkJnTlYKQkFZVEFrRlZNUk13RVFZRFZRUUlFd3BUYjIxbExWTjBZWFJsTVNFd0h3WURWUVFLRXhoSmJuUmxjbTVsZENCWAphV1JuYVhSeklGQjBlU0JNZEdRd0hoY05NVEl4TVRFeU1qTTBNelF4V2hjTk1UWXhNakl4TWpNME16UXhXakJGCk1Rc3dDUVlEVlFRR0V3SkJWVEVUTUJFR0ExVUVDQk1LVTI5dFpTMVRkR0YwWlRFaE1COEdBMVVFQ2hNWVNXNTAKWlhKdVpYUWdWMmxrWjJsMGN5QlFkSGtnVEhSa01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQgpDZ0tDQVFFQXZ0SDR3S0xZbElYWmxmWVFGSnRYWlZDM2ZEOFhNYXJ6d3ZiL2ZIVXlKNk52TlN0TitIN0dIcDMvClFoWmJTYVJ5cUs1aHU1eFh0RkxnbkkwUUc4b0UxTmxYYmN6akg0NUxlSFdoUElkYzJ1SFNwelhpYzc4a091Z00KWTF2bmc0SjEwUEY2K1QyRk5haXYwaVhlSVFxOXhid3dQWXBmbFZpUXlKbnpHQ0laN1ZHYW42R2JSS3p5VEtjQgo1OHl4MjRwSnErQ3ZpTFhFWTUyVElXMWw1aW1jakd2THRsQ3AxemE5cUJaYTRYR29WcUhpM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ated":{"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/GkZHCRUg","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.86825ms + duration: 107.859958ms - id: 7 request: proto: HTTP/1.1 @@ -270,8 +270,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_k3jrXxfgsJF79S4B + - Go-Auth0/latest + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_s59El9X1QIPceEjV method: DELETE response: proto: HTTP/2.0 @@ -281,10 +281,10 @@ interactions: trailer: {} content_length: 41 uncompressed: false - body: '{"deleted_at":"2023-06-05T12:07:11.756Z"}' + body: '{"deleted_at":"2023-07-25T13:38:32.982Z"}' headers: Content-Type: - application/json; charset=utf-8 status: 202 Accepted code: 202 - duration: 153.195ms + duration: 246.529166ms