diff --git a/docs/data-sources/client.md b/docs/data-sources/client.md
index 24f9b2e1a..0ca68187f 100644
--- a/docs/data-sources/client.md
+++ b/docs/data-sources/client.md
@@ -45,6 +45,7 @@ data "auth0_client" "some-client-by-id" {
- `cross_origin_loc` (String) URL of the location in your site where the cross-origin verification takes place for the cross-origin auth flow when performing authentication in your own domain instead of Auth0 Universal Login page.
- `custom_login_page` (String) The content (HTML, CSS, JS) of the custom login page.
- `custom_login_page_on` (Boolean) Indicates whether a custom login page is to be used.
+- `default_organization` (List of Object) Configure and associate an organization with the Client (see [below for nested schema](#nestedatt--default_organization))
- `description` (String) Description of the purpose of the client.
- `encryption_key` (Map of String) Encryption used for WS-Fed responses with this client.
- `form_template` (String) HTML form template to be used for WS-Federation.
@@ -402,6 +403,16 @@ Read-Only:
+
+### Nested Schema for `default_organization`
+
+Read-Only:
+
+- `disable` (Boolean)
+- `flows` (List of String)
+- `organization_id` (String)
+
+
### Nested Schema for `jwt_configuration`
diff --git a/docs/resources/client.md b/docs/resources/client.md
index c1a8506f4..3c72992d1 100644
--- a/docs/resources/client.md
+++ b/docs/resources/client.md
@@ -100,6 +100,7 @@ resource "auth0_client" "my_client" {
- `cross_origin_loc` (String) URL of the location in your site where the cross-origin verification takes place for the cross-origin auth flow when performing authentication in your own domain instead of Auth0 Universal Login page.
- `custom_login_page` (String) The content (HTML, CSS, JS) of the custom login page.
- `custom_login_page_on` (Boolean) Indicates whether a custom login page is to be used.
+- `default_organization` (Block List, Max: 1) Configure and associate an organization with the Client (see [below for nested schema](#nestedblock--default_organization))
- `description` (String) Description of the purpose of the client.
- `encryption_key` (Map of String) Encryption used for WS-Fed responses with this client.
- `form_template` (String) HTML form template to be used for WS-Federation.
@@ -448,6 +449,16 @@ Optional:
+
+### Nested Schema for `default_organization`
+
+Optional:
+
+- `disable` (Boolean) If set, the `default_organization` will be removed.
+- `flows` (List of String) Definition of the flow that needs to be configured. Eg. client_credentials
+- `organization_id` (String) The unique identifier of the organization
+
+
### Nested Schema for `jwt_configuration`
diff --git a/internal/auth0/client/expand.go b/internal/auth0/client/expand.go
index 15d955672..96a574eff 100644
--- a/internal/auth0/client/expand.go
+++ b/internal/auth0/client/expand.go
@@ -1,6 +1,8 @@
package client
import (
+ "encoding/json"
+
"github.com/auth0/go-auth0"
"github.com/auth0/go-auth0/management"
"github.com/hashicorp/go-cty/cty"
@@ -9,7 +11,12 @@ import (
"github.com/auth0/terraform-provider-auth0/internal/value"
)
-func expandClient(data *schema.ResourceData) *management.Client {
+type nilableClient struct {
+ management.Client
+ DefaultOrganization *management.ClientDefaultOrganization `json:"default_organization"`
+}
+
+func expandClient(data *schema.ResourceData) (interface{}, error) {
config := data.GetRawConfig()
client := &management.Client{
@@ -61,7 +68,46 @@ func expandClient(data *schema.ResourceData) *management.Client {
}
}
- return client
+ defaultOrg := config.GetAttr("default_organization")
+
+ if !defaultOrg.IsNull() && defaultOrg.LengthInt() > 0 {
+ if defaultOrg.AsValueSlice()[0].GetAttr("disable").True() {
+ clientJSON, err := json.Marshal(client)
+ if err != nil {
+ return nil, err
+ }
+
+ nilableClient := nilableClient{}
+ if err := json.Unmarshal(clientJSON, &nilableClient); err != nil {
+ return nil, err
+ }
+ nilableClient.DefaultOrganization = nil
+ return nilableClient, nil
+ }
+ client.DefaultOrganization = expandDefaultOrganization(data)
+ }
+
+ return client, nil
+}
+
+func expandDefaultOrganization(data *schema.ResourceData) *management.ClientDefaultOrganization {
+ var defaultOrg management.ClientDefaultOrganization
+
+ defaultOrganizationConfig := data.GetRawConfig().GetAttr("default_organization")
+ if defaultOrganizationConfig.IsNull() {
+ return nil
+ }
+
+ defaultOrganizationConfig.ForEachElement(func(_ cty.Value, config cty.Value) (stop bool) {
+ defaultOrg.Flows = value.Strings(config.GetAttr("flows"))
+ defaultOrg.OrganizationID = value.String(config.GetAttr("organization_id"))
+ return stop
+ })
+ if defaultOrg == (management.ClientDefaultOrganization{}) {
+ return nil
+ }
+
+ return &defaultOrg
}
func expandOIDCBackchannelLogout(data *schema.ResourceData) *management.OIDCBackchannelLogout {
diff --git a/internal/auth0/client/flatten.go b/internal/auth0/client/flatten.go
index 885c0fc42..2c7e8831e 100644
--- a/internal/auth0/client/flatten.go
+++ b/internal/auth0/client/flatten.go
@@ -506,6 +506,19 @@ func flattenClientAddonSAML2(addon *management.SAML2ClientAddon) []interface{} {
}
}
+func flattenDefaultOrganization(defaultOrganization *management.ClientDefaultOrganization) []interface{} {
+ do := make(map[string]interface{})
+
+ if defaultOrganization == nil {
+ do["disable"] = true
+ } else {
+ do["flows"] = defaultOrganization.GetFlows()
+ do["organization_id"] = defaultOrganization.GetOrganizationID()
+ }
+
+ return []interface{}{do}
+}
+
func flattenClient(data *schema.ResourceData, client *management.Client) error {
result := multierror.Append(
data.Set("client_id", client.GetClientID()),
@@ -543,6 +556,7 @@ func flattenClient(data *schema.ResourceData, client *management.Client) error {
data.Set("client_metadata", client.GetClientMetadata()),
data.Set("oidc_backchannel_logout_urls", client.GetOIDCBackchannelLogout().GetBackChannelLogoutURLs()),
data.Set("require_pushed_authorization_requests", client.GetRequirePushedAuthorizationRequests()),
+ data.Set("default_organization", flattenDefaultOrganization(client.GetDefaultOrganization())),
)
return result.ErrorOrNil()
}
diff --git a/internal/auth0/client/resource.go b/internal/auth0/client/resource.go
index 3b9fff5aa..348775db7 100644
--- a/internal/auth0/client/resource.go
+++ b/internal/auth0/client/resource.go
@@ -2,6 +2,8 @@ package client
import (
"context"
+ "encoding/json"
+ "net/http"
"github.com/auth0/go-auth0/management"
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
@@ -1271,20 +1273,66 @@ func NewResource() *schema.Resource {
},
},
},
+ "default_organization": {
+ Type: schema.TypeList,
+ Optional: true,
+ MaxItems: 1,
+ Description: "Configure and associate an organization with the Client",
+ Computed: true,
+ Elem: &schema.Resource{
+ Schema: map[string]*schema.Schema{
+ "flows": {
+ Type: schema.TypeList,
+ Optional: true,
+ Elem: &schema.Schema{Type: schema.TypeString},
+ RequiredWith: []string{"default_organization.0.organization_id"},
+ ConflictsWith: []string{"default_organization.0.disable"},
+ Description: "Definition of the flow that needs to be configured. Eg. client_credentials",
+ },
+ "organization_id": {
+ Type: schema.TypeString,
+ Optional: true,
+ RequiredWith: []string{"default_organization.0.flows"},
+ ConflictsWith: []string{"default_organization.0.disable"},
+ Description: "The unique identifier of the organization",
+ },
+ "disable": {
+ Type: schema.TypeBool,
+ Optional: true,
+ ConflictsWith: []string{"default_organization.0.organization_id", "default_organization.0.flows"},
+ Description: "If set, the `default_organization` will be removed.",
+ },
+ },
+ },
+ },
},
}
}
func createClient(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics {
api := meta.(*config.Config).GetAPI()
+ client, err := expandClient(data)
- client := expandClient(data)
+ if err != nil {
+ return diag.FromErr(err)
+ }
+ err = api.Request(ctx, http.MethodPost, api.URI("clients"), client)
+ if err != nil {
+ return diag.FromErr(err)
+ }
- if err := api.Client.Create(ctx, client); err != nil {
+ baseClient := management.Client{}
+ clientJSON, err := json.Marshal(client)
+
+ if err != nil {
+ return diag.FromErr(err)
+ }
+
+ if err = json.Unmarshal(clientJSON, &baseClient); err != nil {
return diag.FromErr(err)
}
- data.SetId(client.GetClientID())
+ data.SetId(baseClient.GetClientID())
return readClient(ctx, data, meta)
}
@@ -1304,8 +1352,24 @@ func readClient(ctx context.Context, data *schema.ResourceData, meta interface{}
func updateClient(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics {
api := meta.(*config.Config).GetAPI()
- if client := expandClient(data); clientHasChange(client) {
- if client.GetAddons() != nil {
+ client, err := expandClient(data)
+ if err != nil {
+ return diag.FromErr(err)
+ }
+
+ baseClient := management.Client{}
+ clientJSON, err := json.Marshal(client)
+
+ if err != nil {
+ return diag.FromErr(err)
+ }
+
+ if err = json.Unmarshal(clientJSON, &baseClient); err != nil {
+ return diag.FromErr(err)
+ }
+
+ if clientHasChange(&baseClient) {
+ if baseClient.GetAddons() != nil {
// In case we are switching addons, we need to be able to clear out the previous config.
resetAddons := &management.Client{
Addons: &management.ClientAddons{},
@@ -1315,8 +1379,9 @@ func updateClient(ctx context.Context, data *schema.ResourceData, meta interface
}
}
- if err := api.Client.Update(ctx, data.Id(), client); err != nil {
- return diag.FromErr(internalError.HandleAPIError(data, err))
+ err = api.Request(ctx, http.MethodPatch, api.URI("clients", data.Id()), client)
+ if err != nil {
+ return diag.FromErr(err)
}
}
diff --git a/internal/auth0/client/resource_test.go b/internal/auth0/client/resource_test.go
index 8791c446d..963fe2405 100644
--- a/internal/auth0/client/resource_test.go
+++ b/internal/auth0/client/resource_test.go
@@ -2315,3 +2315,115 @@ func TestAccClientCanSetDefaultAuthMethodOnCreate(t *testing.T) {
},
})
}
+
+const testAccCreateClientWithDefaultOrganization = `
+resource "auth0_organization" "my_org" {
+ name = "temp-org"
+ display_name = "temp-org"
+}
+
+data "auth0_organization" "my_org" {
+ depends_on = [ resource.auth0_organization.my_org ]
+ name = "temp-org"
+}
+
+resource "auth0_client" "my_client" {
+ depends_on = [ data.auth0_organization.my_org ]
+ name = "Acceptance Test - DefaultOrganization - {{.testName}}"
+ default_organization {
+ flows = ["client_credentials"]
+ organization_id = data.auth0_organization.my_org.id
+ }
+}
+`
+
+const testAccUpdateClientWithDefaultOrganization = `
+resource "auth0_organization" "my_new_org" {
+ name = "temp-new-org"
+ display_name = "temp-new-org"
+}
+
+data "auth0_organization" "my_new_org" {
+ depends_on = [ resource.auth0_organization.my_new_org ]
+ name = "temp-new-org"
+}
+
+resource "auth0_client" "my_client" {
+ depends_on = [ data.auth0_organization.my_new_org ]
+ name = "Acceptance Test - DefaultOrganization - {{.testName}}"
+ default_organization {
+ flows = ["client_credentials"]
+ organization_id = data.auth0_organization.my_new_org.id
+ }
+}
+`
+
+const testAccUpdateClientRemoveDefaultOrganization = `
+resource "auth0_client" "my_client" {
+ name = "Acceptance Test - DefaultOrganization - {{.testName}}"
+ default_organization {
+ disable = true
+ }
+}
+`
+
+const testAccUpdateClientDefaultOrganizationFlowsOnly = `
+resource "auth0_client" "my_client" {
+ name = "Acceptance Test - DefaultOrganization - {{.testName}}"
+ default_organization {
+ flows = ["client_credentials"]
+ }
+}
+`
+
+const testAccUpdateClientDefaultOrganizationOrgIDOnly = `
+resource "auth0_client" "my_client" {
+ name = "Acceptance Test - DefaultOrganization - {{.testName}}"
+ default_organization {
+ organization_id = "org_z5YvxlXPO0NspoIa"
+ }
+}
+`
+
+func TestAccClientWithDefaultOrganization(t *testing.T) {
+ acctest.Test(t, resource.TestCase{
+ Steps: []resource.TestStep{
+ {
+ Config: acctest.ParseTestName(testAccUpdateClientDefaultOrganizationFlowsOnly, t.Name()),
+ ExpectError: regexp.MustCompile("Error: Missing required argument"),
+ },
+ {
+ Config: acctest.ParseTestName(testAccUpdateClientDefaultOrganizationOrgIDOnly, t.Name()),
+ ExpectError: regexp.MustCompile("Error: Missing required argument"),
+ },
+ {
+ Config: acctest.ParseTestName(testAccCreateClientWithDefaultOrganization, t.Name()),
+ Check: resource.ComposeTestCheckFunc(
+
+ resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - DefaultOrganization - %s", t.Name())),
+ resource.TestCheckResourceAttr("auth0_client.my_client", "default_organization.0.flows.0", "client_credentials"),
+ resource.TestCheckResourceAttrSet("auth0_client.my_client", "default_organization.0.organization_id"),
+ ),
+ },
+ {
+ Config: acctest.ParseTestName(testAccUpdateClientWithDefaultOrganization, t.Name()),
+ Check: resource.ComposeTestCheckFunc(
+
+ resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - DefaultOrganization - %s", t.Name())),
+ resource.TestCheckResourceAttr("auth0_client.my_client", "default_organization.0.flows.0", "client_credentials"),
+ resource.TestCheckResourceAttrSet("auth0_client.my_client", "default_organization.0.organization_id"),
+ ),
+ },
+ {
+ Config: acctest.ParseTestName(testAccUpdateClientRemoveDefaultOrganization, t.Name()),
+ Check: resource.ComposeTestCheckFunc(
+
+ resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - DefaultOrganization - %s", t.Name())),
+ resource.TestCheckResourceAttr("auth0_client.my_client", "default_organization.0.disable", "true"),
+ resource.TestCheckResourceAttr("auth0_client.my_client", "default_organization.0.flows.#", "0"),
+ resource.TestCheckResourceAttr("auth0_client.my_client", "default_organization.0.organization_id", ""),
+ ),
+ },
+ },
+ })
+}
diff --git a/test/data/recordings/TestAccClientMobile.yaml b/test/data/recordings/TestAccClientMobile.yaml
index 1f4854b14..e4d1c2ec8 100644
--- a/test/data/recordings/TestAccClientMobile.yaml
+++ b/test/data/recordings/TestAccClientMobile.yaml
@@ -1,578 +1,567 @@
---
version: 2
interactions:
- - id: 0
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 329
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: |
- {"name":"Acceptance Test - Mobile - TestAccClientMobile","app_type":"native","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF"]},"ios":{"team_id":"9JA89QQLNQ","app_bundle_identifier":"com.my.bundle.id"}},"native_social_login":{"apple":{"enabled":true},"facebook":{"enabled":false}}}
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients
- method: POST
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: -1
- uncompressed: false
- body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF"]},"ios":{"team_id":"9JA89QQLNQ","app_bundle_identifier":"com.my.bundle.id"}},"native_social_login":{"apple":{"enabled":true},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 201 Created
- code: 201
- duration: 1ms
- - id: 1
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 5
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: |
- null
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y
- method: GET
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: -1
- uncompressed: true
- body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF"]},"ios":{"team_id":"9JA89QQLNQ","app_bundle_identifier":"com.my.bundle.id"}},"native_social_login":{"apple":{"enabled":true},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 200 OK
- code: 200
- duration: 1ms
- - id: 2
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 5
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: |
- null
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y
- method: GET
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: -1
- uncompressed: true
- body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF"]},"ios":{"team_id":"9JA89QQLNQ","app_bundle_identifier":"com.my.bundle.id"}},"native_social_login":{"apple":{"enabled":true},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 200 OK
- code: 200
- duration: 1ms
- - id: 3
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 5
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: |
- null
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y
- method: GET
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: -1
- uncompressed: true
- body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF"]},"ios":{"team_id":"9JA89QQLNQ","app_bundle_identifier":"com.my.bundle.id"}},"native_social_login":{"apple":{"enabled":true},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 200 OK
- code: 200
- duration: 1ms
- - id: 4
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 346
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: |
- {"name":"Acceptance Test - Mobile - TestAccClientMobile","app_type":"native","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":true}}}
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y
- method: PATCH
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: -1
- uncompressed: true
- body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":true}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 200 OK
- code: 200
- duration: 1ms
- - id: 5
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 5
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: |
- null
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y
- method: GET
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: -1
- uncompressed: true
- body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":true}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 200 OK
- code: 200
- duration: 1ms
- - id: 6
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 5
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: |
- null
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y
- method: GET
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: -1
- uncompressed: true
- body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":true}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 200 OK
- code: 200
- duration: 1ms
- - id: 7
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 5
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: |
- null
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y
- method: GET
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: -1
- uncompressed: true
- body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":true}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 200 OK
- code: 200
- duration: 1ms
- - id: 8
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 244
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: |
- {"name":"Acceptance Test - Mobile - TestAccClientMobile","app_type":"native","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]}},"native_social_login":{"facebook":{"enabled":false}}}
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y
- method: PATCH
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: -1
- uncompressed: true
- body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 200 OK
- code: 200
- duration: 1ms
- - id: 9
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 5
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: |
- null
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y
- method: GET
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: -1
- uncompressed: true
- body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 200 OK
- code: 200
- duration: 1ms
- - id: 10
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 5
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: |
- null
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y
- method: GET
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: -1
- uncompressed: true
- body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 200 OK
- code: 200
- duration: 1ms
- - id: 11
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 5
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: |
- null
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y
- method: GET
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: -1
- uncompressed: true
- body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 200 OK
- code: 200
- duration: 1ms
- - id: 12
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 166
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: |
- {"name":"Acceptance Test - Mobile - TestAccClientMobile","app_type":"non_interactive","native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}}}
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y
- method: PATCH
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: -1
- uncompressed: true
- body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 200 OK
- code: 200
- duration: 1ms
- - id: 13
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 5
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: |
- null
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y
- method: GET
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: -1
- uncompressed: true
- body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 200 OK
- code: 200
- duration: 1ms
- - id: 14
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 5
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: |
- null
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y
- method: GET
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: -1
- uncompressed: true
- body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 200 OK
- code: 200
- duration: 1ms
- - id: 15
- request:
- proto: HTTP/1.1
- proto_major: 1
- proto_minor: 1
- content_length: 0
- transfer_encoding: [ ]
- trailer: { }
- host: terraform-provider-auth0-dev.eu.auth0.com
- remote_addr: ""
- request_uri: ""
- body: ""
- form: { }
- headers:
- Content-Type:
- - application/json
- User-Agent:
- - Go-Auth0-SDK/latest
- url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C9GmFaOkgZQsWm4Gjs3WWbwoAeUs8m1y
- method: DELETE
- response:
- proto: HTTP/2.0
- proto_major: 2
- proto_minor: 0
- transfer_encoding: [ ]
- trailer: { }
- content_length: 0
- uncompressed: false
- body: ""
- headers:
- Content-Type:
- - application/json; charset=utf-8
- status: 204 No Content
- code: 204
- duration: 1ms
+ - id: 0
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 365
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"name":"Acceptance Test - Mobile - TestAccClientMobile","app_type":"native","token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF"]},"ios":{"team_id":"9JA89QQLNQ","app_bundle_identifier":"com.my.bundle.id"}},"native_social_login":{"apple":{"enabled":true},"facebook":{"enabled":false}}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: false
+ body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token"],"custom_login_page_on":true,"token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF"]},"ios":{"team_id":"9JA89QQLNQ","app_bundle_identifier":"com.my.bundle.id"}},"native_social_login":{"apple":{"enabled":true},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 201 Created
+ code: 201
+ duration: 508.566958ms
+ - id: 1
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token"],"custom_login_page_on":true,"token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF"]},"ios":{"team_id":"9JA89QQLNQ","app_bundle_identifier":"com.my.bundle.id"}},"native_social_login":{"apple":{"enabled":true},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 355.88175ms
+ - id: 2
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token"],"custom_login_page_on":true,"token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF"]},"ios":{"team_id":"9JA89QQLNQ","app_bundle_identifier":"com.my.bundle.id"}},"native_social_login":{"apple":{"enabled":true},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 351.02ms
+ - id: 3
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token"],"custom_login_page_on":true,"token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF"]},"ios":{"team_id":"9JA89QQLNQ","app_bundle_identifier":"com.my.bundle.id"}},"native_social_login":{"apple":{"enabled":true},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 390.053125ms
+ - id: 4
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 346
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"name":"Acceptance Test - Mobile - TestAccClientMobile","app_type":"native","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":true}}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l
+ method: PATCH
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token"],"custom_login_page_on":true,"token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":true}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 368.082208ms
+ - id: 5
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token"],"custom_login_page_on":true,"token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":true}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 353.976958ms
+ - id: 6
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token"],"custom_login_page_on":true,"token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":true}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 321.258541ms
+ - id: 7
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token"],"custom_login_page_on":true,"token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":true}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 324.901959ms
+ - id: 8
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 244
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"name":"Acceptance Test - Mobile - TestAccClientMobile","app_type":"native","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]}},"native_social_login":{"facebook":{"enabled":false}}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l
+ method: PATCH
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token"],"custom_login_page_on":true,"token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 337.834667ms
+ - id: 9
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token"],"custom_login_page_on":true,"token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 341.786541ms
+ - id: 10
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token"],"custom_login_page_on":true,"token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 333.759958ms
+ - id: 11
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l","client_secret":"[REDACTED]","app_type":"native","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token"],"custom_login_page_on":true,"token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 324.375917ms
+ - id: 12
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 166
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"name":"Acceptance Test - Mobile - TestAccClientMobile","app_type":"non_interactive","native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l
+ method: PATCH
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token"],"custom_login_page_on":true,"token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 337.241625ms
+ - id: 13
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token"],"custom_login_page_on":true,"token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 326.523709ms
+ - id: 14
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - Mobile - TestAccClientMobile","client_id":"Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token"],"custom_login_page_on":true,"token_endpoint_auth_method":"none","mobile":{"android":{"app_package_name":"com.example","sha256_cert_fingerprints":["DE:AD:BE:EF","CA:DE:FF:AA"]},"ios":{"team_id":"1111111111","app_bundle_identifier":"com.my.auth0.bundle"}},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 325.09025ms
+ - id: 15
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/Kk8IaPGuwvzRSQ7Zf73XO4KGjH3gsQ5l
+ 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: 395.822958ms
diff --git a/test/data/recordings/TestAccClientWithDefaultOrganization.yaml b/test/data/recordings/TestAccClientWithDefaultOrganization.yaml
new file mode 100644
index 000000000..419353019
--- /dev/null
+++ b/test/data/recordings/TestAccClientWithDefaultOrganization.yaml
@@ -0,0 +1,1408 @@
+---
+version: 2
+interactions:
+ - id: 0
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 46
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"name":"temp-org","display_name":"temp-org"}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.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: 73
+ uncompressed: false
+ body: '{"id":"org_L9tuSpc9hrPx5Ewe","display_name":"temp-org","name":"temp-org"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 201 Created
+ code: 201
+ duration: 387.304ms
+ - id: 1
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_L9tuSpc9hrPx5Ewe
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_L9tuSpc9hrPx5Ewe","name":"temp-org","display_name":"temp-org"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 319.546208ms
+ - id: 2
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/name/temp-org
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_L9tuSpc9hrPx5Ewe","name":"temp-org","display_name":"temp-org"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 368.10525ms
+ - id: 3
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_L9tuSpc9hrPx5Ewe/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: 314.2135ms
+ - id: 4
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_L9tuSpc9hrPx5Ewe/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: 375.036667ms
+ - id: 5
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 185
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"name":"Acceptance Test - DefaultOrganization - TestAccClientWithDefaultOrganization","default_organization":{"flows":["client_credentials"],"organization_id":"org_L9tuSpc9hrPx5Ewe"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients
+ method: POST
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: false
+ body: '{"name":"Acceptance Test - DefaultOrganization - TestAccClientWithDefaultOrganization","client_id":"UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000},"default_organization":{"flows":["client_credentials"],"organization_id":"org_L9tuSpc9hrPx5Ewe"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 201 Created
+ code: 201
+ duration: 535.428875ms
+ - id: 6
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - DefaultOrganization - TestAccClientWithDefaultOrganization","client_id":"UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000},"default_organization":{"flows":["client_credentials"],"organization_id":"org_L9tuSpc9hrPx5Ewe"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 327.178667ms
+ - id: 7
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/name/temp-org
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_L9tuSpc9hrPx5Ewe","name":"temp-org","display_name":"temp-org"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 319.244875ms
+ - id: 8
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_L9tuSpc9hrPx5Ewe/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: 346.711334ms
+ - id: 9
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_L9tuSpc9hrPx5Ewe/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: 315.336958ms
+ - id: 10
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_L9tuSpc9hrPx5Ewe
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_L9tuSpc9hrPx5Ewe","name":"temp-org","display_name":"temp-org"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 356.98725ms
+ - id: 11
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/name/temp-org
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_L9tuSpc9hrPx5Ewe","name":"temp-org","display_name":"temp-org"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 333.054625ms
+ - id: 12
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_L9tuSpc9hrPx5Ewe/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: 334.239125ms
+ - id: 13
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_L9tuSpc9hrPx5Ewe/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: 373.716375ms
+ - id: 14
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - DefaultOrganization - TestAccClientWithDefaultOrganization","client_id":"UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000},"default_organization":{"flows":["client_credentials"],"organization_id":"org_L9tuSpc9hrPx5Ewe"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 421.9745ms
+ - id: 15
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_L9tuSpc9hrPx5Ewe
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_L9tuSpc9hrPx5Ewe","name":"temp-org","display_name":"temp-org"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 326.383667ms
+ - id: 16
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - DefaultOrganization - TestAccClientWithDefaultOrganization","client_id":"UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000},"default_organization":{"flows":["client_credentials"],"organization_id":"org_L9tuSpc9hrPx5Ewe"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 367.238333ms
+ - id: 17
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 54
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"name":"temp-new-org","display_name":"temp-new-org"}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.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: 81
+ uncompressed: false
+ body: '{"id":"org_a4BzVtegnDVDuDy9","display_name":"temp-new-org","name":"temp-new-org"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 201 Created
+ code: 201
+ duration: 363.563167ms
+ - id: 18
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_L9tuSpc9hrPx5Ewe
+ 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: 364.001042ms
+ - id: 19
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_a4BzVtegnDVDuDy9
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_a4BzVtegnDVDuDy9","name":"temp-new-org","display_name":"temp-new-org"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 405.514375ms
+ - id: 20
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/name/temp-new-org
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_a4BzVtegnDVDuDy9","name":"temp-new-org","display_name":"temp-new-org"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 397.822125ms
+ - id: 21
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_a4BzVtegnDVDuDy9/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: 332.58675ms
+ - id: 22
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_a4BzVtegnDVDuDy9/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: 308.963459ms
+ - id: 23
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 185
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"name":"Acceptance Test - DefaultOrganization - TestAccClientWithDefaultOrganization","default_organization":{"flows":["client_credentials"],"organization_id":"org_a4BzVtegnDVDuDy9"}}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O
+ method: PATCH
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - DefaultOrganization - TestAccClientWithDefaultOrganization","client_id":"UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000},"default_organization":{"flows":["client_credentials"],"organization_id":"org_a4BzVtegnDVDuDy9"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 349.178584ms
+ - id: 24
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - DefaultOrganization - TestAccClientWithDefaultOrganization","client_id":"UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000},"default_organization":{"flows":["client_credentials"],"organization_id":"org_a4BzVtegnDVDuDy9"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 366.586167ms
+ - id: 25
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/name/temp-new-org
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_a4BzVtegnDVDuDy9","name":"temp-new-org","display_name":"temp-new-org"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 338.95425ms
+ - id: 26
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_a4BzVtegnDVDuDy9/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: 348.369542ms
+ - id: 27
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_a4BzVtegnDVDuDy9/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: 464.628208ms
+ - id: 28
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_a4BzVtegnDVDuDy9
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_a4BzVtegnDVDuDy9","name":"temp-new-org","display_name":"temp-new-org"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 322.3335ms
+ - id: 29
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/name/temp-new-org
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_a4BzVtegnDVDuDy9","name":"temp-new-org","display_name":"temp-new-org"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 312.33325ms
+ - 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:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_a4BzVtegnDVDuDy9/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: 334.045958ms
+ - id: 31
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_a4BzVtegnDVDuDy9/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: 316.074625ms
+ - id: 32
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - DefaultOrganization - TestAccClientWithDefaultOrganization","client_id":"UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000},"default_organization":{"flows":["client_credentials"],"organization_id":"org_a4BzVtegnDVDuDy9"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 319.822792ms
+ - 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:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_a4BzVtegnDVDuDy9
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"id":"org_a4BzVtegnDVDuDy9","name":"temp-new-org","display_name":"temp-new-org"}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 329.676167ms
+ - 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:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - DefaultOrganization - TestAccClientWithDefaultOrganization","client_id":"UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000},"default_organization":{"flows":["client_credentials"],"organization_id":"org_a4BzVtegnDVDuDy9"}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 328.713916ms
+ - 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:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_a4BzVtegnDVDuDy9
+ 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: 321.1195ms
+ - id: 36
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 116
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: |
+ {"name":"Acceptance Test - DefaultOrganization - TestAccClientWithDefaultOrganization","default_organization":null}
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O
+ method: PATCH
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - DefaultOrganization - TestAccClientWithDefaultOrganization","client_id":"UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 375.951416ms
+ - 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:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - DefaultOrganization - TestAccClientWithDefaultOrganization","client_id":"UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 325.905459ms
+ - id: 38
+ request:
+ proto: HTTP/1.1
+ proto_major: 1
+ proto_minor: 1
+ content_length: 0
+ transfer_encoding: []
+ trailer: {}
+ host: terraform-provider-auth0-dev.eu.auth0.com
+ remote_addr: ""
+ request_uri: ""
+ body: ""
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O
+ method: GET
+ response:
+ proto: HTTP/2.0
+ proto_major: 2
+ proto_minor: 0
+ transfer_encoding: []
+ trailer: {}
+ content_length: -1
+ uncompressed: true
+ body: '{"name":"Acceptance Test - DefaultOrganization - TestAccClientWithDefaultOrganization","client_id":"UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}'
+ headers:
+ Content-Type:
+ - application/json; charset=utf-8
+ status: 200 OK
+ code: 200
+ duration: 382.925125ms
+ - 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:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - Go-Auth0/1.9.0
+ url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UF2V30gQir0tyP4rqdVH1zm8VaJZDV6O
+ 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: 404.244417ms