From 66118914fed86bb81e283a71940c4340a39e03e1 Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Fri, 26 Sep 2025 15:42:59 +0100 Subject: [PATCH 1/3] feat: support auth0_organization_discovery_domain resource --- .../organization_discovery_domain.md | 28 ++ go.mod | 2 +- go.sum | 2 + internal/auth0/organization/expand.go | 10 + internal/auth0/organization/flatten.go | 13 + .../organization/resource_discovery_domain.go | 136 +++++ .../resource_discovery_domain_test.go | 103 ++++ internal/provider/provider.go | 1 + .../TestAccOrganizationDiscoveryDomain.yaml | 474 ++++++++++++++++++ ...AccOrganizationDiscoveryDomain_Import.yaml | 306 +++++++++++ .../TestAccOutboundIPsDataSource.yaml | 3 + 11 files changed, 1077 insertions(+), 1 deletion(-) create mode 100644 docs/resources/organization_discovery_domain.md create mode 100644 internal/auth0/organization/resource_discovery_domain.go create mode 100644 internal/auth0/organization/resource_discovery_domain_test.go create mode 100644 test/data/recordings/TestAccOrganizationDiscoveryDomain.yaml create mode 100644 test/data/recordings/TestAccOrganizationDiscoveryDomain_Import.yaml create mode 100644 test/data/recordings/TestAccOutboundIPsDataSource.yaml diff --git a/docs/resources/organization_discovery_domain.md b/docs/resources/organization_discovery_domain.md new file mode 100644 index 000000000..0b1844b4f --- /dev/null +++ b/docs/resources/organization_discovery_domain.md @@ -0,0 +1,28 @@ +--- +page_title: "Resource: auth0_organization_discovery_domain" +description: |- + Manage organization discovery domains for Home Realm Discovery. These domains help automatically route users to the correct organization based on their email domain. +--- + +# Resource: auth0_organization_discovery_domain + +Manage organization discovery domains for Home Realm Discovery. These domains help automatically route users to the correct organization based on their email domain. + + + + +## Schema + +### Required + +- `domain` (String) The domain name for organization discovery. +- `organization_id` (String) The ID of the organization. +- `status` (String) Verification status. Must be either 'pending' or 'verified'. + +### Read-Only + +- `id` (String) The ID of this resource. +- `verification_host` (String) The full domain where the TXT record should be added. +- `verification_txt` (String) TXT record value for domain verification. + + diff --git a/go.mod b/go.mod index 1dbfc2560..ab91fdf4b 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ toolchain go1.24.7 require ( github.com/PuerkitoBio/rehttp v1.4.0 - github.com/auth0/go-auth0 v1.30.0 + github.com/auth0/go-auth0 v1.30.1-0.20251016080035-af408378465e github.com/google/go-cmp v0.7.0 github.com/hashicorp/go-cty v1.5.0 github.com/hashicorp/go-multierror v1.1.1 diff --git a/go.sum b/go.sum index dc5ff906d..bdf71200b 100644 --- a/go.sum +++ b/go.sum @@ -28,6 +28,8 @@ 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.30.0 h1:LZUWkvhyvaqzRYjP+mywc3141cP7bI6EsjaUX0t+mcw= github.com/auth0/go-auth0 v1.30.0/go.mod h1:32sQB1uAn+99fJo6N819EniKq8h785p0ag0lMWhiTaE= +github.com/auth0/go-auth0 v1.30.1-0.20251016080035-af408378465e h1:u9DjX/L2elmJSN2+dM2jOiczUX0fxtIEpwkBgyZEoXU= +github.com/auth0/go-auth0 v1.30.1-0.20251016080035-af408378465e/go.mod h1:32sQB1uAn+99fJo6N819EniKq8h785p0ag0lMWhiTaE= 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= diff --git a/internal/auth0/organization/expand.go b/internal/auth0/organization/expand.go index b20d7cf76..99e79d0cd 100644 --- a/internal/auth0/organization/expand.go +++ b/internal/auth0/organization/expand.go @@ -80,3 +80,13 @@ func fetchNullableFields(data *schema.ResourceData) map[string]interface{} { return nullableMap } + +func expandOrganizationDiscoveryDomain(data *schema.ResourceData) *management.OrganizationDiscoveryDomain { + cfg := data.GetRawConfig() + + return &management.OrganizationDiscoveryDomain{ + Domain: value.String(cfg.GetAttr("domain")), + Status: value.String(cfg.GetAttr("status")), + // Note: ID, VerificationTXT, and VerificationHost are read-only and should not be sent to the API. + } +} diff --git a/internal/auth0/organization/flatten.go b/internal/auth0/organization/flatten.go index 81a33d0e2..6615cb6e4 100644 --- a/internal/auth0/organization/flatten.go +++ b/internal/auth0/organization/flatten.go @@ -129,3 +129,16 @@ func flattenOrganizationClientGrantsSlice(clientGrants []*management.ClientGrant } return flattenedClientGrants } + +func flattenOrganizationDiscoveryDomain(data *schema.ResourceData, discoveryDomain *management.OrganizationDiscoveryDomain, organizationID string) error { + result := multierror.Append( + data.Set("organization_id", organizationID), + data.Set("id", discoveryDomain.GetID()), + data.Set("domain", discoveryDomain.GetDomain()), + data.Set("status", discoveryDomain.GetStatus()), + data.Set("verification_txt", discoveryDomain.GetVerificationTXT()), + data.Set("verification_host", discoveryDomain.GetVerificationHost()), + ) + + return result.ErrorOrNil() +} diff --git a/internal/auth0/organization/resource_discovery_domain.go b/internal/auth0/organization/resource_discovery_domain.go new file mode 100644 index 000000000..8d72bf4f7 --- /dev/null +++ b/internal/auth0/organization/resource_discovery_domain.go @@ -0,0 +1,136 @@ +package organization + +import ( + "context" + "fmt" + "strings" + + "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" + + "github.com/auth0/terraform-provider-auth0/internal/config" + internalError "github.com/auth0/terraform-provider-auth0/internal/error" + internalSchema "github.com/auth0/terraform-provider-auth0/internal/schema" +) + +// NewDiscoveryDomainResource will return a new auth0_organization_discovery_domain resource. +func NewDiscoveryDomainResource() *schema.Resource { + return &schema.Resource{ + CreateContext: createOrganizationDiscoveryDomain, + ReadContext: readOrganizationDiscoveryDomain, + UpdateContext: updateOrganizationDiscoveryDomain, + DeleteContext: deleteOrganizationDiscoveryDomain, + Importer: &schema.ResourceImporter{ + StateContext: internalSchema.ImportResourceGroupID("organization_id", "id"), + }, + Description: "Manage organization discovery domains for Home Realm Discovery. These domains help automatically route users to the correct organization based on their email domain.", + Schema: map[string]*schema.Schema{ + "organization_id": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + Description: "The ID of the organization.", + }, + "id": { + Type: schema.TypeString, + Computed: true, + Description: "The ID of the discovery domain.", + }, + "domain": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + Description: "The domain name for organization discovery.", + }, + "status": { + Type: schema.TypeString, + Required: true, + ValidateFunc: validation.StringInSlice([]string{"pending", "verified"}, false), + Description: "Verification status. Must be either 'pending' or 'verified'.", + }, + "verification_txt": { + Type: schema.TypeString, + Computed: true, + Description: "TXT record value for domain verification.", + }, + "verification_host": { + Type: schema.TypeString, + Computed: true, + Description: "The full domain where the TXT record should be added.", + }, + }, + } +} + +func createOrganizationDiscoveryDomain(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { + api := meta.(*config.Config).GetAPI() + + organizationID := data.Get("organization_id").(string) + discoveryDomain := expandOrganizationDiscoveryDomain(data) + + if err := api.Organization.CreateDiscoveryDomain(ctx, organizationID, discoveryDomain); err != nil { + return diag.FromErr(err) + } + + internalSchema.SetResourceGroupID(data, organizationID, discoveryDomain.GetID()) + + return readOrganizationDiscoveryDomain(ctx, data, meta) +} + +func readOrganizationDiscoveryDomain(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { + api := meta.(*config.Config).GetAPI() + + organizationID, domainID, err := parseOrganizationDiscoveryDomainID(data.Id()) + if err != nil { + return diag.FromErr(err) + } + + discoveryDomain, err := api.Organization.DiscoveryDomain(ctx, organizationID, domainID) + if err != nil { + return diag.FromErr(internalError.HandleAPIError(data, err)) + } + + return diag.FromErr(flattenOrganizationDiscoveryDomain(data, discoveryDomain, organizationID)) +} + +func updateOrganizationDiscoveryDomain(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { + api := meta.(*config.Config).GetAPI() + + organizationID, domainID, err := parseOrganizationDiscoveryDomainID(data.Id()) + if err != nil { + return diag.FromErr(err) + } + + discoveryDomain := expandOrganizationDiscoveryDomain(data) + + if err := api.Organization.UpdateDiscoveryDomain(ctx, organizationID, domainID, discoveryDomain); err != nil { + return diag.FromErr(internalError.HandleAPIError(data, err)) + } + + return readOrganizationDiscoveryDomain(ctx, data, meta) +} + +func deleteOrganizationDiscoveryDomain(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { + api := meta.(*config.Config).GetAPI() + + organizationID, domainID, err := parseOrganizationDiscoveryDomainID(data.Id()) + if err != nil { + return diag.FromErr(err) + } + + if err := api.Organization.DeleteDiscoveryDomain(ctx, organizationID, domainID); err != nil { + return diag.FromErr(internalError.HandleAPIError(data, err)) + } + + return nil +} + +// parseOrganizationDiscoveryDomainID parses the resource ID in format "organization_id::id". +func parseOrganizationDiscoveryDomainID(id string) (organizationID, domainID string, err error) { + parts := strings.Split(id, "::") + if len(parts) != 2 { + return "", "", fmt.Errorf("invalid organization discovery domain ID format: %s, expected format: organization_id::id", id) + } + return parts[0], parts[1], nil +} diff --git a/internal/auth0/organization/resource_discovery_domain_test.go b/internal/auth0/organization/resource_discovery_domain_test.go new file mode 100644 index 000000000..a0910e940 --- /dev/null +++ b/internal/auth0/organization/resource_discovery_domain_test.go @@ -0,0 +1,103 @@ +package organization_test + +import ( + "fmt" + "strings" + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" + "github.com/hashicorp/terraform-plugin-testing/terraform" + + "github.com/auth0/terraform-provider-auth0/internal/acctest" +) + +const testAccOrganizationDiscoveryDomainCreate = ` +resource "auth0_organization" "test_org" { + name = "test-{{.testName}}" + display_name = "Test Organization {{.testName}}" +} + +resource "auth0_organization_discovery_domain" "test_domain" { + organization_id = auth0_organization.test_org.id + domain = "{{.testName}}.example.com" + status = "pending" +} +` + +const testAccOrganizationDiscoveryDomainUpdate = ` +resource "auth0_organization" "test_org" { + name = "test-{{.testName}}" + display_name = "Test Organization {{.testName}}" +} + +resource "auth0_organization_discovery_domain" "test_domain" { + organization_id = auth0_organization.test_org.id + domain = "{{.testName}}.example.com" + status = "verified" +} +` + +func TestAccOrganizationDiscoveryDomain(t *testing.T) { + testName := strings.ToLower(t.Name()) + domainName := strings.ReplaceAll(testName, "_", "-") + + acctest.Test(t, resource.TestCase{ + Steps: []resource.TestStep{ + { + Config: strings.ReplaceAll(acctest.ParseTestName(testAccOrganizationDiscoveryDomainCreate, testName), testName+".example.com", domainName+".example.com"), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_organization_discovery_domain.test_domain", "domain", fmt.Sprintf("%s.example.com", domainName)), + resource.TestCheckResourceAttr("auth0_organization_discovery_domain.test_domain", "status", "pending"), + resource.TestCheckResourceAttrSet("auth0_organization_discovery_domain.test_domain", "organization_id"), + resource.TestCheckResourceAttrSet("auth0_organization_discovery_domain.test_domain", "verification_txt"), + resource.TestCheckResourceAttrSet("auth0_organization_discovery_domain.test_domain", "verification_host"), + ), + }, + { + Config: strings.ReplaceAll(acctest.ParseTestName(testAccOrganizationDiscoveryDomainUpdate, testName), testName+".example.com", domainName+".example.com"), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_organization_discovery_domain.test_domain", "domain", fmt.Sprintf("%s.example.com", domainName)), + resource.TestCheckResourceAttr("auth0_organization_discovery_domain.test_domain", "status", "verified"), + resource.TestCheckResourceAttrSet("auth0_organization_discovery_domain.test_domain", "organization_id"), + resource.TestCheckResourceAttrSet("auth0_organization_discovery_domain.test_domain", "verification_txt"), + resource.TestCheckResourceAttrSet("auth0_organization_discovery_domain.test_domain", "verification_host"), + ), + }, + }, + }) +} + +const testAccOrganizationDiscoveryDomainImport = ` +resource "auth0_organization" "test_org" { + name = "test-{{.testName}}" + display_name = "Test Organization {{.testName}}" +} + +resource "auth0_organization_discovery_domain" "test_domain" { + organization_id = auth0_organization.test_org.id + domain = "{{.testName}}.example.com" + status = "pending" +} +` + +func TestAccOrganizationDiscoveryDomain_Import(t *testing.T) { + testName := strings.ToLower(t.Name()) + domainName := strings.ReplaceAll(testName, "_", "-") + + acctest.Test(t, resource.TestCase{ + Steps: []resource.TestStep{ + { + Config: strings.ReplaceAll(acctest.ParseTestName(testAccOrganizationDiscoveryDomainImport, testName), testName+".example.com", domainName+".example.com"), + }, + { + ResourceName: "auth0_organization_discovery_domain.test_domain", + ImportState: true, + ImportStateVerify: true, + ImportStateIdFunc: func(state *terraform.State) (string, error) { + resourceState := state.RootModule().Resources["auth0_organization_discovery_domain.test_domain"] + return resourceState.Primary.ID, nil + }, + }, + }, + }) +} diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 58b993c89..ba451c746 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -183,6 +183,7 @@ func New() *schema.Provider { "auth0_organization_client_grant": organization.NewOrganizationClientGrantResource(), "auth0_organization_connection": organization.NewConnectionResource(), "auth0_organization_connections": organization.NewConnectionsResource(), + "auth0_organization_discovery_domain": organization.NewDiscoveryDomainResource(), "auth0_organization_member": organization.NewMemberResource(), "auth0_organization_member_role": organization.NewMemberRoleResource(), "auth0_organization_member_roles": organization.NewMemberRolesResource(), diff --git a/test/data/recordings/TestAccOrganizationDiscoveryDomain.yaml b/test/data/recordings/TestAccOrganizationDiscoveryDomain.yaml new file mode 100644 index 000000000..c519e5945 --- /dev/null +++ b/test/data/recordings/TestAccOrganizationDiscoveryDomain.yaml @@ -0,0 +1,474 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 121 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"test-testaccorganizationdiscoverydomain","display_name":"Test Organization testaccorganizationdiscoverydomain"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 148 + uncompressed: false + body: '{"id":"org_2alrEJOPEWsSPQvB","display_name":"Test Organization testaccorganizationdiscoverydomain","name":"test-testaccorganizationdiscoverydomain"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 276.259792ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_2alrEJOPEWsSPQvB + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_2alrEJOPEWsSPQvB","name":"test-testaccorganizationdiscoverydomain","display_name":"Test Organization testaccorganizationdiscoverydomain"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 253.306ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 79 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"domain":"testaccorganizationdiscoverydomain.example.com","status":"pending"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_2alrEJOPEWsSPQvB/discovery-domains + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 273 + uncompressed: false + body: '{"id":"ord_1csw8cLB67z2uXKc8jv7KW","domain":"testaccorganizationdiscoverydomain.example.com","status":"pending","verification_host":"_ss-verification.org_2alrEJOPEWsSPQvB.testaccorganizationdiscoverydomain.example.com","verification_txt":"306286e01d57edbbf316621fcb21cd1b"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 242.132791ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_2alrEJOPEWsSPQvB/discovery-domains/ord_1csw8cLB67z2uXKc8jv7KW + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csw8cLB67z2uXKc8jv7KW","domain":"testaccorganizationdiscoverydomain.example.com","status":"pending","verification_host":"_ss-verification.org_2alrEJOPEWsSPQvB.testaccorganizationdiscoverydomain.example.com","verification_txt":"306286e01d57edbbf316621fcb21cd1b"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 228.291125ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_2alrEJOPEWsSPQvB + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_2alrEJOPEWsSPQvB","name":"test-testaccorganizationdiscoverydomain","display_name":"Test Organization testaccorganizationdiscoverydomain"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 242.95225ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_2alrEJOPEWsSPQvB/discovery-domains/ord_1csw8cLB67z2uXKc8jv7KW + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csw8cLB67z2uXKc8jv7KW","domain":"testaccorganizationdiscoverydomain.example.com","status":"pending","verification_host":"_ss-verification.org_2alrEJOPEWsSPQvB.testaccorganizationdiscoverydomain.example.com","verification_txt":"306286e01d57edbbf316621fcb21cd1b"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 229.022416ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_2alrEJOPEWsSPQvB + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_2alrEJOPEWsSPQvB","name":"test-testaccorganizationdiscoverydomain","display_name":"Test Organization testaccorganizationdiscoverydomain"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 235.47ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_2alrEJOPEWsSPQvB/discovery-domains/ord_1csw8cLB67z2uXKc8jv7KW + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csw8cLB67z2uXKc8jv7KW","domain":"testaccorganizationdiscoverydomain.example.com","status":"pending","verification_host":"_ss-verification.org_2alrEJOPEWsSPQvB.testaccorganizationdiscoverydomain.example.com","verification_txt":"306286e01d57edbbf316621fcb21cd1b"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 249.549792ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 22 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"status":"verified"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_2alrEJOPEWsSPQvB/discovery-domains/ord_1csw8cLB67z2uXKc8jv7KW + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csw8cLB67z2uXKc8jv7KW","domain":"testaccorganizationdiscoverydomain.example.com","status":"verified","verification_host":"_ss-verification.org_2alrEJOPEWsSPQvB.testaccorganizationdiscoverydomain.example.com","verification_txt":"306286e01d57edbbf316621fcb21cd1b"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 593.116291ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_2alrEJOPEWsSPQvB/discovery-domains/ord_1csw8cLB67z2uXKc8jv7KW + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csw8cLB67z2uXKc8jv7KW","domain":"testaccorganizationdiscoverydomain.example.com","status":"verified","verification_host":"_ss-verification.org_2alrEJOPEWsSPQvB.testaccorganizationdiscoverydomain.example.com","verification_txt":"306286e01d57edbbf316621fcb21cd1b"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 239.466084ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_2alrEJOPEWsSPQvB + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_2alrEJOPEWsSPQvB","name":"test-testaccorganizationdiscoverydomain","display_name":"Test Organization testaccorganizationdiscoverydomain"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 245.304917ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_2alrEJOPEWsSPQvB/discovery-domains/ord_1csw8cLB67z2uXKc8jv7KW + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csw8cLB67z2uXKc8jv7KW","domain":"testaccorganizationdiscoverydomain.example.com","status":"verified","verification_host":"_ss-verification.org_2alrEJOPEWsSPQvB.testaccorganizationdiscoverydomain.example.com","verification_txt":"306286e01d57edbbf316621fcb21cd1b"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 255.00275ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_2alrEJOPEWsSPQvB/discovery-domains/ord_1csw8cLB67z2uXKc8jv7KW + 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: 234.218791ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_2alrEJOPEWsSPQvB + 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: 288.878666ms diff --git a/test/data/recordings/TestAccOrganizationDiscoveryDomain_Import.yaml b/test/data/recordings/TestAccOrganizationDiscoveryDomain_Import.yaml new file mode 100644 index 000000000..43d459eff --- /dev/null +++ b/test/data/recordings/TestAccOrganizationDiscoveryDomain_Import.yaml @@ -0,0 +1,306 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 135 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"test-testaccorganizationdiscoverydomain_import","display_name":"Test Organization testaccorganizationdiscoverydomain_import"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 162 + uncompressed: false + body: '{"id":"org_o5WOQc5D6iEM4nuV","display_name":"Test Organization testaccorganizationdiscoverydomain_import","name":"test-testaccorganizationdiscoverydomain_import"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 234.288542ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_o5WOQc5D6iEM4nuV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_o5WOQc5D6iEM4nuV","name":"test-testaccorganizationdiscoverydomain_import","display_name":"Test Organization testaccorganizationdiscoverydomain_import"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 222.861ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 86 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"domain":"testaccorganizationdiscoverydomain-import.example.com","status":"pending"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_o5WOQc5D6iEM4nuV/discovery-domains + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 287 + uncompressed: false + body: '{"id":"ord_1csw8dh2Uatjedn6AESMsA","domain":"testaccorganizationdiscoverydomain-import.example.com","status":"pending","verification_host":"_ss-verification.org_o5WOQc5D6iEM4nuV.testaccorganizationdiscoverydomain-import.example.com","verification_txt":"4475daf815b871864a342dd3f1cb58c9"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 264.0225ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_o5WOQc5D6iEM4nuV/discovery-domains/ord_1csw8dh2Uatjedn6AESMsA + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csw8dh2Uatjedn6AESMsA","domain":"testaccorganizationdiscoverydomain-import.example.com","status":"pending","verification_host":"_ss-verification.org_o5WOQc5D6iEM4nuV.testaccorganizationdiscoverydomain-import.example.com","verification_txt":"4475daf815b871864a342dd3f1cb58c9"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 260.396875ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_o5WOQc5D6iEM4nuV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_o5WOQc5D6iEM4nuV","name":"test-testaccorganizationdiscoverydomain_import","display_name":"Test Organization testaccorganizationdiscoverydomain_import"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 234.561042ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_o5WOQc5D6iEM4nuV/discovery-domains/ord_1csw8dh2Uatjedn6AESMsA + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csw8dh2Uatjedn6AESMsA","domain":"testaccorganizationdiscoverydomain-import.example.com","status":"pending","verification_host":"_ss-verification.org_o5WOQc5D6iEM4nuV.testaccorganizationdiscoverydomain-import.example.com","verification_txt":"4475daf815b871864a342dd3f1cb58c9"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 284.021417ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_o5WOQc5D6iEM4nuV/discovery-domains/ord_1csw8dh2Uatjedn6AESMsA + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csw8dh2Uatjedn6AESMsA","domain":"testaccorganizationdiscoverydomain-import.example.com","status":"pending","verification_host":"_ss-verification.org_o5WOQc5D6iEM4nuV.testaccorganizationdiscoverydomain-import.example.com","verification_txt":"4475daf815b871864a342dd3f1cb58c9"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 230.435083ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_o5WOQc5D6iEM4nuV/discovery-domains/ord_1csw8dh2Uatjedn6AESMsA + 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: 241.056208ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_o5WOQc5D6iEM4nuV + 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: 318.21175ms diff --git a/test/data/recordings/TestAccOutboundIPsDataSource.yaml b/test/data/recordings/TestAccOutboundIPsDataSource.yaml new file mode 100644 index 000000000..2797c38e0 --- /dev/null +++ b/test/data/recordings/TestAccOutboundIPsDataSource.yaml @@ -0,0 +1,3 @@ +--- +version: 2 +interactions: [] From 0a73ae7ae68c52f60739fe2b454cdb97c647354e Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Mon, 29 Sep 2025 10:40:42 +0100 Subject: [PATCH 2/3] feat(clients): support organization_discovery_methods --- docs/data-sources/client.md | 1 + docs/data-sources/clients.md | 1 + docs/resources/client.md | 1 + docs/resources/organization_discovery_domain.md | 2 +- internal/auth0/client/expand.go | 1 + internal/auth0/client/flatten.go | 1 + internal/auth0/client/resource.go | 15 +++++++++++++++ 7 files changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/data-sources/client.md b/docs/data-sources/client.md index 48e98a09e..01d1a4c11 100644 --- a/docs/data-sources/client.md +++ b/docs/data-sources/client.md @@ -63,6 +63,7 @@ data "auth0_client" "some-client-by-id" { - `oidc_backchannel_logout_urls` (Set of String) Set of URLs that are valid to call back from Auth0 for OIDC backchannel logout. Currently only one URL is allowed. - `oidc_conformant` (Boolean) Indicates whether this client will conform to strict OIDC specifications. - `oidc_logout` (List of Object) Configure OIDC logout for the Client (see [below for nested schema](#nestedatt--oidc_logout)) +- `organization_discovery_methods` (List of String) Methods for discovering organizations during the pre_login_prompt. Can include `email` (allows users to find their organization by entering their email address) and/or `organization_name` (requires users to enter the organization name directly). These methods can be combined. Setting this property requires that `organization_require_behavior` is set to `pre_login_prompt`. - `organization_require_behavior` (String) Defines how to proceed during an authentication transaction when `organization_usage = "require"`. Can be `no_prompt` (default), `pre_login_prompt` or `post_login_prompt`. - `organization_usage` (String) Defines how to proceed during an authentication transaction with regards to an organization. Can be `deny` (default), `allow` or `require`. - `refresh_token` (List of Object) Configuration settings for the refresh tokens issued for this client. (see [below for nested schema](#nestedatt--refresh_token)) diff --git a/docs/data-sources/clients.md b/docs/data-sources/clients.md index ac67b21a9..b625aa17a 100644 --- a/docs/data-sources/clients.md +++ b/docs/data-sources/clients.md @@ -60,6 +60,7 @@ Read-Only: - `is_token_endpoint_ip_header_trusted` (Boolean) - `name` (String) - `oidc_logout` (List of Object) (see [below for nested schema](#nestedobjatt--clients--oidc_logout)) +- `organization_discovery_methods` (List of String) - `resource_server_identifier` (String) - `session_transfer` (List of Object) (see [below for nested schema](#nestedobjatt--clients--session_transfer)) - `skip_non_verifiable_callback_uri_confirmation_prompt` (Boolean) diff --git a/docs/resources/client.md b/docs/resources/client.md index 8c2a9b403..e20310a1e 100644 --- a/docs/resources/client.md +++ b/docs/resources/client.md @@ -150,6 +150,7 @@ resource "auth0_client" "my_client" { - `oidc_backchannel_logout_urls` (Set of String, Deprecated) Set of URLs that are valid to call back from Auth0 for OIDC backchannel logout. Currently only one URL is allowed. - `oidc_conformant` (Boolean) Indicates whether this client will conform to strict OIDC specifications. - `oidc_logout` (Block List, Max: 1) Configure OIDC logout for the Client (see [below for nested schema](#nestedblock--oidc_logout)) +- `organization_discovery_methods` (List of String) Methods for discovering organizations during the pre_login_prompt. Can include `email` (allows users to find their organization by entering their email address) and/or `organization_name` (requires users to enter the organization name directly). These methods can be combined. Setting this property requires that `organization_require_behavior` is set to `pre_login_prompt`. - `organization_require_behavior` (String) Defines how to proceed during an authentication transaction when `organization_usage = "require"`. Can be `no_prompt` (default), `pre_login_prompt` or `post_login_prompt`. - `organization_usage` (String) Defines how to proceed during an authentication transaction with regards to an organization. Can be `deny` (default), `allow` or `require`. - `refresh_token` (Block List, Max: 1) Configuration settings for the refresh tokens issued for this client. (see [below for nested schema](#nestedblock--refresh_token)) diff --git a/docs/resources/organization_discovery_domain.md b/docs/resources/organization_discovery_domain.md index 0b1844b4f..382fe7605 100644 --- a/docs/resources/organization_discovery_domain.md +++ b/docs/resources/organization_discovery_domain.md @@ -21,7 +21,7 @@ Manage organization discovery domains for Home Realm Discovery. These domains he ### Read-Only -- `id` (String) The ID of this resource. +- `id` (String) The ID of the discovery domain. - `verification_host` (String) The full domain where the TXT record should be added. - `verification_txt` (String) TXT record value for domain verification. diff --git a/internal/auth0/client/expand.go b/internal/auth0/client/expand.go index 9da8d4ffb..04eae86ed 100644 --- a/internal/auth0/client/expand.go +++ b/internal/auth0/client/expand.go @@ -31,6 +31,7 @@ func expandClient(data *schema.ResourceData) (*management.Client, error) { GrantTypes: value.Strings(config.GetAttr("grant_types")), OrganizationUsage: value.String(config.GetAttr("organization_usage")), OrganizationRequireBehavior: value.String(config.GetAttr("organization_require_behavior")), + OrganizationDiscoveryMethods: value.Strings(config.GetAttr("organization_discovery_methods")), WebOrigins: value.Strings(config.GetAttr("web_origins")), RequirePushedAuthorizationRequests: value.Bool(config.GetAttr("require_pushed_authorization_requests")), SSO: value.Bool(config.GetAttr("sso")), diff --git a/internal/auth0/client/flatten.go b/internal/auth0/client/flatten.go index dc27753f2..8dab7a672 100644 --- a/internal/auth0/client/flatten.go +++ b/internal/auth0/client/flatten.go @@ -616,6 +616,7 @@ func flattenClient(data *schema.ResourceData, client *management.Client) error { data.Set("grant_types", client.GetGrantTypes()), data.Set("organization_usage", client.GetOrganizationUsage()), data.Set("organization_require_behavior", client.GetOrganizationRequireBehavior()), + data.Set("organization_discovery_methods", client.GetOrganizationDiscoveryMethods()), data.Set("web_origins", client.GetWebOrigins()), data.Set("sso", client.GetSSO()), data.Set("sso_disabled", client.GetSSODisabled()), diff --git a/internal/auth0/client/resource.go b/internal/auth0/client/resource.go index 2dace9ca6..041e1ae86 100644 --- a/internal/auth0/client/resource.go +++ b/internal/auth0/client/resource.go @@ -150,6 +150,21 @@ func NewResource() *schema.Resource { Description: "Defines how to proceed during an authentication transaction when " + "`organization_usage = \"require\"`. Can be `no_prompt` (default), `pre_login_prompt` or `post_login_prompt`.", }, + "organization_discovery_methods": { + Type: schema.TypeList, + Elem: &schema.Schema{ + Type: schema.TypeString, + ValidateFunc: validation.StringInSlice([]string{ + "email", "organization_name", + }, false), + }, + Optional: true, + Description: "Methods for discovering organizations during the pre_login_prompt. " + + "Can include `email` (allows users to find their organization by entering their email address) " + + "and/or `organization_name` (requires users to enter the organization name directly). " + + "These methods can be combined. Setting this property requires that " + + "`organization_require_behavior` is set to `pre_login_prompt`.", + }, "allowed_origins": { Type: schema.TypeList, Elem: &schema.Schema{Type: schema.TypeString}, From 8d6233d1983d7c07db49253fdfeddf806a7cd5c6 Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Tue, 30 Sep 2025 16:33:44 +0100 Subject: [PATCH 3/3] feat: support auth0_organization_discovery_domains resource --- .../organization_discovery_domains.md | 39 + internal/auth0/organization/expand.go | 20 + internal/auth0/organization/flatten.go | 19 + .../resource_discovery_domains.go | 293 ++ .../resource_discovery_domains_test.go | 229 + internal/provider/provider.go | 1 + .../TestAccOrgDiscoveryDomains.yaml | 4140 +++++++++++++++++ .../TestAccOrgDiscoveryDomainsImport.yaml | 804 ++++ 8 files changed, 5545 insertions(+) create mode 100644 docs/resources/organization_discovery_domains.md create mode 100644 internal/auth0/organization/resource_discovery_domains.go create mode 100644 internal/auth0/organization/resource_discovery_domains_test.go create mode 100644 test/data/recordings/TestAccOrgDiscoveryDomains.yaml create mode 100644 test/data/recordings/TestAccOrgDiscoveryDomainsImport.yaml diff --git a/docs/resources/organization_discovery_domains.md b/docs/resources/organization_discovery_domains.md new file mode 100644 index 000000000..01c5d9644 --- /dev/null +++ b/docs/resources/organization_discovery_domains.md @@ -0,0 +1,39 @@ +--- +page_title: "Resource: auth0_organization_discovery_domains" +description: |- + With this resource, you can manage discovery domains on an organization. +--- + +# Resource: auth0_organization_discovery_domains + +With this resource, you can manage discovery domains on an organization. + + + + +## Schema + +### Required + +- `discovery_domains` (Block Set, Min: 1) Discovery domains that are configured for the organization. (see [below for nested schema](#nestedblock--discovery_domains)) +- `organization_id` (String) ID of the organization on which to manage the discovery domains. + +### Read-Only + +- `id` (String) The ID of this resource. + + +### Nested Schema for `discovery_domains` + +Required: + +- `domain` (String) The domain name for organization discovery. +- `status` (String) Verification status. Must be either 'pending' or 'verified'. + +Read-Only: + +- `id` (String) The ID of the discovery domain. +- `verification_host` (String) The full domain where the TXT record should be added. +- `verification_txt` (String) TXT record value for domain verification. + + diff --git a/internal/auth0/organization/expand.go b/internal/auth0/organization/expand.go index 99e79d0cd..7d9a93874 100644 --- a/internal/auth0/organization/expand.go +++ b/internal/auth0/organization/expand.go @@ -90,3 +90,23 @@ func expandOrganizationDiscoveryDomain(data *schema.ResourceData) *management.Or // Note: ID, VerificationTXT, and VerificationHost are read-only and should not be sent to the API. } } + +func expandOrganizationDiscoveryDomainFromConfig(domainCfg cty.Value) *management.OrganizationDiscoveryDomain { + return &management.OrganizationDiscoveryDomain{ + Domain: value.String(domainCfg.GetAttr("domain")), + Status: value.String(domainCfg.GetAttr("status")), + // Note: ID, VerificationTXT, and VerificationHost are read-only and should not be sent to the API. + } +} + +func expandOrganizationDiscoveryDomains(cfg cty.Value) []*management.OrganizationDiscoveryDomain { + domains := make([]*management.OrganizationDiscoveryDomain, 0) + + cfg.ForEachElement(func(_ cty.Value, domainCfg cty.Value) (stop bool) { + domains = append(domains, expandOrganizationDiscoveryDomainFromConfig(domainCfg)) + + return stop + }) + + return domains +} diff --git a/internal/auth0/organization/flatten.go b/internal/auth0/organization/flatten.go index 6615cb6e4..091082f42 100644 --- a/internal/auth0/organization/flatten.go +++ b/internal/auth0/organization/flatten.go @@ -142,3 +142,22 @@ func flattenOrganizationDiscoveryDomain(data *schema.ResourceData, discoveryDoma return result.ErrorOrNil() } + +func flattenOrganizationDiscoveryDomains(data *schema.ResourceData, domains []*management.OrganizationDiscoveryDomain) error { + if len(domains) == 0 { + return data.Set("discovery_domains", []interface{}{}) + } + + var enabledDomains []interface{} + for _, domain := range domains { + enabledDomains = append(enabledDomains, map[string]interface{}{ + "id": domain.GetID(), + "domain": domain.GetDomain(), + "status": domain.GetStatus(), + "verification_txt": domain.GetVerificationTXT(), + "verification_host": domain.GetVerificationHost(), + }) + } + + return data.Set("discovery_domains", enabledDomains) +} diff --git a/internal/auth0/organization/resource_discovery_domains.go b/internal/auth0/organization/resource_discovery_domains.go new file mode 100644 index 000000000..c7dbe6727 --- /dev/null +++ b/internal/auth0/organization/resource_discovery_domains.go @@ -0,0 +1,293 @@ +package organization + +import ( + "context" + "fmt" + + "github.com/auth0/go-auth0/management" + "github.com/google/go-cmp/cmp" + "github.com/hashicorp/go-multierror" + "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" + + "github.com/auth0/terraform-provider-auth0/internal/config" + internalError "github.com/auth0/terraform-provider-auth0/internal/error" + "github.com/auth0/terraform-provider-auth0/internal/value" +) + +// NewDiscoveryDomainsResource will return a new auth0_organization_discovery_domains (1:many) resource. +func NewDiscoveryDomainsResource() *schema.Resource { + return &schema.Resource{ + Schema: map[string]*schema.Schema{ + "organization_id": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + Description: "ID of the organization on which to manage the discovery domains.", + }, + "discovery_domains": { + Type: schema.TypeSet, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "domain": { + Type: schema.TypeString, + Required: true, + Description: "The domain name for organization discovery.", + }, + "status": { + Type: schema.TypeString, + Required: true, + ValidateFunc: validation.StringInSlice([]string{"pending", "verified"}, false), + Description: "Verification status. Must be either 'pending' or 'verified'.", + }, + "id": { + Type: schema.TypeString, + Computed: true, + Description: "The ID of the discovery domain.", + }, + "verification_txt": { + Type: schema.TypeString, + Computed: true, + Description: "TXT record value for domain verification.", + }, + "verification_host": { + Type: schema.TypeString, + Computed: true, + Description: "The full domain where the TXT record should be added.", + }, + }, + }, + Required: true, + Description: "Discovery domains that are configured for the organization.", + }, + }, + CreateContext: createOrganizationDiscoveryDomains, + ReadContext: readOrganizationDiscoveryDomains, + UpdateContext: updateOrganizationDiscoveryDomains, + DeleteContext: deleteOrganizationDiscoveryDomains, + Importer: &schema.ResourceImporter{ + StateContext: schema.ImportStatePassthroughContext, + }, + Description: "With this resource, you can manage discovery domains on an organization.", + } +} + +func createOrganizationDiscoveryDomains(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { + api := meta.(*config.Config).GetAPI() + + organizationID := data.Get("organization_id").(string) + + var alreadyEnabledDomains []*management.OrganizationDiscoveryDomain + var checkpoint string + for { + var opts []management.RequestOption + if checkpoint != "" { + opts = append(opts, management.From(checkpoint)) + } + opts = append(opts, management.Take(100)) + + domainList, err := api.Organization.DiscoveryDomains( + ctx, + organizationID, + opts..., + ) + if err != nil { + return diag.FromErr(internalError.HandleAPIError(data, err)) + } + + alreadyEnabledDomains = append(alreadyEnabledDomains, domainList.Domains...) + + if !domainList.HasNext() { + break + } + + checkpoint = domainList.Next + } + + data.SetId(organizationID) + + domainsToAdd := expandOrganizationDiscoveryDomains(data.GetRawConfig().GetAttr("discovery_domains")) + + if diagnostics := guardAgainstErasingUnwantedDiscoveryDomains( + organizationID, + alreadyEnabledDomains, + domainsToAdd, + ); diagnostics.HasError() { + data.SetId("") + return diagnostics + } + + if len(domainsToAdd) > len(alreadyEnabledDomains) { + var result *multierror.Error + + for _, domain := range domainsToAdd { + err := api.Organization.CreateDiscoveryDomain(ctx, organizationID, domain) + result = multierror.Append(result, err) + } + + if result.ErrorOrNil() != nil { + return diag.FromErr(result.ErrorOrNil()) + } + } + + return readOrganizationDiscoveryDomains(ctx, data, meta) +} + +func readOrganizationDiscoveryDomains(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { + api := meta.(*config.Config).GetAPI() + + var domains []*management.OrganizationDiscoveryDomain + var checkpoint string + for { + var opts []management.RequestOption + if checkpoint != "" { + opts = append(opts, management.From(checkpoint)) + } + opts = append(opts, management.Take(100)) + + domainList, err := api.Organization.DiscoveryDomains( + ctx, + data.Id(), + opts..., + ) + if err != nil { + return diag.FromErr(internalError.HandleAPIError(data, err)) + } + + domains = append(domains, domainList.Domains...) + + if !domainList.HasNext() { + break + } + + checkpoint = domainList.Next + } + + result := multierror.Append( + data.Set("organization_id", data.Id()), + flattenOrganizationDiscoveryDomains(data, domains), + ) + + return diag.FromErr(result.ErrorOrNil()) +} + +func updateOrganizationDiscoveryDomains(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { + api := meta.(*config.Config).GetAPI() + + organizationID := data.Id() + + // We are using the data from expandOrganizationDiscoveryDomains and not value.Difference to preserve the nilness of the data. + domains := expandOrganizationDiscoveryDomains(data.GetRawConfig().GetAttr("discovery_domains")) + domainMap := make(map[string]*management.OrganizationDiscoveryDomain) + for _, domain := range domains { + domainMap[domain.GetDomain()] = domain + } + + toAdd, toRemove := value.Difference(data, "discovery_domains") + var result *multierror.Error + + for _, rmDomain := range toRemove { + domain := rmDomain.(map[string]interface{}) + domainID := domain["id"].(string) + + err := api.Organization.DeleteDiscoveryDomain(ctx, organizationID, domainID) + if internalError.IsStatusNotFound(err) { + err = nil + } + + result = multierror.Append(result, err) + } + + for _, addDomain := range toAdd { + domain := addDomain.(map[string]interface{}) + domainName := domain["domain"].(string) + + err := api.Organization.CreateDiscoveryDomain(ctx, organizationID, domainMap[domainName]) + result = multierror.Append(result, err) + } + + if result.ErrorOrNil() != nil { + return diag.FromErr(result.ErrorOrNil()) + } + + return readOrganizationDiscoveryDomains(ctx, data, meta) +} + +func deleteOrganizationDiscoveryDomains(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { + api := meta.(*config.Config).GetAPI() + + // Fetch all current discovery domains to get their IDs. + var domains []*management.OrganizationDiscoveryDomain + var checkpoint string + for { + var opts []management.RequestOption + if checkpoint != "" { + opts = append(opts, management.From(checkpoint)) + } + opts = append(opts, management.Take(100)) + + domainList, err := api.Organization.DiscoveryDomains( + ctx, + data.Id(), + opts..., + ) + if err != nil { + return diag.FromErr(internalError.HandleAPIError(data, err)) + } + + domains = append(domains, domainList.Domains...) + + if !domainList.HasNext() { + break + } + + checkpoint = domainList.Next + } + + var result *multierror.Error + + for _, domain := range domains { + err := api.Organization.DeleteDiscoveryDomain(ctx, data.Id(), domain.GetID()) + if internalError.IsStatusNotFound(err) { + err = nil + } + + result = multierror.Append(result, err) + } + + return diag.FromErr(result.ErrorOrNil()) +} + +func guardAgainstErasingUnwantedDiscoveryDomains( + organizationID string, + alreadyEnabled []*management.OrganizationDiscoveryDomain, + desired []*management.OrganizationDiscoveryDomain, +) diag.Diagnostics { + if len(alreadyEnabled) == 0 { + return nil + } + + alreadyEnabledDomains := make([]string, 0) + for _, domain := range alreadyEnabled { + alreadyEnabledDomains = append(alreadyEnabledDomains, domain.GetDomain()) + } + + desiredDomains := make([]string, 0) + for _, domain := range desired { + desiredDomains = append(desiredDomains, domain.GetDomain()) + } + + if !cmp.Equal(alreadyEnabledDomains, desiredDomains) { + return diag.Diagnostics{ + diag.Diagnostic{ + Severity: diag.Error, + Summary: "Organization with non empty enabled discovery domains", + Detail: fmt.Sprintf("Detected an organization (%s) with already enabled discovery domains. Import the "+ + "auth0_organization_discovery_domains resource instead of creating it.", organizationID), + }, + } + } + + return nil +} diff --git a/internal/auth0/organization/resource_discovery_domains_test.go b/internal/auth0/organization/resource_discovery_domains_test.go new file mode 100644 index 000000000..e413d5338 --- /dev/null +++ b/internal/auth0/organization/resource_discovery_domains_test.go @@ -0,0 +1,229 @@ +package organization_test + +import ( + "regexp" + "strings" + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" + "github.com/hashicorp/terraform-plugin-testing/plancheck" + "github.com/hashicorp/terraform-plugin-testing/terraform" + + "github.com/auth0/terraform-provider-auth0/internal/acctest" +) + +const testAccOrganizationDiscoveryDomainsPreventErasingDomainsOnCreate = testAccGivenTwoDomainsAndAnOrganization + ` +resource "auth0_organization_discovery_domains" "existing" { + depends_on = [ auth0_organization.my_org ] + + organization_id = auth0_organization.my_org.id + + discovery_domains { + domain = "{{.testName}}-existing.example.com" + status = "pending" + } +} + +resource "auth0_organization_discovery_domains" "one_to_many" { + depends_on = [ auth0_organization_discovery_domains.existing ] + + organization_id = auth0_organization.my_org.id + + discovery_domains { + domain = "{{.testName}}-new1.example.com" + status = "pending" + } + + discovery_domains { + domain = "{{.testName}}-new2.example.com" + status = "pending" + } +} +` + +const testAccOrganizationDiscoveryDomainsDelete = testAccGivenTwoDomainsAndAnOrganization + ` +data "auth0_organization" "my_org" { + depends_on = [ auth0_organization.my_org ] + + organization_id = auth0_organization.my_org.id +} +` + +const testAccOrganizationDiscoveryDomainsWithOneDomain = testAccGivenTwoDomainsAndAnOrganization + ` +resource "auth0_organization_discovery_domains" "one_to_many" { + organization_id = auth0_organization.my_org.id + + discovery_domains { + domain = "{{.testName}}-domain1.example.com" + status = "pending" + } +} + +data "auth0_organization" "my_org" { + depends_on = [ auth0_organization_discovery_domains.one_to_many ] + + organization_id = auth0_organization.my_org.id +} +` + +const testAccOrganizationDiscoveryDomainsWithTwoDomains = testAccGivenTwoDomainsAndAnOrganization + ` +resource "auth0_organization_discovery_domains" "one_to_many" { + organization_id = auth0_organization.my_org.id + + discovery_domains { + domain = "{{.testName}}-domain1.example.com" + status = "pending" + } + + discovery_domains { + domain = "{{.testName}}-domain2.example.com" + status = "verified" + } +} + +data "auth0_organization" "my_org" { + depends_on = [ auth0_organization_discovery_domains.one_to_many ] + + organization_id = auth0_organization.my_org.id +} +` + +const testAccGivenTwoDomainsAndAnOrganization = ` +resource "auth0_organization" "my_org" { + name = "test-dd-{{.testName}}" + display_name = "Test Discovery Domains {{.testName}}" +} +` + +const testAccGivenTwoDomainsAndAnOrganizationForImport = ` +resource "auth0_organization" "my_org" { + name = "test-dd-import-{{.testName}}" + display_name = "Test Discovery Domains Import {{.testName}}" +} +` + +const testAccOrganizationDiscoveryDomainsImportSetup = testAccGivenTwoDomainsAndAnOrganizationForImport + ` +resource "auth0_organization_discovery_domain" "domain1" { + depends_on = [ auth0_organization.my_org ] + + organization_id = auth0_organization.my_org.id + domain = "{{.testName}}-domain1.example.com" + status = "pending" +} + +resource "auth0_organization_discovery_domain" "domain2" { + depends_on = [ auth0_organization_discovery_domain.domain1 ] + + organization_id = auth0_organization.my_org.id + domain = "{{.testName}}-domain2.example.com" + status = "verified" +} +` + +const testAccOrganizationDiscoveryDomainsImportCheck = testAccOrganizationDiscoveryDomainsImportSetup + ` +resource "auth0_organization_discovery_domains" "import_target" { + depends_on = [ auth0_organization.my_org ] + + organization_id = auth0_organization.my_org.id + + discovery_domains { + domain = "{{.testName}}-domain1.example.com" + status = "pending" + } + + discovery_domains { + domain = "{{.testName}}-domain2.example.com" + status = "verified" + } +} +` + +func TestAccOrgDiscoveryDomains(t *testing.T) { + testName := strings.ToLower(t.Name()) + + acctest.Test(t, resource.TestCase{ + Steps: []resource.TestStep{ + // Test 1: Create resource with one domain first. + { + Config: acctest.ParseTestName(testAccOrganizationDiscoveryDomainsWithOneDomain, testName), + }, + { + RefreshState: true, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_organization_discovery_domains.one_to_many", "discovery_domains.#", "1"), + ), + }, + // Test 2: Verify guard function prevents creating domains when org already has domains. + { + Config: acctest.ParseTestName(testAccOrganizationDiscoveryDomainsPreventErasingDomainsOnCreate, testName), + ExpectError: regexp.MustCompile("Organization with non empty enabled discovery domains"), + }, + // Test 3: Clean slate - delete all domains. + { + Config: acctest.ParseTestName(testAccOrganizationDiscoveryDomainsDelete, testName), + }, + { + RefreshState: true, + Check: resource.ComposeTestCheckFunc( + // No discovery domains resource exists, so nothing to check. + ), + }, + // Test 4: Create resource with one domain again. + { + Config: acctest.ParseTestName(testAccOrganizationDiscoveryDomainsWithOneDomain, testName), + }, + { + RefreshState: true, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_organization_discovery_domains.one_to_many", "discovery_domains.#", "1"), + ), + }, + // Test 5: Update to two domains. + { + Config: acctest.ParseTestName(testAccOrganizationDiscoveryDomainsWithTwoDomains, testName), + }, + { + RefreshState: true, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_organization_discovery_domains.one_to_many", "discovery_domains.#", "2"), + ), + }, + }, + }) +} + +func TestAccOrgDiscoveryDomainsImport(t *testing.T) { + testName := strings.ToLower(t.Name()) + + acctest.Test(t, resource.TestCase{ + Steps: []resource.TestStep{ + // Test 1: Create individual discovery domain resources. + { + Config: acctest.ParseTestName(testAccOrganizationDiscoveryDomainsImportSetup, testName), + }, + // Test 2: Import the domains into the plural resource. + { + Config: acctest.ParseTestName(testAccOrganizationDiscoveryDomainsImportCheck, testName), + ResourceName: "auth0_organization_discovery_domains.import_target", + ImportState: true, + ImportStateIdFunc: func(state *terraform.State) (string, error) { + return acctest.ExtractResourceAttributeFromState(state, "auth0_organization.my_org", "id") + }, + ImportStatePersist: true, + }, + // Test 3: Verify import worked correctly with no plan changes. + { + Config: acctest.ParseTestName(testAccOrganizationDiscoveryDomainsImportCheck, testName), + ConfigPlanChecks: resource.ConfigPlanChecks{ + PreApply: []plancheck.PlanCheck{ + plancheck.ExpectEmptyPlan(), + }, + }, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_organization_discovery_domains.import_target", "discovery_domains.#", "2"), + resource.TestCheckResourceAttrSet("auth0_organization_discovery_domains.import_target", "organization_id"), + ), + }, + }, + }) +} diff --git a/internal/provider/provider.go b/internal/provider/provider.go index ba451c746..e038a1e20 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -184,6 +184,7 @@ func New() *schema.Provider { "auth0_organization_connection": organization.NewConnectionResource(), "auth0_organization_connections": organization.NewConnectionsResource(), "auth0_organization_discovery_domain": organization.NewDiscoveryDomainResource(), + "auth0_organization_discovery_domains": organization.NewDiscoveryDomainsResource(), "auth0_organization_member": organization.NewMemberResource(), "auth0_organization_member_role": organization.NewMemberRoleResource(), "auth0_organization_member_roles": organization.NewMemberRolesResource(), diff --git a/test/data/recordings/TestAccOrgDiscoveryDomains.yaml b/test/data/recordings/TestAccOrgDiscoveryDomains.yaml new file mode 100644 index 000000000..b3500cb8d --- /dev/null +++ b/test/data/recordings/TestAccOrgDiscoveryDomains.yaml @@ -0,0 +1,4140 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 113 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 140 + uncompressed: false + body: '{"id":"org_OUhJhbEN3V78Rpig","display_name":"Test Discovery Domains testaccorgdiscoverydomains","name":"test-dd-testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 417.536292ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 259.755042ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"domains":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 243.7285ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 79 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 273 + uncompressed: false + body: '{"id":"ord_1csDPuN9w4za5U1DGZFFWQ","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"7359edb6adb491ae3ec59fc10504c410"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 243.188333ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPuN9w4za5U1DGZFFWQ","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"7359edb6adb491ae3ec59fc10504c410"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 261.874958ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 224.519625ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 235.830458ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 582.88025ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 238.552792ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 230.662333ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 231.093375ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 241.6505ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 223.056708ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 226.508375ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPuN9w4za5U1DGZFFWQ","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"7359edb6adb491ae3ec59fc10504c410"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 209.078375ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 215.714625ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 219.532292ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 272.436291ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 222.146167ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 247.719042ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPuN9w4za5U1DGZFFWQ","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"7359edb6adb491ae3ec59fc10504c410"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 234.708209ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 222.299583ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 233.333958ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 313.334792ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 221.294084ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 234.949167ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPuN9w4za5U1DGZFFWQ","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"7359edb6adb491ae3ec59fc10504c410"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 221.793459ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 225.298083ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 243.154458ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 239.675875ms + - id: 30 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 241.218584ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 228.811958ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPuN9w4za5U1DGZFFWQ","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"7359edb6adb491ae3ec59fc10504c410"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 232.889292ms + - id: 33 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPuN9w4za5U1DGZFFWQ","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"7359edb6adb491ae3ec59fc10504c410"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 225.809417ms + - id: 34 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 229.88525ms + - id: 35 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPuN9w4za5U1DGZFFWQ","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"7359edb6adb491ae3ec59fc10504c410"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 229.844042ms + - id: 36 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 212.805417ms + - id: 37 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 217.4835ms + - id: 38 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 231.862167ms + - id: 39 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 226.544583ms + - id: 40 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPuN9w4za5U1DGZFFWQ","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"7359edb6adb491ae3ec59fc10504c410"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 253.556625ms + - id: 41 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains/ord_1csDPuN9w4za5U1DGZFFWQ + 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: 228.44225ms + - id: 42 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 222.73175ms + - id: 43 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 236.746ms + - id: 44 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 229.122042ms + - id: 45 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 222.858375ms + - id: 46 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 215.569042ms + - id: 47 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 261.057875ms + - id: 48 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 239.973708ms + - id: 49 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 232.761834ms + - id: 50 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 235.486791ms + - id: 51 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 211.811291ms + - id: 52 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 231.083042ms + - id: 53 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 224.293666ms + - id: 54 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 239.639583ms + - id: 55 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 218.656ms + - id: 56 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 215.355167ms + - id: 57 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 212.008042ms + - id: 58 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 204.775542ms + - id: 59 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 202.942709ms + - id: 60 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 223.801ms + - id: 61 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 211.648583ms + - id: 62 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"domains":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 230.118541ms + - id: 63 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 79 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 273 + uncompressed: false + body: '{"id":"ord_1csDPwSY3qxdVwYE4PzS6t","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"19d6fd4492c917e335781cdabaef72f7"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 213.781917ms + - id: 64 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPwSY3qxdVwYE4PzS6t","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"19d6fd4492c917e335781cdabaef72f7"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 231.309667ms + - id: 65 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 225.784875ms + - id: 66 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 241.7175ms + - id: 67 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 226.881375ms + - id: 68 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 241.440666ms + - id: 69 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 219.780209ms + - id: 70 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 215.085166ms + - id: 71 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 214.062125ms + - id: 72 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 221.752583ms + - id: 73 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 215.499208ms + - id: 74 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPwSY3qxdVwYE4PzS6t","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"19d6fd4492c917e335781cdabaef72f7"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 228.301ms + - id: 75 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 227.402166ms + - id: 76 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 214.256167ms + - id: 77 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 231.334458ms + - id: 78 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 209.174875ms + - id: 79 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 209.115958ms + - id: 80 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPwSY3qxdVwYE4PzS6t","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"19d6fd4492c917e335781cdabaef72f7"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 212.104542ms + - id: 81 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 229.287167ms + - id: 82 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 226.294125ms + - id: 83 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 219.674292ms + - id: 84 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 227.8175ms + - id: 85 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 208.838583ms + - id: 86 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPwSY3qxdVwYE4PzS6t","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"19d6fd4492c917e335781cdabaef72f7"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 231.088ms + - id: 87 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 206.842583ms + - id: 88 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 216.708917ms + - id: 89 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 230.453125ms + - id: 90 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 223.126209ms + - id: 91 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 203.299667ms + - id: 92 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPwSY3qxdVwYE4PzS6t","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"19d6fd4492c917e335781cdabaef72f7"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 227.377666ms + - id: 93 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 80 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"domain":"testaccorgdiscoverydomains-domain2.example.com","status":"verified"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 274 + uncompressed: false + body: '{"id":"ord_1csDPy5sSnSgrFK7KPn15f","domain":"testaccorgdiscoverydomains-domain2.example.com","status":"verified","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain2.example.com","verification_txt":"1f6fa828f2661774d2db9d83d1963dc4"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 229.479834ms + - id: 94 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPwSY3qxdVwYE4PzS6t","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"19d6fd4492c917e335781cdabaef72f7"},{"id":"ord_1csDPy5sSnSgrFK7KPn15f","domain":"testaccorgdiscoverydomains-domain2.example.com","status":"verified","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain2.example.com","verification_txt":"1f6fa828f2661774d2db9d83d1963dc4"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 234.596167ms + - id: 95 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 220.988625ms + - id: 96 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 258.831958ms + - id: 97 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 241.592833ms + - id: 98 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 228.468667ms + - id: 99 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 206.531125ms + - id: 100 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 215.636167ms + - id: 101 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 244.191917ms + - id: 102 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 248.726958ms + - id: 103 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 233.178583ms + - id: 104 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPwSY3qxdVwYE4PzS6t","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"19d6fd4492c917e335781cdabaef72f7"},{"id":"ord_1csDPy5sSnSgrFK7KPn15f","domain":"testaccorgdiscoverydomains-domain2.example.com","status":"verified","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain2.example.com","verification_txt":"1f6fa828f2661774d2db9d83d1963dc4"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 264.539708ms + - id: 105 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 205.543792ms + - id: 106 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 240.435292ms + - id: 107 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 276.529167ms + - id: 108 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 227.920458ms + - id: 109 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 217.6225ms + - id: 110 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPwSY3qxdVwYE4PzS6t","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"19d6fd4492c917e335781cdabaef72f7"},{"id":"ord_1csDPy5sSnSgrFK7KPn15f","domain":"testaccorgdiscoverydomains-domain2.example.com","status":"verified","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain2.example.com","verification_txt":"1f6fa828f2661774d2db9d83d1963dc4"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 224.310542ms + - id: 111 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 223.698416ms + - id: 112 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 220.592208ms + - id: 113 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 209.545375ms + - id: 114 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 209.532792ms + - id: 115 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 202.794208ms + - id: 116 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPwSY3qxdVwYE4PzS6t","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"19d6fd4492c917e335781cdabaef72f7"},{"id":"ord_1csDPy5sSnSgrFK7KPn15f","domain":"testaccorgdiscoverydomains-domain2.example.com","status":"verified","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain2.example.com","verification_txt":"1f6fa828f2661774d2db9d83d1963dc4"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 227.837333ms + - id: 117 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_OUhJhbEN3V78Rpig","name":"test-dd-testaccorgdiscoverydomains","display_name":"Test Discovery Domains testaccorgdiscoverydomains"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 210.396334ms + - id: 118 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/enabled_connections?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 218.186458ms + - id: 119 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/members?fields=user_id&include_fields=true&include_totals=true&per_page=50&take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 14 + uncompressed: false + body: '{"members":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 227.428209ms + - id: 120 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/client-grants?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"client_grants":[],"start":0,"limit":50,"total":0}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 228.740833ms + - id: 121 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPwSY3qxdVwYE4PzS6t","domain":"testaccorgdiscoverydomains-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain1.example.com","verification_txt":"19d6fd4492c917e335781cdabaef72f7"},{"id":"ord_1csDPy5sSnSgrFK7KPn15f","domain":"testaccorgdiscoverydomains-domain2.example.com","status":"verified","verification_host":"_ss-verification.org_OUhJhbEN3V78Rpig.testaccorgdiscoverydomains-domain2.example.com","verification_txt":"1f6fa828f2661774d2db9d83d1963dc4"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 363.83475ms + - id: 122 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains/ord_1csDPwSY3qxdVwYE4PzS6t + 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: 310.81125ms + - id: 123 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig/discovery-domains/ord_1csDPy5sSnSgrFK7KPn15f + 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: 247.41625ms + - id: 124 + 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_OUhJhbEN3V78Rpig + 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: 441.186792ms diff --git a/test/data/recordings/TestAccOrgDiscoveryDomainsImport.yaml b/test/data/recordings/TestAccOrgDiscoveryDomainsImport.yaml new file mode 100644 index 000000000..2657ef171 --- /dev/null +++ b/test/data/recordings/TestAccOrgDiscoveryDomainsImport.yaml @@ -0,0 +1,804 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 139 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"test-dd-import-testaccorgdiscoverydomainsimport","display_name":"Test Discovery Domains Import testaccorgdiscoverydomainsimport"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 166 + uncompressed: false + body: '{"id":"org_RsUqoIAGXrUQZT0O","display_name":"Test Discovery Domains Import testaccorgdiscoverydomainsimport","name":"test-dd-import-testaccorgdiscoverydomainsimport"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 242.22225ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_RsUqoIAGXrUQZT0O","name":"test-dd-import-testaccorgdiscoverydomainsimport","display_name":"Test Discovery Domains Import testaccorgdiscoverydomainsimport"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 233.241666ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 85 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"domain":"testaccorgdiscoverydomainsimport-domain1.example.com","status":"pending"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 285 + uncompressed: false + body: '{"id":"ord_1csDPQiJM5uXWpzGw1o2YZ","domain":"testaccorgdiscoverydomainsimport-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain1.example.com","verification_txt":"8a3bb3f04ac88d02aee9f855e3b80abf"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 272.155583ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains/ord_1csDPQiJM5uXWpzGw1o2YZ + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csDPQiJM5uXWpzGw1o2YZ","domain":"testaccorgdiscoverydomainsimport-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain1.example.com","verification_txt":"8a3bb3f04ac88d02aee9f855e3b80abf"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 219.878792ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 86 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"domain":"testaccorgdiscoverydomainsimport-domain2.example.com","status":"verified"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 286 + uncompressed: false + body: '{"id":"ord_1csDPQkJQnz8hw5wFnqVKT","domain":"testaccorgdiscoverydomainsimport-domain2.example.com","status":"verified","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain2.example.com","verification_txt":"6848f53f0403d7c3382dbdf707c12a6f"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 222.435375ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains/ord_1csDPQkJQnz8hw5wFnqVKT + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csDPQkJQnz8hw5wFnqVKT","domain":"testaccorgdiscoverydomainsimport-domain2.example.com","status":"verified","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain2.example.com","verification_txt":"6848f53f0403d7c3382dbdf707c12a6f"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 256.190167ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_RsUqoIAGXrUQZT0O","name":"test-dd-import-testaccorgdiscoverydomainsimport","display_name":"Test Discovery Domains Import testaccorgdiscoverydomainsimport"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 230.920875ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains/ord_1csDPQiJM5uXWpzGw1o2YZ + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csDPQiJM5uXWpzGw1o2YZ","domain":"testaccorgdiscoverydomainsimport-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain1.example.com","verification_txt":"8a3bb3f04ac88d02aee9f855e3b80abf"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 238.362333ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains/ord_1csDPQkJQnz8hw5wFnqVKT + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csDPQkJQnz8hw5wFnqVKT","domain":"testaccorgdiscoverydomainsimport-domain2.example.com","status":"verified","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain2.example.com","verification_txt":"6848f53f0403d7c3382dbdf707c12a6f"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 239.456917ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPQiJM5uXWpzGw1o2YZ","domain":"testaccorgdiscoverydomainsimport-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain1.example.com","verification_txt":"8a3bb3f04ac88d02aee9f855e3b80abf"},{"id":"ord_1csDPQkJQnz8hw5wFnqVKT","domain":"testaccorgdiscoverydomainsimport-domain2.example.com","status":"verified","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain2.example.com","verification_txt":"6848f53f0403d7c3382dbdf707c12a6f"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 237.504167ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_RsUqoIAGXrUQZT0O","name":"test-dd-import-testaccorgdiscoverydomainsimport","display_name":"Test Discovery Domains Import testaccorgdiscoverydomainsimport"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 227.750833ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains/ord_1csDPQiJM5uXWpzGw1o2YZ + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csDPQiJM5uXWpzGw1o2YZ","domain":"testaccorgdiscoverydomainsimport-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain1.example.com","verification_txt":"8a3bb3f04ac88d02aee9f855e3b80abf"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 237.951708ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPQiJM5uXWpzGw1o2YZ","domain":"testaccorgdiscoverydomainsimport-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain1.example.com","verification_txt":"8a3bb3f04ac88d02aee9f855e3b80abf"},{"id":"ord_1csDPQkJQnz8hw5wFnqVKT","domain":"testaccorgdiscoverydomainsimport-domain2.example.com","status":"verified","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain2.example.com","verification_txt":"6848f53f0403d7c3382dbdf707c12a6f"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 237.10775ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains/ord_1csDPQkJQnz8hw5wFnqVKT + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csDPQkJQnz8hw5wFnqVKT","domain":"testaccorgdiscoverydomainsimport-domain2.example.com","status":"verified","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain2.example.com","verification_txt":"6848f53f0403d7c3382dbdf707c12a6f"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 230.199709ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_RsUqoIAGXrUQZT0O","name":"test-dd-import-testaccorgdiscoverydomainsimport","display_name":"Test Discovery Domains Import testaccorgdiscoverydomainsimport"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 244.387833ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains/ord_1csDPQiJM5uXWpzGw1o2YZ + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csDPQiJM5uXWpzGw1o2YZ","domain":"testaccorgdiscoverydomainsimport-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain1.example.com","verification_txt":"8a3bb3f04ac88d02aee9f855e3b80abf"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 212.364875ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPQiJM5uXWpzGw1o2YZ","domain":"testaccorgdiscoverydomainsimport-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain1.example.com","verification_txt":"8a3bb3f04ac88d02aee9f855e3b80abf"},{"id":"ord_1csDPQkJQnz8hw5wFnqVKT","domain":"testaccorgdiscoverydomainsimport-domain2.example.com","status":"verified","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain2.example.com","verification_txt":"6848f53f0403d7c3382dbdf707c12a6f"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 231.783875ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains/ord_1csDPQkJQnz8hw5wFnqVKT + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"ord_1csDPQkJQnz8hw5wFnqVKT","domain":"testaccorgdiscoverydomainsimport-domain2.example.com","status":"verified","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain2.example.com","verification_txt":"6848f53f0403d7c3382dbdf707c12a6f"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 288.814208ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains/ord_1csDPQkJQnz8hw5wFnqVKT + 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: 226.288083ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains?take=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"domains":[{"id":"ord_1csDPQiJM5uXWpzGw1o2YZ","domain":"testaccorgdiscoverydomainsimport-domain1.example.com","status":"pending","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain1.example.com","verification_txt":"8a3bb3f04ac88d02aee9f855e3b80abf"},{"id":"ord_1csDPQkJQnz8hw5wFnqVKT","domain":"testaccorgdiscoverydomainsimport-domain2.example.com","status":"verified","verification_host":"_ss-verification.org_RsUqoIAGXrUQZT0O.testaccorgdiscoverydomainsimport-domain2.example.com","verification_txt":"6848f53f0403d7c3382dbdf707c12a6f"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 226.149125ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains/ord_1csDPQiJM5uXWpzGw1o2YZ + 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: 219.959584ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains/ord_1csDPQiJM5uXWpzGw1o2YZ + 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: 232.963625ms + - 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: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O/discovery-domains/ord_1csDPQkJQnz8hw5wFnqVKT + 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: 212.818541ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - Go-Auth0/1.28.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_RsUqoIAGXrUQZT0O + 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: 240.791916ms