diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a7545595d..e455487ea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@v3 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version-file: go.mod check-latest: true @@ -36,7 +36,7 @@ jobs: uses: actions/checkout@v3 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version-file: go.mod check-latest: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ecac3f88..6366ac2ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,10 +14,11 @@ jobs: run: git fetch --prune --unshallow - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version-file: go.mod check-latest: true + cache: false - name: Import GPG key id: import_gpg diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 724fabfd2..2fd5fbba5 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -29,3 +29,7 @@ jobs: steps: - name: Scan for vulnerabilities in go code uses: golang/govulncheck-action@v0.2.0 + with: + go-version-input: 1.20.6 + check-latest: true + cache: false diff --git a/.github/workflows/sweep.yml b/.github/workflows/sweep.yml index 4d350e059..f2b436dc8 100644 --- a/.github/workflows/sweep.yml +++ b/.github/workflows/sweep.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v3 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version-file: go.mod check-latest: true diff --git a/MIGRATION_GUIDE.md b/MIGRATION_GUIDE.md index d5fca285a..4abbb5342 100644 --- a/MIGRATION_GUIDE.md +++ b/MIGRATION_GUIDE.md @@ -15,10 +15,10 @@ automated workflows before upgrading. The `auth0_global_client` resource and data source were introduced primarily to allow managing the `custom_login_page` and `custom_login_page_on` attributes in order to manage the custom login page of a tenant. These are now deprecated in -favor of the `auth0_pages` resource. +favor of the `auth0_pages` resource and data source. -To ensure a smooth transition when we eventually remove the capability to manage the custom -login page through the `auth0_global_client`, we recommend proactively migrating to the `auth0_pages` resource. +To ensure a smooth transition when we eventually remove the capability to manage the custom +login page through the `auth0_global_client`, we recommend proactively migrating to the `auth0_pages` resource and data source. This will help you stay prepared for future changes. @@ -55,7 +55,7 @@ resource "auth0_pages" "my_pages" { #### Tenant Pages The `change_password`, `guardian_mfa_page` and `error_page` attributes on the `auth0_tenant` have been deprecated in -favor of managing them with the `auth0_pages` resource. +favor of managing them with the `auth0_pages` resource. To ensure a smooth transition when we eventually remove the capability to manage these custom Auth0 pages through the `auth0_tenant` resource, we recommend proactively migrating to the `auth0_pages` resource. This will help you stay @@ -151,7 +151,7 @@ resource "auth0_branding" "my_branding" { colors { primary = "#0059d6" page_background = "#000000" - } + } } ``` diff --git a/docs/data-sources/client.md b/docs/data-sources/client.md index c1bc5ce90..4df512c05 100644 --- a/docs/data-sources/client.md +++ b/docs/data-sources/client.md @@ -40,7 +40,7 @@ data "auth0_client" "some-client-by-id" { - `callbacks` (List of String) URLs that Auth0 may call back to after a user authenticates for the client. Make sure to specify the protocol (https://) otherwise the callback may fail in some cases. With the exception of custom URI schemes for native clients, all callbacks should use protocol https://. - `client_aliases` (List of String) List of audiences/realms for SAML protocol. Used by the wsfed addon. - `client_metadata` (Map of String) Metadata associated with the client, in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. Field names (max 255 chars) are alphanumeric and may only include the following special characters: `:,-+=_*?"/\()<>@ [Tab] [Space]`. -- `client_secret` (String) Secret for the client. Keep this private. To access this attribute you need to add the `read:client_keys` scope to the Terraform client. Otherwise, the attribute will contain an empty string. +- `client_secret` (String, Sensitive) Secret for the client. Keep this private. To access this attribute you need to add the `read:client_keys` scope to the Terraform client. Otherwise, the attribute will contain an empty string. - `cross_origin_auth` (Boolean) Whether this client can be used to make cross-origin authentication requests (`true`) or it is not allowed to make such requests (`false`). Requires the `coa_toggle_enabled` feature flag to be enabled on the tenant by the support team. - `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. @@ -65,7 +65,7 @@ data "auth0_client" "some-client-by-id" { - `signing_keys` (List of Map of String) List containing a map of the public cert of the signing key and the public cert of the signing key in PKCS7. - `sso` (Boolean) Applies only to SSO clients and determines whether Auth0 will handle Single Sign-On (true) or whether the identity provider will (false). - `sso_disabled` (Boolean) Indicates whether or not SSO is disabled. -- `token_endpoint_auth_method` (String) Defines the requested authentication method for the token endpoint. Options include `none` (public client without a client secret), `client_secret_post` (client uses HTTP POST parameters), `client_secret_basic` (client uses HTTP Basic). Managing the authentication method through this attribute is deprecated and it will be removed in a future major version. Migrate to the `auth0_client_credentials` resource to manage a client's authentication method instead. Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#client-authentication-method) on how to do that. +- `token_endpoint_auth_method` (String) The authentication method for the token endpoint. Results include `none` (public client without a client secret), `client_secret_post` (client uses HTTP POST parameters), `client_secret_basic` (client uses HTTP Basic). Managing a client's authentication method can be done via the `auth0_client_credentials` resource. - `web_origins` (List of String) URLs that represent valid web origins for use with web message response mode. @@ -73,34 +73,208 @@ data "auth0_client" "some-client-by-id" { Read-Only: -- `aws` (Map of String) -- `azure_blob` (Map of String) -- `azure_sb` (Map of String) -- `box` (Map of String) -- `cloudbees` (Map of String) -- `concur` (Map of String) -- `dropbox` (Map of String) -- `echosign` (Map of String) -- `egnyte` (Map of String) -- `firebase` (Map of String) -- `layer` (Map of String) -- `mscrm` (Map of String) -- `newrelic` (Map of String) -- `office365` (Map of String) -- `rms` (Map of String) -- `salesforce` (Map of String) -- `salesforce_api` (Map of String) -- `salesforce_sandbox_api` (Map of String) +- `aws` (List of Object) (see [below for nested schema](#nestedobjatt--addons--aws)) +- `azure_blob` (List of Object) (see [below for nested schema](#nestedobjatt--addons--azure_blob)) +- `azure_sb` (List of Object) (see [below for nested schema](#nestedobjatt--addons--azure_sb)) +- `box` (List of Object) (see [below for nested schema](#nestedobjatt--addons--box)) +- `cloudbees` (List of Object) (see [below for nested schema](#nestedobjatt--addons--cloudbees)) +- `concur` (List of Object) (see [below for nested schema](#nestedobjatt--addons--concur)) +- `dropbox` (List of Object) (see [below for nested schema](#nestedobjatt--addons--dropbox)) +- `echosign` (List of Object) (see [below for nested schema](#nestedobjatt--addons--echosign)) +- `egnyte` (List of Object) (see [below for nested schema](#nestedobjatt--addons--egnyte)) +- `firebase` (List of Object) (see [below for nested schema](#nestedobjatt--addons--firebase)) +- `layer` (List of Object) (see [below for nested schema](#nestedobjatt--addons--layer)) +- `mscrm` (List of Object) (see [below for nested schema](#nestedobjatt--addons--mscrm)) +- `newrelic` (List of Object) (see [below for nested schema](#nestedobjatt--addons--newrelic)) +- `office365` (List of Object) (see [below for nested schema](#nestedobjatt--addons--office365)) +- `rms` (List of Object) (see [below for nested schema](#nestedobjatt--addons--rms)) +- `salesforce` (List of Object) (see [below for nested schema](#nestedobjatt--addons--salesforce)) +- `salesforce_api` (List of Object) (see [below for nested schema](#nestedobjatt--addons--salesforce_api)) +- `salesforce_sandbox_api` (List of Object) (see [below for nested schema](#nestedobjatt--addons--salesforce_sandbox_api)) - `samlp` (List of Object) (see [below for nested schema](#nestedobjatt--addons--samlp)) -- `sap_api` (Map of String) -- `sentry` (Map of String) -- `sharepoint` (Map of String) -- `slack` (Map of String) -- `springcm` (Map of String) -- `wams` (Map of String) -- `wsfed` (Map of String) -- `zendesk` (Map of String) -- `zoom` (Map of String) +- `sap_api` (List of Object) (see [below for nested schema](#nestedobjatt--addons--sap_api)) +- `sentry` (List of Object) (see [below for nested schema](#nestedobjatt--addons--sentry)) +- `sharepoint` (List of Object) (see [below for nested schema](#nestedobjatt--addons--sharepoint)) +- `slack` (List of Object) (see [below for nested schema](#nestedobjatt--addons--slack)) +- `springcm` (List of Object) (see [below for nested schema](#nestedobjatt--addons--springcm)) +- `sso_integration` (List of Object) (see [below for nested schema](#nestedobjatt--addons--sso_integration)) +- `wams` (List of Object) (see [below for nested schema](#nestedobjatt--addons--wams)) +- `wsfed` (List of Object) (see [below for nested schema](#nestedobjatt--addons--wsfed)) +- `zendesk` (List of Object) (see [below for nested schema](#nestedobjatt--addons--zendesk)) +- `zoom` (List of Object) (see [below for nested schema](#nestedobjatt--addons--zoom)) + + +### Nested Schema for `addons.aws` + +Read-Only: + +- `lifetime_in_seconds` (Number) +- `principal` (String) +- `role` (String) + + + +### Nested Schema for `addons.azure_blob` + +Read-Only: + +- `account_name` (String) +- `blob_delete` (Boolean) +- `blob_name` (String) +- `blob_read` (Boolean) +- `blob_write` (Boolean) +- `container_delete` (Boolean) +- `container_list` (Boolean) +- `container_name` (String) +- `container_read` (Boolean) +- `container_write` (Boolean) +- `expiration` (Number) +- `signed_identifier` (String) +- `storage_access_key` (String) + + + +### Nested Schema for `addons.azure_sb` + +Read-Only: + +- `entity_path` (String) +- `expiration` (Number) +- `namespace` (String) +- `sas_key` (String) +- `sas_key_name` (String) + + + +### Nested Schema for `addons.box` + +Read-Only: + + + + +### Nested Schema for `addons.cloudbees` + +Read-Only: + + + + +### Nested Schema for `addons.concur` + +Read-Only: + + + + +### Nested Schema for `addons.dropbox` + +Read-Only: + + + + +### Nested Schema for `addons.echosign` + +Read-Only: + +- `domain` (String) + + + +### Nested Schema for `addons.egnyte` + +Read-Only: + +- `domain` (String) + + + +### Nested Schema for `addons.firebase` + +Read-Only: + +- `client_email` (String) +- `lifetime_in_seconds` (Number) +- `private_key` (String) +- `private_key_id` (String) +- `secret` (String) + + + +### Nested Schema for `addons.layer` + +Read-Only: + +- `expiration` (Number) +- `key_id` (String) +- `principal` (String) +- `private_key` (String) +- `provider_id` (String) + + + +### Nested Schema for `addons.mscrm` + +Read-Only: + +- `url` (String) + + + +### Nested Schema for `addons.newrelic` + +Read-Only: + +- `account` (String) + + + +### Nested Schema for `addons.office365` + +Read-Only: + +- `connection` (String) +- `domain` (String) + + + +### Nested Schema for `addons.rms` + +Read-Only: + +- `url` (String) + + + +### Nested Schema for `addons.salesforce` + +Read-Only: + +- `entity_id` (String) + + + +### Nested Schema for `addons.salesforce_api` + +Read-Only: + +- `client_id` (String) +- `community_name` (String) +- `community_url_section` (String) +- `principal` (String) + + + +### Nested Schema for `addons.salesforce_sandbox_api` + +Read-Only: + +- `client_id` (String) +- `community_name` (String) +- `community_url_section` (String) +- `principal` (String) + ### Nested Schema for `addons.samlp` @@ -116,7 +290,7 @@ Read-Only: - `include_attribute_name_format` (Boolean) - `issuer` (String) - `lifetime_in_seconds` (Number) -- `logout` (Map of String) +- `logout` (List of Object) (see [below for nested schema](#nestedobjatt--addons--samlp--logout)) - `map_identities` (Boolean) - `map_unknown_claims_as_is` (Boolean) - `mappings` (Map of String) @@ -129,6 +303,102 @@ Read-Only: - `signing_cert` (String) - `typed_attributes` (Boolean) + +### Nested Schema for `addons.samlp.logout` + +Read-Only: + +- `callback` (String) +- `slo_enabled` (Boolean) + + + + +### Nested Schema for `addons.sap_api` + +Read-Only: + +- `client_id` (String) +- `name_identifier_format` (String) +- `scope` (String) +- `service_password` (String) +- `token_endpoint_url` (String) +- `username_attribute` (String) + + + +### Nested Schema for `addons.sentry` + +Read-Only: + +- `base_url` (String) +- `org_slug` (String) + + + +### Nested Schema for `addons.sharepoint` + +Read-Only: + +- `external_url` (List of String) +- `url` (String) + + + +### Nested Schema for `addons.slack` + +Read-Only: + +- `team` (String) + + + +### Nested Schema for `addons.springcm` + +Read-Only: + +- `acs_url` (String) + + + +### Nested Schema for `addons.sso_integration` + +Read-Only: + +- `name` (String) +- `version` (String) + + + +### Nested Schema for `addons.wams` + +Read-Only: + +- `master_key` (String) + + + +### Nested Schema for `addons.wsfed` + +Read-Only: + + + + +### Nested Schema for `addons.zendesk` + +Read-Only: + +- `account_name` (String) + + + +### Nested Schema for `addons.zoom` + +Read-Only: + +- `account` (String) + diff --git a/docs/data-sources/global_client.md b/docs/data-sources/global_client.md deleted file mode 100644 index 39eaaee5c..000000000 --- a/docs/data-sources/global_client.md +++ /dev/null @@ -1,202 +0,0 @@ ---- -page_title: "Data Source: auth0_global_client" -description: |- - Retrieve a tenant's global Auth0 application client. - !> This resource has been deprecated in favor of the auth0_pages resource and it will be removed in a future version.Check the MIGRATION_GUIDE https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#global-client for more info. ---- - -# Data Source: auth0_global_client - -Retrieve a tenant's global Auth0 application client. - -!> This resource has been deprecated in favor of the `auth0_pages` resource and it will be removed in a future version.Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#global-client) for more info. - -## Example Usage - -```terraform -data "auth0_global_client" "global" {} -``` - - -## Schema - -### Read-Only - -- `addons` (List of Object) Addons enabled for this client and their associated configurations. (see [below for nested schema](#nestedatt--addons)) -- `allowed_clients` (List of String) List of applications ID's that will be allowed to make delegation request. By default, all applications will be allowed. -- `allowed_logout_urls` (List of String) URLs that Auth0 may redirect to after logout. -- `allowed_origins` (List of String) URLs that represent valid origins for cross-origin resource sharing. By default, all your callback URLs will be allowed. -- `app_type` (String) Type of application the client represents. Possible values are: `native`, `spa`, `regular_web`, `non_interactive`, `sso_integration`. Specific SSO integrations types accepted as well are: `rms`, `box`, `cloudbees`, `concur`, `dropbox`, `mscrm`, `echosign`, `egnyte`, `newrelic`, `office365`, `salesforce`, `sentry`, `sharepoint`, `slack`, `springcm`, `zendesk`, `zoom`. -- `callbacks` (List of String) URLs that Auth0 may call back to after a user authenticates for the client. Make sure to specify the protocol (https://) otherwise the callback may fail in some cases. With the exception of custom URI schemes for native clients, all callbacks should use protocol https://. -- `client_aliases` (List of String) List of audiences/realms for SAML protocol. Used by the wsfed addon. -- `client_id` (String) The ID of the client. -- `client_metadata` (Map of String) Metadata associated with the client, in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. Field names (max 255 chars) are alphanumeric and may only include the following special characters: `:,-+=_*?"/\()<>@ [Tab] [Space]`. -- `client_secret` (String) Secret for the client. Keep this private. To access this attribute you need to add the `read:client_keys` scope to the Terraform client. Otherwise, the attribute will contain an empty string. Use this attribute on the `auth0_client_credentials` resource instead, to allow managing it directly or use the `auth0_client` data source to read this property. -- `cross_origin_auth` (Boolean) Whether this client can be used to make cross-origin authentication requests (`true`) or it is not allowed to make such requests (`false`). Requires the `coa_toggle_enabled` feature flag to be enabled on the tenant by the support team. -- `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. -- `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. -- `grant_types` (List of String) Types of grants that this client is authorized to use. -- `id` (String) The ID of this resource. -- `initiate_login_uri` (String) Initiate login URI. Must be HTTPS or an empty string. -- `is_first_party` (Boolean) Indicates whether this client is a first-party client. -- `is_token_endpoint_ip_header_trusted` (Boolean) Indicates whether the token endpoint IP header is trusted. This attribute can only be updated after the client gets created. -- `jwt_configuration` (List of Object) Configuration settings for the JWTs issued for this client. (see [below for nested schema](#nestedatt--jwt_configuration)) -- `logo_uri` (String) URL of the logo for the client. Recommended size is 150px x 150px. If none is set, the default badge for the application type will be shown. -- `mobile` (List of Object) Additional configuration for native mobile apps. (see [below for nested schema](#nestedatt--mobile)) -- `name` (String) Name of the client. -- `native_social_login` (List of Object) Configuration settings to toggle native social login for mobile native applications. Once this is set it must stay set, with both resources set to `false` in order to change the `app_type`. (see [below for nested schema](#nestedatt--native_social_login)) -- `oidc_backchannel_logout_urls` (Set of String) Set of URLs that are valid to call back from Auth0 for OIDC backchannel logout. Currently only one URL is allowed. -- `oidc_conformant` (Boolean) Indicates whether this client will conform to strict OIDC specifications. -- `organization_require_behavior` (String) Defines how to proceed during an authentication transaction when `organization_usage = "require"`. Can be `no_prompt` (default), `pre_login_prompt` or `post_login_prompt`. -- `organization_usage` (String) Defines how to proceed during an authentication transaction with regards to an organization. Can be `deny` (default), `allow` or `require`. -- `refresh_token` (List of Object) Configuration settings for the refresh tokens issued for this client. (see [below for nested schema](#nestedatt--refresh_token)) -- `signing_keys` (List of Map of String) List containing a map of the public cert of the signing key and the public cert of the signing key in PKCS7. -- `sso` (Boolean) Applies only to SSO clients and determines whether Auth0 will handle Single Sign-On (true) or whether the identity provider will (false). -- `sso_disabled` (Boolean) Indicates whether or not SSO is disabled. -- `token_endpoint_auth_method` (String) Defines the requested authentication method for the token endpoint. Options include `none` (public client without a client secret), `client_secret_post` (client uses HTTP POST parameters), `client_secret_basic` (client uses HTTP Basic). Managing the authentication method through this attribute is deprecated and it will be removed in a future major version. Migrate to the `auth0_client_credentials` resource to manage a client's authentication method instead. Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#client-authentication-method) on how to do that. -- `web_origins` (List of String) URLs that represent valid web origins for use with web message response mode. - - -### Nested Schema for `addons` - -Read-Only: - -- `aws` (Map of String) -- `azure_blob` (Map of String) -- `azure_sb` (Map of String) -- `box` (Map of String) -- `cloudbees` (Map of String) -- `concur` (Map of String) -- `dropbox` (Map of String) -- `echosign` (Map of String) -- `egnyte` (Map of String) -- `firebase` (Map of String) -- `layer` (Map of String) -- `mscrm` (Map of String) -- `newrelic` (Map of String) -- `office365` (Map of String) -- `rms` (Map of String) -- `salesforce` (Map of String) -- `salesforce_api` (Map of String) -- `salesforce_sandbox_api` (Map of String) -- `samlp` (List of Object) (see [below for nested schema](#nestedobjatt--addons--samlp)) -- `sap_api` (Map of String) -- `sentry` (Map of String) -- `sharepoint` (Map of String) -- `slack` (Map of String) -- `springcm` (Map of String) -- `wams` (Map of String) -- `wsfed` (Map of String) -- `zendesk` (Map of String) -- `zoom` (Map of String) - - -### Nested Schema for `addons.samlp` - -Read-Only: - -- `audience` (String) -- `authn_context_class_ref` (String) -- `binding` (String) -- `create_upn_claim` (Boolean) -- `destination` (String) -- `digest_algorithm` (String) -- `include_attribute_name_format` (Boolean) -- `issuer` (String) -- `lifetime_in_seconds` (Number) -- `logout` (Map of String) -- `map_identities` (Boolean) -- `map_unknown_claims_as_is` (Boolean) -- `mappings` (Map of String) -- `name_identifier_format` (String) -- `name_identifier_probes` (List of String) -- `passthrough_claims_with_no_mapping` (Boolean) -- `recipient` (String) -- `sign_response` (Boolean) -- `signature_algorithm` (String) -- `signing_cert` (String) -- `typed_attributes` (Boolean) - - - - -### Nested Schema for `jwt_configuration` - -Read-Only: - -- `alg` (String) -- `lifetime_in_seconds` (Number) -- `scopes` (Map of String) -- `secret_encoded` (Boolean) - - - -### Nested Schema for `mobile` - -Read-Only: - -- `android` (List of Object) (see [below for nested schema](#nestedobjatt--mobile--android)) -- `ios` (List of Object) (see [below for nested schema](#nestedobjatt--mobile--ios)) - - -### Nested Schema for `mobile.android` - -Read-Only: - -- `app_package_name` (String) -- `sha256_cert_fingerprints` (List of String) - - - -### Nested Schema for `mobile.ios` - -Read-Only: - -- `app_bundle_identifier` (String) -- `team_id` (String) - - - - -### Nested Schema for `native_social_login` - -Read-Only: - -- `apple` (List of Object) (see [below for nested schema](#nestedobjatt--native_social_login--apple)) -- `facebook` (List of Object) (see [below for nested schema](#nestedobjatt--native_social_login--facebook)) - - -### Nested Schema for `native_social_login.apple` - -Read-Only: - -- `enabled` (Boolean) - - - -### Nested Schema for `native_social_login.facebook` - -Read-Only: - -- `enabled` (Boolean) - - - - -### Nested Schema for `refresh_token` - -Read-Only: - -- `expiration_type` (String) -- `idle_token_lifetime` (Number) -- `infinite_idle_token_lifetime` (Boolean) -- `infinite_token_lifetime` (Boolean) -- `leeway` (Number) -- `rotation_type` (String) -- `token_lifetime` (Number) - - diff --git a/docs/data-sources/pages.md b/docs/data-sources/pages.md new file mode 100644 index 000000000..2afba97e9 --- /dev/null +++ b/docs/data-sources/pages.md @@ -0,0 +1,64 @@ +--- +page_title: "Data Source: auth0_pages" +description: |- + Use this data source to access the HTML for the login, reset password, multi-factor authentication and error pages. +--- + +# Data Source: auth0_pages + +Use this data source to access the HTML for the login, reset password, multi-factor authentication and error pages. + +## Example Usage + +```terraform +data "auth0_pages" "my_pages" {} +``` + + +## Schema + +### Read-Only + +- `change_password` (List of Object) Configuration settings for customizing the Password Reset page. (see [below for nested schema](#nestedatt--change_password)) +- `error` (List of Object) Configuration settings for the Error pages. (see [below for nested schema](#nestedatt--error)) +- `guardian_mfa` (List of Object) Configuration settings for customizing the Guardian Multi-Factor Authentication page. (see [below for nested schema](#nestedatt--guardian_mfa)) +- `id` (String) The ID of this resource. +- `login` (List of Object) Configuration settings for customizing the Login page. (see [below for nested schema](#nestedatt--login)) + + +### Nested Schema for `change_password` + +Read-Only: + +- `enabled` (Boolean) +- `html` (String) + + + +### Nested Schema for `error` + +Read-Only: + +- `html` (String) +- `show_log_link` (Boolean) +- `url` (String) + + + +### Nested Schema for `guardian_mfa` + +Read-Only: + +- `enabled` (Boolean) +- `html` (String) + + + +### Nested Schema for `login` + +Read-Only: + +- `enabled` (Boolean) +- `html` (String) + + diff --git a/docs/data-sources/resource_server.md b/docs/data-sources/resource_server.md index f413275b5..0d54dc868 100644 --- a/docs/data-sources/resource_server.md +++ b/docs/data-sources/resource_server.md @@ -27,7 +27,7 @@ data "auth0_resource_server" "some-resource-server-by-id" { ### Optional -- `identifier` (String) The unique identifier for the resource server. If not provided, `resource_server_id` must be set. +- `identifier` (String) Unique identifier for the resource server. Used as the audience parameter for authorization calls. If not provided, `resource_server_id` must be set. - `resource_server_id` (String) The ID of the resource server. If not provided, `identifier` must be set. ### Read-Only @@ -51,6 +51,6 @@ data "auth0_resource_server" "some-resource-server-by-id" { Read-Only: - `description` (String) -- `value` (String) +- `name` (String) diff --git a/docs/data-sources/role.md b/docs/data-sources/role.md index 70dc3b384..15aa03d8f 100644 --- a/docs/data-sources/role.md +++ b/docs/data-sources/role.md @@ -32,9 +32,9 @@ data "auth0_role" "some-role-by-id" { ### Read-Only -- `description` (String) Description of the role. +- `description` (String) The description of the role. - `id` (String) The ID of this resource. -- `permissions` (Set of Object) Configuration settings for permissions (scopes) attached to the role. Managing permissions through the `permissions` attribute is deprecated and it will be removed in a future major version. Migrate to the `auth0_role_permission` or `auth0_role_permissions` resource to manage role permissions instead. Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#role-permissions) for more info. (see [below for nested schema](#nestedatt--permissions)) +- `permissions` (Set of Object) Configuration settings for permissions (scopes) attached to the role. (see [below for nested schema](#nestedatt--permissions)) ### Nested Schema for `permissions` diff --git a/docs/data-sources/tenant.md b/docs/data-sources/tenant.md index 8a684e4e1..1bcb8f6b6 100644 --- a/docs/data-sources/tenant.md +++ b/docs/data-sources/tenant.md @@ -20,16 +20,13 @@ data "auth0_tenant" "my_tenant" {} ### Read-Only - `allowed_logout_urls` (List of String) URLs that Auth0 may redirect to after logout. -- `change_password` (List of Object) Configuration settings for change password page. This attribute is deprecated in favor of the `auth0_pages` resource and it will be removed in a future major version. Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-pages) for more info. (see [below for nested schema](#nestedatt--change_password)) - `default_audience` (String) API Audience to use by default for API Authorization flows. This setting is equivalent to appending the audience to every authorization request made to the tenant for every application. - `default_directory` (String) Name of the connection to be used for Password Grant exchanges. Options include `auth0-adldap`, `ad`, `auth0`, `email`, `sms`, `waad`, and `adfs`. - `default_redirection_uri` (String) The default absolute redirection URI. Must be HTTPS or an empty string. - `domain` (String) Your Auth0 domain name. - `enabled_locales` (List of String) Supported locales for the user interface. The first locale in the list will be used to set the default locale. -- `error_page` (List of Object) Configuration settings for error pages. This attribute is deprecated in favor of the `auth0_pages` resource and it will be removed in a future major version. Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-pages) for more info. (see [below for nested schema](#nestedatt--error_page)) - `flags` (List of Object) Configuration settings for tenant flags. (see [below for nested schema](#nestedatt--flags)) - `friendly_name` (String) Friendly name for the tenant. -- `guardian_mfa_page` (List of Object) Configuration settings for the Guardian MFA page. This attribute is deprecated in favor of the `auth0_pages` resource and it will be removed in a future major version. Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-pages) for more info. (see [below for nested schema](#nestedatt--guardian_mfa_page)) - `id` (String) The ID of this resource. - `idle_session_lifetime` (Number) Number of hours during which a session can be inactive before the user must log in again. - `management_api_identifier` (String) The identifier value of the built-in Management API resource server, which can be used as an audience when configuring client grants. @@ -39,26 +36,6 @@ data "auth0_tenant" "my_tenant" {} - `session_lifetime` (Number) Number of hours during which a session will stay valid. - `support_email` (String) Support email address for authenticating users. - `support_url` (String) Support URL for authenticating users. -- `universal_login` (List of Object) Configuration settings for Universal Login. These configuration settings have been deprecated. Migrate to managing these settings through the `auth0_branding` resource. Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-universal-login) for more info. (see [below for nested schema](#nestedatt--universal_login)) - - -### Nested Schema for `change_password` - -Read-Only: - -- `enabled` (Boolean) -- `html` (String) - - - -### Nested Schema for `error_page` - -Read-Only: - -- `html` (String) -- `show_log_link` (Boolean) -- `url` (String) - ### Nested Schema for `flags` @@ -86,19 +63,9 @@ Read-Only: - `mfa_show_factor_list_on_enrollment` (Boolean) - `no_disclose_enterprise_connections` (Boolean) - `revoke_refresh_token_grant` (Boolean) -- `universal_login` (Boolean) - `use_scope_descriptions_for_consent` (Boolean) - -### Nested Schema for `guardian_mfa_page` - -Read-Only: - -- `enabled` (Boolean) -- `html` (String) - - ### Nested Schema for `session_cookie` @@ -107,19 +74,3 @@ Read-Only: - `mode` (String) - -### Nested Schema for `universal_login` - -Read-Only: - -- `colors` (List of Object) (see [below for nested schema](#nestedobjatt--universal_login--colors)) - - -### Nested Schema for `universal_login.colors` - -Read-Only: - -- `page_background` (String) -- `primary` (String) - - diff --git a/docs/resources/action.md b/docs/resources/action.md index f19d9f910..4627a9f5b 100644 --- a/docs/resources/action.md +++ b/docs/resources/action.md @@ -67,7 +67,7 @@ resource "auth0_action" "my_action" { - `dependencies` (Block Set) List of third party npm modules, and their versions, that this action depends on. (see [below for nested schema](#nestedblock--dependencies)) - `deploy` (Boolean) Deploying an action will create a new immutable version of the action. If the action is currently bound to a trigger, then the system will begin executing the newly deployed version of the action immediately. -- `runtime` (String) The Node runtime. Defaults to `node12`. Possible values are: `node12`, `node16` or `node18`. +- `runtime` (String) The Node runtime. Defaults to `node12`. Possible values are: `node12`, `node16` or `node18-actions`. - `secrets` (Block List) List of secrets that are included in an action or a version of an action. (see [below for nested schema](#nestedblock--secrets)) ### Read-Only @@ -106,10 +106,10 @@ Required: Import is supported using the following syntax: ```shell -# An action can be imported using the action's ID. +# This resource can be imported by specifying the action ID. # # Example: -terraform import auth0_action.my_action 12f4f21b-017a-319d-92e7-2291c1ca36c4 +terraform import auth0_action.my_action "12f4f21b-017a-319d-92e7-2291c1ca36c4" ``` ~> For security reasons importing `secrets` is not allowed. Therefore, it is advised to import diff --git a/docs/resources/attack_protection.md b/docs/resources/attack_protection.md index 28d13b9ad..918fa91bd 100644 --- a/docs/resources/attack_protection.md +++ b/docs/resources/attack_protection.md @@ -65,53 +65,62 @@ resource "auth0_attack_protection" "my_protection" { ### Nested Schema for `breached_password_detection` -Optional: +Required: -- `admin_notification_frequency` (Set of String) When "admin_notification" is enabled, determines how often email notifications are sent. Possible values: `immediately`, `daily`, `weekly`, `monthly`. - `enabled` (Boolean) Whether breached password detection is active. + +Optional: + +- `admin_notification_frequency` (Set of String) When `admin_notification` is enabled within the `shields` property, determines how often email notifications are sent. Possible values: `immediately`, `daily`, `weekly`, `monthly`. - `method` (String) The subscription level for breached password detection methods. Use "enhanced" to enable Credential Guard. Possible values: `standard`, `enhanced`. - `pre_user_registration` (Block List, Max: 1) Configuration options that apply before every user registration attempt. Only available on public tenants. (see [below for nested schema](#nestedblock--breached_password_detection--pre_user_registration)) -- `shields` (Set of String) Action to take when a breached password is detected. +- `shields` (Set of String) Action to take when a breached password is detected. Options include: `block` (block compromised user accounts), `user_notification` (send an email to user when we detect that they are using compromised credentials) and `admin_notification` (send an email with a summary of the number of accounts logging in with compromised credentials). ### Nested Schema for `breached_password_detection.pre_user_registration` Optional: -- `shields` (Set of String) Action to take when a breached password is detected during a signup. Possible values: `block`, `admin_notification`. +- `shields` (Set of String) Action to take when a breached password is detected during a signup. Possible values: `block` (block compromised credentials for new accounts), `admin_notification` (send an email notification with a summary of compromised credentials in new accounts). ### Nested Schema for `brute_force_protection` -Optional: +Required: -- `allowlist` (Set of String) List of trusted IP addresses that will not have attack protection enforced against them. - `enabled` (Boolean) Whether brute force attack protections are active. -- `max_attempts` (Number) Maximum number of unsuccessful attempts. Only available on public tenants. -- `mode` (String) Determines whether the IP address is used when counting failed attempts. Possible values: `count_per_identifier_and_ip` or `count_per_identifier`. -- `shields` (Set of String) Action to take when a brute force protection threshold is violated. Possible values: `block`, `user_notification` + +Optional: + +- `allowlist` (Set of String) List of trusted IP addresses that will not have attack protection enforced against them. This field allows you to specify multiple IP addresses, or ranges. You can use IPv4 or IPv6 addresses and CIDR notation. +- `max_attempts` (Number) Maximum number of consecutive failed login attempts from a single user before blocking is triggered. Only available on public tenants. +- `mode` (String) Determines whether the IP address is used when counting failed attempts. Possible values: `count_per_identifier_and_ip` (lockout an account from a given IP Address) or `count_per_identifier` (lockout an account regardless of IP Address). +- `shields` (Set of String) Action to take when a brute force protection threshold is violated. Possible values: `block` (block login attempts for a flagged user account), `user_notification` (send an email to user when their account has been blocked). ### Nested Schema for `suspicious_ip_throttling` -Optional: +Required: -- `allowlist` (Set of String) List of trusted IP addresses that will not have attack protection enforced against them. - `enabled` (Boolean) Whether suspicious IP throttling attack protections are active. + +Optional: + +- `allowlist` (Set of String) List of trusted IP addresses that will not have attack protection enforced against them. This field allows you to specify multiple IP addresses, or ranges. You can use IPv4 or IPv6 addresses and CIDR notation. - `pre_login` (Block List, Max: 1) Configuration options that apply before every login attempt. Only available on public tenants. (see [below for nested schema](#nestedblock--suspicious_ip_throttling--pre_login)) - `pre_user_registration` (Block List, Max: 1) Configuration options that apply before every user registration attempt. Only available on public tenants. (see [below for nested schema](#nestedblock--suspicious_ip_throttling--pre_user_registration)) -- `shields` (Set of String) Action to take when a suspicious IP throttling threshold is violated. Possible values: `block`, `admin_notification` +- `shields` (Set of String) Action to take when a suspicious IP throttling threshold is violated. Possible values: `block` (throttle traffic from an IP address when there is a high number of login attempts targeting too many different accounts), `admin_notification` (send an email notification when traffic is throttled on one or more IP addresses due to high-velocity traffic). ### Nested Schema for `suspicious_ip_throttling.pre_login` Optional: -- `max_attempts` (Number) Total number of attempts allowed per day. -- `rate` (Number) Interval of time, given in milliseconds, at which new attempts are granted. +- `max_attempts` (Number) The maximum number of failed login attempts allowed from a single IP address. +- `rate` (Number) Interval of time, given in milliseconds at which new login tokens will become available after they have been used by an IP address. Each login attempt will be added on the defined throttling rate. @@ -119,8 +128,8 @@ Optional: Optional: -- `max_attempts` (Number) Total number of attempts allowed. -- `rate` (Number) Interval of time, given in milliseconds, at which new attempts are granted. +- `max_attempts` (Number) The maximum number of sign up attempts allowed from a single IP address. +- `rate` (Number) Interval of time, given in milliseconds at which new sign up tokens will become available after they have been used by an IP address. Each sign up attempt will be added on the defined throttling rate. ## Import @@ -133,5 +142,5 @@ Import is supported using the following syntax: # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # # Example: -terraform import auth0_attack_protection.my_protection 24940d4b-4bd4-44e7-894e-f92e4de36a40 +terraform import auth0_attack_protection.my_protection "24940d4b-4bd4-44e7-894e-f92e4de36a40" ``` diff --git a/docs/resources/branding.md b/docs/resources/branding.md index f10ef934b..fe9588b5c 100644 --- a/docs/resources/branding.md +++ b/docs/resources/branding.md @@ -77,5 +77,5 @@ Import is supported using the following syntax: # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # # Example: -terraform import auth0_branding.my_brand 22f4f21b-017a-319d-92e7-2291c1ca36c4 +terraform import auth0_branding.my_brand "22f4f21b-017a-319d-92e7-2291c1ca36c4" ``` diff --git a/docs/resources/branding_theme.md b/docs/resources/branding_theme.md index b605cf5f3..7b15e31df 100644 --- a/docs/resources/branding_theme.md +++ b/docs/resources/branding_theme.md @@ -271,8 +271,8 @@ Optional: Import is supported using the following syntax: ```shell -# Branding Themes can be imported using their ID. +# This resource can be imported by specifying the Branding Theme ID. # # Example: -terraform import auth0_branding_theme.my_theme XXXXXXXXXXXXXXXXXXXX +terraform import auth0_branding_theme.my_theme "XXXXXXXXXXXXXXXXXXXX" ``` diff --git a/docs/resources/client.md b/docs/resources/client.md index 03f1e0cba..49d29f41f 100644 --- a/docs/resources/client.md +++ b/docs/resources/client.md @@ -97,7 +97,6 @@ resource "auth0_client" "my_client" { - `callbacks` (List of String) URLs that Auth0 may call back to after a user authenticates for the client. Make sure to specify the protocol (https://) otherwise the callback may fail in some cases. With the exception of custom URI schemes for native clients, all callbacks should use protocol https://. - `client_aliases` (List of String) List of audiences/realms for SAML protocol. Used by the wsfed addon. - `client_metadata` (Map of String) Metadata associated with the client, in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. Field names (max 255 chars) are alphanumeric and may only include the following special characters: `:,-+=_*?"/\()<>@ [Tab] [Space]`. -- `client_secret_rotation_trigger` (Map of String, Deprecated) Custom metadata for the rotation. The contents of this map are arbitrary and are hashed by the provider. When the hash changes, a rotation is triggered. For example, the map could contain the user making the change, the date of the change, and a text reason for the change. For more info: [rotate-client-secret](https://auth0.com/docs/get-started/applications/rotate-client-secret). Migrate to the `auth0_client_credentials` resource to manage a client's secret directly instead. Refer to the [client secret rotation guide](Refer to the [client secret rotation guide](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/client_secret_rotation) for instructions on how to rotate client secrets with zero downtime. - `cross_origin_auth` (Boolean) Whether this client can be used to make cross-origin authentication requests (`true`) or it is not allowed to make such requests (`false`). Requires the `coa_toggle_enabled` feature flag to be enabled on the tenant by the support team. - `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. @@ -120,13 +119,11 @@ resource "auth0_client" "my_client" { - `refresh_token` (Block List, Max: 1) Configuration settings for the refresh tokens issued for this client. (see [below for nested schema](#nestedblock--refresh_token)) - `sso` (Boolean) Applies only to SSO clients and determines whether Auth0 will handle Single Sign-On (true) or whether the identity provider will (false). - `sso_disabled` (Boolean) Indicates whether or not SSO is disabled. -- `token_endpoint_auth_method` (String, Deprecated) Defines the requested authentication method for the token endpoint. Options include `none` (public client without a client secret), `client_secret_post` (client uses HTTP POST parameters), `client_secret_basic` (client uses HTTP Basic). Managing the authentication method through this attribute is deprecated and it will be removed in a future major version. Migrate to the `auth0_client_credentials` resource to manage a client's authentication method instead. Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#client-authentication-method) on how to do that. - `web_origins` (List of String) URLs that represent valid web origins for use with web message response mode. ### Read-Only - `client_id` (String) The ID of the client. -- `client_secret` (String, Sensitive, Deprecated) Secret for the client. Keep this private. To access this attribute you need to add the `read:client_keys` scope to the Terraform client. Otherwise, the attribute will contain an empty string. Use this attribute on the `auth0_client_credentials` resource instead, to allow managing it directly or use the `auth0_client` data source to read this property. - `id` (String) The ID of this resource. - `signing_keys` (List of Map of String, Sensitive) List containing a map of the public cert of the signing key and the public cert of the signing key in PKCS7. @@ -135,34 +132,199 @@ resource "auth0_client" "my_client" { Optional: -- `aws` (Map of String) -- `azure_blob` (Map of String) -- `azure_sb` (Map of String) -- `box` (Map of String) -- `cloudbees` (Map of String) -- `concur` (Map of String) -- `dropbox` (Map of String) -- `echosign` (Map of String) -- `egnyte` (Map of String) -- `firebase` (Map of String) -- `layer` (Map of String) -- `mscrm` (Map of String) -- `newrelic` (Map of String) -- `office365` (Map of String) -- `rms` (Map of String) -- `salesforce` (Map of String) -- `salesforce_api` (Map of String) -- `salesforce_sandbox_api` (Map of String) +- `aws` (Block List, Max: 1) AWS Addon configuration. (see [below for nested schema](#nestedblock--addons--aws)) +- `azure_blob` (Block List, Max: 1) Azure Blob Storage Addon configuration. (see [below for nested schema](#nestedblock--addons--azure_blob)) +- `azure_sb` (Block List, Max: 1) Azure Storage Bus Addon configuration. (see [below for nested schema](#nestedblock--addons--azure_sb)) +- `box` (Block List, Max: 1) Box SSO indicator (no configuration settings needed for Box SSO). (see [below for nested schema](#nestedblock--addons--box)) +- `cloudbees` (Block List, Max: 1) CloudBees SSO indicator (no configuration settings needed for CloudBees SSO). (see [below for nested schema](#nestedblock--addons--cloudbees)) +- `concur` (Block List, Max: 1) Concur SSO indicator (no configuration settings needed for Concur SSO). (see [below for nested schema](#nestedblock--addons--concur)) +- `dropbox` (Block List, Max: 1) Dropbox SSO indicator (no configuration settings needed for Dropbox SSO). (see [below for nested schema](#nestedblock--addons--dropbox)) +- `echosign` (Block List, Max: 1) Adobe EchoSign SSO configuration. (see [below for nested schema](#nestedblock--addons--echosign)) +- `egnyte` (Block List, Max: 1) Egnyte SSO configuration. (see [below for nested schema](#nestedblock--addons--egnyte)) +- `firebase` (Block List, Max: 1) Google Firebase addon configuration. (see [below for nested schema](#nestedblock--addons--firebase)) +- `layer` (Block List, Max: 1) Layer addon configuration. (see [below for nested schema](#nestedblock--addons--layer)) +- `mscrm` (Block List, Max: 1) Microsoft Dynamics CRM SSO configuration. (see [below for nested schema](#nestedblock--addons--mscrm)) +- `newrelic` (Block List, Max: 1) New Relic SSO configuration. (see [below for nested schema](#nestedblock--addons--newrelic)) +- `office365` (Block List, Max: 1) Microsoft Office 365 SSO configuration. (see [below for nested schema](#nestedblock--addons--office365)) +- `rms` (Block List, Max: 1) Active Directory Rights Management Service SSO configuration. (see [below for nested schema](#nestedblock--addons--rms)) +- `salesforce` (Block List, Max: 1) Salesforce SSO configuration. (see [below for nested schema](#nestedblock--addons--salesforce)) +- `salesforce_api` (Block List, Max: 1) Salesforce API addon configuration. (see [below for nested schema](#nestedblock--addons--salesforce_api)) +- `salesforce_sandbox_api` (Block List, Max: 1) Salesforce Sandbox addon configuration. (see [below for nested schema](#nestedblock--addons--salesforce_sandbox_api)) - `samlp` (Block List, Max: 1) Configuration settings for a SAML add-on. (see [below for nested schema](#nestedblock--addons--samlp)) -- `sap_api` (Map of String) -- `sentry` (Map of String) -- `sharepoint` (Map of String) -- `slack` (Map of String) -- `springcm` (Map of String) -- `wams` (Map of String) -- `wsfed` (Map of String) WS-Fed (WIF) addon indicator. Actual configuration is stored in callback and `client_aliases` properties on the client. -- `zendesk` (Map of String) -- `zoom` (Map of String) +- `sap_api` (Block List, Max: 1) SAP API addon configuration. (see [below for nested schema](#nestedblock--addons--sap_api)) +- `sentry` (Block List, Max: 1) Sentry SSO configuration. (see [below for nested schema](#nestedblock--addons--sentry)) +- `sharepoint` (Block List, Max: 1) SharePoint SSO configuration. (see [below for nested schema](#nestedblock--addons--sharepoint)) +- `slack` (Block List, Max: 1) Slack team or workspace name usually first segment in your Slack URL, for example `https://acme-org.slack.com` would be `acme-org`. (see [below for nested schema](#nestedblock--addons--slack)) +- `springcm` (Block List, Max: 1) SpringCM SSO configuration. (see [below for nested schema](#nestedblock--addons--springcm)) +- `sso_integration` (Block List, Max: 1) Generic SSO configuration. (see [below for nested schema](#nestedblock--addons--sso_integration)) +- `wams` (Block List, Max: 1) Windows Azure Mobile Services addon configuration. (see [below for nested schema](#nestedblock--addons--wams)) +- `wsfed` (Block List, Max: 1) WS-Fed (WIF) addon indicator. Actual configuration is stored in `callback` and `client_aliases` properties on the client. (see [below for nested schema](#nestedblock--addons--wsfed)) +- `zendesk` (Block List, Max: 1) Zendesk SSO configuration. (see [below for nested schema](#nestedblock--addons--zendesk)) +- `zoom` (Block List, Max: 1) Zoom SSO configuration. (see [below for nested schema](#nestedblock--addons--zoom)) + + +### Nested Schema for `addons.aws` + +Optional: + +- `lifetime_in_seconds` (Number) AWS token lifetime in seconds. +- `principal` (String) AWS principal ARN, for example `arn:aws:iam::010616021751:saml-provider/idpname`. +- `role` (String) AWS role ARN, for example `arn:aws:iam::010616021751:role/foo`. + + + +### Nested Schema for `addons.azure_blob` + +Optional: + +- `account_name` (String) Your Azure storage account name. Usually first segment in your Azure storage URL, for example `https://acme-org.blob.core.windows.net` would be the account name `acme-org`. +- `blob_delete` (Boolean) Indicates if the issued token has permission to delete the blob. +- `blob_name` (String) Entity to request a token for, such as `my-blob`. If blank the computed SAS will apply to the entire storage container. +- `blob_read` (Boolean) Indicates if the issued token has permission to read the content, properties, metadata and block list. Use the blob as the source of a copy operation. +- `blob_write` (Boolean) Indicates if the issued token has permission to create or write content, properties, metadata, or block list. Snapshot or lease the blob. Resize the blob (page blob only). Use the blob as the destination of a copy operation within the same account. +- `container_delete` (Boolean) Indicates if issued token has permission to delete any blob in the container. +- `container_list` (Boolean) Indicates if the issued token has permission to list blobs in the container. +- `container_name` (String) Container to request a token for, such as `my-container`. +- `container_read` (Boolean) Indicates if the issued token has permission to read the content, properties, metadata or block list of any blob in the container. Use any blob in the container as the source of a copy operation. +- `container_write` (Boolean) Indicates that for any blob in the container if the issued token has permission to create or write content, properties, metadata, or block list. Snapshot or lease the blob. Resize the blob (page blob only). Use the blob as the destination of a copy operation within the same account. +- `expiration` (Number) Expiration in minutes for the generated token (default of 5 minutes). +- `signed_identifier` (String) Shared access policy identifier defined in your storage account resource. +- `storage_access_key` (String, Sensitive) Access key associated with this storage account. + + + +### Nested Schema for `addons.azure_sb` + +Optional: + +- `entity_path` (String) Entity you want to request a token for, such as `my-queue`. +- `expiration` (Number) Optional expiration in minutes for the generated token. Defaults to 5 minutes. +- `namespace` (String) Your Azure Service Bus namespace. Usually the first segment of your Service Bus URL (for example `https://acme-org.servicebus.windows.net` would be `acme-org`). +- `sas_key` (String, Sensitive) Primary Key associated with your shared access policy. +- `sas_key_name` (String) Your shared access policy name defined in your Service Bus entity. + + + +### Nested Schema for `addons.box` + + + +### Nested Schema for `addons.cloudbees` + + + +### Nested Schema for `addons.concur` + + + +### Nested Schema for `addons.dropbox` + + + +### Nested Schema for `addons.echosign` + +Optional: + +- `domain` (String) Your custom domain found in your EchoSign URL, for example `https://acme-org.echosign.com` would be `acme-org`. + + + +### Nested Schema for `addons.egnyte` + +Optional: + +- `domain` (String) Your custom domain found in your Egnyte URL, for example `https://acme-org.echosign.com` would be `acme-org`. + + + +### Nested Schema for `addons.firebase` + +Optional: + +- `client_email` (String) ID of the Service Account you have created (shown as `client_email` in the generated JSON file, SDK v3+ tokens only). +- `lifetime_in_seconds` (Number) Optional expiration in seconds for the generated token. Defaults to 3600 seconds (SDK v3+ tokens only). +- `private_key` (String, Sensitive) Private Key for signing the token (SDK v3+ tokens only). +- `private_key_id` (String, Sensitive) Optional ID of the private key to obtain the `kid` header claim from the issued token (SDK v3+ tokens only). +- `secret` (String, Sensitive) Google Firebase Secret. (SDK v2 only). + + + +### Nested Schema for `addons.layer` + +Required: + +- `key_id` (String, Sensitive) Authentication Key identifier used to sign the Layer token. +- `private_key` (String, Sensitive) Private key for signing the Layer token. +- `provider_id` (String) Provider ID of your Layer account. + +Optional: + +- `expiration` (Number) Optional expiration in minutes for the generated token. Defaults to 5 minutes. +- `principal` (String) Name of the property used as the unique user ID in Layer. If not specified `user_id` is used. + + + +### Nested Schema for `addons.mscrm` + +Optional: + +- `url` (String) Microsoft Dynamics CRM application URL. + + + +### Nested Schema for `addons.newrelic` + +Optional: + +- `account` (String) Your New Relic Account ID found in your New Relic URL after the `/accounts/` path, for example `https://rpm.newrelic.com/accounts/123456/query` would be `123456`. + + + +### Nested Schema for `addons.office365` + +Optional: + +- `connection` (String) Optional Auth0 database connection for testing an already-configured Office 365 tenant. +- `domain` (String) Your Office 365 domain name, for example `acme-org.com`. + + + +### Nested Schema for `addons.rms` + +Optional: + +- `url` (String) URL of your Rights Management Server. It can be internal or external, but users will have to be able to reach it. + + + +### Nested Schema for `addons.salesforce` + +Optional: + +- `entity_id` (String) Arbitrary logical URL that identifies the Saleforce resource, for example `https://acme-org.com`. + + + +### Nested Schema for `addons.salesforce_api` + +Optional: + +- `client_id` (String, Sensitive) Consumer Key assigned by Salesforce to the Connected App. +- `community_name` (String) Community name. +- `community_url_section` (String) Community URL section. +- `principal` (String, Sensitive) Name of the property in the user object that maps to a Salesforce username, for example `email`. + + + +### Nested Schema for `addons.salesforce_sandbox_api` + +Optional: + +- `client_id` (String, Sensitive) Consumer Key assigned by Salesforce to the Connected App. +- `community_name` (String) Community name. +- `community_url_section` (String) Community URL section. +- `principal` (String, Sensitive) Name of the property in the user object that maps to a Salesforce username, for example `email`. + ### Nested Schema for `addons.samlp` @@ -175,21 +337,114 @@ Optional: - `create_upn_claim` (Boolean) Indicates whether a UPN claim should be created. Defaults to `true`. - `destination` (String) Destination of the SAML Response. If not specified, it will be `AssertionConsumerUrl` of SAMLRequest or callback URL if there was no SAMLRequest. - `digest_algorithm` (String) Algorithm used to calculate the digest of the SAML Assertion or response. Options include `sha1` and `sha256`. Defaults to `sha1`. -- `include_attribute_name_format` (Boolean) Indicates whether or not we should infer the NameFormat based on the attribute name. If set to false, the attribute NameFormat is not set in the assertion. Defaults to `true`. +- `include_attribute_name_format` (Boolean) Indicates whether or not we should infer the NameFormat based on the attribute name. If set to `false`, the attribute NameFormat is not set in the assertion. Defaults to `true`. - `issuer` (String) Issuer of the SAML Assertion. -- `lifetime_in_seconds` (Number) Number of seconds during which the token is valid. -- `logout` (Map of String) Configuration settings for logout. +- `lifetime_in_seconds` (Number) Number of seconds during which the token is valid. Defaults to `3600` seconds. +- `logout` (Block List, Max: 1) Configuration settings for logout. (see [below for nested schema](#nestedblock--addons--samlp--logout)) - `map_identities` (Boolean) Indicates whether or not to add additional identity information in the token, such as the provider used and the `access_token`, if available. Defaults to `true`. - `map_unknown_claims_as_is` (Boolean) Indicates whether to add a prefix of `http://schema.auth0.com` to any claims that are not mapped to the common profile when passed through in the output assertion. Defaults to `false`. - `mappings` (Map of String) Mappings between the Auth0 user profile property name (`name`) and the output attributes on the SAML attribute in the assertion (`value`). -- `name_identifier_format` (String) Format of the name identifier. +- `name_identifier_format` (String) Format of the name identifier. Defaults to `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified`. - `name_identifier_probes` (List of String) Attributes that can be used for Subject/NameID. Auth0 will try each of the attributes of this array in order and use the first value it finds. - `passthrough_claims_with_no_mapping` (Boolean) Indicates whether or not to passthrough claims that are not mapped to the common profile in the output assertion. Defaults to `true`. - `recipient` (String) Recipient of the SAML Assertion (SubjectConfirmationData). Default is `AssertionConsumerUrl` on SAMLRequest or callback URL if no SAMLRequest was sent. - `sign_response` (Boolean) Indicates whether or not the SAML Response should be signed instead of the SAML Assertion. - `signature_algorithm` (String) Algorithm used to sign the SAML Assertion or response. Options include `rsa-sha1` and `rsa-sha256`. Defaults to `rsa-sha1`. - `signing_cert` (String) Optionally indicates the public key certificate used to validate SAML requests. If set, SAML requests will be required to be signed. A sample value would be `-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n`. -- `typed_attributes` (Boolean) Indicates whether or not we should infer the `xs:type` of the element. Types include `xs:string`, `xs:boolean`, `xs:double`, and `xs:anyType`. When set to false, all `xs:type` are `xs:anyType`. Defaults to `true`. +- `typed_attributes` (Boolean) Indicates whether or not we should infer the `xs:type` of the element. Types include `xs:string`, `xs:boolean`, `xs:double`, and `xs:anyType`. When set to `false`, all `xs:type` are `xs:anyType`. Defaults to `true`. + + +### Nested Schema for `addons.samlp.logout` + +Optional: + +- `callback` (String) The service provider (client application)'s Single Logout Service URL, where Auth0 will send logout requests and responses. +- `slo_enabled` (Boolean) Controls whether Auth0 should notify service providers of session termination. + + + + +### Nested Schema for `addons.sap_api` + +Optional: + +- `client_id` (String) If activated in the OAuth 2.0 client configuration (transaction `SOAUTH2) the SAML attribute `client_id` must be set and equal the `client_id` form parameter of the access token request. +- `name_identifier_format` (String) NameID element of the Subject which can be used to express the user's identity. Defaults to `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified`. +- `scope` (String) Requested scope for SAP APIs. +- `service_password` (String, Sensitive) Service account password to use to authenticate API calls to the token endpoint. +- `token_endpoint_url` (String) The OAuth2 token endpoint URL of your SAP OData server. +- `username_attribute` (String) Name of the property in the user object that maps to a SAP username, for example `email`. + + + +### Nested Schema for `addons.sentry` + +Optional: + +- `base_url` (String) URL prefix only if running Sentry Community Edition, otherwise leave empty. +- `org_slug` (String) Generated slug for your Sentry organization. Found in your Sentry URL, for example `https://sentry.acme.com/acme-org/` would be `acme-org`. + + + +### Nested Schema for `addons.sharepoint` + +Optional: + +- `external_url` (List of String) External SharePoint application URLs if exposed to the Internet. +- `url` (String) Internal SharePoint application URL. + + + +### Nested Schema for `addons.slack` + +Optional: + +- `team` (String) Slack team name. + + + +### Nested Schema for `addons.springcm` + +Optional: + +- `acs_url` (String) SpringCM ACS URL, for example `https://na11.springcm.com/atlas/sso/SSOEndpoint.ashx`. + + + +### Nested Schema for `addons.sso_integration` + +Optional: + +- `name` (String) SSO integration name. +- `version` (String) SSO integration version installed. + + + +### Nested Schema for `addons.wams` + +Optional: + +- `master_key` (String, Sensitive) Your master key for Windows Azure Mobile Services. + + + +### Nested Schema for `addons.wsfed` + + + +### Nested Schema for `addons.zendesk` + +Optional: + +- `account_name` (String) Zendesk account name. Usually the first segment in your Zendesk URL, for example `https://acme-org.zendesk.com` would be `acme-org`. + + + +### Nested Schema for `addons.zoom` + +Optional: + +- `account` (String) Zoom account name. Usually the first segment of your Zoom URL, for example `https://acme-org.zoom.us` would be `acme-org`. @@ -277,8 +532,8 @@ Optional: Import is supported using the following syntax: ```shell -# A client can be imported using the client's ID. +# This resource can be imported by specifying the client ID. # # Example: -terraform import auth0_client.my_client AaiyAPdpYdesoKnqjj8HJqRn4T5titww +terraform import auth0_client.my_client "AaiyAPdpYdesoKnqjj8HJqRn4T5titww" ``` diff --git a/docs/resources/client_credentials.md b/docs/resources/client_credentials.md index 88c8215b8..4a5c7eba1 100644 --- a/docs/resources/client_credentials.md +++ b/docs/resources/client_credentials.md @@ -125,10 +125,10 @@ Read-Only: Import is supported using the following syntax: ```shell -# A client credentials resource can be imported using the client's ID. +# This resource can be imported by specifying the client ID. # # Example: -terraform import auth0_client_credentials.my_creds AaiyAPdpYdesoKnqjj8HJqRn4T5titww +terraform import auth0_client_credentials.my_creds "AaiyAPdpYdesoKnqjj8HJqRn4T5titww" ``` ~> Importing this resource when the `authentication_method` is set to `private_key_jwt` will force the resource to be recreated. diff --git a/docs/resources/client_grant.md b/docs/resources/client_grant.md index ac830c335..9e86bbde3 100644 --- a/docs/resources/client_grant.md +++ b/docs/resources/client_grant.md @@ -11,7 +11,7 @@ Auth0 uses various grant types, or methods by which you grant limited access to ## Example Usage ```terraform -# The following example grants a client the "create:foo" permission (scope). +# The following example grants a client the "create:foo" and "create:bar" permissions (scopes). resource "auth0_client" "my_client" { name = "Example Application - Client Grant (Managed by Terraform)" @@ -35,7 +35,7 @@ resource "auth0_resource_server" "my_resource_server" { resource "auth0_client_grant" "my_client_grant" { client_id = auth0_client.my_client.id audience = auth0_resource_server.my_resource_server.identifier - scope = ["create:foo"] + scopes = ["create:foo", "create:bar"] } ``` @@ -46,7 +46,7 @@ resource "auth0_client_grant" "my_client_grant" { - `audience` (String) Audience or API Identifier for this grant. - `client_id` (String) ID of the client for this grant. -- `scope` (List of String) Permissions (scopes) included in this grant. +- `scopes` (List of String) Permissions (scopes) included in this grant. ### Read-Only @@ -57,10 +57,9 @@ resource "auth0_client_grant" "my_client_grant" { Import is supported using the following syntax: ```shell -# Client grants can be imported using the grant ID. -# -# Application -> APIs -> Expand the required API +# This resource can be imported by specifying the client grant ID. +# You can find this within the Management Dashboard in Application -> APIs -> Expand the required API. # # Example: -terraform import auth0_client_grant.my_client_grant cgr_XXXXXXXXXXXXXXXX +terraform import auth0_client_grant.my_client_grant "cgr_XXXXXXXXXXXXXXXX" ``` diff --git a/docs/resources/connection.md b/docs/resources/connection.md index 4c1b1c841..1520d138f 100644 --- a/docs/resources/connection.md +++ b/docs/resources/connection.md @@ -807,8 +807,8 @@ Optional: Import is supported using the following syntax: ```shell -# Connections can be imported using their ID. +# This resource can be imported by specifying the connection ID. # # Example: -terraform import auth0_connection.google con_a17f21fdb24d48a0 +terraform import auth0_connection.google "con_a17f21fdb24d48a0" ``` diff --git a/docs/resources/connection_client.md b/docs/resources/connection_client.md index 7d819f38e..8a78e7a45 100644 --- a/docs/resources/connection_client.md +++ b/docs/resources/connection_client.md @@ -53,8 +53,9 @@ Import is supported using the following syntax: ```shell # This resource can be imported by specifying the -# connection ID and client ID separated by ":". +# connection ID and client ID separated by "::" (note the double colon) +# :: # # Example: -terraform import auth0_connection_client.my_conn_client_assoc con_XXXXX:XXXXXXXX +terraform import auth0_connection_client.my_conn_client_assoc "con_XXXXX::XXXXXXXX" ``` diff --git a/docs/resources/connection_clients.md b/docs/resources/connection_clients.md index cc36ede86..c99478dc5 100644 --- a/docs/resources/connection_clients.md +++ b/docs/resources/connection_clients.md @@ -62,5 +62,5 @@ Import is supported using the following syntax: # This resource can be imported by specifying the Connection ID. # # Example: -terraform import auth0_connection_clients.my_conn_clients_assoc con_XXXXX: +terraform import auth0_connection_clients.my_conn_clients_assoc "con_XXXXX" ``` diff --git a/docs/resources/custom_domain.md b/docs/resources/custom_domain.md index 602db5d24..3ecfbd337 100644 --- a/docs/resources/custom_domain.md +++ b/docs/resources/custom_domain.md @@ -56,5 +56,5 @@ Import is supported using the following syntax: # https://auth0.com/docs/api/management/v2#!/Custom_Domains/get_custom_domains # # Example: -terraform import auth0_custom_domain.my_custom_domain cd_XXXXXXXXXXXXXXXX +terraform import auth0_custom_domain.my_custom_domain "cd_XXXXXXXXXXXXXXXX" ``` diff --git a/docs/resources/custom_domain_verification.md b/docs/resources/custom_domain_verification.md index 483cd14fa..05c02a875 100644 --- a/docs/resources/custom_domain_verification.md +++ b/docs/resources/custom_domain_verification.md @@ -72,5 +72,5 @@ Import is supported using the following syntax: # You can import this resource using the custom domain ID. # # Example: -terraform import auth0_custom_domain_verification.my_custom_domain_verification cd_XXXXXXXXXXXXXXXX +terraform import auth0_custom_domain_verification.my_custom_domain_verification "cd_XXXXXXXXXXXXXXXX" ``` diff --git a/docs/resources/email.md b/docs/resources/email.md index c5c967595..74617c0c9 100644 --- a/docs/resources/email.md +++ b/docs/resources/email.md @@ -121,5 +121,5 @@ Import is supported using the following syntax: # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # # Example: -terraform import auth0_email.my_email_provider b4213dc2-2eed-42c3-9516-c6131a9ce0b0 +terraform import auth0_email.my_email_provider "b4213dc2-2eed-42c3-9516-c6131a9ce0b0" ``` diff --git a/docs/resources/email_template.md b/docs/resources/email_template.md index 8ea14a6fb..c07698655 100644 --- a/docs/resources/email_template.md +++ b/docs/resources/email_template.md @@ -74,5 +74,5 @@ Import is supported using the following syntax: # for legacy scenarios. # # Example: -terraform import auth0_email_template.my_email_template welcome_email +terraform import auth0_email_template.my_email_template "welcome_email" ``` diff --git a/docs/resources/global_client.md b/docs/resources/global_client.md deleted file mode 100644 index 5f7dec4a0..000000000 --- a/docs/resources/global_client.md +++ /dev/null @@ -1,234 +0,0 @@ ---- -page_title: "Resource: auth0_global_client" -description: |- - Use a tenant's global Auth0 Application client. - !> This resource has been deprecated in favor of the newly introduced auth0_pages resource and it will be removed in a future version. Check the MIGRATION_GUIDE https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#global-client for more info. ---- - -# Resource: auth0_global_client - -Use a tenant's global Auth0 Application client. - -!> This resource has been deprecated in favor of the newly introduced `auth0_pages` resource and it will be removed in a future version. Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#global-client) for more info. - -## Example Usage - -```terraform -resource "auth0_global_client" "global" { - // Auth0 Universal Login - Custom Login Page - custom_login_page_on = true - custom_login_page = < - My Custom Login Page - - I should probably have a login form here - - -PAGE - callbacks = ["http://somehostname.com/a/callback"] -} -``` - - -## Schema - -### Optional - -- `addons` (Block List, Max: 1) Addons enabled for this client and their associated configurations. (see [below for nested schema](#nestedblock--addons)) -- `allowed_clients` (List of String) List of applications ID's that will be allowed to make delegation request. By default, all applications will be allowed. -- `allowed_logout_urls` (List of String) URLs that Auth0 may redirect to after logout. -- `allowed_origins` (List of String) URLs that represent valid origins for cross-origin resource sharing. By default, all your callback URLs will be allowed. -- `app_type` (String) Type of application the client represents. Possible values are: `native`, `spa`, `regular_web`, `non_interactive`, `sso_integration`. Specific SSO integrations types accepted as well are: `rms`, `box`, `cloudbees`, `concur`, `dropbox`, `mscrm`, `echosign`, `egnyte`, `newrelic`, `office365`, `salesforce`, `sentry`, `sharepoint`, `slack`, `springcm`, `zendesk`, `zoom`. -- `callbacks` (List of String) URLs that Auth0 may call back to after a user authenticates for the client. Make sure to specify the protocol (https://) otherwise the callback may fail in some cases. With the exception of custom URI schemes for native clients, all callbacks should use protocol https://. -- `client_aliases` (List of String) List of audiences/realms for SAML protocol. Used by the wsfed addon. -- `client_id` (String) The ID of the client. -- `client_metadata` (Map of String) Metadata associated with the client, in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. Field names (max 255 chars) are alphanumeric and may only include the following special characters: `:,-+=_*?"/\()<>@ [Tab] [Space]`. -- `client_secret` (String, Sensitive, Deprecated) Secret for the client. Keep this private. To access this attribute you need to add the `read:client_keys` scope to the Terraform client. Otherwise, the attribute will contain an empty string. Use this attribute on the `auth0_client_credentials` resource instead, to allow managing it directly or use the `auth0_client` data source to read this property. -- `client_secret_rotation_trigger` (Map of String, Deprecated) Custom metadata for the rotation. The contents of this map are arbitrary and are hashed by the provider. When the hash changes, a rotation is triggered. For example, the map could contain the user making the change, the date of the change, and a text reason for the change. For more info: [rotate-client-secret](https://auth0.com/docs/get-started/applications/rotate-client-secret). Migrate to the `auth0_client_credentials` resource to manage a client's secret directly instead. Refer to the [client secret rotation guide](Refer to the [client secret rotation guide](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/client_secret_rotation) for instructions on how to rotate client secrets with zero downtime. -- `cross_origin_auth` (Boolean) Whether this client can be used to make cross-origin authentication requests (`true`) or it is not allowed to make such requests (`false`). Requires the `coa_toggle_enabled` feature flag to be enabled on the tenant by the support team. -- `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. -- `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. -- `grant_types` (List of String) Types of grants that this client is authorized to use. -- `initiate_login_uri` (String) Initiate login URI. Must be HTTPS or an empty string. -- `is_first_party` (Boolean) Indicates whether this client is a first-party client. -- `is_token_endpoint_ip_header_trusted` (Boolean) Indicates whether the token endpoint IP header is trusted. This attribute can only be updated after the client gets created. -- `jwt_configuration` (Block List, Max: 1) Configuration settings for the JWTs issued for this client. (see [below for nested schema](#nestedblock--jwt_configuration)) -- `logo_uri` (String) URL of the logo for the client. Recommended size is 150px x 150px. If none is set, the default badge for the application type will be shown. -- `mobile` (Block List, Max: 1) Additional configuration for native mobile apps. (see [below for nested schema](#nestedblock--mobile)) -- `name` (String) Name of the client. -- `native_social_login` (Block List, Max: 1) Configuration settings to toggle native social login for mobile native applications. Once this is set it must stay set, with both resources set to `false` in order to change the `app_type`. (see [below for nested schema](#nestedblock--native_social_login)) -- `oidc_backchannel_logout_urls` (Set of String) Set of URLs that are valid to call back from Auth0 for OIDC backchannel logout. Currently only one URL is allowed. -- `oidc_conformant` (Boolean) Indicates whether this client will conform to strict OIDC specifications. -- `organization_require_behavior` (String) Defines how to proceed during an authentication transaction when `organization_usage = "require"`. Can be `no_prompt` (default), `pre_login_prompt` or `post_login_prompt`. -- `organization_usage` (String) Defines how to proceed during an authentication transaction with regards to an organization. Can be `deny` (default), `allow` or `require`. -- `refresh_token` (Block List, Max: 1) Configuration settings for the refresh tokens issued for this client. (see [below for nested schema](#nestedblock--refresh_token)) -- `signing_keys` (List of Map of String, Sensitive) List containing a map of the public cert of the signing key and the public cert of the signing key in PKCS7. -- `sso` (Boolean) Applies only to SSO clients and determines whether Auth0 will handle Single Sign-On (true) or whether the identity provider will (false). -- `sso_disabled` (Boolean) Indicates whether or not SSO is disabled. -- `token_endpoint_auth_method` (String, Deprecated) Defines the requested authentication method for the token endpoint. Options include `none` (public client without a client secret), `client_secret_post` (client uses HTTP POST parameters), `client_secret_basic` (client uses HTTP Basic). Managing the authentication method through this attribute is deprecated and it will be removed in a future major version. Migrate to the `auth0_client_credentials` resource to manage a client's authentication method instead. Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#client-authentication-method) on how to do that. -- `web_origins` (List of String) URLs that represent valid web origins for use with web message response mode. - -### Read-Only - -- `id` (String) The ID of this resource. - - -### Nested Schema for `addons` - -Optional: - -- `aws` (Map of String) -- `azure_blob` (Map of String) -- `azure_sb` (Map of String) -- `box` (Map of String) -- `cloudbees` (Map of String) -- `concur` (Map of String) -- `dropbox` (Map of String) -- `echosign` (Map of String) -- `egnyte` (Map of String) -- `firebase` (Map of String) -- `layer` (Map of String) -- `mscrm` (Map of String) -- `newrelic` (Map of String) -- `office365` (Map of String) -- `rms` (Map of String) -- `salesforce` (Map of String) -- `salesforce_api` (Map of String) -- `salesforce_sandbox_api` (Map of String) -- `samlp` (Block List, Max: 1) Configuration settings for a SAML add-on. (see [below for nested schema](#nestedblock--addons--samlp)) -- `sap_api` (Map of String) -- `sentry` (Map of String) -- `sharepoint` (Map of String) -- `slack` (Map of String) -- `springcm` (Map of String) -- `wams` (Map of String) -- `wsfed` (Map of String) WS-Fed (WIF) addon indicator. Actual configuration is stored in callback and `client_aliases` properties on the client. -- `zendesk` (Map of String) -- `zoom` (Map of String) - - -### Nested Schema for `addons.samlp` - -Optional: - -- `audience` (String) Audience of the SAML Assertion. Default will be the Issuer on SAMLRequest. -- `authn_context_class_ref` (String) Class reference of the authentication context. -- `binding` (String) Protocol binding used for SAML logout responses. -- `create_upn_claim` (Boolean) Indicates whether a UPN claim should be created. Defaults to `true`. -- `destination` (String) Destination of the SAML Response. If not specified, it will be `AssertionConsumerUrl` of SAMLRequest or callback URL if there was no SAMLRequest. -- `digest_algorithm` (String) Algorithm used to calculate the digest of the SAML Assertion or response. Options include `sha1` and `sha256`. Defaults to `sha1`. -- `include_attribute_name_format` (Boolean) Indicates whether or not we should infer the NameFormat based on the attribute name. If set to false, the attribute NameFormat is not set in the assertion. Defaults to `true`. -- `issuer` (String) Issuer of the SAML Assertion. -- `lifetime_in_seconds` (Number) Number of seconds during which the token is valid. -- `logout` (Map of String) Configuration settings for logout. -- `map_identities` (Boolean) Indicates whether or not to add additional identity information in the token, such as the provider used and the `access_token`, if available. Defaults to `true`. -- `map_unknown_claims_as_is` (Boolean) Indicates whether to add a prefix of `http://schema.auth0.com` to any claims that are not mapped to the common profile when passed through in the output assertion. Defaults to `false`. -- `mappings` (Map of String) Mappings between the Auth0 user profile property name (`name`) and the output attributes on the SAML attribute in the assertion (`value`). -- `name_identifier_format` (String) Format of the name identifier. -- `name_identifier_probes` (List of String) Attributes that can be used for Subject/NameID. Auth0 will try each of the attributes of this array in order and use the first value it finds. -- `passthrough_claims_with_no_mapping` (Boolean) Indicates whether or not to passthrough claims that are not mapped to the common profile in the output assertion. Defaults to `true`. -- `recipient` (String) Recipient of the SAML Assertion (SubjectConfirmationData). Default is `AssertionConsumerUrl` on SAMLRequest or callback URL if no SAMLRequest was sent. -- `sign_response` (Boolean) Indicates whether or not the SAML Response should be signed instead of the SAML Assertion. -- `signature_algorithm` (String) Algorithm used to sign the SAML Assertion or response. Options include `rsa-sha1` and `rsa-sha256`. Defaults to `rsa-sha1`. -- `signing_cert` (String) Optionally indicates the public key certificate used to validate SAML requests. If set, SAML requests will be required to be signed. A sample value would be `-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n`. -- `typed_attributes` (Boolean) Indicates whether or not we should infer the `xs:type` of the element. Types include `xs:string`, `xs:boolean`, `xs:double`, and `xs:anyType`. When set to false, all `xs:type` are `xs:anyType`. Defaults to `true`. - - - - -### Nested Schema for `jwt_configuration` - -Optional: - -- `alg` (String) Algorithm used to sign JWTs. -- `lifetime_in_seconds` (Number) Number of seconds during which the JWT will be valid. -- `scopes` (Map of String) Permissions (scopes) included in JWTs. -- `secret_encoded` (Boolean) Indicates whether the client secret is Base64-encoded. - - - -### Nested Schema for `mobile` - -Optional: - -- `android` (Block List, Max: 1) Configuration settings for Android native apps. (see [below for nested schema](#nestedblock--mobile--android)) -- `ios` (Block List, Max: 1) Configuration settings for i0S native apps. (see [below for nested schema](#nestedblock--mobile--ios)) - - -### Nested Schema for `mobile.android` - -Optional: - -- `app_package_name` (String) -- `sha256_cert_fingerprints` (List of String) - - - -### Nested Schema for `mobile.ios` - -Optional: - -- `app_bundle_identifier` (String) -- `team_id` (String) - - - - -### Nested Schema for `native_social_login` - -Optional: - -- `apple` (Block List, Max: 1) (see [below for nested schema](#nestedblock--native_social_login--apple)) -- `facebook` (Block List, Max: 1) (see [below for nested schema](#nestedblock--native_social_login--facebook)) - - -### Nested Schema for `native_social_login.apple` - -Optional: - -- `enabled` (Boolean) - - - -### Nested Schema for `native_social_login.facebook` - -Optional: - -- `enabled` (Boolean) - - - - -### Nested Schema for `refresh_token` - -Required: - -- `expiration_type` (String) Options include `expiring`, `non-expiring`. Whether a refresh token will expire based on an absolute lifetime, after which the token can no longer be used. If rotation is `rotating`, this must be set to `expiring`. -- `rotation_type` (String) Options include `rotating`, `non-rotating`. When `rotating`, exchanging a refresh token will cause a new refresh token to be issued and the existing token will be invalidated. This allows for automatic detection of token reuse if the token is leaked. - -Optional: - -- `idle_token_lifetime` (Number) The time in seconds after which inactive refresh tokens will expire. -- `infinite_idle_token_lifetime` (Boolean) Whether inactive refresh tokens should remain valid indefinitely. -- `infinite_token_lifetime` (Boolean) Whether refresh tokens should remain valid indefinitely. If false, `token_lifetime` should also be set. -- `leeway` (Number) The amount of time in seconds in which a refresh token may be reused without triggering reuse detection. -- `token_lifetime` (Number) The absolute lifetime of a refresh token in seconds. - -## Import - -Import is supported using the following syntax: - -```shell -# The auth0_global_client can be imported using the global client's ID. -# -# You can find the ID of the global client by going to the -# [API Explorer](https://auth0.com/docs/api/management/v2#!/Clients/get_clients) -# and fetching the clients that have `"global": true`. -# -# Example: -terraform import auth0_global_client.global XaiyAXXXYdXXXXnqjj8HXXXXXT5titww -``` diff --git a/docs/resources/guardian.md b/docs/resources/guardian.md index 47582fd1e..837c852a1 100644 --- a/docs/resources/guardian.md +++ b/docs/resources/guardian.md @@ -225,5 +225,5 @@ Import is supported using the following syntax: # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # # Example: -terraform import auth0_guardian.my_guardian 24940d4b-4bd4-44e7-894e-f92e4de36a40 +terraform import auth0_guardian.my_guardian "24940d4b-4bd4-44e7-894e-f92e4de36a40" ``` diff --git a/docs/resources/hook.md b/docs/resources/hook.md index f9a1b23d3..18492a817 100644 --- a/docs/resources/hook.md +++ b/docs/resources/hook.md @@ -59,8 +59,8 @@ resource "auth0_hook" "my_hook" { Import is supported using the following syntax: ```shell -# A hook can be imported using the hook's ID. +# This resource can be imported by specifying the hook ID. # # Example: -terraform import auth0_hook.my_hook 00001 +terraform import auth0_hook.my_hook "00001" ``` diff --git a/docs/resources/log_stream.md b/docs/resources/log_stream.md index 5450e603d..4e9a695ac 100644 --- a/docs/resources/log_stream.md +++ b/docs/resources/log_stream.md @@ -106,8 +106,8 @@ Optional: Import is supported using the following syntax: ```shell -# An existing log stream can be imported using its ID. +# This resource can be imported by specifying the log stream ID. # # Example: -terraform import auth0_log_stream.example lst_XXXXXXXXXXXXXXXX +terraform import auth0_log_stream.example "lst_XXXXXXXXXXXXXXXX" ``` diff --git a/docs/resources/organization.md b/docs/resources/organization.md index 9bb15b97f..0810ec589 100644 --- a/docs/resources/organization.md +++ b/docs/resources/organization.md @@ -64,8 +64,8 @@ Optional: Import is supported using the following syntax: ```shell -# Existing organizations can be imported using the organization ID. +# This resource can be imported by specifying the organization ID. # # Example: -terraform import auth0_organization.my_organization org_XXXXXXXXXXXXXX +terraform import auth0_organization.my_organization "org_XXXXXXXXXXXXXX" ``` diff --git a/docs/resources/organization_connection.md b/docs/resources/organization_connection.md index 3d6d9486b..53c4576b6 100644 --- a/docs/resources/organization_connection.md +++ b/docs/resources/organization_connection.md @@ -57,8 +57,9 @@ Import is supported using the following syntax: ```shell # This resource can be imported by specifying the -# organization ID and connection ID separated by ":". +# organization ID and connection ID separated by "::" (note the double colon) +# :: # # Example: -terraform import auth0_organization_connection.my_org_conn org_XXXXX:con_XXXXX +terraform import auth0_organization_connection.my_org_conn "org_XXXXX::con_XXXXX" ``` diff --git a/docs/resources/organization_connections.md b/docs/resources/organization_connections.md index d4a93de11..0f01940be 100644 --- a/docs/resources/organization_connections.md +++ b/docs/resources/organization_connections.md @@ -77,5 +77,5 @@ Import is supported using the following syntax: # This resource can be imported by specifying the organization ID. # # Example: -terraform import auth0_organization_connections.my_org_conns org_XXXXX +terraform import auth0_organization_connections.my_org_conns "org_XXXXX" ``` diff --git a/docs/resources/organization_member.md b/docs/resources/organization_member.md index 01b0ae099..b1fcf2430 100644 --- a/docs/resources/organization_member.md +++ b/docs/resources/organization_member.md @@ -41,10 +41,6 @@ resource "auth0_organization_member" "my_org_member" { - `organization_id` (String) The ID of the organization to assign the member to. - `user_id` (String) ID of the user to add as an organization member. -### Optional - -- `roles` (Set of String, Deprecated) The role ID(s) to assign to the organization member. Managing roles through this attribute is deprecated and it will be removed in a future version. Migrate to the `auth0_organization_member_roles` or the `auth0_organization_member_role` resource to manage organization member roles instead. Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#organization-member-roles) on how to do that. - ### Read-Only - `id` (String) The ID of this resource. @@ -55,8 +51,9 @@ Import is supported using the following syntax: ```shell # This resource can be imported by specifying the -# organization ID and user ID separated by ":". +# organization ID and user ID separated by "::" (note the double colon) +# :: # # Example: -terraform import auth0_organization_member.my_org_member "org_XXXXX:auth0|XXXXX" +terraform import auth0_organization_member.my_org_member "org_XXXXX::auth0|XXXXX" ``` diff --git a/docs/resources/organization_member_role.md b/docs/resources/organization_member_role.md index 694b332d5..dae266967 100644 --- a/docs/resources/organization_member_role.md +++ b/docs/resources/organization_member_role.md @@ -69,7 +69,8 @@ Import is supported using the following syntax: ```shell # This resource can be imported by specifying the -# organization ID, user ID and role ID separated by "::". +# organization ID, user ID and role ID separated by "::" (note the double colon) +# :::: # # Example: terraform import auth0_organization_member_role.my_org_member_role "org_XXXXX::auth0|XXXXX::role_XXXX" diff --git a/docs/resources/organization_member_roles.md b/docs/resources/organization_member_roles.md index 9ce5a5cd0..bc1e69ae3 100644 --- a/docs/resources/organization_member_roles.md +++ b/docs/resources/organization_member_roles.md @@ -61,8 +61,9 @@ Import is supported using the following syntax: ```shell # This resource can be imported by specifying the -# organization ID and user ID separated by ":". +# organization ID and user ID separated by "::" (note the double colon) +# :: # # Example: -terraform import auth0_organization_member_roles.my_org_member_roles "org_XXXXX:auth0|XXXXX" +terraform import auth0_organization_member_roles.my_org_member_roles "org_XXXXX::auth0|XXXXX" ``` diff --git a/docs/resources/pages.md b/docs/resources/pages.md index 1481bcc36..2e5c30e41 100644 --- a/docs/resources/pages.md +++ b/docs/resources/pages.md @@ -99,5 +99,5 @@ Import is supported using the following syntax: # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # # Example: -terraform import auth0_pages.my_pages 22f4f21b-017a-319d-92e7-2291c1ca36c4 +terraform import auth0_pages.my_pages "22f4f21b-017a-319d-92e7-2291c1ca36c4" ``` diff --git a/docs/resources/prompt.md b/docs/resources/prompt.md index 8e5528d4c..899669641 100644 --- a/docs/resources/prompt.md +++ b/docs/resources/prompt.md @@ -25,7 +25,7 @@ resource "auth0_prompt" "my_prompt" { - `identifier_first` (Boolean) Indicates whether the identifier first is used when using the new Universal Login experience. - `universal_login_experience` (String) Which login experience to use. Options include `classic` and `new`. -- `webauthn_platform_first_factor` (Boolean) Determines if the login screen uses identifier and biometrics first. +- `webauthn_platform_first_factor` (Boolean) Determines if the login screen uses identifier and biometrics first. Setting this property to `true`, requires MFA factors enabled for enrollment; use the `auth0_guardian` resource to set one up. ### Read-Only @@ -42,5 +42,5 @@ Import is supported using the following syntax: # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # # Example: -terraform import auth0_prompt.my_prompt 22f4f21b-017a-319d-92e7-2291c1ca36c4 +terraform import auth0_prompt.my_prompt "22f4f21b-017a-319d-92e7-2291c1ca36c4" ``` diff --git a/docs/resources/prompt_custom_text.md b/docs/resources/prompt_custom_text.md index 7ec9f6634..2ec32aa69 100644 --- a/docs/resources/prompt_custom_text.md +++ b/docs/resources/prompt_custom_text.md @@ -60,8 +60,10 @@ resource "auth0_prompt_custom_text" "example" { Import is supported using the following syntax: ```shell -# This resource can be imported by specifying the prompt and language separated by ":". +# This resource can be imported by specifying the +# prompt and language separated by "::" (note the double colon) +# :: # # Example -terraform import auth0_prompt_custom_text.example login:en +terraform import auth0_prompt_custom_text.example "login::en" ``` diff --git a/docs/resources/resource_server.md b/docs/resources/resource_server.md index 72c5eb3ce..e4d931de0 100644 --- a/docs/resources/resource_server.md +++ b/docs/resources/resource_server.md @@ -19,16 +19,6 @@ resource "auth0_resource_server" "my_resource_server" { allow_offline_access = true token_lifetime = 8600 skip_consent_for_verifiable_first_party_clients = true - - scopes { - value = "create:foo" - description = "Create foos" - } - - scopes { - value = "create:bar" - description = "Create bars" - } } ``` @@ -44,7 +34,6 @@ resource "auth0_resource_server" "my_resource_server" { - `allow_offline_access` (Boolean) Indicates whether refresh tokens can be issued for this resource server. - `enforce_policies` (Boolean) If this setting is enabled, RBAC authorization policies will be enforced for this API. Role and permission assignments will be evaluated during the login transaction. - `name` (String) Friendly name for the resource server. Cannot include `<` or `>` characters. -- `scopes` (Block Set, Deprecated) List of permissions (scopes) used by this resource server. Managing scopes through the `scopes` attribute is deprecated and it will be removed in a future major version. Migrate to the `auth0_resource_server_scope` or `auth0_resource_server_scopes` resources to manage role scopes instead. Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#resource-server-scopes) for more info. (see [below for nested schema](#nestedblock--scopes)) - `signing_alg` (String) Algorithm used to sign JWTs. Options include `HS256` and `RS256`. - `signing_secret` (String) Secret used to sign tokens when using symmetric algorithms (HS256). - `skip_consent_for_verifiable_first_party_clients` (Boolean) Indicates whether to skip user consent for applications flagged as first party. @@ -57,17 +46,6 @@ resource "auth0_resource_server" "my_resource_server" { - `id` (String) The ID of this resource. - -### Nested Schema for `scopes` - -Required: - -- `value` (String) Name of the permission (scope). Examples include `read:appointments` or `delete:appointments`. - -Optional: - -- `description` (String) Description of the permission (scope). - ## Import Import is supported using the following syntax: @@ -76,5 +54,5 @@ Import is supported using the following syntax: # Existing resource servers can be imported using their ID. # # Example: -terraform import auth0_resource_server.my_resource_server XXXXXXXXXXXXXXXXXXXXXXX +terraform import auth0_resource_server.my_resource_server "XXXXXXXXXXXXXXXXXXXXXXX" ``` diff --git a/docs/resources/role.md b/docs/resources/role.md index c09c10750..422c947a3 100644 --- a/docs/resources/role.md +++ b/docs/resources/role.md @@ -11,39 +11,9 @@ With this resource, you can create and manage collections of permissions that ca ## Example Usage ```terraform -resource "auth0_resource_server" "my_resource_server" { - name = "My Resource Server (Managed by Terraform)" - identifier = "my-resource-server-identifier" - signing_alg = "RS256" - - token_lifetime = 86400 - skip_consent_for_verifiable_first_party_clients = true - enforce_policies = true - - scopes { - value = "read:something" - description = "read something" - } -} - -resource "auth0_user" "my_user" { - connection_name = "Username-Password-Authentication" - user_id = "auth0|1234567890" - email = "test@test.com" - password = "passpass$12$12" - nickname = "testnick" - username = "testnick" - roles = [auth0_role.my_role.id] -} - resource "auth0_role" "my_role" { name = "My Role - (Managed by Terraform)" description = "Role Description..." - - permissions { - resource_server_identifier = auth0_resource_server.my_resource_server.identifier - name = "read:something" - } } ``` @@ -52,30 +22,16 @@ resource "auth0_role" "my_role" { ### Required -- `name` (String) Name for this role. +- `name` (String) The name of the role. ### Optional -- `description` (String) Description of the role. -- `permissions` (Block Set, Deprecated) Configuration settings for permissions (scopes) attached to the role. Managing permissions through the `permissions` attribute is deprecated and it will be removed in a future major version. Migrate to the `auth0_role_permission` or `auth0_role_permissions` resource to manage role permissions instead. Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#role-permissions) for more info. (see [below for nested schema](#nestedblock--permissions)) +- `description` (String) The description of the role. ### Read-Only - `id` (String) The ID of this resource. - -### Nested Schema for `permissions` - -Required: - -- `name` (String) Name of the permission (scope) configured on the resource server. If referencing a scope from an `auth0_resource_server` resource, use the `value` property, for example `auth0_resource_server.my_resource_server.scopes[0].value`. -- `resource_server_identifier` (String) Unique identifier for the resource server. - -Read-Only: - -- `description` (String) Description of the permission. -- `resource_server_name` (String) Name of resource server that the permission is associated with. - ## Import Import is supported using the following syntax: @@ -84,5 +40,5 @@ Import is supported using the following syntax: # Existing roles can be imported using their ID. # # Example: -terraform import auth0_role.my_role XXXXXXXXXXXXXXXXXXXXXXX +terraform import auth0_role.my_role "XXXXXXXXXXXXXXXXXXXXXXX" ``` diff --git a/docs/resources/rule.md b/docs/resources/rule.md index 0d3833a6c..fade6aa05 100644 --- a/docs/resources/rule.md +++ b/docs/resources/rule.md @@ -53,5 +53,5 @@ Import is supported using the following syntax: # Existing rules can be imported using their ID. # # Example: -terraform import auth0_rule.my_rule rul_XXXXXXXXXXXXX +terraform import auth0_rule.my_rule "rul_XXXXXXXXXXXXX" ``` diff --git a/docs/resources/rule_config.md b/docs/resources/rule_config.md index e8164be54..01a61d0f6 100644 --- a/docs/resources/rule_config.md +++ b/docs/resources/rule_config.md @@ -47,5 +47,5 @@ Import is supported using the following syntax: # Existing rule configs can be imported using their key name. # # Example: -terraform import auth0_rule_config.my_rule_config foo +terraform import auth0_rule_config.my_rule_config "foo" ``` diff --git a/docs/resources/tenant.md b/docs/resources/tenant.md index 20ff76526..0f7848dda 100644 --- a/docs/resources/tenant.md +++ b/docs/resources/tenant.md @@ -24,36 +24,11 @@ resource "auth0_tenant" "my_tenant" { sandbox_version = "12" enabled_locales = ["en"] default_redirection_uri = "https://example.com/login" - - change_password { - enabled = true - html = "Change Password" - } - - guardian_mfa_page { - enabled = true - html = "MFA" - } - - error_page { - html = "Error Page" - show_log_link = true - url = "https://example.com/errors" - } - session_cookie { mode = "non-persistent" } - universal_login { - colors { - primary = "#0059d6" - page_background = "#000000" - } - } - flags { - universal_login = true disable_clickjack_protection_headers = true enable_public_signup_user_exists_error = true use_scope_descriptions_for_consent = true @@ -70,15 +45,12 @@ resource "auth0_tenant" "my_tenant" { ### Optional - `allowed_logout_urls` (List of String) URLs that Auth0 may redirect to after logout. -- `change_password` (Block List, Max: 1, Deprecated) Configuration settings for change password page. This attribute is deprecated in favor of the `auth0_pages` resource and it will be removed in a future major version. Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-pages) for more info. (see [below for nested schema](#nestedblock--change_password)) - `default_audience` (String) API Audience to use by default for API Authorization flows. This setting is equivalent to appending the audience to every authorization request made to the tenant for every application. - `default_directory` (String) Name of the connection to be used for Password Grant exchanges. Options include `auth0-adldap`, `ad`, `auth0`, `email`, `sms`, `waad`, and `adfs`. - `default_redirection_uri` (String) The default absolute redirection URI. Must be HTTPS or an empty string. - `enabled_locales` (List of String) Supported locales for the user interface. The first locale in the list will be used to set the default locale. -- `error_page` (Block List, Max: 1, Deprecated) Configuration settings for error pages. This attribute is deprecated in favor of the `auth0_pages` resource and it will be removed in a future major version. Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-pages) for more info. (see [below for nested schema](#nestedblock--error_page)) - `flags` (Block List, Max: 1) Configuration settings for tenant flags. (see [below for nested schema](#nestedblock--flags)) - `friendly_name` (String) Friendly name for the tenant. -- `guardian_mfa_page` (Block List, Max: 1, Deprecated) Configuration settings for the Guardian MFA page. This attribute is deprecated in favor of the `auth0_pages` resource and it will be removed in a future major version. Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-pages) for more info. (see [below for nested schema](#nestedblock--guardian_mfa_page)) - `idle_session_lifetime` (Number) Number of hours during which a session can be inactive before the user must log in again. - `picture_url` (String) URL of logo to be shown for the tenant. Recommended size is 150px x 150px. If no URL is provided, the Auth0 logo will be used. - `sandbox_version` (String) Selected sandbox version for the extensibility environment, which allows you to use custom scripts to extend parts of Auth0's functionality. @@ -86,31 +58,11 @@ resource "auth0_tenant" "my_tenant" { - `session_lifetime` (Number) Number of hours during which a session will stay valid. - `support_email` (String) Support email address for authenticating users. - `support_url` (String) Support URL for authenticating users. -- `universal_login` (Block List, Max: 1, Deprecated) Configuration settings for Universal Login. These configuration settings have been deprecated. Migrate to managing these settings through the `auth0_branding` resource. Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-universal-login) for more info. (see [below for nested schema](#nestedblock--universal_login)) ### Read-Only - `id` (String) The ID of this resource. - -### Nested Schema for `change_password` - -Required: - -- `enabled` (Boolean) Indicates whether to use the custom change password page. -- `html` (String) HTML format with supported Liquid syntax. Customized content of the change password page. - - - -### Nested Schema for `error_page` - -Required: - -- `html` (String) HTML format with supported Liquid syntax. Customized content of the error page. -- `show_log_link` (Boolean) Indicates whether to show the link to logs as part of the default error page. -- `url` (String) URL to redirect to when an error occurs rather than showing the default error page. - - ### Nested Schema for `flags` @@ -137,19 +89,9 @@ Optional: - `mfa_show_factor_list_on_enrollment` (Boolean) Used to allow users to pick which factor to enroll with from the list of available MFA factors. - `no_disclose_enterprise_connections` (Boolean) Do not Publish Enterprise Connections Information with IdP domains on the lock configuration file. - `revoke_refresh_token_grant` (Boolean) Delete underlying grant when a refresh token is revoked via the Authentication API. -- `universal_login` (Boolean, Deprecated) Indicates whether the New Universal Login Experience is enabled. - `use_scope_descriptions_for_consent` (Boolean) Indicates whether to use scope descriptions for consent. - -### Nested Schema for `guardian_mfa_page` - -Required: - -- `enabled` (Boolean) Indicates whether to use the custom Guardian page. -- `html` (String) HTML format with supported Liquid syntax. Customized content of the Guardian page. - - ### Nested Schema for `session_cookie` @@ -157,22 +99,6 @@ Optional: - `mode` (String) Behavior of tenant session cookie. Accepts either "persistent" or "non-persistent". - - -### Nested Schema for `universal_login` - -Optional: - -- `colors` (Block List, Max: 1) Configuration settings for Universal Login colors. (see [below for nested schema](#nestedblock--universal_login--colors)) - - -### Nested Schema for `universal_login.colors` - -Optional: - -- `page_background` (String) Background color of login pages in hexadecimal. -- `primary` (String) Primary button background color in hexadecimal. - ## Import Import is supported using the following syntax: @@ -184,5 +110,5 @@ Import is supported using the following syntax: # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # # Example: -terraform import auth0_tenant.my_tenant 82f4f21b-017a-319d-92e7-2291c1ca36c4 +terraform import auth0_tenant.my_tenant "82f4f21b-017a-319d-92e7-2291c1ca36c4" ``` diff --git a/docs/resources/trigger_action.md b/docs/resources/trigger_action.md index 5087691c0..26126d866 100644 --- a/docs/resources/trigger_action.md +++ b/docs/resources/trigger_action.md @@ -61,8 +61,9 @@ Import is supported using the following syntax: ```shell # This resource can be imported by specifying the -# trigger and action ID separated by "::". +# trigger and action ID separated by "::" (note the double colon) +# :: # # Example: -terraform import auth0_trigger_action.post_login_action post-login::28b5c8fa-d371-5734-acf6-d0cf80ead918 +terraform import auth0_trigger_action.post_login_action "post-login::28b5c8fa-d371-5734-acf6-d0cf80ead918" ``` diff --git a/docs/resources/trigger_actions.md b/docs/resources/trigger_actions.md index 91b56de00..72295bef7 100644 --- a/docs/resources/trigger_actions.md +++ b/docs/resources/trigger_actions.md @@ -66,7 +66,7 @@ resource "auth0_trigger_actions" "login_flow" { ### Required - `actions` (Block List, Min: 1) The list of actions bound to this trigger. (see [below for nested schema](#nestedblock--actions)) -- `trigger` (String) The ID of the trigger to bind with. +- `trigger` (String) The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `iga-approval` , `iga-certification` , `iga-fulfillment-assignment`, `iga-fulfillment-execution`. ### Read-Only diff --git a/docs/resources/trigger_binding.md b/docs/resources/trigger_binding.md index 2064c6099..264d6a68c 100644 --- a/docs/resources/trigger_binding.md +++ b/docs/resources/trigger_binding.md @@ -65,7 +65,7 @@ resource "auth0_trigger_binding" "login_flow" { ### Required - `actions` (Block List, Min: 1) The list of actions bound to this trigger. (see [below for nested schema](#nestedblock--actions)) -- `trigger` (String) The ID of the trigger to bind with. +- `trigger` (String) The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `iga-approval` , `iga-certification` , `iga-fulfillment-assignment`, `iga-fulfillment-execution`. ### Read-Only diff --git a/docs/resources/user.md b/docs/resources/user.md index 776e37377..0e4120fce 100644 --- a/docs/resources/user.md +++ b/docs/resources/user.md @@ -21,12 +21,6 @@ resource "auth0_user" "user" { email_verified = true password = "passpass$12$12" picture = "https://www.example.com/a-valid-picture-url.jpg" - roles = [auth0_role.admin.id] -} - -resource "auth0_role" "admin" { - name = "admin" - description = "Administrator" } ``` @@ -51,7 +45,6 @@ resource "auth0_role" "admin" { - `phone_number` (String) Phone number for the user; follows the E.164 recommendation. Used for SMS connections. - `phone_verified` (Boolean) Indicates whether the phone number has been verified. - `picture` (String) Picture of the user. This value can only be updated if the connection is a database connection (using the Auth0 store), a passwordless connection (email or sms) or has disabled 'Sync user profile attributes at each login'. For more information, see: [Configure Identity Provider Connection for User Profile Updates](https://auth0.com/docs/manage-users/user-accounts/user-profiles/configure-connection-sync-with-auth0). -- `roles` (Set of String, Deprecated) Set of IDs of roles assigned to the user. Managing roles through this attribute is deprecated and it will be removed in a future major version. Migrate to the `auth0_user_roles` or the `auth0_user_role` resource to manage user roles instead. Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#user-roles) on how to do that. - `user_id` (String) ID of the user. - `user_metadata` (String) Custom fields that store info about the user that does not impact a user's core functionality. Examples include work address, home address, and user preferences. - `username` (String) Username of the user. Only valid if the connection requires a username. @@ -60,17 +53,6 @@ resource "auth0_role" "admin" { ### Read-Only - `id` (String) The ID of this resource. -- `permissions` (Set of Object, Deprecated) List of API permissions granted to the user. Reading permissions through this attribute is deprecated and it will be removed in a future major version. Use the `auth0_user` data source instead. (see [below for nested schema](#nestedatt--permissions)) - - -### Nested Schema for `permissions` - -Read-Only: - -- `description` (String) -- `name` (String) -- `resource_server_identifier` (String) -- `resource_server_name` (String) ## Import @@ -80,5 +62,5 @@ Import is supported using the following syntax: # This resource can be imported using the user ID. # # Example: -terraform import auth0_user.user auth0|111111111111111111111111 +terraform import auth0_user.user "auth0|111111111111111111111111" ``` diff --git a/examples/custom-domain-with-self-managed-certs/README.md b/examples/custom-domain-with-self-managed-certs/README.md deleted file mode 100644 index fa50b2208..000000000 --- a/examples/custom-domain-with-self-managed-certs/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# Custom Domain with Self-managed Certificates on GCP - -This example sets up an Auth0 tenant with a custom domain that uses self-managed certificates. It also configures the -appropriate resources in Google Cloud Platform to forward requests to Auth0 over HTTPS. - -To use this example, in addition to setting the usual Auth0 environment variables, you will also need to set -`GOOGLE_PROJECT` and `GOOGLE_CREDENTIALS` (or equivalent; see [the provider reference](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#authentication) for more information). - -Note that Google-managed certificates take some time to provision. If everything in the configuration looks right, but -you're getting TLS errors trying to load your custom domain, you should wait 5-10 minutes and then refresh the page. diff --git a/examples/custom-domain-with-self-managed-certs/addresses.tf b/examples/custom-domain-with-self-managed-certs/addresses.tf deleted file mode 100644 index f54176276..000000000 --- a/examples/custom-domain-with-self-managed-certs/addresses.tf +++ /dev/null @@ -1,29 +0,0 @@ -resource "google_compute_global_address" "lb_ipv4" { - name = "auth0-ipv4" - ip_version = "IPV4" -} - -resource "google_compute_global_address" "lb_ipv6" { - name = "auth0-ipv6" - ip_version = "IPV6" -} - -resource "google_dns_record_set" "lb_a" { - name = "${var.domain}." - managed_zone = var.managed_zone_name - type = "A" - ttl = 300 - rrdatas = [ - google_compute_global_address.lb_ipv4.address, - ] -} - -resource "google_dns_record_set" "lb_aaaa" { - name = "${var.domain}." - managed_zone = var.managed_zone_name - type = "AAAA" - ttl = 300 - rrdatas = [ - google_compute_global_address.lb_ipv6.address, - ] -} diff --git a/examples/custom-domain-with-self-managed-certs/main.tf b/examples/custom-domain-with-self-managed-certs/main.tf deleted file mode 100644 index d6e8676e2..000000000 --- a/examples/custom-domain-with-self-managed-certs/main.tf +++ /dev/null @@ -1,30 +0,0 @@ -provider "auth0" {} - -provider "google" {} - -resource "auth0_custom_domain" "my_domain" { - domain = var.domain - type = "self_managed_certs" -} - -resource "google_dns_record_set" "my_domain_verification" { - name = "${auth0_custom_domain.my_domain.verification[0].methods[0].domain}." - managed_zone = var.managed_zone_name - type = upper(auth0_custom_domain.my_domain.verification[0].methods[0].name) - ttl = 300 - rrdatas = [ - "${auth0_custom_domain.my_domain.verification[0].methods[0].record}.", - ] -} - -resource "auth0_custom_domain_verification" "my_domain" { - custom_domain_id = auth0_custom_domain.my_domain.id - - depends_on = [ - google_dns_record_set.my_domain_verification, - ] - - timeouts { - create = "15m" - } -} diff --git a/examples/custom-domain-with-self-managed-certs/proxy.tf b/examples/custom-domain-with-self-managed-certs/proxy.tf deleted file mode 100644 index 94f51d6f2..000000000 --- a/examples/custom-domain-with-self-managed-certs/proxy.tf +++ /dev/null @@ -1,73 +0,0 @@ -resource "google_compute_global_network_endpoint_group" "proxy" { - name = "auth0-proxy" - network_endpoint_type = "INTERNET_FQDN_PORT" -} - -resource "google_compute_global_network_endpoint" "proxy" { - global_network_endpoint_group = google_compute_global_network_endpoint_group.proxy.name - - fqdn = auth0_custom_domain_verification.my_domain.origin_domain_name - port = 443 -} - -resource "google_compute_backend_service" "proxy" { - name = "auth0-proxy" - description = "Auth0 authentication proxy" - - backend { - group = google_compute_global_network_endpoint_group.proxy.self_link - } - - protocol = "HTTPS" - enable_cdn = false - - log_config { - enable = true - } - - custom_request_headers = [ - "host: ${auth0_custom_domain_verification.my_domain.origin_domain_name}", - "cname-api-key: ${auth0_custom_domain_verification.my_domain.cname_api_key}", - ] -} - -resource "google_compute_url_map" "proxy_https" { - name = "auth0-proxy-https" - description = "HTTPS endpoint for the Auth0 authentication proxy" - - default_service = google_compute_backend_service.proxy.self_link -} - -resource "google_compute_managed_ssl_certificate" "proxy" { - name = "auth0-proxy-https" - - managed { - domains = [var.domain] - } -} - -resource "google_compute_target_https_proxy" "proxy" { - name = "auth0-proxy-https" - url_map = google_compute_url_map.proxy_https.self_link - ssl_certificates = [ - google_compute_managed_ssl_certificate.proxy.self_link, - ] -} - -resource "google_compute_global_forwarding_rule" "proxy_https_ipv4" { - name = "auth0-proxy-https-ipv4" - load_balancing_scheme = "EXTERNAL" - port_range = "443" - - ip_address = google_compute_global_address.lb_ipv4.address - target = google_compute_target_https_proxy.proxy.self_link -} - -resource "google_compute_global_forwarding_rule" "proxy_https_ipv6" { - name = "auth0-proxy-https-ipv6" - load_balancing_scheme = "EXTERNAL" - port_range = "443" - - ip_address = google_compute_global_address.lb_ipv6.address - target = google_compute_target_https_proxy.proxy.self_link -} diff --git a/examples/custom-domain-with-self-managed-certs/variables.tf b/examples/custom-domain-with-self-managed-certs/variables.tf deleted file mode 100644 index 5011fa68f..000000000 --- a/examples/custom-domain-with-self-managed-certs/variables.tf +++ /dev/null @@ -1,9 +0,0 @@ -variable "domain" { - description = "The name of the custom domain to provision" - type = string -} - -variable "managed_zone_name" { - description = "The name of the Cloud DNS managed zone to create DNS records in" - type = string -} diff --git a/examples/custom-domain-with-self-managed-certs/versions.tf b/examples/custom-domain-with-self-managed-certs/versions.tf deleted file mode 100644 index f9560d77f..000000000 --- a/examples/custom-domain-with-self-managed-certs/versions.tf +++ /dev/null @@ -1,7 +0,0 @@ -terraform { - required_providers { - auth0 = { - source = "auth0/auth0" - } - } -} diff --git a/examples/data-sources/auth0_global_client/data-source.tf b/examples/data-sources/auth0_global_client/data-source.tf deleted file mode 100644 index 719490f29..000000000 --- a/examples/data-sources/auth0_global_client/data-source.tf +++ /dev/null @@ -1 +0,0 @@ -data "auth0_global_client" "global" {} diff --git a/examples/data-sources/auth0_pages/data-source.tf b/examples/data-sources/auth0_pages/data-source.tf new file mode 100644 index 000000000..11aaf42c7 --- /dev/null +++ b/examples/data-sources/auth0_pages/data-source.tf @@ -0,0 +1 @@ +data "auth0_pages" "my_pages" {} diff --git a/examples/multiple-environments/README.md b/examples/multiple-environments/README.md deleted file mode 100644 index 2cbbc8738..000000000 --- a/examples/multiple-environments/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Multiple Environments - -This example demonstrates how you can share tenant configurations between different environments by leveraging Terraform modules. - -It has configurations for three tenants: [prod](prod), [stage](stage), and a [custom](custom) tenant where the Auth0 -domain is set by a Terraform variable or environment variable. Each of these tenants is set up identically with the -included [admin_console](modules/admin_console) module. diff --git a/examples/multiple-environments/custom/main.tf b/examples/multiple-environments/custom/main.tf deleted file mode 100644 index d6e46e62f..000000000 --- a/examples/multiple-environments/custom/main.tf +++ /dev/null @@ -1,12 +0,0 @@ -variable "auth0_domain" { - type = string - default = null # Leave empty to use AUTH0_DOMAIN from the environment -} - -provider "auth0" { - domain = var.auth0_domain -} - -module "admin_console" { - source = "../modules/admin_console" -} diff --git a/examples/multiple-environments/custom/versions.tf b/examples/multiple-environments/custom/versions.tf deleted file mode 100644 index f9560d77f..000000000 --- a/examples/multiple-environments/custom/versions.tf +++ /dev/null @@ -1,7 +0,0 @@ -terraform { - required_providers { - auth0 = { - source = "auth0/auth0" - } - } -} diff --git a/examples/multiple-environments/modules/admin_console/main.tf b/examples/multiple-environments/modules/admin_console/main.tf deleted file mode 100644 index c7b595191..000000000 --- a/examples/multiple-environments/modules/admin_console/main.tf +++ /dev/null @@ -1,12 +0,0 @@ -resource "auth0_client" "admin" { - name = "Admin Console" - app_type = "non_interactive" -} - -data "auth0_tenant" "current" {} - -resource "auth0_client_grant" "admin_management_api" { - client_id = auth0_client.admin.client_id - audience = data.auth0_tenant.current.management_api_identifier - scope = ["read:users", "create:users", "update:users", "delete:users"] -} diff --git a/examples/multiple-environments/modules/admin_console/versions.tf b/examples/multiple-environments/modules/admin_console/versions.tf deleted file mode 100644 index f9560d77f..000000000 --- a/examples/multiple-environments/modules/admin_console/versions.tf +++ /dev/null @@ -1,7 +0,0 @@ -terraform { - required_providers { - auth0 = { - source = "auth0/auth0" - } - } -} diff --git a/examples/multiple-environments/prod/main.tf b/examples/multiple-environments/prod/main.tf deleted file mode 100644 index 9bbd442b1..000000000 --- a/examples/multiple-environments/prod/main.tf +++ /dev/null @@ -1,7 +0,0 @@ -provider "auth0" { - domain = "example-prod.us.auth0.com" -} - -module "admin_console" { - source = "../modules/admin_console" -} diff --git a/examples/multiple-environments/prod/versions.tf b/examples/multiple-environments/prod/versions.tf deleted file mode 100644 index f9560d77f..000000000 --- a/examples/multiple-environments/prod/versions.tf +++ /dev/null @@ -1,7 +0,0 @@ -terraform { - required_providers { - auth0 = { - source = "auth0/auth0" - } - } -} diff --git a/examples/multiple-environments/stage/main.tf b/examples/multiple-environments/stage/main.tf deleted file mode 100644 index 4b3d285d4..000000000 --- a/examples/multiple-environments/stage/main.tf +++ /dev/null @@ -1,7 +0,0 @@ -provider "auth0" { - domain = "example-stage.us.auth0.com" -} - -module "admin_console" { - source = "../modules/admin_console" -} diff --git a/examples/multiple-environments/stage/versions.tf b/examples/multiple-environments/stage/versions.tf deleted file mode 100644 index f9560d77f..000000000 --- a/examples/multiple-environments/stage/versions.tf +++ /dev/null @@ -1,7 +0,0 @@ -terraform { - required_providers { - auth0 = { - source = "auth0/auth0" - } - } -} diff --git a/examples/resources/auth0_action/import.sh b/examples/resources/auth0_action/import.sh index de1e494d0..7042d0447 100644 --- a/examples/resources/auth0_action/import.sh +++ b/examples/resources/auth0_action/import.sh @@ -1,4 +1,4 @@ -# An action can be imported using the action's ID. +# This resource can be imported by specifying the action ID. # # Example: -terraform import auth0_action.my_action 12f4f21b-017a-319d-92e7-2291c1ca36c4 +terraform import auth0_action.my_action "12f4f21b-017a-319d-92e7-2291c1ca36c4" diff --git a/examples/resources/auth0_attack_protection/import.sh b/examples/resources/auth0_attack_protection/import.sh index d5856af4a..9d4d96a9e 100644 --- a/examples/resources/auth0_attack_protection/import.sh +++ b/examples/resources/auth0_attack_protection/import.sh @@ -4,4 +4,4 @@ # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # # Example: -terraform import auth0_attack_protection.my_protection 24940d4b-4bd4-44e7-894e-f92e4de36a40 +terraform import auth0_attack_protection.my_protection "24940d4b-4bd4-44e7-894e-f92e4de36a40" diff --git a/examples/resources/auth0_branding/import.sh b/examples/resources/auth0_branding/import.sh index 9214f52b2..9d5de25c7 100644 --- a/examples/resources/auth0_branding/import.sh +++ b/examples/resources/auth0_branding/import.sh @@ -4,4 +4,4 @@ # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # # Example: -terraform import auth0_branding.my_brand 22f4f21b-017a-319d-92e7-2291c1ca36c4 +terraform import auth0_branding.my_brand "22f4f21b-017a-319d-92e7-2291c1ca36c4" diff --git a/examples/resources/auth0_branding_theme/import.sh b/examples/resources/auth0_branding_theme/import.sh index a19471ab3..de1e82e61 100644 --- a/examples/resources/auth0_branding_theme/import.sh +++ b/examples/resources/auth0_branding_theme/import.sh @@ -1,4 +1,4 @@ -# Branding Themes can be imported using their ID. +# This resource can be imported by specifying the Branding Theme ID. # # Example: -terraform import auth0_branding_theme.my_theme XXXXXXXXXXXXXXXXXXXX +terraform import auth0_branding_theme.my_theme "XXXXXXXXXXXXXXXXXXXX" diff --git a/examples/resources/auth0_client/import.sh b/examples/resources/auth0_client/import.sh index 32b7a527b..f27ddcb77 100644 --- a/examples/resources/auth0_client/import.sh +++ b/examples/resources/auth0_client/import.sh @@ -1,4 +1,4 @@ -# A client can be imported using the client's ID. +# This resource can be imported by specifying the client ID. # # Example: -terraform import auth0_client.my_client AaiyAPdpYdesoKnqjj8HJqRn4T5titww +terraform import auth0_client.my_client "AaiyAPdpYdesoKnqjj8HJqRn4T5titww" diff --git a/examples/resources/auth0_client_credentials/import.sh b/examples/resources/auth0_client_credentials/import.sh index 3376d49f2..e2530e4ae 100644 --- a/examples/resources/auth0_client_credentials/import.sh +++ b/examples/resources/auth0_client_credentials/import.sh @@ -1,4 +1,4 @@ -# A client credentials resource can be imported using the client's ID. +# This resource can be imported by specifying the client ID. # # Example: -terraform import auth0_client_credentials.my_creds AaiyAPdpYdesoKnqjj8HJqRn4T5titww +terraform import auth0_client_credentials.my_creds "AaiyAPdpYdesoKnqjj8HJqRn4T5titww" diff --git a/examples/resources/auth0_client_grant/import.sh b/examples/resources/auth0_client_grant/import.sh index 7f3d05138..de4b56588 100644 --- a/examples/resources/auth0_client_grant/import.sh +++ b/examples/resources/auth0_client_grant/import.sh @@ -1,6 +1,5 @@ -# Client grants can be imported using the grant ID. -# -# Application -> APIs -> Expand the required API +# This resource can be imported by specifying the client grant ID. +# You can find this within the Management Dashboard in Application -> APIs -> Expand the required API. # # Example: -terraform import auth0_client_grant.my_client_grant cgr_XXXXXXXXXXXXXXXX +terraform import auth0_client_grant.my_client_grant "cgr_XXXXXXXXXXXXXXXX" diff --git a/examples/resources/auth0_client_grant/resource.tf b/examples/resources/auth0_client_grant/resource.tf index 4a42ad8d4..23f72995e 100644 --- a/examples/resources/auth0_client_grant/resource.tf +++ b/examples/resources/auth0_client_grant/resource.tf @@ -1,4 +1,4 @@ -# The following example grants a client the "create:foo" permission (scope). +# The following example grants a client the "create:foo" and "create:bar" permissions (scopes). resource "auth0_client" "my_client" { name = "Example Application - Client Grant (Managed by Terraform)" @@ -22,5 +22,5 @@ resource "auth0_resource_server" "my_resource_server" { resource "auth0_client_grant" "my_client_grant" { client_id = auth0_client.my_client.id audience = auth0_resource_server.my_resource_server.identifier - scope = ["create:foo"] + scopes = ["create:foo", "create:bar"] } diff --git a/examples/resources/auth0_connection/import.sh b/examples/resources/auth0_connection/import.sh index 7dac2949d..df7488b3e 100644 --- a/examples/resources/auth0_connection/import.sh +++ b/examples/resources/auth0_connection/import.sh @@ -1,4 +1,4 @@ -# Connections can be imported using their ID. +# This resource can be imported by specifying the connection ID. # # Example: -terraform import auth0_connection.google con_a17f21fdb24d48a0 +terraform import auth0_connection.google "con_a17f21fdb24d48a0" diff --git a/examples/resources/auth0_connection_client/import.sh b/examples/resources/auth0_connection_client/import.sh index 9b24465d8..ea51aa98f 100644 --- a/examples/resources/auth0_connection_client/import.sh +++ b/examples/resources/auth0_connection_client/import.sh @@ -1,5 +1,6 @@ # This resource can be imported by specifying the -# connection ID and client ID separated by ":". +# connection ID and client ID separated by "::" (note the double colon) +# :: # # Example: -terraform import auth0_connection_client.my_conn_client_assoc con_XXXXX:XXXXXXXX +terraform import auth0_connection_client.my_conn_client_assoc "con_XXXXX::XXXXXXXX" diff --git a/examples/resources/auth0_connection_clients/import.sh b/examples/resources/auth0_connection_clients/import.sh index 36eb8efeb..5d63c1cdb 100644 --- a/examples/resources/auth0_connection_clients/import.sh +++ b/examples/resources/auth0_connection_clients/import.sh @@ -1,4 +1,4 @@ # This resource can be imported by specifying the Connection ID. # # Example: -terraform import auth0_connection_clients.my_conn_clients_assoc con_XXXXX: +terraform import auth0_connection_clients.my_conn_clients_assoc "con_XXXXX" diff --git a/examples/resources/auth0_custom_domain/import.sh b/examples/resources/auth0_custom_domain/import.sh index bd58fd548..b1149cb6a 100644 --- a/examples/resources/auth0_custom_domain/import.sh +++ b/examples/resources/auth0_custom_domain/import.sh @@ -4,4 +4,4 @@ # https://auth0.com/docs/api/management/v2#!/Custom_Domains/get_custom_domains # # Example: -terraform import auth0_custom_domain.my_custom_domain cd_XXXXXXXXXXXXXXXX +terraform import auth0_custom_domain.my_custom_domain "cd_XXXXXXXXXXXXXXXX" diff --git a/examples/resources/auth0_custom_domain_verification/import.sh b/examples/resources/auth0_custom_domain_verification/import.sh index c9a2a7724..29f681534 100644 --- a/examples/resources/auth0_custom_domain_verification/import.sh +++ b/examples/resources/auth0_custom_domain_verification/import.sh @@ -1,4 +1,4 @@ # You can import this resource using the custom domain ID. # # Example: -terraform import auth0_custom_domain_verification.my_custom_domain_verification cd_XXXXXXXXXXXXXXXX +terraform import auth0_custom_domain_verification.my_custom_domain_verification "cd_XXXXXXXXXXXXXXXX" diff --git a/examples/resources/auth0_email/import.sh b/examples/resources/auth0_email/import.sh index ce67509f0..47dd81d23 100644 --- a/examples/resources/auth0_email/import.sh +++ b/examples/resources/auth0_email/import.sh @@ -4,4 +4,4 @@ # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # # Example: -terraform import auth0_email.my_email_provider b4213dc2-2eed-42c3-9516-c6131a9ce0b0 +terraform import auth0_email.my_email_provider "b4213dc2-2eed-42c3-9516-c6131a9ce0b0" diff --git a/examples/resources/auth0_email_template/import.sh b/examples/resources/auth0_email_template/import.sh index fbc63ea96..2afb173e8 100644 --- a/examples/resources/auth0_email_template/import.sh +++ b/examples/resources/auth0_email_template/import.sh @@ -8,4 +8,4 @@ # for legacy scenarios. # # Example: -terraform import auth0_email_template.my_email_template welcome_email +terraform import auth0_email_template.my_email_template "welcome_email" diff --git a/examples/resources/auth0_global_client/import.sh b/examples/resources/auth0_global_client/import.sh deleted file mode 100644 index 0337a3f3f..000000000 --- a/examples/resources/auth0_global_client/import.sh +++ /dev/null @@ -1,8 +0,0 @@ -# The auth0_global_client can be imported using the global client's ID. -# -# You can find the ID of the global client by going to the -# [API Explorer](https://auth0.com/docs/api/management/v2#!/Clients/get_clients) -# and fetching the clients that have `"global": true`. -# -# Example: -terraform import auth0_global_client.global XaiyAXXXYdXXXXnqjj8HXXXXXT5titww diff --git a/examples/resources/auth0_global_client/resource.tf b/examples/resources/auth0_global_client/resource.tf deleted file mode 100644 index 4ab346bb1..000000000 --- a/examples/resources/auth0_global_client/resource.tf +++ /dev/null @@ -1,13 +0,0 @@ -resource "auth0_global_client" "global" { - // Auth0 Universal Login - Custom Login Page - custom_login_page_on = true - custom_login_page = < - My Custom Login Page - - I should probably have a login form here - - -PAGE - callbacks = ["http://somehostname.com/a/callback"] -} diff --git a/examples/resources/auth0_guardian/import.sh b/examples/resources/auth0_guardian/import.sh index c58c3d90f..238a5a7e3 100644 --- a/examples/resources/auth0_guardian/import.sh +++ b/examples/resources/auth0_guardian/import.sh @@ -4,4 +4,4 @@ # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # # Example: -terraform import auth0_guardian.my_guardian 24940d4b-4bd4-44e7-894e-f92e4de36a40 +terraform import auth0_guardian.my_guardian "24940d4b-4bd4-44e7-894e-f92e4de36a40" diff --git a/examples/resources/auth0_hook/import.sh b/examples/resources/auth0_hook/import.sh index ab4c18d32..028646247 100644 --- a/examples/resources/auth0_hook/import.sh +++ b/examples/resources/auth0_hook/import.sh @@ -1,4 +1,4 @@ -# A hook can be imported using the hook's ID. +# This resource can be imported by specifying the hook ID. # # Example: -terraform import auth0_hook.my_hook 00001 +terraform import auth0_hook.my_hook "00001" diff --git a/examples/resources/auth0_log_stream/import.sh b/examples/resources/auth0_log_stream/import.sh index 844fc1634..61c746469 100644 --- a/examples/resources/auth0_log_stream/import.sh +++ b/examples/resources/auth0_log_stream/import.sh @@ -1,4 +1,4 @@ -# An existing log stream can be imported using its ID. +# This resource can be imported by specifying the log stream ID. # # Example: -terraform import auth0_log_stream.example lst_XXXXXXXXXXXXXXXX +terraform import auth0_log_stream.example "lst_XXXXXXXXXXXXXXXX" diff --git a/examples/resources/auth0_organization/import.sh b/examples/resources/auth0_organization/import.sh index 8ed4055e6..be53744ef 100644 --- a/examples/resources/auth0_organization/import.sh +++ b/examples/resources/auth0_organization/import.sh @@ -1,4 +1,4 @@ -# Existing organizations can be imported using the organization ID. +# This resource can be imported by specifying the organization ID. # # Example: -terraform import auth0_organization.my_organization org_XXXXXXXXXXXXXX +terraform import auth0_organization.my_organization "org_XXXXXXXXXXXXXX" diff --git a/examples/resources/auth0_organization_connection/import.sh b/examples/resources/auth0_organization_connection/import.sh index 71f899f2d..701c96907 100644 --- a/examples/resources/auth0_organization_connection/import.sh +++ b/examples/resources/auth0_organization_connection/import.sh @@ -1,5 +1,6 @@ # This resource can be imported by specifying the -# organization ID and connection ID separated by ":". +# organization ID and connection ID separated by "::" (note the double colon) +# :: # # Example: -terraform import auth0_organization_connection.my_org_conn org_XXXXX:con_XXXXX +terraform import auth0_organization_connection.my_org_conn "org_XXXXX::con_XXXXX" diff --git a/examples/resources/auth0_organization_connections/import.sh b/examples/resources/auth0_organization_connections/import.sh index d0ee8ba56..2ca9f6253 100644 --- a/examples/resources/auth0_organization_connections/import.sh +++ b/examples/resources/auth0_organization_connections/import.sh @@ -1,4 +1,4 @@ # This resource can be imported by specifying the organization ID. # # Example: -terraform import auth0_organization_connections.my_org_conns org_XXXXX +terraform import auth0_organization_connections.my_org_conns "org_XXXXX" diff --git a/examples/resources/auth0_organization_member/import.sh b/examples/resources/auth0_organization_member/import.sh index 1e33e6b18..b3e02f7b3 100644 --- a/examples/resources/auth0_organization_member/import.sh +++ b/examples/resources/auth0_organization_member/import.sh @@ -1,5 +1,6 @@ # This resource can be imported by specifying the -# organization ID and user ID separated by ":". +# organization ID and user ID separated by "::" (note the double colon) +# :: # # Example: -terraform import auth0_organization_member.my_org_member "org_XXXXX:auth0|XXXXX" +terraform import auth0_organization_member.my_org_member "org_XXXXX::auth0|XXXXX" diff --git a/examples/resources/auth0_organization_member_role/import.sh b/examples/resources/auth0_organization_member_role/import.sh index bda427d74..2065c8b2e 100644 --- a/examples/resources/auth0_organization_member_role/import.sh +++ b/examples/resources/auth0_organization_member_role/import.sh @@ -1,5 +1,6 @@ # This resource can be imported by specifying the -# organization ID, user ID and role ID separated by "::". +# organization ID, user ID and role ID separated by "::" (note the double colon) +# :::: # # Example: terraform import auth0_organization_member_role.my_org_member_role "org_XXXXX::auth0|XXXXX::role_XXXX" diff --git a/examples/resources/auth0_organization_member_roles/import.sh b/examples/resources/auth0_organization_member_roles/import.sh index 12938d656..fd5a751fa 100644 --- a/examples/resources/auth0_organization_member_roles/import.sh +++ b/examples/resources/auth0_organization_member_roles/import.sh @@ -1,5 +1,6 @@ # This resource can be imported by specifying the -# organization ID and user ID separated by ":". +# organization ID and user ID separated by "::" (note the double colon) +# :: # # Example: -terraform import auth0_organization_member_roles.my_org_member_roles "org_XXXXX:auth0|XXXXX" +terraform import auth0_organization_member_roles.my_org_member_roles "org_XXXXX::auth0|XXXXX" diff --git a/examples/resources/auth0_pages/import.sh b/examples/resources/auth0_pages/import.sh index 84d0e7f46..ceb7709a2 100644 --- a/examples/resources/auth0_pages/import.sh +++ b/examples/resources/auth0_pages/import.sh @@ -4,4 +4,4 @@ # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # # Example: -terraform import auth0_pages.my_pages 22f4f21b-017a-319d-92e7-2291c1ca36c4 +terraform import auth0_pages.my_pages "22f4f21b-017a-319d-92e7-2291c1ca36c4" diff --git a/examples/resources/auth0_prompt/import.sh b/examples/resources/auth0_prompt/import.sh index 92b02fbb5..63af31f5e 100644 --- a/examples/resources/auth0_prompt/import.sh +++ b/examples/resources/auth0_prompt/import.sh @@ -4,4 +4,4 @@ # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # # Example: -terraform import auth0_prompt.my_prompt 22f4f21b-017a-319d-92e7-2291c1ca36c4 +terraform import auth0_prompt.my_prompt "22f4f21b-017a-319d-92e7-2291c1ca36c4" diff --git a/examples/resources/auth0_prompt_custom_text/import.sh b/examples/resources/auth0_prompt_custom_text/import.sh index d1d76cec6..e98d7be4b 100644 --- a/examples/resources/auth0_prompt_custom_text/import.sh +++ b/examples/resources/auth0_prompt_custom_text/import.sh @@ -1,4 +1,6 @@ -# This resource can be imported by specifying the prompt and language separated by ":". +# This resource can be imported by specifying the +# prompt and language separated by "::" (note the double colon) +# :: # # Example -terraform import auth0_prompt_custom_text.example login:en +terraform import auth0_prompt_custom_text.example "login::en" diff --git a/examples/resources/auth0_resource_server/import.sh b/examples/resources/auth0_resource_server/import.sh index d9a5fd551..c0f1e2331 100644 --- a/examples/resources/auth0_resource_server/import.sh +++ b/examples/resources/auth0_resource_server/import.sh @@ -1,4 +1,4 @@ # Existing resource servers can be imported using their ID. # # Example: -terraform import auth0_resource_server.my_resource_server XXXXXXXXXXXXXXXXXXXXXXX +terraform import auth0_resource_server.my_resource_server "XXXXXXXXXXXXXXXXXXXXXXX" diff --git a/examples/resources/auth0_resource_server/resource.tf b/examples/resources/auth0_resource_server/resource.tf index f752f631a..3bf5322b8 100644 --- a/examples/resources/auth0_resource_server/resource.tf +++ b/examples/resources/auth0_resource_server/resource.tf @@ -6,14 +6,4 @@ resource "auth0_resource_server" "my_resource_server" { allow_offline_access = true token_lifetime = 8600 skip_consent_for_verifiable_first_party_clients = true - - scopes { - value = "create:foo" - description = "Create foos" - } - - scopes { - value = "create:bar" - description = "Create bars" - } } diff --git a/examples/resources/auth0_role/import.sh b/examples/resources/auth0_role/import.sh index 421cc147e..8c1ddb9c5 100644 --- a/examples/resources/auth0_role/import.sh +++ b/examples/resources/auth0_role/import.sh @@ -1,4 +1,4 @@ # Existing roles can be imported using their ID. # # Example: -terraform import auth0_role.my_role XXXXXXXXXXXXXXXXXXXXXXX +terraform import auth0_role.my_role "XXXXXXXXXXXXXXXXXXXXXXX" diff --git a/examples/resources/auth0_role/resource.tf b/examples/resources/auth0_role/resource.tf index e6a65281f..05620edc7 100644 --- a/examples/resources/auth0_role/resource.tf +++ b/examples/resources/auth0_role/resource.tf @@ -1,34 +1,4 @@ -resource "auth0_resource_server" "my_resource_server" { - name = "My Resource Server (Managed by Terraform)" - identifier = "my-resource-server-identifier" - signing_alg = "RS256" - - token_lifetime = 86400 - skip_consent_for_verifiable_first_party_clients = true - enforce_policies = true - - scopes { - value = "read:something" - description = "read something" - } -} - -resource "auth0_user" "my_user" { - connection_name = "Username-Password-Authentication" - user_id = "auth0|1234567890" - email = "test@test.com" - password = "passpass$12$12" - nickname = "testnick" - username = "testnick" - roles = [auth0_role.my_role.id] -} - resource "auth0_role" "my_role" { name = "My Role - (Managed by Terraform)" description = "Role Description..." - - permissions { - resource_server_identifier = auth0_resource_server.my_resource_server.identifier - name = "read:something" - } } diff --git a/examples/resources/auth0_rule/import.sh b/examples/resources/auth0_rule/import.sh index 1d63b3ce7..ba29d81d7 100644 --- a/examples/resources/auth0_rule/import.sh +++ b/examples/resources/auth0_rule/import.sh @@ -1,4 +1,4 @@ # Existing rules can be imported using their ID. # # Example: -terraform import auth0_rule.my_rule rul_XXXXXXXXXXXXX +terraform import auth0_rule.my_rule "rul_XXXXXXXXXXXXX" diff --git a/examples/resources/auth0_rule_config/import.sh b/examples/resources/auth0_rule_config/import.sh index 21487c6c6..35c89d945 100644 --- a/examples/resources/auth0_rule_config/import.sh +++ b/examples/resources/auth0_rule_config/import.sh @@ -1,4 +1,4 @@ # Existing rule configs can be imported using their key name. # # Example: -terraform import auth0_rule_config.my_rule_config foo +terraform import auth0_rule_config.my_rule_config "foo" diff --git a/examples/resources/auth0_tenant/import.sh b/examples/resources/auth0_tenant/import.sh index bd5636853..ac5ed01c7 100644 --- a/examples/resources/auth0_tenant/import.sh +++ b/examples/resources/auth0_tenant/import.sh @@ -4,4 +4,4 @@ # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # # Example: -terraform import auth0_tenant.my_tenant 82f4f21b-017a-319d-92e7-2291c1ca36c4 +terraform import auth0_tenant.my_tenant "82f4f21b-017a-319d-92e7-2291c1ca36c4" diff --git a/examples/resources/auth0_tenant/resource.tf b/examples/resources/auth0_tenant/resource.tf index 640fd2e15..ca871462c 100644 --- a/examples/resources/auth0_tenant/resource.tf +++ b/examples/resources/auth0_tenant/resource.tf @@ -8,36 +8,11 @@ resource "auth0_tenant" "my_tenant" { sandbox_version = "12" enabled_locales = ["en"] default_redirection_uri = "https://example.com/login" - - change_password { - enabled = true - html = "Change Password" - } - - guardian_mfa_page { - enabled = true - html = "MFA" - } - - error_page { - html = "Error Page" - show_log_link = true - url = "https://example.com/errors" - } - session_cookie { mode = "non-persistent" } - universal_login { - colors { - primary = "#0059d6" - page_background = "#000000" - } - } - flags { - universal_login = true disable_clickjack_protection_headers = true enable_public_signup_user_exists_error = true use_scope_descriptions_for_consent = true diff --git a/examples/resources/auth0_trigger_action/import.sh b/examples/resources/auth0_trigger_action/import.sh index ea2ea7f7c..1e80af255 100644 --- a/examples/resources/auth0_trigger_action/import.sh +++ b/examples/resources/auth0_trigger_action/import.sh @@ -1,5 +1,6 @@ # This resource can be imported by specifying the -# trigger and action ID separated by "::". +# trigger and action ID separated by "::" (note the double colon) +# :: # # Example: -terraform import auth0_trigger_action.post_login_action post-login::28b5c8fa-d371-5734-acf6-d0cf80ead918 +terraform import auth0_trigger_action.post_login_action "post-login::28b5c8fa-d371-5734-acf6-d0cf80ead918" diff --git a/examples/resources/auth0_user/import.sh b/examples/resources/auth0_user/import.sh index 8b898d371..b2e8b066f 100644 --- a/examples/resources/auth0_user/import.sh +++ b/examples/resources/auth0_user/import.sh @@ -1,4 +1,4 @@ # This resource can be imported using the user ID. # # Example: -terraform import auth0_user.user auth0|111111111111111111111111 +terraform import auth0_user.user "auth0|111111111111111111111111" diff --git a/examples/resources/auth0_user/resource.tf b/examples/resources/auth0_user/resource.tf index 0bb4300da..74525a712 100644 --- a/examples/resources/auth0_user/resource.tf +++ b/examples/resources/auth0_user/resource.tf @@ -8,10 +8,4 @@ resource "auth0_user" "user" { email_verified = true password = "passpass$12$12" picture = "https://www.example.com/a-valid-picture-url.jpg" - roles = [auth0_role.admin.id] -} - -resource "auth0_role" "admin" { - name = "admin" - description = "Administrator" } diff --git a/go.mod b/go.mod index ea8ab546a..688011470 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/auth0/terraform-provider-auth0 go 1.20 require ( - github.com/auth0/go-auth0 v0.17.2 + github.com/auth0/go-auth0 v1.0.0-beta.0 github.com/google/go-cmp v0.5.9 github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 github.com/hashicorp/go-multierror v1.1.1 @@ -70,7 +70,7 @@ require ( golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df // indirect golang.org/x/mod v0.11.0 // indirect golang.org/x/net v0.11.0 // indirect - golang.org/x/oauth2 v0.8.0 // indirect + golang.org/x/oauth2 v0.9.0 // indirect golang.org/x/sys v0.9.0 // indirect golang.org/x/text v0.11.0 // indirect google.golang.org/appengine v1.6.7 // indirect diff --git a/go.sum b/go.sum index 5fd8b5c06..6a2e45b64 100644 --- a/go.sum +++ b/go.sum @@ -19,8 +19,8 @@ github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkE github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/auth0/go-auth0 v0.17.2 h1:qEttAY4yYeEJl6wu0iOwlet26wUKA2G5YOUomfuxcy4= -github.com/auth0/go-auth0 v0.17.2/go.mod h1:Hlp4kYcvn2JSD1tAmPQ8DD7MMoiO0bwVJwTHXqJbDDE= +github.com/auth0/go-auth0 v1.0.0-beta.0 h1:D6yfH9kI4oU++7uvGZfpCe4UA8ria8e7dBcv470x6p8= +github.com/auth0/go-auth0 v1.0.0-beta.0/go.mod h1:7OZQ4Jq33xbeMHI1ohaC8BKOW71kkaWWREILoh9vu+0= github.com/aybabtme/iocontrol v0.0.0-20150809002002-ad15bcfc95a0 h1:0NmehRCgyk5rljDQLKUO+cRJCnduDyn11+zGZIc9Z48= github.com/aybabtme/iocontrol v0.0.0-20150809002002-ad15bcfc95a0/go.mod h1:6L7zgvqo0idzI7IO8de6ZC051AfXb5ipkIJ7bIA2tGA= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= @@ -199,8 +199,8 @@ golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20210510120150-4163338589ed/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.11.0 h1:Gi2tvZIJyBtO9SDr1q9h5hEQCp/4L2RQ+ar0qjx2oNU= golang.org/x/net v0.11.0/go.mod h1:2L/ixqYpgIVXmeoSA/4Lu7BzTG4KIyPIryS4IsOd1oQ= -golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= -golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= +golang.org/x/oauth2 v0.9.0 h1:BPpt2kU7oMRq3kCHAA1tbSEshXRw1LpG2ztgDwrzuAs= +golang.org/x/oauth2 v0.9.0/go.mod h1:qYgFZaFiu6Wg24azG8bdV52QJXJGbZzIIsRCdVKzbLw= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/internal/acctest/acctest.go b/internal/acctest/acctest.go index 0776736af..e68b29b48 100644 --- a/internal/acctest/acctest.go +++ b/internal/acctest/acctest.go @@ -2,6 +2,7 @@ package acctest import ( "context" + "net/http" "os" "testing" @@ -57,7 +58,7 @@ func testFactoriesWithHTTPRecordings(httpRecorder *recorder.Recorder) map[string } func configureTestProviderWithHTTPRecordings(httpRecorder *recorder.Recorder) schema.ConfigureContextFunc { - return func(ctx context.Context, data *schema.ResourceData) (interface{}, diag.Diagnostics) { + return func(_ context.Context, data *schema.ResourceData) (interface{}, diag.Diagnostics) { domain := data.Get("domain").(string) debug := data.Get("debug").(bool) @@ -65,6 +66,7 @@ func configureTestProviderWithHTTPRecordings(httpRecorder *recorder.Recorder) sc management.WithStaticToken("insecure"), management.WithClient(httpRecorder.GetDefaultClient()), management.WithDebug(debug), + management.WithRetries(3, []int{http.StatusTooManyRequests, http.StatusInternalServerError}), } if domain != RecordingsDomain { @@ -75,9 +77,11 @@ func configureTestProviderWithHTTPRecordings(httpRecorder *recorder.Recorder) sc authenticationOption := management.WithStaticToken(apiToken) if apiToken == "" { - authenticationOption = management.WithClientCredentials(clientID, clientSecret) + ctx := context.Background() + + authenticationOption = management.WithClientCredentials(ctx, clientID, clientSecret) if audience != "" { - authenticationOption = management.WithClientCredentialsAndAudience(clientID, clientSecret, audience) + authenticationOption = management.WithClientCredentialsAndAudience(ctx, clientID, clientSecret, audience) } } diff --git a/internal/acctest/http_recorder.go b/internal/acctest/http_recorder.go index 7724e6fe7..8adfb9659 100644 --- a/internal/acctest/http_recorder.go +++ b/internal/acctest/http_recorder.go @@ -116,10 +116,11 @@ func redactSensitiveDataInClient(t *testing.T, i *cassette.Interaction, domain s !strings.Contains(i.Request.URL, "credentials") && i.Request.Method == http.MethodPatch - rotateSecret := strings.Contains(i.Request.URL, "clients") && - strings.Contains(i.Request.URL, "/rotate-secret") + if create || read || update { + if i.Response.Code == http.StatusNotFound { + return + } - if create || read || update || rotateSecret { var client management.Client err := json.Unmarshal([]byte(i.Response.Body), &client) require.NoError(t, err) diff --git a/internal/acctest/sweep/actions.go b/internal/acctest/sweep/actions.go index 5d9959414..1f43b1622 100644 --- a/internal/acctest/sweep/actions.go +++ b/internal/acctest/sweep/actions.go @@ -1,6 +1,7 @@ package sweep import ( + "context" "log" "strings" @@ -14,6 +15,8 @@ func Actions() { resource.AddTestSweepers("auth0_actions", &resource.Sweeper{ Name: "auth0_actions", F: func(_ string) error { + ctx := context.Background() + api, err := auth0API() if err != nil { return err @@ -22,7 +25,7 @@ func Actions() { var page int var result *multierror.Error for { - actionList, err := api.Action.List(management.Page(page)) + actionList, err := api.Action.List(ctx, management.Page(page)) if err != nil { return err } @@ -33,7 +36,7 @@ func Actions() { if strings.Contains(action.GetName(), "Test") { result = multierror.Append( result, - api.Action.Delete(action.GetID()), + api.Action.Delete(ctx, action.GetID()), ) log.Printf("[DEBUG] ✗ %s", action.GetName()) } diff --git a/internal/acctest/sweep/api_client.go b/internal/acctest/sweep/api_client.go index 42f3a4084..f5a71da5d 100644 --- a/internal/acctest/sweep/api_client.go +++ b/internal/acctest/sweep/api_client.go @@ -1,6 +1,7 @@ package sweep import ( + "context" "fmt" "os" @@ -10,6 +11,8 @@ import ( // auth0API returns an instance of the Management // API Client used within test sweepers. func auth0API() (*management.Management, error) { + ctx := context.Background() + domain := os.Getenv("AUTH0_DOMAIN") if domain == "" { return nil, fmt.Errorf("failed to instantiate api client: AUTH0_DOMAIN is empty") @@ -19,6 +22,7 @@ func auth0API() (*management.Management, error) { authenticationOption := management.WithStaticToken(apiToken) if apiToken == "" { authenticationOption = management.WithClientCredentials( + ctx, os.Getenv("AUTH0_CLIENT_ID"), os.Getenv("AUTH0_CLIENT_SECRET"), ) diff --git a/internal/acctest/sweep/clients.go b/internal/acctest/sweep/clients.go index 1ec95804f..c8df260e2 100644 --- a/internal/acctest/sweep/clients.go +++ b/internal/acctest/sweep/clients.go @@ -1,6 +1,7 @@ package sweep import ( + "context" "log" "strings" @@ -14,6 +15,8 @@ func Clients() { resource.AddTestSweepers("auth0_client", &resource.Sweeper{ Name: "auth0_client", F: func(_ string) error { + ctx := context.Background() + api, err := auth0API() if err != nil { return err @@ -22,7 +25,7 @@ func Clients() { var page int var result *multierror.Error for { - clientList, err := api.Client.List(management.Page(page)) + clientList, err := api.Client.List(ctx, management.Page(page)) if err != nil { return err } @@ -33,7 +36,7 @@ func Clients() { if strings.Contains(client.GetName(), "Test") { result = multierror.Append( result, - api.Client.Delete(client.GetClientID()), + api.Client.Delete(ctx, client.GetClientID()), ) log.Printf("[DEBUG] ✗ %s", client.GetName()) } diff --git a/internal/acctest/sweep/connections.go b/internal/acctest/sweep/connections.go index 57f3b4166..c6b61fe74 100644 --- a/internal/acctest/sweep/connections.go +++ b/internal/acctest/sweep/connections.go @@ -1,6 +1,7 @@ package sweep import ( + "context" "log" "strings" @@ -14,6 +15,8 @@ func Connections() { resource.AddTestSweepers("auth0_connection", &resource.Sweeper{ Name: "auth0_connection", F: func(_ string) error { + ctx := context.Background() + api, err := auth0API() if err != nil { return err @@ -23,6 +26,7 @@ func Connections() { var result *multierror.Error for { connectionList, err := api.Connection.List( + ctx, management.IncludeFields("id", "name"), management.Page(page), ) @@ -36,7 +40,7 @@ func Connections() { if strings.Contains(connection.GetName(), "Test") { result = multierror.Append( result, - api.Connection.Delete(connection.GetID()), + api.Connection.Delete(ctx, connection.GetID()), ) log.Printf("[DEBUG] ✗ %s", connection.GetName()) } diff --git a/internal/acctest/sweep/custom_domains.go b/internal/acctest/sweep/custom_domains.go index 455616fd4..fb674407f 100644 --- a/internal/acctest/sweep/custom_domains.go +++ b/internal/acctest/sweep/custom_domains.go @@ -1,6 +1,7 @@ package sweep import ( + "context" "log" "strings" @@ -13,12 +14,14 @@ func CustomDomains() { resource.AddTestSweepers("auth0_custom_domain", &resource.Sweeper{ Name: "auth0_custom_domain", F: func(_ string) error { + ctx := context.Background() + api, err := auth0API() if err != nil { return err } - domains, err := api.CustomDomain.List() + domains, err := api.CustomDomain.List(ctx) if err != nil { return err } @@ -30,7 +33,7 @@ func CustomDomains() { if strings.Contains(domain.GetDomain(), "auth.terraform-provider-auth0.com") { result = multierror.Append( result, - api.CustomDomain.Delete(domain.GetID()), + api.CustomDomain.Delete(ctx, domain.GetID()), ) log.Printf("[DEBUG] ✗ %s", domain.GetDomain()) diff --git a/internal/acctest/sweep/email.go b/internal/acctest/sweep/email.go index 97b516acb..72bc6b09f 100644 --- a/internal/acctest/sweep/email.go +++ b/internal/acctest/sweep/email.go @@ -1,6 +1,8 @@ package sweep import ( + "context" + "github.com/auth0/go-auth0" "github.com/auth0/go-auth0/management" "github.com/hashicorp/terraform-plugin-testing/helper/resource" @@ -11,11 +13,13 @@ func Email() { resource.AddTestSweepers("auth0_email", &resource.Sweeper{ Name: "auth0_email", F: func(_ string) error { + ctx := context.Background() + api, err := auth0API() if err != nil { return err } - return api.EmailProvider.Delete() + return api.EmailProvider.Delete(ctx) }, }) } @@ -25,11 +29,13 @@ func EmailTemplates() { resource.AddTestSweepers("auth0_email_template", &resource.Sweeper{ Name: "auth0_email_template", F: func(_ string) (err error) { + ctx := context.Background() + api, err := auth0API() if err != nil { return } - err = api.EmailTemplate.Update("welcome_email", &management.EmailTemplate{ + err = api.EmailTemplate.Update(ctx, "welcome_email", &management.EmailTemplate{ Enabled: auth0.Bool(false), }) return diff --git a/internal/acctest/sweep/log_streams.go b/internal/acctest/sweep/log_streams.go index 3b933fb31..e213464ad 100644 --- a/internal/acctest/sweep/log_streams.go +++ b/internal/acctest/sweep/log_streams.go @@ -1,6 +1,7 @@ package sweep import ( + "context" "log" "strings" @@ -13,12 +14,14 @@ func LogStreams() { resource.AddTestSweepers("auth0_log_stream", &resource.Sweeper{ Name: "auth0_log_stream", F: func(_ string) error { + ctx := context.Background() + api, err := auth0API() if err != nil { return err } - logStreams, err := api.LogStream.List() + logStreams, err := api.LogStream.List(ctx) if err != nil { return err } @@ -30,7 +33,7 @@ func LogStreams() { if strings.Contains(logStream.GetName(), "Test") { result = multierror.Append( result, - api.LogStream.Delete(logStream.GetID()), + api.LogStream.Delete(ctx, logStream.GetID()), ) log.Printf("[DEBUG] ✗ %v\n", logStream.GetName()) diff --git a/internal/acctest/sweep/organizations.go b/internal/acctest/sweep/organizations.go index 25726d444..1cbf9d6dc 100644 --- a/internal/acctest/sweep/organizations.go +++ b/internal/acctest/sweep/organizations.go @@ -1,6 +1,7 @@ package sweep import ( + "context" "log" "strings" @@ -14,6 +15,8 @@ func Organizations() { resource.AddTestSweepers("auth0_organization", &resource.Sweeper{ Name: "auth0_organization", F: func(_ string) error { + ctx := context.Background() + api, err := auth0API() if err != nil { return err @@ -22,7 +25,7 @@ func Organizations() { var page int var result *multierror.Error for { - organizationList, err := api.Organization.List(management.Page(page)) + organizationList, err := api.Organization.List(ctx, management.Page(page)) if err != nil { return err } @@ -33,7 +36,7 @@ func Organizations() { if strings.Contains(organization.GetName(), "test") { result = multierror.Append( result, - api.Organization.Delete(organization.GetID()), + api.Organization.Delete(ctx, organization.GetID()), ) log.Printf("[DEBUG] ✗ %s", organization.GetName()) diff --git a/internal/acctest/sweep/resource_servers.go b/internal/acctest/sweep/resource_servers.go index a3558ad97..b134c2ed7 100644 --- a/internal/acctest/sweep/resource_servers.go +++ b/internal/acctest/sweep/resource_servers.go @@ -1,10 +1,12 @@ package sweep import ( + "context" "log" "strings" "github.com/auth0/go-auth0/management" + "github.com/hashicorp/go-multierror" "github.com/hashicorp/terraform-plugin-testing/helper/resource" ) @@ -13,22 +15,40 @@ func ResourceServers() { resource.AddTestSweepers("auth0_resource_server", &resource.Sweeper{ Name: "auth0_resource_server", F: func(_ string) error { + ctx := context.Background() + api, err := auth0API() if err != nil { return err } - fn := func(rs *management.ResourceServer) { - log.Printf("[DEBUG] ➝ %s", rs.GetName()) - if strings.Contains(rs.GetName(), "Test") { - if err := api.ResourceServer.Delete(rs.GetID()); err != nil { - log.Printf("[DEBUG] Failed to delete resource server with ID: %s", rs.GetID()) + var page int + var result *multierror.Error + for { + resourceServerList, err := api.ResourceServer.List(ctx, management.Page(page)) + if err != nil { + return err + } + + for _, server := range resourceServerList.ResourceServers { + log.Printf("[DEBUG] ➝ %s", server.GetName()) + + if strings.Contains(server.GetName(), "Test") { + result = multierror.Append( + result, + api.ResourceServer.Delete(ctx, server.GetID()), + ) + + log.Printf("[DEBUG] ✗ %s", server.GetName()) } - log.Printf("[DEBUG] ✗ %s", rs.GetName()) } + if !resourceServerList.HasNext() { + break + } + page++ } - return api.ResourceServer.Stream(fn, management.IncludeFields("id", "name")) + return result.ErrorOrNil() }, }) } diff --git a/internal/acctest/sweep/roles.go b/internal/acctest/sweep/roles.go index 5da2567db..4d0680842 100644 --- a/internal/acctest/sweep/roles.go +++ b/internal/acctest/sweep/roles.go @@ -1,6 +1,7 @@ package sweep import ( + "context" "log" "strings" @@ -14,6 +15,8 @@ func Roles() { resource.AddTestSweepers("auth0_role", &resource.Sweeper{ Name: "auth0_role", F: func(_ string) error { + ctx := context.Background() + api, err := auth0API() if err != nil { return err @@ -22,7 +25,7 @@ func Roles() { var page int var result *multierror.Error for { - roleList, err := api.Role.List(management.Page(page)) + roleList, err := api.Role.List(ctx, management.Page(page)) if err != nil { return err } @@ -32,7 +35,7 @@ func Roles() { if strings.Contains(role.GetName(), "Test") { result = multierror.Append( result, - api.Role.Delete(role.GetID()), + api.Role.Delete(ctx, role.GetID()), ) log.Printf("[DEBUG] ✗ %s", role.GetName()) } diff --git a/internal/acctest/sweep/rule_configs.go b/internal/acctest/sweep/rule_configs.go index c0e17ffd9..3a66389dc 100644 --- a/internal/acctest/sweep/rule_configs.go +++ b/internal/acctest/sweep/rule_configs.go @@ -1,6 +1,7 @@ package sweep import ( + "context" "log" "strings" @@ -13,12 +14,14 @@ func RuleConfigs() { resource.AddTestSweepers("auth0_rule_config", &resource.Sweeper{ Name: "auth0_rule_config", F: func(_ string) error { + ctx := context.Background() + api, err := auth0API() if err != nil { return err } - configurations, err := api.RuleConfig.List() + configurations, err := api.RuleConfig.List(ctx) if err != nil { return err } @@ -29,7 +32,7 @@ func RuleConfigs() { if strings.Contains(c.GetKey(), "test") { result = multierror.Append( result, - api.RuleConfig.Delete(c.GetKey()), + api.RuleConfig.Delete(ctx, c.GetKey()), ) log.Printf("[DEBUG] ✗ %s", c.GetKey()) } diff --git a/internal/acctest/sweep/users.go b/internal/acctest/sweep/users.go index 148c83199..6ef5f3625 100644 --- a/internal/acctest/sweep/users.go +++ b/internal/acctest/sweep/users.go @@ -1,6 +1,7 @@ package sweep import ( + "context" "log" "github.com/auth0/go-auth0/management" @@ -13,6 +14,8 @@ func Users() { resource.AddTestSweepers("auth0_user", &resource.Sweeper{ Name: "auth0_user", F: func(_ string) error { + ctx := context.Background() + api, err := auth0API() if err != nil { return err @@ -22,6 +25,7 @@ func Users() { var result *multierror.Error for { userList, err := api.User.Search( + ctx, management.Page(page), management.Query(`email.domain:"acceptance.test.com"`)) if err != nil { @@ -31,7 +35,7 @@ func Users() { for _, user := range userList.Users { result = multierror.Append( result, - api.User.Delete(user.GetID()), + api.User.Delete(ctx, user.GetID()), ) log.Printf("[DEBUG] ✗ %s", user.GetName()) } diff --git a/internal/auth0/404check.go b/internal/auth0/404check.go new file mode 100644 index 000000000..18b4a3402 --- /dev/null +++ b/internal/auth0/404check.go @@ -0,0 +1,22 @@ +package auth0 + +import ( + "context" + "errors" + + "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" +) + +// CheckFor404Error accepts and executes a resource's read function within the context +// of a data source and will appropriately error when a resource is not found. +func CheckFor404Error(ctx context.Context, readFunc func(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics, d *schema.ResourceData, m interface{}) diag.Diagnostics { + diags := readFunc(ctx, d, m) + if diags != nil { + return diags + } + if d.Id() == "" { + return diag.FromErr(errors.New("no resource found with that identifier (404)")) + } + return nil +} diff --git a/internal/auth0/action/expand.go b/internal/auth0/action/expand.go index 88bd49bb4..7d318417b 100644 --- a/internal/auth0/action/expand.go +++ b/internal/auth0/action/expand.go @@ -1,6 +1,7 @@ package action import ( + "context" "fmt" "github.com/auth0/go-auth0/management" @@ -96,12 +97,12 @@ func expandTriggerBindings(config cty.Value) []*management.ActionBinding { return triggerBindings } -func preventErasingUnmanagedSecrets(d *schema.ResourceData, api *management.Management) diag.Diagnostics { +func preventErasingUnmanagedSecrets(ctx context.Context, d *schema.ResourceData, api *management.Management) diag.Diagnostics { if !d.HasChange("secrets") { return nil } - preUpdateAction, err := api.Action.Read(d.Id()) + preUpdateAction, err := api.Action.Read(ctx, d.Id()) if err != nil { return diag.FromErr(err) } diff --git a/internal/auth0/action/resource.go b/internal/auth0/action/resource.go index 1aa94ae81..8fe925f47 100644 --- a/internal/auth0/action/resource.go +++ b/internal/auth0/action/resource.go @@ -89,10 +89,11 @@ func NewResource() *schema.Resource { ValidateFunc: validation.StringInSlice([]string{ "node12", "node16", - "node18", + "node18", // Node 18 beta. + "node18-actions", // Node 18 GA. }, false), Description: "The Node runtime. Defaults to `node12`. Possible values are: " + - "`node12`, `node16` or `node18`.", + "`node12`, `node16` or `node18-actions`.", }, "secrets": { Type: schema.TypeList, @@ -136,7 +137,7 @@ func createAction(ctx context.Context, d *schema.ResourceData, m interface{}) di api := m.(*config.Config).GetAPI() action := expandAction(d.GetRawConfig()) - if err := api.Action.Create(action); err != nil { + if err := api.Action.Create(ctx, action); err != nil { return diag.FromErr(err) } @@ -149,10 +150,10 @@ func createAction(ctx context.Context, d *schema.ResourceData, m interface{}) di return readAction(ctx, d, m) } -func readAction(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readAction(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - action, err := api.Action.Read(d.Id()) + action, err := api.Action.Read(ctx, d.Id()) if err != nil { if mErr, ok := err.(management.Error); ok { if mErr.Status() == http.StatusNotFound { @@ -181,13 +182,13 @@ func readAction(_ context.Context, d *schema.ResourceData, m interface{}) diag.D func updateAction(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - diagnostics := preventErasingUnmanagedSecrets(d, api) + diagnostics := preventErasingUnmanagedSecrets(ctx, d, api) if diagnostics.HasError() { return diagnostics } action := expandAction(d.GetRawConfig()) - if err := api.Action.Update(d.Id(), action); err != nil { + if err := api.Action.Update(ctx, d.Id(), action); err != nil { return diag.FromErr(err) } @@ -198,10 +199,10 @@ func updateAction(ctx context.Context, d *schema.ResourceData, m interface{}) di return readAction(ctx, d, m) } -func deleteAction(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteAction(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - if err := api.Action.Delete(d.Id()); err != nil { + if err := api.Action.Delete(ctx, d.Id()); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") return nil @@ -222,7 +223,7 @@ func deployAction(ctx context.Context, d *schema.ResourceData, m interface{}) di api := m.(*config.Config).GetAPI() err := retry.RetryContext(ctx, d.Timeout(schema.TimeoutCreate), func() *retry.RetryError { - action, err := api.Action.Read(d.Id()) + action, err := api.Action.Read(ctx, d.Id()) if err != nil { return retry.NonRetryableError(err) } @@ -259,7 +260,7 @@ func deployAction(ctx context.Context, d *schema.ResourceData, m interface{}) di ) } - actionVersion, err := api.Action.Deploy(d.Id()) + actionVersion, err := api.Action.Deploy(ctx, d.Id()) if err != nil { return diag.FromErr(err) } diff --git a/internal/auth0/action/resource_test.go b/internal/auth0/action/resource_test.go index 842ff2d82..0bec470e2 100644 --- a/internal/auth0/action/resource_test.go +++ b/internal/auth0/action/resource_test.go @@ -186,7 +186,7 @@ func TestAccAction(t *testing.T) { const testAccActionConfigCreateWithFailedBuild = ` resource auth0_action my_action { name = "Test Action {{.testName}}" - runtime = "node18" + runtime = "node18-actions" deploy = true code = <<-EOT exports.onContinuePostLogin = async (event, api) => { diff --git a/internal/auth0/action/resource_trigger_action.go b/internal/auth0/action/resource_trigger_action.go index 7f4333033..e288fa666 100644 --- a/internal/auth0/action/resource_trigger_action.go +++ b/internal/auth0/action/resource_trigger_action.go @@ -22,7 +22,7 @@ func NewTriggerActionResource() *schema.Resource { UpdateContext: updateTriggerAction, DeleteContext: deleteTriggerAction, Importer: &schema.ResourceImporter{ - StateContext: internalSchema.ImportResourceGroupID(internalSchema.SeparatorDoubleColon, "trigger", "action_id"), + StateContext: internalSchema.ImportResourceGroupID("trigger", "action_id"), }, Description: "With this resource, you can bind an action to a trigger. Once an action is created and deployed, it can be attached (i.e. bound) to a trigger so that it will be executed as part of a flow.\n\nOrdering of an action within a specific flow is not currently supported when using this resource; the action will get appended to the end of the flow. To precisely manage ordering, it is advised to either do so with the dashboard UI or with the `auth0_trigger_bindings` resource.", Schema: map[string]*schema.Schema{ @@ -67,7 +67,7 @@ func createTriggerAction(ctx context.Context, d *schema.ResourceData, m interfac actionID := d.Get("action_id").(string) displayName := d.Get("display_name").(string) - currentBindings, err := api.Action.Bindings(trigger) + currentBindings, err := api.Action.Bindings(ctx, trigger) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") @@ -78,8 +78,8 @@ func createTriggerAction(ctx context.Context, d *schema.ResourceData, m interfac var updatedBindings []*management.ActionBinding for _, binding := range currentBindings.Bindings { - if binding.Action.ID == &actionID { - d.SetId(trigger + "::" + actionID) + if binding.Action.GetID() == actionID { + internalSchema.SetResourceGroupID(d, trigger, actionID) return nil } @@ -93,7 +93,7 @@ func createTriggerAction(ctx context.Context, d *schema.ResourceData, m interfac } if displayName == "" { - action, err := api.Action.Read(actionID) + action, err := api.Action.Read(ctx, actionID) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { @@ -113,11 +113,11 @@ func createTriggerAction(ctx context.Context, d *schema.ResourceData, m interfac DisplayName: &displayName, }) - if err := api.Action.UpdateBindings(trigger, updatedBindings); err != nil { + if err := api.Action.UpdateBindings(ctx, trigger, updatedBindings); err != nil { return diag.FromErr(err) } - d.SetId(trigger + "::" + actionID) + internalSchema.SetResourceGroupID(d, trigger, actionID) return readTriggerAction(ctx, d, m) } @@ -128,7 +128,7 @@ func updateTriggerAction(ctx context.Context, d *schema.ResourceData, m interfac actionID := d.Get("action_id").(string) displayName := d.Get("display_name").(string) - currentBindings, err := api.Action.Bindings(trigger) + currentBindings, err := api.Action.Bindings(ctx, trigger) if err != nil { return diag.FromErr(err) } @@ -161,31 +161,27 @@ func updateTriggerAction(ctx context.Context, d *schema.ResourceData, m interfac return nil } - if err := api.Action.UpdateBindings(trigger, updatedBindings); err != nil { + if err := api.Action.UpdateBindings(ctx, trigger, updatedBindings); err != nil { return diag.FromErr(err) } return readTriggerAction(ctx, d, m) } -func readTriggerAction(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readTriggerAction(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() trigger := d.Get("trigger").(string) actionID := d.Get("action_id").(string) - triggerBindings, err := api.Action.Bindings(trigger) + triggerBindings, err := api.Action.Bindings(ctx, trigger) if err != nil { return diag.FromErr(err) } for _, binding := range triggerBindings.Bindings { if binding.Action.GetID() == actionID { - err = d.Set("display_name", binding.GetDisplayName()) - if err != nil { - return diag.FromErr(err) - } - return nil + return diag.FromErr(d.Set("display_name", binding.GetDisplayName())) } } @@ -193,13 +189,13 @@ func readTriggerAction(_ context.Context, d *schema.ResourceData, m interface{}) return nil } -func deleteTriggerAction(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteTriggerAction(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() trigger := d.Get("trigger").(string) actionID := d.Get("action_id").(string) - triggerBindings, err := api.Action.Bindings(trigger) + triggerBindings, err := api.Action.Bindings(ctx, trigger) if err != nil { return diag.FromErr(err) } @@ -219,5 +215,5 @@ func deleteTriggerAction(_ context.Context, d *schema.ResourceData, m interface{ }) } - return diag.FromErr(api.Action.UpdateBindings(trigger, updatedBindings)) + return diag.FromErr(api.Action.UpdateBindings(ctx, trigger, updatedBindings)) } diff --git a/internal/auth0/action/resource_trigger_actions.go b/internal/auth0/action/resource_trigger_actions.go index 95cfbe740..1145ec001 100644 --- a/internal/auth0/action/resource_trigger_actions.go +++ b/internal/auth0/action/resource_trigger_actions.go @@ -38,12 +38,16 @@ func NewTriggerActionsResource() *schema.Resource { "post-user-registration", "post-change-password", "send-phone-message", + "password-reset-post-challenge", "iga-approval", "iga-certification", "iga-fulfillment-assignment", "iga-fulfillment-execution", }, false), - Description: "The ID of the trigger to bind with.", + Description: "The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, " + + "`pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, " + + "`password-reset-post-challenge`, `iga-approval` , `iga-certification` , `iga-fulfillment-assignment`, " + + "`iga-fulfillment-execution`.", }, "actions": { Type: schema.TypeList, @@ -74,7 +78,7 @@ func createTriggerBinding(ctx context.Context, d *schema.ResourceData, m interfa id := d.Get("trigger").(string) triggerBindings := expandTriggerBindings(d.GetRawConfig().GetAttr("actions")) - if err := api.Action.UpdateBindings(id, triggerBindings); err != nil { + if err := api.Action.UpdateBindings(ctx, id, triggerBindings); err != nil { return diag.FromErr(err) } @@ -83,10 +87,10 @@ func createTriggerBinding(ctx context.Context, d *schema.ResourceData, m interfa return readTriggerBinding(ctx, d, m) } -func readTriggerBinding(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readTriggerBinding(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - triggerBindings, err := api.Action.Bindings(d.Id()) + triggerBindings, err := api.Action.Bindings(ctx, d.Id()) if err != nil { return diag.FromErr(err) } @@ -103,14 +107,14 @@ func updateTriggerBinding(ctx context.Context, d *schema.ResourceData, m interfa api := m.(*config.Config).GetAPI() triggerBindings := expandTriggerBindings(d.GetRawConfig().GetAttr("actions")) - if err := api.Action.UpdateBindings(d.Id(), triggerBindings); err != nil { + if err := api.Action.UpdateBindings(ctx, d.Id(), triggerBindings); err != nil { return diag.FromErr(err) } return readTriggerBinding(ctx, d, m) } -func deleteTriggerBinding(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteTriggerBinding(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - return diag.FromErr(api.Action.UpdateBindings(d.Id(), []*management.ActionBinding{})) + return diag.FromErr(api.Action.UpdateBindings(ctx, d.Id(), []*management.ActionBinding{})) } diff --git a/internal/auth0/attackprotection/resource.go b/internal/auth0/attackprotection/resource.go index 3d5fb19cc..282d4f436 100644 --- a/internal/auth0/attackprotection/resource.go +++ b/internal/auth0/attackprotection/resource.go @@ -39,8 +39,7 @@ func NewResource() *schema.Resource { Schema: map[string]*schema.Schema{ "enabled": { Type: schema.TypeBool, - Optional: true, - Default: false, + Required: true, Description: "Whether breached password detection is active.", }, "shields": { @@ -55,7 +54,10 @@ func NewResource() *schema.Resource { "admin_notification", }, false), }, - Description: "Action to take when a breached password is detected.", + Description: "Action to take when a breached password is detected. " + + "Options include: `block` (block compromised user accounts), " + + "`user_notification` (send an email to user when we detect that they are using compromised credentials) " + + "and `admin_notification` (send an email with a summary of the number of accounts logging in with compromised credentials).", }, "admin_notification_frequency": { Type: schema.TypeSet, @@ -70,7 +72,8 @@ func NewResource() *schema.Resource { "monthly", }, false), }, - Description: "When \"admin_notification\" is enabled, " + + RequiredWith: []string{"breached_password_detection.0.shields"}, + Description: "When `admin_notification` is enabled within the `shields` property, " + "determines how often email notifications are sent. " + "Possible values: `immediately`, `daily`, `weekly`, `monthly`.", }, @@ -105,7 +108,8 @@ func NewResource() *schema.Resource { }, false), }, Description: "Action to take when a breached password is detected during " + - "a signup. Possible values: `block`, `admin_notification`.", + "a signup. Possible values: `block` (block compromised credentials for new accounts), " + + "`admin_notification` (send an email notification with a summary of compromised credentials in new accounts).", }, }, }, @@ -124,8 +128,7 @@ func NewResource() *schema.Resource { Schema: map[string]*schema.Schema{ "enabled": { Type: schema.TypeBool, - Optional: true, - Default: false, + Required: true, Description: "Whether brute force attack protections are active.", }, "shields": { @@ -140,7 +143,8 @@ func NewResource() *schema.Resource { }, false), }, Description: "Action to take when a brute force protection threshold is violated. " + - "Possible values: `block`, `user_notification`", + "Possible values: `block` (block login attempts for a flagged user account), " + + "`user_notification` (send an email to user when their account has been blocked).", }, "allowlist": { Type: schema.TypeSet, @@ -149,8 +153,9 @@ func NewResource() *schema.Resource { Elem: &schema.Schema{ Type: schema.TypeString, }, - Description: "List of trusted IP addresses that will not " + - "have attack protection enforced against them.", + Description: "List of trusted IP addresses that will not have attack protection enforced " + + "against them. This field allows you to specify multiple IP addresses, or ranges. " + + "You can use IPv4 or IPv6 addresses and CIDR notation.", }, "mode": { Type: schema.TypeString, @@ -160,14 +165,16 @@ func NewResource() *schema.Resource { "count_per_identifier_and_ip", "count_per_identifier", }, false), Description: "Determines whether the IP address is used when counting failed attempts. " + - "Possible values: `count_per_identifier_and_ip` or `count_per_identifier`.", + "Possible values: `count_per_identifier_and_ip` (lockout an account from a given IP Address) " + + "or `count_per_identifier` (lockout an account regardless of IP Address).", }, "max_attempts": { Type: schema.TypeInt, Optional: true, Computed: true, ValidateFunc: validation.IntAtLeast(0), - Description: "Maximum number of unsuccessful attempts. Only available on public tenants.", + Description: "Maximum number of consecutive failed login attempts from a single user " + + "before blocking is triggered. Only available on public tenants.", }, }, }, @@ -183,8 +190,7 @@ func NewResource() *schema.Resource { Schema: map[string]*schema.Schema{ "enabled": { Type: schema.TypeBool, - Optional: true, - Default: false, + Required: true, Description: "Whether suspicious IP throttling attack protections are active.", }, "shields": { @@ -199,7 +205,8 @@ func NewResource() *schema.Resource { }, false), }, Description: "Action to take when a suspicious IP throttling threshold is violated. " + - "Possible values: `block`, `admin_notification`", + "Possible values: `block` (throttle traffic from an IP address when there is a high number of login attempts targeting too many different accounts), " + + "`admin_notification` (send an email notification when traffic is throttled on one or more IP addresses due to high-velocity traffic).", }, "allowlist": { Type: schema.TypeSet, @@ -208,8 +215,9 @@ func NewResource() *schema.Resource { Elem: &schema.Schema{ Type: schema.TypeString, }, - Description: "List of trusted IP addresses that will not have " + - "attack protection enforced against them.", + Description: "List of trusted IP addresses that will not have attack protection enforced " + + "against them. This field allows you to specify multiple IP addresses, or ranges. " + + "You can use IPv4 or IPv6 addresses and CIDR notation.", }, "pre_login": { Type: schema.TypeList, @@ -225,15 +233,16 @@ func NewResource() *schema.Resource { Optional: true, Computed: true, ValidateFunc: validation.IntAtLeast(0), - Description: "Total number of attempts allowed per day.", + Description: "The maximum number of failed login attempts allowed from a single IP address.", }, "rate": { Type: schema.TypeInt, Optional: true, Computed: true, ValidateFunc: validation.IntAtLeast(0), - Description: "Interval of time, given in milliseconds, " + - "at which new attempts are granted.", + Description: "Interval of time, given in milliseconds at which new login tokens " + + "will become available after they have been used by an IP address. " + + "Each login attempt will be added on the defined throttling rate.", }, }, }, @@ -252,15 +261,16 @@ func NewResource() *schema.Resource { Optional: true, Computed: true, ValidateFunc: validation.IntAtLeast(0), - Description: "Total number of attempts allowed.", + Description: "The maximum number of sign up attempts allowed from a single IP address.", }, "rate": { Type: schema.TypeInt, Optional: true, Computed: true, ValidateFunc: validation.IntAtLeast(0), - Description: "Interval of time, given in milliseconds, " + - "at which new attempts are granted.", + Description: "Interval of time, given in milliseconds " + + "at which new sign up tokens will become available after they have been used " + + "by an IP address. Each sign up attempt will be added on the defined throttling rate.", }, }, }, @@ -277,20 +287,20 @@ func createAttackProtection(ctx context.Context, d *schema.ResourceData, m inter return updateAttackProtection(ctx, d, m) } -func readAttackProtection(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readAttackProtection(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - breachedPasswords, err := api.AttackProtection.GetBreachedPasswordDetection() + breachedPasswords, err := api.AttackProtection.GetBreachedPasswordDetection(ctx) if err != nil { return diag.FromErr(err) } - bruteForce, err := api.AttackProtection.GetBruteForceProtection() + bruteForce, err := api.AttackProtection.GetBruteForceProtection(ctx) if err != nil { return diag.FromErr(err) } - ipThrottling, err := api.AttackProtection.GetSuspiciousIPThrottling() + ipThrottling, err := api.AttackProtection.GetSuspiciousIPThrottling(ctx) if err != nil { return diag.FromErr(err) } @@ -308,19 +318,19 @@ func updateAttackProtection(ctx context.Context, d *schema.ResourceData, m inter api := m.(*config.Config).GetAPI() if ipt := expandSuspiciousIPThrottling(d); ipt != nil { - if err := api.AttackProtection.UpdateSuspiciousIPThrottling(ipt); err != nil { + if err := api.AttackProtection.UpdateSuspiciousIPThrottling(ctx, ipt); err != nil { return diag.FromErr(err) } } if bfp := expandBruteForceProtection(d); bfp != nil { - if err := api.AttackProtection.UpdateBruteForceProtection(bfp); err != nil { + if err := api.AttackProtection.UpdateBruteForceProtection(ctx, bfp); err != nil { return diag.FromErr(err) } } if bpd := expandBreachedPasswordDetection(d); bpd != nil { - if err := api.AttackProtection.UpdateBreachedPasswordDetection(bpd); err != nil { + if err := api.AttackProtection.UpdateBreachedPasswordDetection(ctx, bpd); err != nil { return diag.FromErr(err) } } @@ -328,23 +338,26 @@ func updateAttackProtection(ctx context.Context, d *schema.ResourceData, m inter return readAttackProtection(ctx, d, m) } -func deleteAttackProtection(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteAttackProtection(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() enabled := false result := multierror.Append( api.AttackProtection.UpdateBreachedPasswordDetection( + ctx, &management.BreachedPasswordDetection{ Enabled: &enabled, }, ), api.AttackProtection.UpdateBruteForceProtection( + ctx, &management.BruteForceProtection{ Enabled: &enabled, }, ), api.AttackProtection.UpdateSuspiciousIPThrottling( + ctx, &management.SuspiciousIPThrottling{ Enabled: &enabled, }, diff --git a/internal/auth0/branding/data_source.go b/internal/auth0/branding/data_source.go index 577e2bde2..b672547f8 100644 --- a/internal/auth0/branding/data_source.go +++ b/internal/auth0/branding/data_source.go @@ -25,13 +25,13 @@ func dataSourceSchema() map[string]*schema.Schema { return internalSchema.TransformResourceToDataSource(NewResource().Schema) } -func readBrandingForDataSource(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readBrandingForDataSource(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { // This resource is not identified by an id in the Auth0 management API. data.SetId(id.UniqueId()) api := meta.(*config.Config).GetAPI() - branding, err := api.Branding.Read() + branding, err := api.Branding.Read(ctx) if err != nil { return diag.FromErr(err) } @@ -43,8 +43,8 @@ func readBrandingForDataSource(_ context.Context, data *schema.ResourceData, met data.Set("font", flattenBrandingFont(branding.GetFont())), ) - if err := checkForCustomDomains(api); err == nil { - brandingUniversalLogin, err := flattenBrandingUniversalLogin(api) + if err := checkForCustomDomains(ctx, api); err == nil { + brandingUniversalLogin, err := flattenBrandingUniversalLogin(ctx, api) if err != nil { return diag.FromErr(err) } diff --git a/internal/auth0/branding/resource.go b/internal/auth0/branding/resource.go index 5da5e127e..0b9025c06 100644 --- a/internal/auth0/branding/resource.go +++ b/internal/auth0/branding/resource.go @@ -112,10 +112,10 @@ func createBranding(ctx context.Context, d *schema.ResourceData, m interface{}) return updateBranding(ctx, d, m) } -func readBranding(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readBranding(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - branding, err := api.Branding.Read() + branding, err := api.Branding.Read(ctx) if err != nil { return diag.FromErr(err) } @@ -128,8 +128,8 @@ func readBranding(_ context.Context, d *schema.ResourceData, m interface{}) diag d.Set("universal_login", nil), ) - if err := checkForCustomDomains(api); err == nil { - brandingUniversalLogin, err := flattenBrandingUniversalLogin(api) + if err := checkForCustomDomains(ctx, api); err == nil { + brandingUniversalLogin, err := flattenBrandingUniversalLogin(ctx, api) if err != nil { return diag.FromErr(err) } @@ -144,7 +144,7 @@ func updateBranding(ctx context.Context, d *schema.ResourceData, m interface{}) api := m.(*config.Config).GetAPI() if branding := expandBranding(d.GetRawConfig()); branding.String() != "{}" { - if err := api.Branding.Update(branding); err != nil { + if err := api.Branding.Update(ctx, branding); err != nil { return diag.FromErr(err) } } @@ -155,7 +155,7 @@ func updateBranding(ctx context.Context, d *schema.ResourceData, m interface{}) // This indicates that a removal of the block happened, and we need to delete the template. if len(newUniversalLogin) == 0 && len(oldUniversalLogin) != 0 { - if err := api.Branding.DeleteUniversalLogin(); err != nil { + if err := api.Branding.DeleteUniversalLogin(ctx); err != nil { return diag.FromErr(err) } @@ -163,11 +163,11 @@ func updateBranding(ctx context.Context, d *schema.ResourceData, m interface{}) } if universalLogin := expandBrandingUniversalLogin(d.GetRawConfig()); universalLogin.GetBody() != "" { - if err := checkForCustomDomains(api); err != nil { + if err := checkForCustomDomains(ctx, api); err != nil { return diag.FromErr(err) } - if err := api.Branding.SetUniversalLogin(universalLogin); err != nil { + if err := api.Branding.SetUniversalLogin(ctx, universalLogin); err != nil { return diag.FromErr(err) } } @@ -175,10 +175,10 @@ func updateBranding(ctx context.Context, d *schema.ResourceData, m interface{}) return readBranding(ctx, d, m) } -func deleteBranding(_ context.Context, _ *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteBranding(ctx context.Context, _ *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - if err := checkForCustomDomains(api); err != nil { + if err := checkForCustomDomains(ctx, api); err != nil { if err == errNoCustomDomain { return nil } @@ -186,7 +186,7 @@ func deleteBranding(_ context.Context, _ *schema.ResourceData, m interface{}) di return diag.FromErr(err) } - if err := api.Branding.DeleteUniversalLogin(); err != nil { + if err := api.Branding.DeleteUniversalLogin(ctx); err != nil { return diag.FromErr(err) } @@ -260,8 +260,8 @@ func flattenBrandingColors(brandingColors *management.BrandingColors) []interfac } } -func flattenBrandingUniversalLogin(api *management.Management) ([]interface{}, error) { - universalLogin, err := api.Branding.UniversalLogin() +func flattenBrandingUniversalLogin(ctx context.Context, api *management.Management) ([]interface{}, error) { + universalLogin, err := api.Branding.UniversalLogin(ctx) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { return nil, nil @@ -290,8 +290,8 @@ func flattenBrandingFont(brandingFont *management.BrandingFont) []interface{} { } } -func checkForCustomDomains(api *management.Management) error { - customDomains, err := api.CustomDomain.List() +func checkForCustomDomains(ctx context.Context, api *management.Management) error { + customDomains, err := api.CustomDomain.List(ctx) if err != nil { return err } diff --git a/internal/auth0/branding/resource_theme.go b/internal/auth0/branding/resource_theme.go index d00787972..565c1453c 100644 --- a/internal/auth0/branding/resource_theme.go +++ b/internal/auth0/branding/resource_theme.go @@ -465,13 +465,13 @@ func NewThemeResource() *schema.Resource { func createBrandingTheme(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() - if existingBrandingTheme, err := api.BrandingTheme.Default(); err == nil { + if existingBrandingTheme, err := api.BrandingTheme.Default(ctx); err == nil { data.SetId(existingBrandingTheme.GetID()) return updateBrandingTheme(ctx, data, meta) } brandingTheme := expandBrandingTheme(data) - if err := api.BrandingTheme.Create(&brandingTheme); err != nil { + if err := api.BrandingTheme.Create(ctx, &brandingTheme); err != nil { return diag.FromErr(err) } @@ -480,10 +480,10 @@ func createBrandingTheme(ctx context.Context, data *schema.ResourceData, meta in return readBrandingTheme(ctx, data, meta) } -func readBrandingTheme(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readBrandingTheme(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() - brandingTheme, err := api.BrandingTheme.Default() + brandingTheme, err := api.BrandingTheme.Default(ctx) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -511,17 +511,17 @@ func updateBrandingTheme(ctx context.Context, data *schema.ResourceData, meta in api := meta.(*config.Config).GetAPI() brandingTheme := expandBrandingTheme(data) - if err := api.BrandingTheme.Update(data.Id(), &brandingTheme); err != nil { + if err := api.BrandingTheme.Update(ctx, data.Id(), &brandingTheme); err != nil { return diag.FromErr(err) } return readBrandingTheme(ctx, data, meta) } -func deleteBrandingTheme(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteBrandingTheme(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() - if err := api.BrandingTheme.Delete(data.Id()); err != nil { + if err := api.BrandingTheme.Delete(ctx, data.Id()); err != nil { if mErr, ok := err.(management.Error); ok { if mErr.Status() == http.StatusNotFound { data.SetId("") diff --git a/internal/auth0/client/data_source.go b/internal/auth0/client/data_source.go index c838aab9a..df479fea4 100644 --- a/internal/auth0/client/data_source.go +++ b/internal/auth0/client/data_source.go @@ -23,26 +23,48 @@ func NewDataSource() *schema.Resource { func dataSourceSchema() map[string]*schema.Schema { dataSourceSchema := internalSchema.TransformResourceToDataSource(internalSchema.Clone(NewResource().Schema)) - delete(dataSourceSchema, "client_secret_rotation_trigger") - internalSchema.SetExistingAttributesAsOptional(dataSourceSchema, "name", "client_id") dataSourceSchema["name"].Description = "The name of the client. If not provided, `client_id` must be set." dataSourceSchema["client_id"].Description = "The ID of the client. If not provided, `name` must be set." - dataSourceSchema["client_secret"].Deprecated = "" - dataSourceSchema["client_secret"].Description = "Secret for the client. Keep this private. To access this attribute you need to add the " + - "`read:client_keys` scope to the Terraform client. Otherwise, the attribute will contain an " + - "empty string." + dataSourceSchema["client_secret"] = &schema.Schema{ + Type: schema.TypeString, + Computed: true, + Sensitive: true, + Description: "Secret for the client. Keep this private. To access this attribute you need to add the " + + "`read:client_keys` scope to the Terraform client. Otherwise, the attribute will contain an empty string.", + } + + dataSourceSchema["token_endpoint_auth_method"] = &schema.Schema{ + Type: schema.TypeString, + Computed: true, + Description: "The authentication method for the token endpoint. " + + "Results include `none` (public client without a client secret), " + + "`client_secret_post` (client uses HTTP POST parameters), " + + "`client_secret_basic` (client uses HTTP Basic). " + + "Managing a client's authentication method can be done via the " + + "`auth0_client_credentials` resource.", + } return dataSourceSchema } func readClientForDataSource(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { + api := m.(*config.Config).GetAPI() + clientID := d.Get("client_id").(string) if clientID != "" { d.SetId(clientID) - return readClient(ctx, d, m) + + client, err := api.Client.Read(ctx, d.Id()) + if err != nil { + return diag.FromErr(err) + } + + err = flattenClientForDataSource(d, client) + + return diag.FromErr(err) } name := d.Get("name").(string) @@ -50,12 +72,10 @@ func readClientForDataSource(ctx context.Context, d *schema.ResourceData, m inte return diag.Errorf("One of 'client_id' or 'name' is required.") } - api := m.(*config.Config).GetAPI() - var page int for { clients, err := api.Client.List( - management.IncludeFields("client_id", "name"), + ctx, management.Page(page), ) if err != nil { @@ -65,7 +85,8 @@ func readClientForDataSource(ctx context.Context, d *schema.ResourceData, m inte for _, client := range clients.Clients { if client.GetName() == name { d.SetId(client.GetClientID()) - return readClient(ctx, d, m) + err = flattenClientForDataSource(d, client) + return diag.FromErr(err) } } diff --git a/internal/auth0/client/data_source_test.go b/internal/auth0/client/data_source_test.go index 38fb070ca..e5351caa5 100644 --- a/internal/auth0/client/data_source_test.go +++ b/internal/auth0/client/data_source_test.go @@ -2,6 +2,7 @@ package client_test import ( "fmt" + "regexp" "testing" "github.com/hashicorp/terraform-plugin-testing/helper/resource" @@ -13,6 +14,7 @@ const testAccGivenAClient = ` resource "auth0_client" "my_client" { name = "Acceptance Test - {{.testName}}" app_type = "non_interactive" + description = "Description for {{.testName}}" } ` @@ -26,6 +28,8 @@ data "auth0_client" "test" { const testAccDataClientConfigByID = ` data "auth0_client" "test" { + depends_on = [ auth0_client.my_client ] + client_id = auth0_client.my_client.client_id } ` @@ -34,14 +38,17 @@ func TestAccDataClientByName(t *testing.T) { acctest.Test(t, resource.TestCase{ PreventPostDestroyRefresh: true, Steps: []resource.TestStep{ + { + Config: acctest.ParseTestName(testAccGivenAClient, t.Name()), + }, { Config: acctest.ParseTestName(testAccGivenAClient+testAccDataClientConfigByName, t.Name()), Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttrSet("data.auth0_client.test", "client_id"), - resource.TestCheckResourceAttr("data.auth0_client.test", "signing_keys.#", "1"), + resource.TestCheckResourceAttrSet("data.auth0_client.test", "client_secret"), resource.TestCheckResourceAttr("data.auth0_client.test", "name", fmt.Sprintf("Acceptance Test - %v", t.Name())), resource.TestCheckResourceAttr("data.auth0_client.test", "app_type", "non_interactive"), - resource.TestCheckNoResourceAttr("data.auth0_client.test", "client_secret_rotation_trigger"), + resource.TestCheckResourceAttr("data.auth0_client.test", "description", "Description for TestAccDataClientByName"), ), }, }, @@ -56,9 +63,29 @@ func TestAccDataClientById(t *testing.T) { Config: acctest.ParseTestName(testAccGivenAClient+testAccDataClientConfigByID, t.Name()), Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttrSet("data.auth0_client.test", "id"), - resource.TestCheckResourceAttrSet("data.auth0_client.test", "name"), - resource.TestCheckResourceAttr("data.auth0_client.test", "signing_keys.#", "1"), - resource.TestCheckNoResourceAttr("data.auth0_client.test", "client_secret_rotation_trigger"), + resource.TestCheckResourceAttr("data.auth0_client.test", "name", fmt.Sprintf("Acceptance Test - %v", t.Name())), + resource.TestCheckResourceAttrSet("data.auth0_client.test", "client_secret"), + resource.TestCheckResourceAttr("data.auth0_client.test", "app_type", "non_interactive"), + resource.TestCheckResourceAttr("data.auth0_client.test", "description", "Description for TestAccDataClientById"), + ), + }, + }, + }) +} + +const testAccDataSourceClientNonexistentID = ` +data "auth0_client" "test" { + client_id = "this-client-does-not-exist" +} +` + +func TestAccDataSourceClientNonexistentID(t *testing.T) { + acctest.Test(t, resource.TestCase{ + Steps: []resource.TestStep{ + { + Config: acctest.ParseTestName(testAccDataSourceClientNonexistentID, t.Name()), + ExpectError: regexp.MustCompile( + ` 404 Not Found: The client does not exist`, ), }, }, diff --git a/internal/auth0/client/expand.go b/internal/auth0/client/expand.go index 33c992bd1..d8b0c2e62 100644 --- a/internal/auth0/client/expand.go +++ b/internal/auth0/client/expand.go @@ -1,8 +1,7 @@ package client import ( - "strconv" - + "github.com/auth0/go-auth0" "github.com/auth0/go-auth0/management" "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" @@ -36,7 +35,6 @@ func expandClient(d *schema.ResourceData) *management.Client { CustomLoginPageOn: value.Bool(config.GetAttr("custom_login_page_on")), CustomLoginPage: value.String(config.GetAttr("custom_login_page")), FormTemplate: value.String(config.GetAttr("form_template")), - TokenEndpointAuthMethod: value.String(config.GetAttr("token_endpoint_auth_method")), InitiateLoginURI: value.String(config.GetAttr("initiate_login_uri")), EncryptionKey: value.MapOfStrings(config.GetAttr("encryption_key")), OIDCBackchannelLogout: expandOIDCBackchannelLogout(d), @@ -241,174 +239,538 @@ func expandClientMetadata(d *schema.ResourceData) *map[string]interface{} { return &newMetadataMap } -func expandClientAddons(d *schema.ResourceData) map[string]interface{} { +func expandClientAddons(d *schema.ResourceData) *management.ClientAddons { if !d.HasChange("addons") { return nil } - addons := make(map[string]interface{}) - var allowedAddons = []string{ - "aws", "azure_blob", "azure_sb", "rms", "mscrm", "slack", "sentry", - "box", "cloudbees", "concur", "dropbox", "echosign", "egnyte", - "firebase", "newrelic", "office365", "salesforce", "salesforce_api", - "salesforce_sandbox_api", "layer", "sap_api", "sharepoint", - "springcm", "wams", "wsfed", "zendesk", "zoom", + var addons management.ClientAddons + + d.GetRawConfig().GetAttr("addons").ForEachElement(func(_ cty.Value, addonsCfg cty.Value) (stop bool) { + addons.AWS = expandClientAddonAWS(addonsCfg.GetAttr("aws")) + addons.AzureBlob = expandClientAddonAzureBlob(addonsCfg.GetAttr("azure_blob")) + addons.AzureSB = expandClientAddonAzureSB(addonsCfg.GetAttr("azure_sb")) + addons.RMS = expandClientAddonRMS(addonsCfg.GetAttr("rms")) + addons.MSCRM = expandClientAddonMSCRM(addonsCfg.GetAttr("mscrm")) + addons.Slack = expandClientAddonSlack(addonsCfg.GetAttr("slack")) + addons.Sentry = expandClientAddonSentry(addonsCfg.GetAttr("sentry")) + addons.EchoSign = expandClientAddonEchoSign(addonsCfg.GetAttr("echosign")) + addons.Egnyte = expandClientAddonEgnyte(addonsCfg.GetAttr("egnyte")) + addons.Firebase = expandClientAddonFirebase(addonsCfg.GetAttr("firebase")) + addons.NewRelic = expandClientAddonNewRelic(addonsCfg.GetAttr("newrelic")) + addons.Office365 = expandClientAddonOffice365(addonsCfg.GetAttr("office365")) + addons.Salesforce = expandClientAddonSalesforce(addonsCfg.GetAttr("salesforce")) + addons.SalesforceAPI = expandClientAddonSalesforceAPI(addonsCfg.GetAttr("salesforce_api")) + addons.SalesforceSandboxAPI = expandClientAddonSalesforceSandboxAPI(addonsCfg.GetAttr("salesforce_sandbox_api")) + addons.Layer = expandClientAddonLayer(addonsCfg.GetAttr("layer")) + addons.SAPAPI = expandClientAddonSAPAPI(addonsCfg.GetAttr("sap_api")) + addons.SharePoint = expandClientAddonSharepoint(addonsCfg.GetAttr("sharepoint")) + addons.SpringCM = expandClientAddonSpringCM(addonsCfg.GetAttr("springcm")) + addons.WAMS = expandClientAddonWAMS(addonsCfg.GetAttr("wams")) + addons.Zendesk = expandClientAddonZendesk(addonsCfg.GetAttr("zendesk")) + addons.Zoom = expandClientAddonZoom(addonsCfg.GetAttr("zoom")) + addons.SSOIntegration = expandClientAddonSSOIntegration(addonsCfg.GetAttr("sso_integration")) + addons.SAML2 = expandClientAddonSAMLP(addonsCfg.GetAttr("samlp")) + + if addonsCfg.GetAttr("box").LengthInt() == 1 { + addons.Box = &management.BoxClientAddon{} + } + + if addonsCfg.GetAttr("cloudbees").LengthInt() == 1 { + addons.CloudBees = &management.CloudBeesClientAddon{} + } + + if addonsCfg.GetAttr("concur").LengthInt() == 1 { + addons.Concur = &management.ConcurClientAddon{} + } + + if addonsCfg.GetAttr("dropbox").LengthInt() == 1 { + addons.Dropbox = &management.DropboxClientAddon{} + } + + if addonsCfg.GetAttr("wsfed").LengthInt() == 1 { + addons.WSFED = &management.WSFEDClientAddon{} + } + + return stop + }) + + if addons == (management.ClientAddons{}) { + return nil } - for _, name := range allowedAddons { - if _, ok := d.GetOk("addons.0." + name); ok { - addons[name] = mapFromState(d.Get("addons.0." + name).(map[string]interface{})) + + return &addons +} + +func expandClientAddonAWS(awsCfg cty.Value) *management.AWSClientAddon { + var awsAddon management.AWSClientAddon + + awsCfg.ForEachElement(func(_ cty.Value, awsCfg cty.Value) (stop bool) { + awsAddon = management.AWSClientAddon{ + Principal: value.String(awsCfg.GetAttr("principal")), + Role: value.String(awsCfg.GetAttr("role")), + LifetimeInSeconds: value.Int(awsCfg.GetAttr("lifetime_in_seconds")), + } + + return stop + }) + + return &awsAddon +} + +func expandClientAddonAzureBlob(azureCfg cty.Value) *management.AzureBlobClientAddon { + var azureAddon management.AzureBlobClientAddon + + azureCfg.ForEachElement(func(_ cty.Value, azureCfg cty.Value) (stop bool) { + azureAddon = management.AzureBlobClientAddon{ + AccountName: value.String(azureCfg.GetAttr("account_name")), + StorageAccessKey: value.String(azureCfg.GetAttr("storage_access_key")), + ContainerName: value.String(azureCfg.GetAttr("container_name")), + BlobName: value.String(azureCfg.GetAttr("blob_name")), + Expiration: value.Int(azureCfg.GetAttr("expiration")), + SignedIdentifier: value.String(azureCfg.GetAttr("signed_identifier")), + BlobRead: value.Bool(azureCfg.GetAttr("blob_read")), + BlobWrite: value.Bool(azureCfg.GetAttr("blob_write")), + BlobDelete: value.Bool(azureCfg.GetAttr("blob_delete")), + ContainerRead: value.Bool(azureCfg.GetAttr("container_read")), + ContainerWrite: value.Bool(azureCfg.GetAttr("container_write")), + ContainerDelete: value.Bool(azureCfg.GetAttr("container_delete")), + ContainerList: value.Bool(azureCfg.GetAttr("container_list")), + } + + return stop + }) + + return &azureAddon +} + +func expandClientAddonAzureSB(azureCfg cty.Value) *management.AzureSBClientAddon { + var azureAddon management.AzureSBClientAddon + + azureCfg.ForEachElement(func(_ cty.Value, azureCfg cty.Value) (stop bool) { + azureAddon = management.AzureSBClientAddon{ + Namespace: value.String(azureCfg.GetAttr("namespace")), + SASKeyName: value.String(azureCfg.GetAttr("sas_key_name")), + SASKey: value.String(azureCfg.GetAttr("sas_key")), + EntityPath: value.String(azureCfg.GetAttr("entity_path")), + Expiration: value.Int(azureCfg.GetAttr("expiration")), } + + return stop + }) + + return &azureAddon +} + +func expandClientAddonRMS(rmsCfg cty.Value) *management.RMSClientAddon { + var rmsAddon management.RMSClientAddon + + rmsCfg.ForEachElement(func(_ cty.Value, rmsCfg cty.Value) (stop bool) { + rmsAddon = management.RMSClientAddon{ + URL: value.String(rmsCfg.GetAttr("url")), + } + + return stop + }) + + if rmsAddon == (management.RMSClientAddon{}) { + return nil } - addonsConfig := d.GetRawConfig().GetAttr("addons") - if addonsConfig.IsNull() { - return addons + return &rmsAddon +} + +func expandClientAddonMSCRM(mscrmCfg cty.Value) *management.MSCRMClientAddon { + var mscrmAddon management.MSCRMClientAddon + + mscrmCfg.ForEachElement(func(_ cty.Value, mscrmCfg cty.Value) (stop bool) { + mscrmAddon = management.MSCRMClientAddon{ + URL: value.String(mscrmCfg.GetAttr("url")), + } + + return stop + }) + + if mscrmAddon == (management.MSCRMClientAddon{}) { + return nil } - addonsConfig.ForEachElement(func(_ cty.Value, addonsConfig cty.Value) (stop bool) { - samlpConfig := addonsConfig.GetAttr("samlp") - if samlpConfig.IsNull() { - return stop + return &mscrmAddon +} + +func expandClientAddonSlack(slackCfg cty.Value) *management.SlackClientAddon { + var slackAddon management.SlackClientAddon + + slackCfg.ForEachElement(func(_ cty.Value, slackCfg cty.Value) (stop bool) { + slackAddon = management.SlackClientAddon{ + Team: value.String(slackCfg.GetAttr("team")), } - samlp := make(map[string]interface{}) + return stop + }) - samlpConfig.ForEachElement(func(_ cty.Value, samlpConfig cty.Value) (stop bool) { - if issuer := value.String(samlpConfig.GetAttr("issuer")); issuer != nil { - samlp["issuer"] = issuer - } - if audience := value.String(samlpConfig.GetAttr("audience")); audience != nil { - samlp["audience"] = audience - } - if authnContextClassRef := value.String(samlpConfig.GetAttr("authn_context_class_ref")); authnContextClassRef != nil { - samlp["authnContextClassRef"] = authnContextClassRef - } - if binding := value.String(samlpConfig.GetAttr("binding")); binding != nil { - samlp["binding"] = binding - } - if signingCert := value.String(samlpConfig.GetAttr("signing_cert")); signingCert != nil { - samlp["signingCert"] = signingCert - } - if destination := value.String(samlpConfig.GetAttr("destination")); destination != nil { - samlp["destination"] = destination - } + if slackAddon == (management.SlackClientAddon{}) { + return nil + } - digestAlgorithm := value.String(samlpConfig.GetAttr("digest_algorithm")) - samlp["digestAlgorithm"] = digestAlgorithm - if digestAlgorithm == nil { - samlp["digestAlgorithm"] = "sha1" - } + return &slackAddon +} - nameIdentifierFormat := value.String(samlpConfig.GetAttr("name_identifier_format")) - samlp["nameIdentifierFormat"] = nameIdentifierFormat - if nameIdentifierFormat == nil { - samlp["nameIdentifierFormat"] = "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified" - } +func expandClientAddonSentry(sentryCfg cty.Value) *management.SentryClientAddon { + var sentryAddon management.SentryClientAddon - if recipient := value.String(samlpConfig.GetAttr("recipient")); recipient != nil { - samlp["recipient"] = recipient - } + sentryCfg.ForEachElement(func(_ cty.Value, sentryCfg cty.Value) (stop bool) { + sentryAddon = management.SentryClientAddon{ + OrgSlug: value.String(sentryCfg.GetAttr("org_slug")), + BaseURL: value.String(sentryCfg.GetAttr("base_url")), + } - signatureAlgorithm := value.String(samlpConfig.GetAttr("signature_algorithm")) - samlp["signatureAlgorithm"] = signatureAlgorithm - if signatureAlgorithm == nil { - samlp["signatureAlgorithm"] = "rsa-sha1" - } + return stop + }) - createUpnClaim := value.Bool(samlpConfig.GetAttr("create_upn_claim")) - samlp["createUpnClaim"] = createUpnClaim - if createUpnClaim == nil { - samlp["createUpnClaim"] = true - } + return &sentryAddon +} - includeAttributeNameFormat := value.Bool(samlpConfig.GetAttr("include_attribute_name_format")) - samlp["includeAttributeNameFormat"] = includeAttributeNameFormat - if includeAttributeNameFormat == nil { - samlp["includeAttributeNameFormat"] = true - } +func expandClientAddonEchoSign(echoSignCfg cty.Value) *management.EchoSignClientAddon { + var echoSignAddon management.EchoSignClientAddon - mapIdentities := value.Bool(samlpConfig.GetAttr("map_identities")) - samlp["mapIdentities"] = mapIdentities - if mapIdentities == nil { - samlp["mapIdentities"] = true - } + echoSignCfg.ForEachElement(func(_ cty.Value, echoSignCfg cty.Value) (stop bool) { + echoSignAddon = management.EchoSignClientAddon{ + Domain: value.String(echoSignCfg.GetAttr("domain")), + } - mapUnknownClaimsAsIs := value.Bool(samlpConfig.GetAttr("map_unknown_claims_as_is")) - samlp["mapUnknownClaimsAsIs"] = mapUnknownClaimsAsIs - if mapUnknownClaimsAsIs == nil { - samlp["mapUnknownClaimsAsIs"] = false - } + return stop + }) - passthroughClaimsWithNoMapping := value.Bool(samlpConfig.GetAttr("passthrough_claims_with_no_mapping")) - samlp["passthroughClaimsWithNoMapping"] = passthroughClaimsWithNoMapping - if passthroughClaimsWithNoMapping == nil { - samlp["passthroughClaimsWithNoMapping"] = true - } + return &echoSignAddon +} - if signResponse := value.Bool(samlpConfig.GetAttr("sign_response")); signResponse != nil { - samlp["signResponse"] = signResponse - } +func expandClientAddonEgnyte(egnyteCfg cty.Value) *management.EgnyteClientAddon { + var egnyteAddon management.EgnyteClientAddon - typedAttributes := value.Bool(samlpConfig.GetAttr("typed_attributes")) - samlp["typedAttributes"] = typedAttributes - if typedAttributes == nil { - samlp["typedAttributes"] = true - } + egnyteCfg.ForEachElement(func(_ cty.Value, egnyteCfg cty.Value) (stop bool) { + egnyteAddon = management.EgnyteClientAddon{ + Domain: value.String(egnyteCfg.GetAttr("domain")), + } - lifetimeInSeconds := value.Int(samlpConfig.GetAttr("lifetime_in_seconds")) - samlp["lifetimeInSeconds"] = lifetimeInSeconds - if lifetimeInSeconds == nil { - samlp["lifetimeInSeconds"] = 3600 - } + return stop + }) - if mappings := value.MapOfStrings(samlpConfig.GetAttr("mappings")); mappings != nil { - samlp["mappings"] = mappings - } - if nameIdentifierProbes := value.Strings(samlpConfig.GetAttr("name_identifier_probes")); nameIdentifierProbes != nil { - samlp["nameIdentifierProbes"] = nameIdentifierProbes - } - if logout := mapFromState(d.Get("addons.0.samlp.0.logout").(map[string]interface{})); len(logout) != 0 { - samlp["logout"] = logout - } + return &egnyteAddon +} - return stop - }) +func expandClientAddonFirebase(firebaseCfg cty.Value) *management.FirebaseClientAddon { + var firebaseAddon management.FirebaseClientAddon - if len(samlp) > 0 { - addons["samlp"] = samlp + firebaseCfg.ForEachElement(func(_ cty.Value, firebaseCfg cty.Value) (stop bool) { + firebaseAddon = management.FirebaseClientAddon{ + Secret: value.String(firebaseCfg.GetAttr("secret")), + PrivateKeyID: value.String(firebaseCfg.GetAttr("private_key_id")), + PrivateKey: value.String(firebaseCfg.GetAttr("private_key")), + ClientEmail: value.String(firebaseCfg.GetAttr("client_email")), + LifetimeInSeconds: value.Int(firebaseCfg.GetAttr("lifetime_in_seconds")), } return stop }) - return addons + return &firebaseAddon } -func mapFromState(input map[string]interface{}) map[string]interface{} { - output := make(map[string]interface{}) +func expandClientAddonNewRelic(newRelicCfg cty.Value) *management.NewRelicClientAddon { + var newRelicAddon management.NewRelicClientAddon - for key, val := range input { - switch v := val.(type) { - case string: - if i, err := strconv.ParseInt(v, 10, 64); err == nil { - output[key] = i - } else if f, err := strconv.ParseFloat(v, 64); err == nil { - output[key] = f - } else if b, err := strconv.ParseBool(v); err == nil { - output[key] = b - } else { - output[key] = v - } - case map[string]interface{}: - output[key] = mapFromState(v) - case []interface{}: - output[key] = v - default: - output[key] = v + newRelicCfg.ForEachElement(func(_ cty.Value, newRelicCfg cty.Value) (stop bool) { + newRelicAddon = management.NewRelicClientAddon{ + Account: value.String(newRelicCfg.GetAttr("account")), + } + + return stop + }) + + return &newRelicAddon +} + +func expandClientAddonOffice365(office365Cfg cty.Value) *management.Office365ClientAddon { + var office365Addon management.Office365ClientAddon + + office365Cfg.ForEachElement(func(_ cty.Value, office365Cfg cty.Value) (stop bool) { + office365Addon = management.Office365ClientAddon{ + Domain: value.String(office365Cfg.GetAttr("domain")), + Connection: value.String(office365Cfg.GetAttr("connection")), + } + + return stop + }) + + return &office365Addon +} + +func expandClientAddonSalesforce(salesforceCfg cty.Value) *management.SalesforceClientAddon { + var salesforceAddon management.SalesforceClientAddon + + salesforceCfg.ForEachElement(func(_ cty.Value, salesforceCfg cty.Value) (stop bool) { + salesforceAddon = management.SalesforceClientAddon{ + EntityID: value.String(salesforceCfg.GetAttr("entity_id")), + } + + return stop + }) + + return &salesforceAddon +} + +func expandClientAddonSalesforceAPI(salesforceCfg cty.Value) *management.SalesforceAPIClientAddon { + var salesforceAddon management.SalesforceAPIClientAddon + + salesforceCfg.ForEachElement(func(_ cty.Value, salesforceCfg cty.Value) (stop bool) { + salesforceAddon = management.SalesforceAPIClientAddon{ + ClientID: value.String(salesforceCfg.GetAttr("client_id")), + Principal: value.String(salesforceCfg.GetAttr("principal")), + CommunityName: value.String(salesforceCfg.GetAttr("community_name")), + CommunityURLSection: value.String(salesforceCfg.GetAttr("community_url_section")), + } + + return stop + }) + + return &salesforceAddon +} + +func expandClientAddonSalesforceSandboxAPI(salesforceCfg cty.Value) *management.SalesforceSandboxAPIClientAddon { + var salesforceAddon management.SalesforceSandboxAPIClientAddon + + salesforceCfg.ForEachElement(func(_ cty.Value, salesforceCfg cty.Value) (stop bool) { + salesforceAddon = management.SalesforceSandboxAPIClientAddon{ + ClientID: value.String(salesforceCfg.GetAttr("client_id")), + Principal: value.String(salesforceCfg.GetAttr("principal")), + CommunityName: value.String(salesforceCfg.GetAttr("community_name")), + CommunityURLSection: value.String(salesforceCfg.GetAttr("community_url_section")), + } + + return stop + }) + + return &salesforceAddon +} + +func expandClientAddonLayer(layerCfg cty.Value) *management.LayerClientAddon { + var layerAddon management.LayerClientAddon + + layerCfg.ForEachElement(func(_ cty.Value, layerCfg cty.Value) (stop bool) { + layerAddon = management.LayerClientAddon{ + ProviderID: value.String(layerCfg.GetAttr("provider_id")), + KeyID: value.String(layerCfg.GetAttr("key_id")), + PrivateKey: value.String(layerCfg.GetAttr("private_key")), + Principal: value.String(layerCfg.GetAttr("principal")), + Expiration: value.Int(layerCfg.GetAttr("expiration")), } + + return stop + }) + + if layerAddon == (management.LayerClientAddon{}) { + return nil } - return output + return &layerAddon +} + +func expandClientAddonSAPAPI(sapAPICfg cty.Value) *management.SAPAPIClientAddon { + var sapAPIAddon management.SAPAPIClientAddon + + sapAPICfg.ForEachElement(func(_ cty.Value, sapAPICfg cty.Value) (stop bool) { + sapAPIAddon = management.SAPAPIClientAddon{ + ClientID: value.String(sapAPICfg.GetAttr("client_id")), + UsernameAttribute: value.String(sapAPICfg.GetAttr("username_attribute")), + TokenEndpointURL: value.String(sapAPICfg.GetAttr("token_endpoint_url")), + Scope: value.String(sapAPICfg.GetAttr("scope")), + ServicePassword: value.String(sapAPICfg.GetAttr("service_password")), + NameIdentifierFormat: value.String(sapAPICfg.GetAttr("name_identifier_format")), + } + + return stop + }) + + return &sapAPIAddon +} + +func expandClientAddonSharepoint(sharepointCfg cty.Value) *management.SharePointClientAddon { + var sharepointAddon management.SharePointClientAddon + + sharepointCfg.ForEachElement(func(_ cty.Value, sharepointCfg cty.Value) (stop bool) { + sharepointAddon = management.SharePointClientAddon{ + URL: value.String(sharepointCfg.GetAttr("url")), + ExternalURL: value.Strings(sharepointCfg.GetAttr("external_url")), + } + + return stop + }) + + return &sharepointAddon +} + +func expandClientAddonSpringCM(springCMCfg cty.Value) *management.SpringCMClientAddon { + var springCMAddon management.SpringCMClientAddon + + springCMCfg.ForEachElement(func(_ cty.Value, springCMCfg cty.Value) (stop bool) { + springCMAddon = management.SpringCMClientAddon{ + ACSURL: value.String(springCMCfg.GetAttr("acs_url")), + } + + return stop + }) + + return &springCMAddon +} + +func expandClientAddonWAMS(wamsCfg cty.Value) *management.WAMSClientAddon { + var wamsAddon management.WAMSClientAddon + + wamsCfg.ForEachElement(func(_ cty.Value, wamsCfg cty.Value) (stop bool) { + wamsAddon = management.WAMSClientAddon{ + Masterkey: value.String(wamsCfg.GetAttr("master_key")), + } + + return stop + }) + + return &wamsAddon +} + +func expandClientAddonZendesk(zendeskCfg cty.Value) *management.ZendeskClientAddon { + var zendeskAddon management.ZendeskClientAddon + + zendeskCfg.ForEachElement(func(_ cty.Value, zendeskCfg cty.Value) (stop bool) { + zendeskAddon = management.ZendeskClientAddon{ + AccountName: value.String(zendeskCfg.GetAttr("account_name")), + } + + return stop + }) + + return &zendeskAddon +} + +func expandClientAddonZoom(zoomCfg cty.Value) *management.ZoomClientAddon { + var zoomAddon management.ZoomClientAddon + + zoomCfg.ForEachElement(func(_ cty.Value, zoomCfg cty.Value) (stop bool) { + zoomAddon = management.ZoomClientAddon{ + Account: value.String(zoomCfg.GetAttr("account")), + } + + return stop + }) + + return &zoomAddon +} + +func expandClientAddonSSOIntegration(ssoCfg cty.Value) *management.SSOIntegrationClientAddon { + var ssoAddon management.SSOIntegrationClientAddon + + ssoCfg.ForEachElement(func(_ cty.Value, ssoCfg cty.Value) (stop bool) { + ssoAddon = management.SSOIntegrationClientAddon{ + Name: value.String(ssoCfg.GetAttr("name")), + Version: value.String(ssoCfg.GetAttr("version")), + } + + return stop + }) + + return &ssoAddon +} + +func expandClientAddonSAMLP(samlpCfg cty.Value) *management.SAML2ClientAddon { + var samlpAddon management.SAML2ClientAddon + + samlpCfg.ForEachElement(func(_ cty.Value, samlpCfg cty.Value) (stop bool) { + samlpAddon = management.SAML2ClientAddon{ + Mappings: value.MapOfStrings(samlpCfg.GetAttr("mappings")), + Audience: value.String(samlpCfg.GetAttr("audience")), + Recipient: value.String(samlpCfg.GetAttr("recipient")), + CreateUPNClaim: value.Bool(samlpCfg.GetAttr("create_upn_claim")), + MapUnknownClaimsAsIs: value.Bool(samlpCfg.GetAttr("map_unknown_claims_as_is")), + PassthroughClaimsWithNoMapping: value.Bool(samlpCfg.GetAttr("passthrough_claims_with_no_mapping")), + MapIdentities: value.Bool(samlpCfg.GetAttr("map_identities")), + SignatureAlgorithm: value.String(samlpCfg.GetAttr("signature_algorithm")), + DigestAlgorithm: value.String(samlpCfg.GetAttr("digest_algorithm")), + Issuer: value.String(samlpCfg.GetAttr("issuer")), + Destination: value.String(samlpCfg.GetAttr("destination")), + LifetimeInSeconds: value.Int(samlpCfg.GetAttr("lifetime_in_seconds")), + SignResponse: value.Bool(samlpCfg.GetAttr("sign_response")), + NameIdentifierFormat: value.String(samlpCfg.GetAttr("name_identifier_format")), + NameIdentifierProbes: value.Strings(samlpCfg.GetAttr("name_identifier_probes")), + AuthnContextClassRef: value.String(samlpCfg.GetAttr("authn_context_class_ref")), + TypedAttributes: value.Bool(samlpCfg.GetAttr("typed_attributes")), + IncludeAttributeNameFormat: value.Bool(samlpCfg.GetAttr("include_attribute_name_format")), + Binding: value.String(samlpCfg.GetAttr("binding")), + SigningCert: value.String(samlpCfg.GetAttr("signing_cert")), + } + + if samlpAddon == (management.SAML2ClientAddon{}) { + return true + } + + var logout management.SAML2ClientAddonLogout + + samlpCfg.GetAttr("logout").ForEachElement(func(_ cty.Value, logoutCfg cty.Value) (stop bool) { + logout = management.SAML2ClientAddonLogout{ + Callback: value.String(logoutCfg.GetAttr("callback")), + SLOEnabled: value.Bool(logoutCfg.GetAttr("slo_enabled")), + } + + return stop + }) + + if logout != (management.SAML2ClientAddonLogout{}) { + samlpAddon.Logout = &logout + } + + if samlpAddon.DigestAlgorithm == nil { + samlpAddon.DigestAlgorithm = auth0.String("sha1") + } + + if samlpAddon.NameIdentifierFormat == nil { + samlpAddon.NameIdentifierFormat = auth0.String("urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified") + } + + if samlpAddon.SignatureAlgorithm == nil { + samlpAddon.SignatureAlgorithm = auth0.String("rsa-sha1") + } + + if samlpAddon.LifetimeInSeconds == nil { + samlpAddon.LifetimeInSeconds = auth0.Int(3600) + } + + if samlpAddon.CreateUPNClaim == nil { + samlpAddon.CreateUPNClaim = auth0.Bool(true) + } + + if samlpAddon.IncludeAttributeNameFormat == nil { + samlpAddon.IncludeAttributeNameFormat = auth0.Bool(true) + } + + if samlpAddon.MapIdentities == nil { + samlpAddon.MapIdentities = auth0.Bool(true) + } + + if samlpAddon.MapUnknownClaimsAsIs == nil { + samlpAddon.MapUnknownClaimsAsIs = auth0.Bool(false) + } + + if samlpAddon.PassthroughClaimsWithNoMapping == nil { + samlpAddon.PassthroughClaimsWithNoMapping = auth0.Bool(true) + } + + if samlpAddon.TypedAttributes == nil { + samlpAddon.TypedAttributes = auth0.Bool(true) + } + + return stop + }) + + return &samlpAddon } func clientHasChange(c *management.Client) bool { diff --git a/internal/auth0/client/flatten.go b/internal/auth0/client/flatten.go index 0a97e99ee..b5e51dfa9 100644 --- a/internal/auth0/client/flatten.go +++ b/internal/auth0/client/flatten.go @@ -1,9 +1,9 @@ package client import ( - "strconv" - "github.com/auth0/go-auth0/management" + "github.com/hashicorp/go-multierror" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) func flattenCustomSocialConfiguration(customSocial *management.ClientNativeSocialLogin) []interface{} { @@ -60,63 +60,6 @@ func flattenClientRefreshTokenConfiguration(refreshToken *management.ClientRefre } } -func flattenClientAddons(addons map[string]interface{}) []interface{} { - if addons == nil { - return nil - } - - m := make(map[string]interface{}) - - if v, ok := addons["samlp"]; ok { - samlp := v.(map[string]interface{}) - - samlpMap := map[string]interface{}{ - "issuer": samlp["issuer"], - "audience": samlp["audience"], - "recipient": samlp["recipient"], - "mappings": samlp["mappings"], - "create_upn_claim": samlp["createUpnClaim"], - "passthrough_claims_with_no_mapping": samlp["passthroughClaimsWithNoMapping"], - "map_unknown_claims_as_is": samlp["mapUnknownClaimsAsIs"], - "map_identities": samlp["mapIdentities"], - "signature_algorithm": samlp["signatureAlgorithm"], - "digest_algorithm": samlp["digestAlgorithm"], - "destination": samlp["destination"], - "lifetime_in_seconds": samlp["lifetimeInSeconds"], - "sign_response": samlp["signResponse"], - "name_identifier_format": samlp["nameIdentifierFormat"], - "name_identifier_probes": samlp["nameIdentifierProbes"], - "authn_context_class_ref": samlp["authnContextClassRef"], - "typed_attributes": samlp["typedAttributes"], - "include_attribute_name_format": samlp["includeAttributeNameFormat"], - "binding": samlp["binding"], - "signing_cert": samlp["signingCert"], - } - - if logout, ok := samlp["logout"].(map[string]interface{}); ok { - samlpMap["logout"] = mapToState(logout) - } - - m["samlp"] = []interface{}{samlpMap} - } - - for _, name := range []string{ - "aws", "azure_blob", "azure_sb", "rms", "mscrm", "slack", "sentry", - "box", "cloudbees", "concur", "dropbox", "echosign", "egnyte", - "firebase", "newrelic", "office365", "salesforce", "salesforce_api", - "salesforce_sandbox_api", "layer", "sap_api", "sharepoint", - "springcm", "wams", "wsfed", "zendesk", "zoom", - } { - if v, ok := addons[name]; ok { - if addonType, ok := v.(map[string]interface{}); ok { - m[name] = mapToState(addonType) - } - } - } - - return []interface{}{m} -} - func flattenClientMobile(mobile *management.ClientMobile) []interface{} { if mobile == nil { return nil @@ -148,25 +91,460 @@ func flattenClientMobile(mobile *management.ClientMobile) []interface{} { return []interface{}{m} } -func mapToState(input map[string]interface{}) map[string]interface{} { - output := make(map[string]interface{}) - - for key, v := range input { - switch val := v.(type) { - case bool: - if val { - output[key] = "true" - } else { - output[key] = "false" - } - case float64: - output[key] = strconv.Itoa(int(val)) - case int: - output[key] = strconv.Itoa(val) - default: - output[key] = val +func flattenClientAddons(addons *management.ClientAddons) []interface{} { + if addons == nil { + return nil + } + + m := map[string]interface{}{ + "aws": flattenClientAddonAWS(addons.GetAWS()), + "azure_blob": flattenClientAddonAzureBlob(addons.GetAzureBlob()), + "azure_sb": flattenClientAddonAzureSB(addons.GetAzureSB()), + "rms": flattenClientAddonRMS(addons.GetRMS()), + "mscrm": flattenClientAddonMSCRM(addons.GetMSCRM()), + "slack": flattenClientAddonSlack(addons.GetSlack()), + "sentry": flattenClientAddonSentry(addons.GetSentry()), + "echosign": flattenClientAddonEchoSign(addons.GetEchoSign()), + "egnyte": flattenClientAddonEgnyte(addons.GetEgnyte()), + "firebase": flattenClientAddonFirebase(addons.GetFirebase()), + "newrelic": flattenClientAddonNewRelic(addons.GetNewRelic()), + "office365": flattenClientAddonOffice365(addons.GetOffice365()), + "salesforce": flattenClientAddonSalesforce(addons.GetSalesforce()), + "salesforce_api": flattenClientAddonSalesforceAPI(addons.GetSalesforceAPI()), + "salesforce_sandbox_api": flattenClientAddonSalesforceSandboxAPI(addons.GetSalesforceSandboxAPI()), + "layer": flattenClientAddonLayer(addons.GetLayer()), + "sap_api": flattenClientAddonSAPAPI(addons.GetSAPAPI()), + "sharepoint": flattenClientAddonSharePoint(addons.GetSharePoint()), + "springcm": flattenClientAddonSpringCM(addons.GetSpringCM()), + "wams": flattenClientAddonWAMS(addons.GetWAMS()), + "zendesk": flattenClientAddonZendesk(addons.GetZendesk()), + "zoom": flattenClientAddonZoom(addons.GetZoom()), + "sso_integration": flattenClientAddonSSOIntegration(addons.GetSSOIntegration()), + "samlp": flattenClientAddonSAML2(addons.GetSAML2()), + "box": flattenClientAddonWithNoConfig(addons.GetBox()), + "cloudbees": flattenClientAddonWithNoConfig(addons.GetCloudBees()), + "concur": flattenClientAddonWithNoConfig(addons.GetConcur()), + "dropbox": flattenClientAddonWithNoConfig(addons.GetDropbox()), + "wsfed": flattenClientAddonWithNoConfig(addons.GetWSFED()), + } + + return []interface{}{m} +} + +func flattenClientAddonAWS(addon *management.AWSClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "principal": addon.GetPrincipal(), + "role": addon.GetRole(), + "lifetime_in_seconds": addon.GetLifetimeInSeconds(), + }, + } +} + +func flattenClientAddonAzureBlob(addon *management.AzureBlobClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "account_name": addon.GetAccountName(), + "storage_access_key": addon.GetStorageAccessKey(), + "container_name": addon.GetContainerName(), + "blob_name": addon.GetBlobName(), + "expiration": addon.GetExpiration(), + "signed_identifier": addon.GetSignedIdentifier(), + "blob_read": addon.GetBlobRead(), + "blob_write": addon.GetBlobWrite(), + "blob_delete": addon.GetBlobDelete(), + "container_read": addon.GetContainerRead(), + "container_write": addon.GetContainerWrite(), + "container_delete": addon.GetContainerDelete(), + "container_list": addon.GetContainerList(), + }, + } +} + +func flattenClientAddonAzureSB(addon *management.AzureSBClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "namespace": addon.GetNamespace(), + "sas_key_name": addon.GetSASKeyName(), + "sas_key": addon.GetSASKey(), + "entity_path": addon.GetEntityPath(), + "expiration": addon.GetExpiration(), + }, + } +} + +func flattenClientAddonRMS(addon *management.RMSClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "url": addon.GetURL(), + }, + } +} + +func flattenClientAddonMSCRM(addon *management.MSCRMClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "url": addon.GetURL(), + }, + } +} + +func flattenClientAddonSlack(addon *management.SlackClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "team": addon.GetTeam(), + }, + } +} + +func flattenClientAddonSentry(addon *management.SentryClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "org_slug": addon.GetOrgSlug(), + "base_url": addon.GetBaseURL(), + }, + } +} + +func flattenClientAddonEchoSign(addon *management.EchoSignClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "domain": addon.GetDomain(), + }, + } +} + +func flattenClientAddonEgnyte(addon *management.EgnyteClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "domain": addon.GetDomain(), + }, + } +} + +func flattenClientAddonFirebase(addon *management.FirebaseClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "secret": addon.GetSecret(), + "private_key_id": addon.GetPrivateKeyID(), + "private_key": addon.GetPrivateKey(), + "client_email": addon.GetClientEmail(), + "lifetime_in_seconds": addon.GetLifetimeInSeconds(), + }, + } +} + +func flattenClientAddonNewRelic(addon *management.NewRelicClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "account": addon.GetAccount(), + }, + } +} + +func flattenClientAddonOffice365(addon *management.Office365ClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "domain": addon.GetDomain(), + "connection": addon.GetConnection(), + }, + } +} + +func flattenClientAddonSalesforce(addon *management.SalesforceClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "entity_id": addon.GetEntityID(), + }, + } +} + +func flattenClientAddonSalesforceAPI(addon *management.SalesforceAPIClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "client_id": addon.GetClientID(), + "principal": addon.GetPrincipal(), + "community_name": addon.GetCommunityName(), + "community_url_section": addon.GetCommunityURLSection(), + }, + } +} + +func flattenClientAddonSalesforceSandboxAPI(addon *management.SalesforceSandboxAPIClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "client_id": addon.GetClientID(), + "principal": addon.GetPrincipal(), + "community_name": addon.GetCommunityName(), + "community_url_section": addon.GetCommunityURLSection(), + }, + } +} + +func flattenClientAddonLayer(addon *management.LayerClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "provider_id": addon.GetProviderID(), + "key_id": addon.GetKeyID(), + "private_key": addon.GetPrivateKey(), + "principal": addon.GetPrincipal(), + "expiration": addon.GetExpiration(), + }, + } +} + +func flattenClientAddonSAPAPI(addon *management.SAPAPIClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "client_id": addon.GetClientID(), + "username_attribute": addon.GetUsernameAttribute(), + "token_endpoint_url": addon.GetTokenEndpointURL(), + "scope": addon.GetScope(), + "service_password": addon.GetServicePassword(), + "name_identifier_format": addon.GetNameIdentifierFormat(), + }, + } +} + +func flattenClientAddonSharePoint(addon *management.SharePointClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "url": addon.GetURL(), + "external_url": addon.GetExternalURL(), + }, + } +} + +func flattenClientAddonSpringCM(addon *management.SpringCMClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "acs_url": addon.GetACSURL(), + }, + } +} + +func flattenClientAddonWAMS(addon *management.WAMSClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "master_key": addon.GetMasterkey(), + }, + } +} + +func flattenClientAddonZendesk(addon *management.ZendeskClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "account_name": addon.GetAccountName(), + }, + } +} + +func flattenClientAddonZoom(addon *management.ZoomClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "account": addon.GetAccount(), + }, + } +} + +func flattenClientAddonSSOIntegration(addon *management.SSOIntegrationClientAddon) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{ + map[string]interface{}{ + "name": addon.GetName(), + "version": addon.GetVersion(), + }, + } +} + +func flattenClientAddonSAML2(addon *management.SAML2ClientAddon) []interface{} { + if addon == nil || addon.String() == "{}" { + return nil + } + + var logout interface{} + + if addon.GetLogout() != nil { + logout = []interface{}{ + map[string]interface{}{ + "callback": addon.GetLogout().GetCallback(), + "slo_enabled": addon.GetLogout().GetSLOEnabled(), + }, } } - return output + return []interface{}{ + map[string]interface{}{ + "mappings": addon.GetMappings(), + "audience": addon.GetAudience(), + "recipient": addon.GetRecipient(), + "create_upn_claim": addon.GetCreateUPNClaim(), + "map_unknown_claims_as_is": addon.GetMapUnknownClaimsAsIs(), + "passthrough_claims_with_no_mapping": addon.GetPassthroughClaimsWithNoMapping(), + "map_identities": addon.GetMapIdentities(), + "signature_algorithm": addon.GetSignatureAlgorithm(), + "digest_algorithm": addon.GetDigestAlgorithm(), + "issuer": addon.GetIssuer(), + "destination": addon.GetDestination(), + "lifetime_in_seconds": addon.GetLifetimeInSeconds(), + "sign_response": addon.GetSignResponse(), + "name_identifier_format": addon.GetNameIdentifierFormat(), + "name_identifier_probes": addon.GetNameIdentifierProbes(), + "authn_context_class_ref": addon.GetAuthnContextClassRef(), + "typed_attributes": addon.GetTypedAttributes(), + "include_attribute_name_format": addon.GetIncludeAttributeNameFormat(), + "binding": addon.GetBinding(), + "signing_cert": addon.GetSigningCert(), + "logout": logout, + }, + } +} + +func flattenClientAddonWithNoConfig(addon interface{}) []interface{} { + if addon == nil { + return nil + } + + return []interface{}{map[string]interface{}{}} +} + +func flattenClient(d *schema.ResourceData, client *management.Client) error { + result := multierror.Append( + d.Set("client_id", client.GetClientID()), + d.Set("client_aliases", client.GetClientAliases()), + d.Set("name", client.GetName()), + d.Set("description", client.GetDescription()), + d.Set("app_type", client.GetAppType()), + d.Set("logo_uri", client.GetLogoURI()), + d.Set("is_first_party", client.GetIsFirstParty()), + d.Set("is_token_endpoint_ip_header_trusted", client.GetIsTokenEndpointIPHeaderTrusted()), + d.Set("oidc_conformant", client.GetOIDCConformant()), + d.Set("callbacks", client.GetCallbacks()), + d.Set("allowed_logout_urls", client.GetAllowedLogoutURLs()), + d.Set("allowed_origins", client.GetAllowedOrigins()), + d.Set("allowed_clients", client.GetAllowedClients()), + d.Set("grant_types", client.GetGrantTypes()), + d.Set("organization_usage", client.GetOrganizationUsage()), + d.Set("organization_require_behavior", client.GetOrganizationRequireBehavior()), + d.Set("web_origins", client.GetWebOrigins()), + d.Set("sso", client.GetSSO()), + d.Set("sso_disabled", client.GetSSODisabled()), + d.Set("cross_origin_auth", client.GetCrossOriginAuth()), + d.Set("cross_origin_loc", client.GetCrossOriginLocation()), + d.Set("custom_login_page_on", client.GetCustomLoginPageOn()), + d.Set("custom_login_page", client.GetCustomLoginPage()), + d.Set("form_template", client.GetFormTemplate()), + d.Set("native_social_login", flattenCustomSocialConfiguration(client.GetNativeSocialLogin())), + d.Set("jwt_configuration", flattenClientJwtConfiguration(client.GetJWTConfiguration())), + d.Set("refresh_token", flattenClientRefreshTokenConfiguration(client.GetRefreshToken())), + d.Set("encryption_key", client.GetEncryptionKey()), + d.Set("addons", flattenClientAddons(client.Addons)), + d.Set("mobile", flattenClientMobile(client.GetMobile())), + d.Set("initiate_login_uri", client.GetInitiateLoginURI()), + d.Set("signing_keys", client.SigningKeys), + d.Set("client_metadata", client.ClientMetadata), + d.Set("oidc_backchannel_logout_urls", client.OIDCBackchannelLogout.GetBackChannelLogoutURLs()), + ) + return result.ErrorOrNil() +} + +func flattenClientForDataSource(d *schema.ResourceData, client *management.Client) error { + result := multierror.Append( + flattenClient(d, client), + d.Set("client_secret", client.GetClientSecret()), + d.Set("token_endpoint_auth_method", client.GetTokenEndpointAuthMethod()), + ) + + return result.ErrorOrNil() } diff --git a/internal/auth0/client/global_data_source.go b/internal/auth0/client/global_data_source.go deleted file mode 100644 index 5bda15434..000000000 --- a/internal/auth0/client/global_data_source.go +++ /dev/null @@ -1,38 +0,0 @@ -package client - -import ( - "context" - - "github.com/hashicorp/terraform-plugin-sdk/v2/diag" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - - internalSchema "github.com/auth0/terraform-provider-auth0/internal/schema" -) - -// NewGlobalDataSource will return a new auth0_global_client data source. -func NewGlobalDataSource() *schema.Resource { - resource := &schema.Resource{ - ReadContext: readDataGlobalClient, - Schema: globalDataSourceSchema(), - Description: "Retrieve a tenant's global Auth0 application client. ", - DeprecationMessage: "This resource has been deprecated in favor of the `auth0_pages` resource and it will be removed in a future version." + - "Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#global-client) for more info.", - } - - resource.Description = resource.Description + "\n\n!> " + resource.DeprecationMessage - - return resource -} - -func globalDataSourceSchema() map[string]*schema.Schema { - dataSourceSchema := internalSchema.TransformResourceToDataSource(NewResource().Schema) - delete(dataSourceSchema, "client_secret_rotation_trigger") - return dataSourceSchema -} - -func readDataGlobalClient(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { - if err := readGlobalClientID(ctx, d, m); err != nil { - return err - } - return readClient(ctx, d, m) -} diff --git a/internal/auth0/client/global_data_source_test.go b/internal/auth0/client/global_data_source_test.go deleted file mode 100644 index b695bb5e5..000000000 --- a/internal/auth0/client/global_data_source_test.go +++ /dev/null @@ -1,36 +0,0 @@ -package client_test - -import ( - "fmt" - "testing" - - "github.com/hashicorp/terraform-plugin-testing/helper/resource" - - "github.com/auth0/terraform-provider-auth0/internal/acctest" -) - -const testAccDataGlobalClientConfig = ` -%v -data auth0_global_client global { -} -` - -func TestAccDataGlobalClient(t *testing.T) { - acctest.Test(t, resource.TestCase{ - Steps: []resource.TestStep{ - { - Config: testAccGlobalClientConfigWithCustomLogin, - }, - { - Config: fmt.Sprintf(testAccDataGlobalClientConfig, testAccGlobalClientConfigWithCustomLogin), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("data.auth0_global_client.global", "custom_login_page", "TEST123"), - resource.TestCheckResourceAttr("data.auth0_global_client.global", "custom_login_page_on", "true"), - resource.TestCheckResourceAttrSet("data.auth0_global_client.global", "client_id"), - resource.TestCheckResourceAttr("data.auth0_global_client.global", "app_type", ""), - resource.TestCheckResourceAttr("data.auth0_global_client.global", "name", "All Applications"), - ), - }, - }, - }) -} diff --git a/internal/auth0/client/global_resource.go b/internal/auth0/client/global_resource.go deleted file mode 100644 index c4ccb49d5..000000000 --- a/internal/auth0/client/global_resource.go +++ /dev/null @@ -1,83 +0,0 @@ -package client - -import ( - "context" - - "github.com/auth0/go-auth0/management" - "github.com/hashicorp/terraform-plugin-sdk/v2/diag" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - - "github.com/auth0/terraform-provider-auth0/internal/config" -) - -// NewGlobalResource will return a new auth0_global_client resource. -func NewGlobalResource() *schema.Resource { - client := NewResource() - client.Description = "Use a tenant's global Auth0 Application client." - client.CreateContext = createGlobalClient - client.DeleteContext = deleteGlobalClient - client.DeprecationMessage = "This resource has been deprecated in favor of the newly introduced `auth0_pages` " + - "resource and it will be removed in a future version. " + - "Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#global-client) for more info." - - client.Description = client.Description + "\n\n!> " + client.DeprecationMessage - - exclude := []string{"client_secret_rotation_trigger"} - - // Mark all values computed and optional, - // because the global client has already - // been created for all tenants. - for key := range client.Schema { - // Exclude certain fields from - // being marked as computed. - if in(key, exclude) { - continue - } - - client.Schema[key].Required = false - client.Schema[key].Optional = true - client.Schema[key].Computed = true - } - - return client -} - -func in(needle string, haystack []string) bool { - for i := 0; i < len(haystack); i++ { - if needle == haystack[i] { - return true - } - } - return false -} - -func createGlobalClient(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { - if err := readGlobalClientID(ctx, d, m); err != nil { - return err - } - return updateClient(ctx, d, m) -} - -func readGlobalClientID(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { - api := m.(*config.Config).GetAPI() - - clients, err := api.Client.List( - management.Parameter("is_global", "true"), - management.IncludeFields("client_id"), - ) - if err != nil { - return diag.FromErr(err) - } - - if len(clients.Clients) == 0 { - return diag.Errorf("No auth0 global client found.") - } - - d.SetId(clients.Clients[0].GetClientID()) - return nil -} - -func deleteGlobalClient(_ context.Context, d *schema.ResourceData, _ interface{}) diag.Diagnostics { - d.SetId("") - return nil -} diff --git a/internal/auth0/client/global_resource_test.go b/internal/auth0/client/global_resource_test.go deleted file mode 100644 index fb617c478..000000000 --- a/internal/auth0/client/global_resource_test.go +++ /dev/null @@ -1,77 +0,0 @@ -package client_test - -import ( - "errors" - "testing" - - "github.com/hashicorp/terraform-plugin-testing/helper/resource" - "github.com/hashicorp/terraform-plugin-testing/terraform" - - "github.com/auth0/terraform-provider-auth0/internal/acctest" -) - -const testAccGlobalClientConfigEmpty = ` -` - -const testAccGlobalClientConfigDefault = ` -resource "auth0_global_client" "global" { -} -` - -const testAccGlobalClientConfigWithCustomLogin = ` -resource "auth0_global_client" "global" { - custom_login_page = "TEST123" - custom_login_page_on = true -} -` - -const testAccGlobalClientConfigNoCustomLogin = ` -resource "auth0_global_client" "global" { - custom_login_page_on = false -} -` - -func TestAccGlobalClient(t *testing.T) { - acctest.Test(t, resource.TestCase{ - Steps: []resource.TestStep{ - { - Config: testAccGlobalClientConfigWithCustomLogin, - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttrSet("auth0_global_client.global", "client_id"), - resource.TestCheckResourceAttrSet("auth0_global_client.global", "client_secret"), - resource.TestCheckResourceAttr("auth0_global_client.global", "custom_login_page", "TEST123"), - resource.TestCheckResourceAttr("auth0_global_client.global", "custom_login_page_on", "true"), - ), - }, - { - Config: testAccGlobalClientConfigEmpty, - Check: resource.ComposeTestCheckFunc( - func(state *terraform.State) error { - for _, m := range state.Modules { - if len(m.Resources) > 0 { - if _, ok := m.Resources["auth0_global_client.global"]; ok { - return errors.New("auth0_global_client.global exists when it should have been removed") - } - } - } - return nil - }, - ), - }, - { - Config: testAccGlobalClientConfigDefault, - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_global_client.global", "custom_login_page", "TEST123"), - resource.TestCheckResourceAttr("auth0_global_client.global", "custom_login_page_on", "true"), - ), - }, - - { - Config: testAccGlobalClientConfigNoCustomLogin, - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_global_client.global", "custom_login_page_on", "false"), - ), - }, - }, - }) -} diff --git a/internal/auth0/client/resource.go b/internal/auth0/client/resource.go index f01e5f892..848435a7a 100644 --- a/internal/auth0/client/resource.go +++ b/internal/auth0/client/resource.go @@ -5,7 +5,6 @@ import ( "net/http" "github.com/auth0/go-auth0/management" - "github.com/hashicorp/go-multierror" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" @@ -43,34 +42,6 @@ func NewResource() *schema.Resource { Computed: true, Description: "The ID of the client.", }, - "client_secret": { - Type: schema.TypeString, - Computed: true, - Sensitive: true, - Description: "Secret for the client. Keep this private. To access this attribute you need to add the " + - "`read:client_keys` scope to the Terraform client. Otherwise, the attribute will contain an " + - "empty string. Use this attribute on the `auth0_client_credentials` resource instead, to allow " + - "managing it directly or use the `auth0_client` data source to read this property.", - Deprecated: "Reading the client secret through this attribute is deprecated and it will be " + - "removed in a future version. Migrate to the `auth0_client_credentials` resource to " + - "manage a client's secret instead or use the `auth0_client` data source to read this property.", - }, - "client_secret_rotation_trigger": { - Type: schema.TypeMap, - Optional: true, - Description: "Custom metadata for the rotation. " + - "The contents of this map are arbitrary and are hashed by the provider. When the hash changes, a rotation is triggered. " + - "For example, the map could contain the user making the change, the date of the change, and a text reason for the change. " + - "For more info: [rotate-client-secret](https://auth0.com/docs/get-started/applications/rotate-client-secret). " + - "Migrate to the `auth0_client_credentials` resource to manage a client's secret directly instead. " + - "Refer to the [client secret rotation guide](Refer to the [client secret rotation guide](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/client_secret_rotation) " + - "for instructions on how to rotate client secrets with zero downtime.", - Deprecated: "Rotating a client's secret through this attribute is deprecated and it will be removed" + - " in a future version. Migrate to the `auth0_client_credentials` resource to manage a client's " + - "secret instead. " + - "Refer to the [client secret rotation guide](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/client_secret_rotation) " + - "for instructions on how to rotate client secrets with zero downtime.", - }, "client_aliases": { Type: schema.TypeList, Elem: &schema.Schema{ @@ -267,304 +238,6 @@ func NewResource() *schema.Resource { Optional: true, Description: "HTML form template to be used for WS-Federation.", }, - "addons": { - Type: schema.TypeList, - Optional: true, - Computed: true, - MaxItems: 1, - Description: "Addons enabled for this client and their associated configurations.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "aws": { - Type: schema.TypeMap, - Optional: true, - }, - "azure_blob": { - Type: schema.TypeMap, - Optional: true, - }, - "azure_sb": { - Type: schema.TypeMap, - Optional: true, - }, - "rms": { - Type: schema.TypeMap, - Optional: true, - }, - "mscrm": { - Type: schema.TypeMap, - Optional: true, - }, - "slack": { - Type: schema.TypeMap, - Optional: true, - }, - "sentry": { - Type: schema.TypeMap, - Optional: true, - }, - "box": { - Type: schema.TypeMap, - Optional: true, - }, - "cloudbees": { - Type: schema.TypeMap, - Optional: true, - }, - "concur": { - Type: schema.TypeMap, - Optional: true, - }, - "dropbox": { - Type: schema.TypeMap, - Optional: true, - }, - "echosign": { - Type: schema.TypeMap, - Optional: true, - }, - "egnyte": { - Type: schema.TypeMap, - Optional: true, - }, - "firebase": { - Type: schema.TypeMap, - Optional: true, - }, - "newrelic": { - Type: schema.TypeMap, - Optional: true, - }, - "office365": { - Type: schema.TypeMap, - Optional: true, - }, - "salesforce": { - Type: schema.TypeMap, - Optional: true, - }, - "salesforce_api": { - Type: schema.TypeMap, - Optional: true, - }, - "salesforce_sandbox_api": { - Type: schema.TypeMap, - Optional: true, - }, - "samlp": { - Type: schema.TypeList, - MaxItems: 1, - Optional: true, - Description: "Configuration settings for a SAML add-on.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "audience": { - Type: schema.TypeString, - Optional: true, - Description: "Audience of the SAML Assertion. " + - "Default will be the Issuer on SAMLRequest.", - }, - "recipient": { - Type: schema.TypeString, - Optional: true, - Description: "Recipient of the SAML Assertion (SubjectConfirmationData). " + - "Default is `AssertionConsumerUrl` on SAMLRequest or " + - "callback URL if no SAMLRequest was sent.", - }, - "mappings": { - Type: schema.TypeMap, - Optional: true, - Elem: schema.TypeString, - Description: "Mappings between the Auth0 user profile property " + - "name (`name`) and the output attributes on the SAML " + - "attribute in the assertion (`value`).", - }, - "create_upn_claim": { - Type: schema.TypeBool, - Optional: true, - Default: true, - Description: "Indicates whether a UPN claim should be created. " + - "Defaults to `true`.", - }, - "passthrough_claims_with_no_mapping": { - Type: schema.TypeBool, - Optional: true, - Default: true, - Description: "Indicates whether or not to passthrough " + - "claims that are not mapped to the common profile " + - "in the output assertion. Defaults to `true`.", - }, - "map_unknown_claims_as_is": { - Type: schema.TypeBool, - Optional: true, - Default: false, - Description: "Indicates whether to add a prefix of `http://schema.auth0.com` " + - "to any claims that are not mapped to the common profile when passed " + - "through in the output assertion. Defaults to `false`.", - }, - "map_identities": { - Type: schema.TypeBool, - Optional: true, - Default: true, - Description: "Indicates whether or not to add additional identity " + - "information in the token, such as the provider used and the " + - "`access_token`, if available. Defaults to `true`.", - }, - "signature_algorithm": { - Type: schema.TypeString, - Optional: true, - Default: "rsa-sha1", - Description: "Algorithm used to sign the SAML Assertion or response. " + - "Options include `rsa-sha1` and `rsa-sha256`. Defaults to `rsa-sha1`.", - }, - "digest_algorithm": { - Type: schema.TypeString, - Optional: true, - Default: "sha1", - Description: "Algorithm used to calculate the digest of the SAML Assertion " + - "or response. Options include `sha1` and `sha256`. Defaults to `sha1`.", - }, - "destination": { - Type: schema.TypeString, - Optional: true, - Description: "Destination of the SAML Response. If not specified, " + - "it will be `AssertionConsumerUrl` of SAMLRequest " + - "or callback URL if there was no SAMLRequest.", - }, - "lifetime_in_seconds": { - Type: schema.TypeInt, - Optional: true, - Default: 3600, - Description: "Number of seconds during which the token is valid.", - }, - "sign_response": { - Type: schema.TypeBool, - Optional: true, - Description: "Indicates whether or not the SAML Response should be signed " + - "instead of the SAML Assertion.", - }, - "name_identifier_format": { - Type: schema.TypeString, - Optional: true, - Default: "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified", - Description: "Format of the name identifier.", - }, - "name_identifier_probes": { - Type: schema.TypeList, - Elem: &schema.Schema{Type: schema.TypeString}, - Optional: true, - Description: "Attributes that can be used for Subject/NameID. " + - "Auth0 will try each of the attributes of this array in " + - "order and use the first value it finds.", - }, - "authn_context_class_ref": { - Type: schema.TypeString, - Optional: true, - Description: "Class reference of the authentication context.", - }, - "typed_attributes": { - Type: schema.TypeBool, - Optional: true, - Default: true, - Description: "Indicates whether or not we should infer the `xs:type` " + - "of the element. Types include `xs:string`, `xs:boolean`, `xs:double`, " + - "and `xs:anyType`. When set to false, all `xs:type` are `xs:anyType`. " + - "Defaults to `true`.", - }, - "include_attribute_name_format": { - Type: schema.TypeBool, - Optional: true, - Default: true, - Description: "Indicates whether or not we should infer the NameFormat " + - "based on the attribute name. If set to false, the attribute " + - "NameFormat is not set in the assertion. Defaults to `true`.", - }, - "logout": { - Type: schema.TypeMap, - Optional: true, - Description: "Configuration settings for logout.", - }, - "binding": { - Type: schema.TypeString, - Optional: true, - Description: "Protocol binding used for SAML logout responses.", - }, - "signing_cert": { - Type: schema.TypeString, - Optional: true, - Description: "Optionally indicates the public key certificate used to " + - "validate SAML requests. If set, SAML requests will be required to " + - "be signed. A sample value would be `-----BEGIN PUBLIC KEY-----\\nMIGf...bpP/t3\\n+JGNGIRMj1hF1rnb6QIDAQAB\\n-----END PUBLIC KEY-----\\n`.", - }, - "issuer": { - Type: schema.TypeString, - Optional: true, - Description: "Issuer of the SAML Assertion.", - }, - }, - }, - }, - "layer": { - Type: schema.TypeMap, - Optional: true, - }, - "sap_api": { - Type: schema.TypeMap, - Optional: true, - }, - "sharepoint": { - Type: schema.TypeMap, - Optional: true, - }, - "springcm": { - Type: schema.TypeMap, - Optional: true, - }, - "wams": { - Type: schema.TypeMap, - Optional: true, - }, - "wsfed": { - Type: schema.TypeMap, - Optional: true, - Description: "WS-Fed (WIF) addon indicator. Actual configuration is stored " + - "in callback and `client_aliases` properties on the client.", - }, - "zendesk": { - Type: schema.TypeMap, - Optional: true, - }, - "zoom": { - Type: schema.TypeMap, - Optional: true, - }, - }, - }, - }, - "token_endpoint_auth_method": { - Type: schema.TypeString, - Optional: true, - Computed: true, - ValidateFunc: validation.StringInSlice([]string{ - "none", - "client_secret_post", - "client_secret_basic", - }, false), - Description: "Defines the requested authentication method for the token endpoint. " + - "Options include `none` (public client without a client secret), " + - "`client_secret_post` (client uses HTTP POST parameters), " + - "`client_secret_basic` (client uses HTTP Basic). " + - "Managing the authentication method through this attribute is deprecated and it will be " + - "removed in a future major version. Migrate to the `auth0_client_credentials` resource to " + - "manage a client's authentication method instead. Check the " + - "[MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#client-authentication-method) " + - "on how to do that.", - Deprecated: "Managing the authentication method through this attribute is deprecated and it will be " + - "changed to read-only in a future version. Migrate to the `auth0_client_credentials` resource to " + - "manage a client's authentication method instead. Check the " + - "[MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#client-authentication-method) " + - "on how to do that.", - }, "client_metadata": { Type: schema.TypeMap, Optional: true, @@ -760,15 +433,872 @@ func NewResource() *schema.Resource { Description: "List containing a map of the public cert of the signing key and the public cert " + "of the signing key in PKCS7.", }, - }, - } -} - -func createClient(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { - api := m.(*config.Config).GetAPI() - - client := expandClient(d) - if err := api.Client.Create(client); err != nil { + "addons": { + Type: schema.TypeList, + Optional: true, + MaxItems: 1, + Description: "Addons enabled for this client and their associated configurations.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "aws": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "AWS Addon configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "principal": { + Description: "AWS principal ARN, for example `arn:aws:iam::010616021751:saml-provider/idpname`.", + Type: schema.TypeString, + Optional: true, + }, + "role": { + Description: "AWS role ARN, for example `arn:aws:iam::010616021751:role/foo`.", + Type: schema.TypeString, + Optional: true, + }, + "lifetime_in_seconds": { + Description: "AWS token lifetime in seconds.", + Type: schema.TypeInt, + ValidateFunc: validation.IntBetween(900, 43200), + Optional: true, + }, + }, + }, + }, + "azure_blob": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Azure Blob Storage Addon configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "account_name": { + Description: "Your Azure storage account name. Usually first segment in your " + + "Azure storage URL, for example `https://acme-org.blob.core.windows.net` would " + + "be the account name `acme-org`.", + Type: schema.TypeString, + Optional: true, + }, + "storage_access_key": { + Description: "Access key associated with this storage account.", + Type: schema.TypeString, + Optional: true, + Sensitive: true, + }, + "container_name": { + Description: "Container to request a token for, such as `my-container`.", + Type: schema.TypeString, + Optional: true, + }, + "blob_name": { + Description: "Entity to request a token for, such as `my-blob`. If blank the " + + "computed SAS will apply to the entire storage container.", + Type: schema.TypeString, + Optional: true, + }, + "expiration": { + Description: "Expiration in minutes for the generated token (default of 5 minutes).", + Type: schema.TypeInt, + ValidateFunc: validation.IntAtLeast(0), + Optional: true, + }, + "signed_identifier": { + Description: "Shared access policy identifier defined in your storage account resource.", + Type: schema.TypeString, + Optional: true, + }, + "blob_read": { + Description: "Indicates if the issued token has permission to read the " + + "content, properties, metadata and block list. Use the blob as the " + + "source of a copy operation.", + Type: schema.TypeBool, + Optional: true, + }, + "blob_write": { + Description: "Indicates if the issued token has permission to create or " + + "write content, properties, metadata, or block list. Snapshot or lease " + + "the blob. Resize the blob (page blob only). Use the blob as the " + + "destination of a copy operation within the same account.", + Type: schema.TypeBool, + Optional: true, + }, + "blob_delete": { + Description: "Indicates if the issued token has permission to delete the blob.", + Type: schema.TypeBool, + Optional: true, + }, + "container_read": { + Description: "Indicates if the issued token has permission to read the " + + "content, properties, metadata or block list of any blob in the " + + "container. Use any blob in the container as the source of a copy operation.", + Type: schema.TypeBool, + Optional: true, + }, + "container_write": { + Description: "Indicates that for any blob in the container if the issued " + + "token has permission to create or write content, properties, metadata, " + + "or block list. Snapshot or lease the blob. Resize the blob " + + "(page blob only). Use the blob as the destination of a copy operation " + + "within the same account.", + Type: schema.TypeBool, + Optional: true, + }, + "container_delete": { + Description: "Indicates if issued token has permission to delete any blob in " + + "the container.", + Type: schema.TypeBool, + Optional: true, + }, + "container_list": { + Description: "Indicates if the issued token has permission to list blobs in the container.", + Type: schema.TypeBool, + Optional: true, + }, + }, + }, + }, + "azure_sb": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Azure Storage Bus Addon configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "namespace": { + Description: "Your Azure Service Bus namespace. Usually the first segment of " + + "your Service Bus URL (for example `https://acme-org.servicebus.windows.net` " + + "would be `acme-org`).", + Type: schema.TypeString, + Optional: true, + }, + "sas_key_name": { + Description: "Your shared access policy name defined in your Service Bus entity.", + Type: schema.TypeString, + Optional: true, + }, + "sas_key": { + Description: "Primary Key associated with your shared access policy.", + Type: schema.TypeString, + Optional: true, + Sensitive: true, + }, + "entity_path": { + Description: "Entity you want to request a token for, such as `my-queue`.", + Type: schema.TypeString, + Optional: true, + }, + "expiration": { + Description: "Optional expiration in minutes for the generated token. Defaults to 5 minutes.", + Type: schema.TypeInt, + ValidateFunc: validation.IntAtLeast(0), + Optional: true, + }, + }, + }, + }, + "rms": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Active Directory Rights Management Service SSO configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "url": { + Description: "URL of your Rights Management Server. It can be internal or " + + "external, but users will have to be able to reach it.", + Type: schema.TypeString, + Optional: true, + ValidateFunc: internalValidation.IsURLWithHTTPSorEmptyString, + }, + }, + }, + }, + "mscrm": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Microsoft Dynamics CRM SSO configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "url": { + Description: "Microsoft Dynamics CRM application URL.", + Type: schema.TypeString, + Optional: true, + ValidateFunc: internalValidation.IsURLWithHTTPSorEmptyString, + }, + }, + }, + }, + "slack": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Slack team or workspace name usually first segment in your Slack URL, " + + "for example `https://acme-org.slack.com` would be `acme-org`.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "team": { + Description: "Slack team name.", + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "sentry": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Sentry SSO configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "org_slug": { + Description: "Generated slug for your Sentry organization. Found in your " + + "Sentry URL, for example `https://sentry.acme.com/acme-org/` would be " + + "`acme-org`.", + Type: schema.TypeString, + Optional: true, + }, + "base_url": { + Description: "URL prefix only if running Sentry Community Edition, otherwise leave empty.", + Type: schema.TypeString, + ValidateFunc: internalValidation.IsURLWithHTTPSorEmptyString, + Optional: true, + }, + }, + }, + }, + "echosign": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Adobe EchoSign SSO configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "domain": { + Description: "Your custom domain found in your EchoSign URL, for example " + + "`https://acme-org.echosign.com` would be `acme-org`.", + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "egnyte": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Egnyte SSO configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "domain": { + Description: "Your custom domain found in your Egnyte URL, for example " + + "`https://acme-org.echosign.com` would be `acme-org`.", + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "firebase": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Google Firebase addon configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "secret": { + Description: "Google Firebase Secret. (SDK v2 only).", + Type: schema.TypeString, + Optional: true, + Sensitive: true, + }, + "private_key_id": { + Description: "Optional ID of the private key to obtain the `kid` header " + + "claim from the issued token (SDK v3+ tokens only).", + Type: schema.TypeString, + Optional: true, + Sensitive: true, + }, + "private_key": { + Description: "Private Key for signing the token (SDK v3+ tokens only).", + Type: schema.TypeString, + Optional: true, + Sensitive: true, + }, + "client_email": { + Description: "ID of the Service Account you have created (shown as " + + "`client_email` in the generated JSON file, SDK v3+ tokens only).", + Type: schema.TypeString, + Optional: true, + }, + "lifetime_in_seconds": { + Description: "Optional expiration in seconds for the generated token. " + + "Defaults to 3600 seconds (SDK v3+ tokens only).", + Type: schema.TypeInt, + Optional: true, + }, + }, + }, + }, + "newrelic": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "New Relic SSO configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "account": { + Description: "Your New Relic Account ID found in your New Relic URL after the " + + "`/accounts/` path, for example `https://rpm.newrelic.com/accounts/123456/query` would be `123456`.", + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "office365": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Microsoft Office 365 SSO configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "domain": { + Description: "Your Office 365 domain name, for example `acme-org.com`.", + Type: schema.TypeString, + Optional: true, + }, + "connection": { + Description: "Optional Auth0 database connection for testing an " + + "already-configured Office 365 tenant.", + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "salesforce": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Salesforce SSO configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "entity_id": { + Description: "Arbitrary logical URL that identifies the Saleforce resource, for example `https://acme-org.com`.", + Type: schema.TypeString, + Optional: true, + ValidateFunc: internalValidation.IsURLWithHTTPSorEmptyString, + }, + }, + }, + }, + "salesforce_api": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Salesforce API addon configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "client_id": { + Description: "Consumer Key assigned by Salesforce to the Connected App.", + Type: schema.TypeString, + Optional: true, + Sensitive: true, + }, + "principal": { + Description: "Name of the property in the user object that maps to a " + + "Salesforce username, for example `email`.", + Type: schema.TypeString, + Optional: true, + Sensitive: true, + }, + "community_name": { + Description: "Community name.", + Type: schema.TypeString, + Optional: true, + }, + "community_url_section": { + Description: "Community URL section.", + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "salesforce_sandbox_api": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Salesforce Sandbox addon configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "client_id": { + Description: "Consumer Key assigned by Salesforce to the Connected App.", + Type: schema.TypeString, + Optional: true, + Sensitive: true, + }, + "principal": { + Description: "Name of the property in the user object that maps to a " + + "Salesforce username, for example `email`.", + Type: schema.TypeString, + Optional: true, + Sensitive: true, + }, + "community_name": { + Description: "Community name.", + Type: schema.TypeString, + Optional: true, + }, + "community_url_section": { + Description: "Community URL section.", + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "layer": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Layer addon configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "provider_id": { + Description: "Provider ID of your Layer account.", + Type: schema.TypeString, + Required: true, + }, + "key_id": { + Description: "Authentication Key identifier used to sign the Layer token.", + Type: schema.TypeString, + Required: true, + Sensitive: true, + }, + "private_key": { + Description: "Private key for signing the Layer token.", + Type: schema.TypeString, + Required: true, + Sensitive: true, + }, + "principal": { + Description: "Name of the property used as the unique user ID in Layer. " + + "If not specified `user_id` is used.", + Type: schema.TypeString, + Optional: true, + }, + "expiration": { + Description: "Optional expiration in minutes for the generated token. " + + "Defaults to 5 minutes.", + Type: schema.TypeInt, + Optional: true, + ValidateFunc: validation.IntAtLeast(0), + }, + }, + }, + }, + "sap_api": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "SAP API addon configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "client_id": { + Description: "If activated in the OAuth 2.0 client configuration (transaction `SOAUTH2) " + + "the SAML attribute `client_id` must be set and equal the `client_id` form " + + "parameter of the access token request.", + Type: schema.TypeString, + Optional: true, + }, + "username_attribute": { + Description: "Name of the property in the user object that maps to a SAP username, for example `email`.", + Type: schema.TypeString, + Optional: true, + }, + "token_endpoint_url": { + Description: "The OAuth2 token endpoint URL of your SAP OData server.", + Type: schema.TypeString, + Optional: true, + ValidateFunc: internalValidation.IsURLWithHTTPSorEmptyString, + }, + "scope": { + Description: "Requested scope for SAP APIs.", + Type: schema.TypeString, + Optional: true, + }, + "service_password": { + Description: "Service account password to use to authenticate API calls to the token endpoint.", + Type: schema.TypeString, + Optional: true, + Sensitive: true, + }, + "name_identifier_format": { + Description: "NameID element of the Subject which can be used to express the user's identity. " + + "Defaults to `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified`.", + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "sharepoint": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "SharePoint SSO configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "url": { + Description: "Internal SharePoint application URL.", + Type: schema.TypeString, + Optional: true, + }, + "external_url": { + Description: "External SharePoint application URLs if exposed to the Internet.", + Type: schema.TypeList, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + Optional: true, + }, + }, + }, + }, + "springcm": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "SpringCM SSO configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "acs_url": { + Description: "SpringCM ACS URL, for example `https://na11.springcm.com/atlas/sso/SSOEndpoint.ashx`.", + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "wams": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Windows Azure Mobile Services addon configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "master_key": { + Description: "Your master key for Windows Azure Mobile Services.", + Type: schema.TypeString, + Optional: true, + Sensitive: true, + }, + }, + }, + }, + "zendesk": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Zendesk SSO configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "account_name": { + Description: "Zendesk account name. Usually the first segment in your Zendesk URL, " + + "for example `https://acme-org.zendesk.com` would be `acme-org`.", + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "zoom": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Zoom SSO configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "account": { + Description: "Zoom account name. Usually the first segment of your Zoom URL, for " + + "example `https://acme-org.zoom.us` would be `acme-org`.", + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "sso_integration": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Generic SSO configuration.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "name": { + Description: "SSO integration name.", + Type: schema.TypeString, + Optional: true, + }, + "version": { + Description: "SSO integration version installed.", + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "samlp": { + Type: schema.TypeList, + MaxItems: 1, + Optional: true, + Description: "Configuration settings for a SAML add-on.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "audience": { + Type: schema.TypeString, + Optional: true, + Description: "Audience of the SAML Assertion. " + + "Default will be the Issuer on SAMLRequest.", + }, + "recipient": { + Type: schema.TypeString, + Optional: true, + Description: "Recipient of the SAML Assertion (SubjectConfirmationData). " + + "Default is `AssertionConsumerUrl` on SAMLRequest or " + + "callback URL if no SAMLRequest was sent.", + }, + "mappings": { + Type: schema.TypeMap, + Optional: true, + Elem: schema.TypeString, + Description: "Mappings between the Auth0 user profile property " + + "name (`name`) and the output attributes on the SAML " + + "attribute in the assertion (`value`).", + }, + "create_upn_claim": { + Type: schema.TypeBool, + Optional: true, + Default: true, + Description: "Indicates whether a UPN claim should be created. " + + "Defaults to `true`.", + }, + "passthrough_claims_with_no_mapping": { + Type: schema.TypeBool, + Optional: true, + Default: true, + Description: "Indicates whether or not to passthrough " + + "claims that are not mapped to the common profile " + + "in the output assertion. Defaults to `true`.", + }, + "map_unknown_claims_as_is": { + Type: schema.TypeBool, + Optional: true, + Default: false, + Description: "Indicates whether to add a prefix of `http://schema.auth0.com` " + + "to any claims that are not mapped to the common profile when passed " + + "through in the output assertion. Defaults to `false`.", + }, + "map_identities": { + Type: schema.TypeBool, + Optional: true, + Default: true, + Description: "Indicates whether or not to add additional identity " + + "information in the token, such as the provider used and the " + + "`access_token`, if available. Defaults to `true`.", + }, + "signature_algorithm": { + Type: schema.TypeString, + Optional: true, + Default: "rsa-sha1", + Description: "Algorithm used to sign the SAML Assertion or response. " + + "Options include `rsa-sha1` and `rsa-sha256`. Defaults to `rsa-sha1`.", + }, + "digest_algorithm": { + Type: schema.TypeString, + Optional: true, + Default: "sha1", + Description: "Algorithm used to calculate the digest of the SAML Assertion " + + "or response. Options include `sha1` and `sha256`. Defaults to `sha1`.", + }, + "destination": { + Type: schema.TypeString, + Optional: true, + Description: "Destination of the SAML Response. If not specified, " + + "it will be `AssertionConsumerUrl` of SAMLRequest " + + "or callback URL if there was no SAMLRequest.", + }, + "lifetime_in_seconds": { + Type: schema.TypeInt, + Optional: true, + Default: 3600, + Description: "Number of seconds during which the token is valid. " + + "Defaults to `3600` seconds.", + }, + "sign_response": { + Type: schema.TypeBool, + Optional: true, + Description: "Indicates whether or not the SAML Response should be signed " + + "instead of the SAML Assertion.", + }, + "name_identifier_format": { + Type: schema.TypeString, + Optional: true, + Default: "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified", + Description: "Format of the name identifier. " + + "Defaults to `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified`.", + }, + "name_identifier_probes": { + Type: schema.TypeList, + Elem: &schema.Schema{Type: schema.TypeString}, + Optional: true, + Description: "Attributes that can be used for Subject/NameID. " + + "Auth0 will try each of the attributes of this array in " + + "order and use the first value it finds.", + }, + "authn_context_class_ref": { + Type: schema.TypeString, + Optional: true, + Description: "Class reference of the authentication context.", + }, + "typed_attributes": { + Type: schema.TypeBool, + Optional: true, + Default: true, + Description: "Indicates whether or not we should infer the `xs:type` " + + "of the element. Types include `xs:string`, `xs:boolean`, `xs:double`, " + + "and `xs:anyType`. When set to `false`, all `xs:type` are `xs:anyType`. " + + "Defaults to `true`.", + }, + "include_attribute_name_format": { + Type: schema.TypeBool, + Optional: true, + Default: true, + Description: "Indicates whether or not we should infer the NameFormat " + + "based on the attribute name. If set to `false`, the attribute " + + "NameFormat is not set in the assertion. Defaults to `true`.", + }, + "logout": { + Type: schema.TypeList, + MaxItems: 1, + Optional: true, + Description: "Configuration settings for logout.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "callback": { + Description: "The service provider (client application)'s Single Logout Service URL, " + + "where Auth0 will send logout requests and responses.", + Type: schema.TypeString, + Optional: true, + }, + "slo_enabled": { + Description: "Controls whether Auth0 should notify service providers of session termination.", + Type: schema.TypeBool, + Optional: true, + }, + }, + }, + }, + "binding": { + Type: schema.TypeString, + Optional: true, + Description: "Protocol binding used for SAML logout responses.", + }, + "signing_cert": { + Type: schema.TypeString, + Optional: true, + Description: "Optionally indicates the public key certificate used to " + + "validate SAML requests. If set, SAML requests will be required to " + + "be signed. A sample value would be `-----BEGIN PUBLIC KEY-----\\nMIGf...bpP/t3\\n+JGNGIRMj1hF1rnb6QIDAQAB\\n-----END PUBLIC KEY-----\\n`.", + }, + "issuer": { + Type: schema.TypeString, + Optional: true, + Description: "Issuer of the SAML Assertion.", + }, + }, + }, + }, + "box": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Box SSO indicator (no configuration settings needed for Box SSO).", + Elem: &schema.Resource{}, + }, + "cloudbees": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "CloudBees SSO indicator (no configuration settings needed for CloudBees SSO).", + Elem: &schema.Resource{}, + }, + "concur": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Concur SSO indicator (no configuration settings needed for Concur SSO).", + Elem: &schema.Resource{}, + }, + "dropbox": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "Dropbox SSO indicator (no configuration settings needed for Dropbox SSO).", + Elem: &schema.Resource{}, + }, + "wsfed": { + Type: schema.TypeList, + Optional: true, + Computed: true, + MaxItems: 1, + Description: "WS-Fed (WIF) addon indicator. Actual configuration is stored in `callback` " + + "and `client_aliases` properties on the client.", + Elem: &schema.Resource{}, + }, + }, + }, + }, + }, + } +} + +func createClient(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { + api := m.(*config.Config).GetAPI() + + client := expandClient(d) + if err := api.Client.Create(ctx, client); err != nil { return diag.FromErr(err) } @@ -777,10 +1307,10 @@ func createClient(ctx context.Context, d *schema.ResourceData, m interface{}) di return readClient(ctx, d, m) } -func readClient(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readClient(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - client, err := api.Client.Read(d.Id()) + client, err := api.Client.Read(ctx, d.Id()) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") @@ -789,46 +1319,8 @@ func readClient(_ context.Context, d *schema.ResourceData, m interface{}) diag.D return diag.FromErr(err) } - result := multierror.Append( - d.Set("client_id", client.GetClientID()), - d.Set("client_secret", client.GetClientSecret()), - d.Set("client_aliases", client.GetClientAliases()), - d.Set("name", client.GetName()), - d.Set("description", client.GetDescription()), - d.Set("app_type", client.GetAppType()), - d.Set("logo_uri", client.GetLogoURI()), - d.Set("is_first_party", client.GetIsFirstParty()), - d.Set("is_token_endpoint_ip_header_trusted", client.GetIsTokenEndpointIPHeaderTrusted()), - d.Set("oidc_conformant", client.GetOIDCConformant()), - d.Set("callbacks", client.GetCallbacks()), - d.Set("allowed_logout_urls", client.GetAllowedLogoutURLs()), - d.Set("allowed_origins", client.GetAllowedOrigins()), - d.Set("allowed_clients", client.GetAllowedClients()), - d.Set("grant_types", client.GetGrantTypes()), - d.Set("organization_usage", client.GetOrganizationUsage()), - d.Set("organization_require_behavior", client.GetOrganizationRequireBehavior()), - d.Set("web_origins", client.GetWebOrigins()), - d.Set("sso", client.GetSSO()), - d.Set("sso_disabled", client.GetSSODisabled()), - d.Set("cross_origin_auth", client.GetCrossOriginAuth()), - d.Set("cross_origin_loc", client.GetCrossOriginLocation()), - d.Set("custom_login_page_on", client.GetCustomLoginPageOn()), - d.Set("custom_login_page", client.GetCustomLoginPage()), - d.Set("form_template", client.GetFormTemplate()), - d.Set("token_endpoint_auth_method", client.GetTokenEndpointAuthMethod()), - d.Set("native_social_login", flattenCustomSocialConfiguration(client.GetNativeSocialLogin())), - d.Set("jwt_configuration", flattenClientJwtConfiguration(client.GetJWTConfiguration())), - d.Set("refresh_token", flattenClientRefreshTokenConfiguration(client.GetRefreshToken())), - d.Set("encryption_key", client.GetEncryptionKey()), - d.Set("addons", flattenClientAddons(client.Addons)), - d.Set("mobile", flattenClientMobile(client.GetMobile())), - d.Set("initiate_login_uri", client.GetInitiateLoginURI()), - d.Set("signing_keys", client.SigningKeys), - d.Set("client_metadata", client.ClientMetadata), - d.Set("oidc_backchannel_logout_urls", client.OIDCBackchannelLogout.GetBackChannelLogoutURLs()), - ) - - return diag.FromErr(result.ErrorOrNil()) + err = flattenClient(d, client) + return diag.FromErr(err) } func updateClient(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { @@ -836,24 +1328,18 @@ func updateClient(ctx context.Context, d *schema.ResourceData, m interface{}) di client := expandClient(d) if clientHasChange(client) { - if err := api.Client.Update(d.Id(), client); err != nil { + if err := api.Client.Update(ctx, d.Id(), client); err != nil { return diag.FromErr(err) } } - d.Partial(true) - if err := rotateClientSecret(d, m); err != nil { - return diag.FromErr(err) - } - d.Partial(false) - return readClient(ctx, d, m) } -func deleteClient(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteClient(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - if err := api.Client.Delete(d.Id()); err != nil { + if err := api.Client.Delete(ctx, d.Id()); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") return nil @@ -863,18 +1349,3 @@ func deleteClient(_ context.Context, d *schema.ResourceData, m interface{}) diag d.SetId("") return nil } - -func rotateClientSecret(d *schema.ResourceData, m interface{}) error { - if !d.HasChange("client_secret_rotation_trigger") { - return nil - } - - api := m.(*config.Config).GetAPI() - - client, err := api.Client.RotateSecret(d.Id()) - if err != nil { - return err - } - - return d.Set("client_secret", client.GetClientSecret()) -} diff --git a/internal/auth0/client/resource_credentials.go b/internal/auth0/client/resource_credentials.go index c874723f8..c8b1d87fc 100644 --- a/internal/auth0/client/resource_credentials.go +++ b/internal/auth0/client/resource_credentials.go @@ -164,7 +164,7 @@ func createClientCredentials(ctx context.Context, data *schema.ResourceData, met clientID := data.Get("client_id").(string) // Check that client exists. - if _, err := api.Client.Read(clientID, management.IncludeFields("client_id")); err != nil { + if _, err := api.Client.Read(ctx, clientID, management.IncludeFields("client_id")); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") return nil @@ -178,19 +178,19 @@ func createClientCredentials(ctx context.Context, data *schema.ResourceData, met authenticationMethod := data.Get("authentication_method").(string) switch authenticationMethod { case "private_key_jwt": - if diagnostics := createPrivateKeyJWTCredentials(api, data); diagnostics.HasError() { + if diagnostics := createPrivateKeyJWTCredentials(ctx, api, data); diagnostics.HasError() { return diagnostics } case "client_secret_post", "client_secret_basic": - if err := updateTokenEndpointAuthMethod(api, data); err != nil { + if err := updateTokenEndpointAuthMethod(ctx, api, data); err != nil { return diag.FromErr(err) } - if err := updateSecret(api, data); err != nil { + if err := updateSecret(ctx, api, data); err != nil { return diag.FromErr(err) } case "none": - if err := updateTokenEndpointAuthMethod(api, data); err != nil { + if err := updateTokenEndpointAuthMethod(ctx, api, data); err != nil { return diag.FromErr(err) } } @@ -198,10 +198,11 @@ func createClientCredentials(ctx context.Context, data *schema.ResourceData, met return readClientCredentials(ctx, data, meta) } -func readClientCredentials(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readClientCredentials(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() client, err := api.Client.Read( + ctx, data.Id(), management.IncludeFields( "client_id", @@ -219,7 +220,7 @@ func readClientCredentials(_ context.Context, data *schema.ResourceData, meta in return diag.FromErr(err) } - privateKeyJWT, err := flattenPrivateKeyJWT(api, data, client.GetClientAuthenticationMethods()) + privateKeyJWT, err := flattenPrivateKeyJWT(ctx, api, data, client.GetClientAuthenticationMethods()) if err != nil { return diag.FromErr(err) } @@ -238,7 +239,7 @@ func updateClientCredentials(ctx context.Context, data *schema.ResourceData, met api := meta.(*config.Config).GetAPI() // Check that client exists. - if _, err := api.Client.Read(data.Id(), management.IncludeFields("client_id")); err != nil { + if _, err := api.Client.Read(ctx, data.Id(), management.IncludeFields("client_id")); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") return nil @@ -250,19 +251,19 @@ func updateClientCredentials(ctx context.Context, data *schema.ResourceData, met authenticationMethod := data.Get("authentication_method").(string) switch authenticationMethod { case "private_key_jwt": - if diagnostics := modifyPrivateKeyJWTCredentials(api, data); diagnostics.HasError() { + if diagnostics := modifyPrivateKeyJWTCredentials(ctx, api, data); diagnostics.HasError() { return diagnostics } case "client_secret_post", "client_secret_basic": - if err := updateTokenEndpointAuthMethod(api, data); err != nil { + if err := updateTokenEndpointAuthMethod(ctx, api, data); err != nil { return diag.FromErr(err) } - if err := updateSecret(api, data); err != nil { + if err := updateSecret(ctx, api, data); err != nil { return diag.FromErr(err) } case "none": - if err := updateTokenEndpointAuthMethod(api, data); err != nil { + if err := updateTokenEndpointAuthMethod(ctx, api, data); err != nil { return diag.FromErr(err) } } @@ -270,10 +271,10 @@ func updateClientCredentials(ctx context.Context, data *schema.ResourceData, met return readClientCredentials(ctx, data, meta) } -func deleteClientCredentials(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteClientCredentials(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() - client, err := api.Client.Read(data.Id(), management.IncludeFields("client_id", "app_type")) + client, err := api.Client.Read(ctx, data.Id(), management.IncludeFields("client_id", "app_type")) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -295,17 +296,17 @@ func deleteClientCredentials(_ context.Context, data *schema.ResourceData, meta authenticationMethod := data.Get("authentication_method").(string) if authenticationMethod == "private_key_jwt" { - credentials, err := api.Client.ListCredentials(client.GetClientID()) + credentials, err := api.Client.ListCredentials(ctx, client.GetClientID()) if err != nil { return diag.FromErr(err) } - if err := detachCredentialsFromClient(api, client.GetClientID(), tokenEndpointAuthMethod); err != nil { + if err := detachCredentialsFromClient(ctx, api, client.GetClientID(), tokenEndpointAuthMethod); err != nil { return diag.FromErr(err) } for _, credential := range credentials { - if err := api.Client.DeleteCredential(client.GetClientID(), credential.GetID()); err != nil { + if err := api.Client.DeleteCredential(ctx, client.GetClientID(), credential.GetID()); err != nil { return diag.FromErr(err) } } @@ -314,7 +315,7 @@ func deleteClientCredentials(_ context.Context, data *schema.ResourceData, meta return nil } - if err := api.Client.Update(client.GetClientID(), &management.Client{ + if err := api.Client.Update(ctx, client.GetClientID(), &management.Client{ TokenEndpointAuthMethod: &tokenEndpointAuthMethod, }); err != nil { return diag.FromErr(err) @@ -324,7 +325,7 @@ func deleteClientCredentials(_ context.Context, data *schema.ResourceData, meta return nil } -func createPrivateKeyJWTCredentials(api *management.Management, data *schema.ResourceData) diag.Diagnostics { +func createPrivateKeyJWTCredentials(ctx context.Context, api *management.Management, data *schema.ResourceData) diag.Diagnostics { credentials, diagnostics := expandPrivateKeyJWT(data.GetRawConfig()) if diagnostics.HasError() { return diagnostics @@ -334,7 +335,7 @@ func createPrivateKeyJWTCredentials(api *management.Management, data *schema.Res credentialsToAttach := make([]management.Credential, 0) for _, credential := range credentials { - if err := api.Client.CreateCredential(clientID, credential); err != nil { + if err := api.Client.CreateCredential(ctx, clientID, credential); err != nil { return diag.FromErr(err) } @@ -343,12 +344,12 @@ func createPrivateKeyJWTCredentials(api *management.Management, data *schema.Res }) } - err := attachCredentialsToClient(api, clientID, credentialsToAttach) + err := attachCredentialsToClient(ctx, api, clientID, credentialsToAttach) return diag.FromErr(err) } -func modifyPrivateKeyJWTCredentials(api *management.Management, data *schema.ResourceData) diag.Diagnostics { +func modifyPrivateKeyJWTCredentials(ctx context.Context, api *management.Management, data *schema.ResourceData) diag.Diagnostics { credentials, diagnostics := expandPrivateKeyJWT(data.GetRawConfig()) if diagnostics.HasError() { return diagnostics @@ -373,7 +374,7 @@ func modifyPrivateKeyJWTCredentials(api *management.Management, data *schema.Res credential.ExpiresAt = &expiresAt // Limitation: Unable to update the credential to never expire. Needs to get deleted and recreated if needed. - if err := api.Client.UpdateCredential(clientID, credentialID, credential); err != nil { + if err := api.Client.UpdateCredential(ctx, clientID, credentialID, credential); err != nil { return diag.FromErr(err) } } @@ -387,7 +388,7 @@ type clientWithAuthMethod struct { TokenEndpointAuthMethod *string `json:"token_endpoint_auth_method"` } -func attachCredentialsToClient(api *management.Management, clientID string, credentials []management.Credential) error { +func attachCredentialsToClient(ctx context.Context, api *management.Management, clientID string, credentials []management.Credential) error { client := clientWithAuthMethod{ ID: clientID, ClientAuthenticationMethods: &management.ClientAuthenticationMethods{ @@ -398,10 +399,10 @@ func attachCredentialsToClient(api *management.Management, clientID string, cred TokenEndpointAuthMethod: nil, } - return updateClientWithAuthMethod(api, client) + return updateClientWithAuthMethod(ctx, api, client) } -func detachCredentialsFromClient(api *management.Management, clientID, tokenEndpointAuthMethod string) error { +func detachCredentialsFromClient(ctx context.Context, api *management.Management, clientID, tokenEndpointAuthMethod string) error { client := clientWithAuthMethod{ ID: clientID, ClientAuthenticationMethods: nil, @@ -409,11 +410,11 @@ func detachCredentialsFromClient(api *management.Management, clientID, tokenEndp TokenEndpointAuthMethod: &tokenEndpointAuthMethod, } - return updateClientWithAuthMethod(api, client) + return updateClientWithAuthMethod(ctx, api, client) } -func updateClientWithAuthMethod(api *management.Management, client clientWithAuthMethod) error { - request, err := api.NewRequest(http.MethodPatch, api.URI("clients", client.ID), &client) +func updateClientWithAuthMethod(ctx context.Context, api *management.Management, client clientWithAuthMethod) error { + request, err := api.NewRequest(ctx, http.MethodPatch, api.URI("clients", client.ID), &client) if err != nil { return err } @@ -438,7 +439,7 @@ func updateClientWithAuthMethod(api *management.Management, client clientWithAut return nil } -func updateTokenEndpointAuthMethod(api *management.Management, data *schema.ResourceData) error { +func updateTokenEndpointAuthMethod(ctx context.Context, api *management.Management, data *schema.ResourceData) error { if !data.HasChange("authentication_method") { return nil } @@ -446,12 +447,12 @@ func updateTokenEndpointAuthMethod(api *management.Management, data *schema.Reso clientID := data.Get("client_id").(string) tokenEndpointAuthMethod := data.Get("authentication_method").(string) - return api.Client.Update(clientID, &management.Client{ + return api.Client.Update(ctx, clientID, &management.Client{ TokenEndpointAuthMethod: &tokenEndpointAuthMethod, }) } -func updateSecret(api *management.Management, data *schema.ResourceData) error { +func updateSecret(ctx context.Context, api *management.Management, data *schema.ResourceData) error { if !data.HasChange("client_secret") { return nil } @@ -459,7 +460,7 @@ func updateSecret(api *management.Management, data *schema.ResourceData) error { clientID := data.Get("client_id").(string) clientSecret := data.Get("client_secret").(string) - return api.Client.Update(clientID, &management.Client{ + return api.Client.Update(ctx, clientID, &management.Client{ ClientSecret: &clientSecret, }) } @@ -527,6 +528,7 @@ func flattenAuthenticationMethod(client *management.Client) string { } func flattenPrivateKeyJWT( + ctx context.Context, api *management.Management, data *schema.ResourceData, clientAuthMethods *management.ClientAuthenticationMethods, @@ -539,7 +541,7 @@ func flattenPrivateKeyJWT( stateCredentials := make([]interface{}, 0) for index, credential := range clientAuthMethods.GetPrivateKeyJWT().GetCredentials() { - credential, err := api.Client.GetCredential(data.Id(), credential.GetID()) + credential, err := api.Client.GetCredential(ctx, data.Id(), credential.GetID()) if err != nil { return nil, err } diff --git a/internal/auth0/client/resource_credentials_test.go b/internal/auth0/client/resource_credentials_test.go index 1dd197c05..9203c7516 100644 --- a/internal/auth0/client/resource_credentials_test.go +++ b/internal/auth0/client/resource_credentials_test.go @@ -370,7 +370,6 @@ func TestAccClientAuthenticationMethods(t *testing.T) { resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - Client Credentials - %s", t.Name())), resource.TestCheckResourceAttr("auth0_client.my_client", "jwt_configuration.0.alg", "RS256"), resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "non_interactive"), - resource.TestCheckResourceAttr("auth0_client.my_client", "token_endpoint_auth_method", "client_secret_post"), ), }, }, @@ -417,7 +416,6 @@ const testAccImportClientWithSecretPost = ` resource "auth0_client" "my_test_client_secret" { name = "Acceptance Test - Client Credentials Import" app_type = "non_interactive" - token_endpoint_auth_method = "client_secret_post" } resource "auth0_client_credentials" "test_simple_client" { diff --git a/internal/auth0/client/resource_grant.go b/internal/auth0/client/resource_grant.go index c1572a1fa..00f80ce0e 100644 --- a/internal/auth0/client/resource_grant.go +++ b/internal/auth0/client/resource_grant.go @@ -40,9 +40,11 @@ func NewGrantResource() *schema.Resource { ForceNew: true, Description: "Audience or API Identifier for this grant.", }, - "scope": { - Type: schema.TypeList, - Elem: &schema.Schema{Type: schema.TypeString}, + "scopes": { + Type: schema.TypeList, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, Required: true, Description: "Permissions (scopes) included in this grant.", }, @@ -54,6 +56,7 @@ func createClientGrant(ctx context.Context, d *schema.ResourceData, m interface{ api := m.(*config.Config).GetAPI() grantList, err := api.ClientGrant.List( + ctx, management.Parameter("audience", d.Get("audience").(string)), management.Parameter("client_id", d.Get("client_id").(string)), ) @@ -67,7 +70,7 @@ func createClientGrant(ctx context.Context, d *schema.ResourceData, m interface{ } clientGrant := expandClientGrant(d) - if err := api.ClientGrant.Create(clientGrant); err != nil { + if err := api.ClientGrant.Create(ctx, clientGrant); err != nil { return diag.FromErr(err) } @@ -76,22 +79,23 @@ func createClientGrant(ctx context.Context, d *schema.ResourceData, m interface{ return readClientGrant(ctx, d, m) } -func readClientGrant(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readClientGrant(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - clientGrant, err := api.ClientGrant.Read(d.Id()) + clientGrant, err := api.ClientGrant.Read(ctx, d.Id()) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") return nil } + return diag.FromErr(err) } result := multierror.Append( d.Set("client_id", clientGrant.GetClientID()), d.Set("audience", clientGrant.GetAudience()), - d.Set("scope", clientGrant.Scope), + d.Set("scopes", clientGrant.Scope), ) return diag.FromErr(result.ErrorOrNil()) @@ -102,7 +106,7 @@ func updateClientGrant(ctx context.Context, d *schema.ResourceData, m interface{ clientGrant := expandClientGrant(d) if clientGrantHasChange(clientGrant) { - if err := api.ClientGrant.Update(d.Id(), clientGrant); err != nil { + if err := api.ClientGrant.Update(ctx, d.Id(), clientGrant); err != nil { return diag.FromErr(err) } } @@ -110,33 +114,31 @@ func updateClientGrant(ctx context.Context, d *schema.ResourceData, m interface{ return readClientGrant(ctx, d, m) } -func deleteClientGrant(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteClientGrant(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - if err := api.ClientGrant.Delete(d.Id()); err != nil { + if err := api.ClientGrant.Delete(ctx, d.Id()); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { - d.SetId("") return nil } return diag.FromErr(err) } - d.SetId("") return nil } func expandClientGrant(d *schema.ResourceData) *management.ClientGrant { - config := d.GetRawConfig() + cfg := d.GetRawConfig() clientGrant := &management.ClientGrant{} if d.IsNewResource() { - clientGrant.ClientID = value.String(config.GetAttr("client_id")) - clientGrant.Audience = value.String(config.GetAttr("audience")) + clientGrant.ClientID = value.String(cfg.GetAttr("client_id")) + clientGrant.Audience = value.String(cfg.GetAttr("audience")) } - if d.IsNewResource() || d.HasChange("scope") { - scopeListFromConfig := d.Get("scope").([]interface{}) + if d.IsNewResource() || d.HasChange("scopes") { + scopeListFromConfig := d.Get("scopes").([]interface{}) scopeList := make([]string, 0) for _, scope := range scopeListFromConfig { scopeList = append(scopeList, scope.(string)) diff --git a/internal/auth0/client/resource_grant_test.go b/internal/auth0/client/resource_grant_test.go index 338c64556..635d4119a 100644 --- a/internal/auth0/client/resource_grant_test.go +++ b/internal/auth0/client/resource_grant_test.go @@ -9,84 +9,106 @@ import ( "github.com/auth0/terraform-provider-auth0/internal/acctest" ) -const testAccClientGrantAuxConfig = ` +const testAccGivenAClientAndAResourceServerWithScopes = ` resource "auth0_client" "my_client" { - name = "Acceptance Test - Client Grant - {{.testName}}" + name = "Acceptance Test - Client Grant - {{.testName}}" custom_login_page_on = true - is_first_party = true + is_first_party = true } resource "auth0_resource_server" "my_resource_server" { - name = "Acceptance Test - Client Grant - {{.testName}}" + name = "Acceptance Test - Client Grant - {{.testName}}" identifier = "https://uat.tf.terraform-provider-auth0.com/client-grant/{{.testName}}" +} + +resource "auth0_resource_server_scopes" "my_api_scopes" { + depends_on = [ auth0_resource_server.my_resource_server ] + + resource_server_identifier = auth0_resource_server.my_resource_server.identifier + scopes { - value = "create:foo" + name = "create:foo" description = "Create foos" } + scopes { - value = "create:bar" + name = "create:bar" description = "Create bars" } } ` -const testAccClientGrantConfigCreate = testAccClientGrantAuxConfig + ` +const testAccClientGrantConfigCreate = testAccGivenAClientAndAResourceServerWithScopes + ` resource "auth0_client_grant" "my_client_grant" { - client_id = "${auth0_client.my_client.id}" - audience = "${auth0_resource_server.my_resource_server.identifier}" - scope = [ ] + depends_on = [ auth0_resource_server_scopes.my_api_scopes ] + + client_id = auth0_client.my_client.id + audience = auth0_resource_server.my_resource_server.identifier + scopes = [ ] } ` -const testAccClientGrantConfigUpdate = testAccClientGrantAuxConfig + ` +const testAccClientGrantConfigUpdate = testAccGivenAClientAndAResourceServerWithScopes + ` resource "auth0_client_grant" "my_client_grant" { - client_id = "${auth0_client.my_client.id}" - audience = "${auth0_resource_server.my_resource_server.identifier}" - scope = [ "create:foo" ] + depends_on = [ auth0_resource_server_scopes.my_api_scopes ] + + client_id = auth0_client.my_client.id + audience = auth0_resource_server.my_resource_server.identifier + scopes = [ "create:foo" ] } ` -const testAccClientGrantConfigUpdateAgain = testAccClientGrantAuxConfig + ` +const testAccClientGrantConfigUpdateAgain = testAccGivenAClientAndAResourceServerWithScopes + ` resource "auth0_client_grant" "my_client_grant" { - client_id = "${auth0_client.my_client.id}" - audience = "${auth0_resource_server.my_resource_server.identifier}" - scope = [ ] + depends_on = [ auth0_resource_server_scopes.my_api_scopes ] + + client_id = auth0_client.my_client.id + audience = auth0_resource_server.my_resource_server.identifier + scopes = [ ] } ` -const testAccClientGrantConfigUpdateChangeClient = testAccClientGrantAuxConfig + ` +const testAccClientGrantConfigUpdateChangeClient = testAccGivenAClientAndAResourceServerWithScopes + ` resource "auth0_client" "my_client_alt" { - name = "Acceptance Test - Client Grant Alt - {{.testName}}" + depends_on = [ auth0_resource_server_scopes.my_api_scopes ] + + name = "Acceptance Test - Client Grant Alt - {{.testName}}" custom_login_page_on = true - is_first_party = true + is_first_party = true } resource "auth0_client_grant" "my_client_grant" { - client_id = "${auth0_client.my_client_alt.id}" - audience = "${auth0_resource_server.my_resource_server.identifier}" - scope = [ ] + depends_on = [ auth0_client.my_client_alt ] + + client_id = auth0_client.my_client_alt.id + audience = auth0_resource_server.my_resource_server.identifier + scopes = [ ] } ` -const testAccAlreadyExistingGrantWillNotConflict = testAccClientGrantAuxConfig + ` +const testAccAlreadyExistingGrantWillNotConflict = testAccGivenAClientAndAResourceServerWithScopes + ` resource "auth0_client" "my_client_alt" { - name = "Acceptance Test - Client Grant Alt - {{.testName}}" + depends_on = [ auth0_resource_server_scopes.my_api_scopes ] + + name = "Acceptance Test - Client Grant Alt - {{.testName}}" custom_login_page_on = true - is_first_party = true + is_first_party = true } resource "auth0_client_grant" "my_client_grant" { - client_id = "${auth0_client.my_client_alt.id}" - audience = "${auth0_resource_server.my_resource_server.identifier}" - scope = [ ] + depends_on = [ auth0_client.my_client_alt ] + + client_id = auth0_client.my_client_alt.id + audience = auth0_resource_server.my_resource_server.identifier + scopes = [ ] } resource "auth0_client_grant" "no_conflict_client_grant" { depends_on = [ auth0_client_grant.my_client_grant ] - client_id = "${auth0_client.my_client_alt.id}" - audience = "${auth0_resource_server.my_resource_server.identifier}" - scope = [ ] + client_id = auth0_client.my_client_alt.id + audience = auth0_resource_server.my_resource_server.identifier + scopes = [ ] } ` @@ -97,32 +119,32 @@ func TestAccClientGrant(t *testing.T) { Config: acctest.ParseTestName(testAccClientGrantConfigCreate, t.Name()), Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_client_grant.my_client_grant", "audience", fmt.Sprintf("https://uat.tf.terraform-provider-auth0.com/client-grant/%s", t.Name())), - resource.TestCheckResourceAttr("auth0_client_grant.my_client_grant", "scope.#", "0"), + resource.TestCheckResourceAttr("auth0_client_grant.my_client_grant", "scopes.#", "0"), ), }, { Config: acctest.ParseTestName(testAccClientGrantConfigUpdate, t.Name()), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_client_grant.my_client_grant", "scope.#", "1"), - resource.TestCheckResourceAttr("auth0_client_grant.my_client_grant", "scope.0", "create:foo"), + resource.TestCheckResourceAttr("auth0_client_grant.my_client_grant", "scopes.#", "1"), + resource.TestCheckResourceAttr("auth0_client_grant.my_client_grant", "scopes.0", "create:foo"), ), }, { Config: acctest.ParseTestName(testAccClientGrantConfigUpdateAgain, t.Name()), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_client_grant.my_client_grant", "scope.#", "0"), + resource.TestCheckResourceAttr("auth0_client_grant.my_client_grant", "scopes.#", "0"), ), }, { Config: acctest.ParseTestName(testAccClientGrantConfigUpdateChangeClient, t.Name()), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_client_grant.my_client_grant", "scope.#", "0"), + resource.TestCheckResourceAttr("auth0_client_grant.my_client_grant", "scopes.#", "0"), ), }, { Config: acctest.ParseTestName(testAccAlreadyExistingGrantWillNotConflict, t.Name()), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_client_grant.no_conflict_client_grant", "scope.#", "0"), + resource.TestCheckResourceAttr("auth0_client_grant.no_conflict_client_grant", "scopes.#", "0"), ), }, }, diff --git a/internal/auth0/client/resource_test.go b/internal/auth0/client/resource_test.go index bad0dc881..fd53cb119 100644 --- a/internal/auth0/client/resource_test.go +++ b/internal/auth0/client/resource_test.go @@ -30,45 +30,6 @@ func TestAccClientInitiateLoginUriValidation(t *testing.T) { }) } -const testAccClientConfigRotateSecret = ` -resource "auth0_client" "my_client" { - name = "Acceptance Test - Rotate Secret - {{.testName}}" -} -` - -const testAccClientConfigRotateSecretUpdate = ` -resource "auth0_client" "my_client" { - name = "Acceptance Test - Rotate Secret - {{.testName}}" - - client_secret_rotation_trigger = { - triggered_at = "2021-10-01T23:12:01Z" - triggered_by = "dx-cdt" - } -} -` - -func TestAccClientRotateSecret(t *testing.T) { - acctest.Test(t, resource.TestCase{ - Steps: []resource.TestStep{ - { - Config: acctest.ParseTestName(testAccClientConfigRotateSecret, t.Name()), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - Rotate Secret - %s", t.Name())), - resource.TestCheckNoResourceAttr("auth0_client.my_client", "client_secret_rotation_trigger"), - ), - }, - { - Config: acctest.ParseTestName(testAccClientConfigRotateSecretUpdate, t.Name()), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - Rotate Secret - %s", t.Name())), - resource.TestCheckResourceAttr("auth0_client.my_client", "client_secret_rotation_trigger.triggered_at", "2021-10-01T23:12:01Z"), - resource.TestCheckResourceAttr("auth0_client.my_client", "client_secret_rotation_trigger.triggered_by", "dx-cdt"), - ), - }, - }, - }) -} - const testAccClientValidationOnMobile = ` resource "auth0_client" "my_client" { name = "Acceptance Test - Mobile - {{.testName}}" @@ -495,7 +456,6 @@ resource "auth0_client" "my_client" { cross_origin_loc = "https://example.com/cross-origin-loc" custom_login_page = "test" form_template = "test" - token_endpoint_auth_method = "client_secret_post" initiate_login_uri = "https://example.com/login" logo_uri = "https://example.com/logoUri" organization_require_behavior = "no_prompt" @@ -528,7 +488,6 @@ resource "auth0_client" "my_client" { cross_origin_loc = "https://example.com/cross-origin-loc" custom_login_page = "" form_template = "" - token_endpoint_auth_method = "client_secret_post" initiate_login_uri = "" logo_uri = "https://another-example.com/logoUri" organization_require_behavior = "no_prompt" @@ -559,13 +518,11 @@ func TestAccClient(t *testing.T) { Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - %s", t.Name())), resource.TestCheckResourceAttrSet("auth0_client.my_client", "client_id"), - resource.TestCheckResourceAttrSet("auth0_client.my_client", "client_secret"), resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", ""), resource.TestCheckResourceAttr("auth0_client.my_client", "description", ""), resource.TestCheckResourceAttr("auth0_client.my_client", "cross_origin_loc", ""), resource.TestCheckResourceAttr("auth0_client.my_client", "custom_login_page", ""), resource.TestCheckResourceAttr("auth0_client.my_client", "form_template", ""), - resource.TestCheckResourceAttr("auth0_client.my_client", "token_endpoint_auth_method", ""), resource.TestCheckResourceAttr("auth0_client.my_client", "initiate_login_uri", ""), resource.TestCheckResourceAttr("auth0_client.my_client", "logo_uri", ""), resource.TestCheckResourceAttr("auth0_client.my_client", "organization_require_behavior", ""), @@ -578,7 +535,6 @@ func TestAccClient(t *testing.T) { resource.TestCheckResourceAttr("auth0_client.my_client", "oidc_conformant", "false"), resource.TestCheckResourceAttr("auth0_client.my_client", "cross_origin_auth", "false"), resource.TestCheckResourceAttr("auth0_client.my_client", "mobile.#", "0"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "0"), resource.TestCheckResourceAttr("auth0_client.my_client", "native_social_login.#", "0"), resource.TestCheckResourceAttr("auth0_client.my_client", "signing_keys.#", "1"), resource.TestCheckResourceAttr("auth0_client.my_client", "grant_types.#", "4"), @@ -601,7 +557,6 @@ func TestAccClient(t *testing.T) { resource.TestCheckResourceAttr("auth0_client.my_client", "refresh_token.0.leeway", "0"), resource.TestCheckResourceAttr("auth0_client.my_client", "refresh_token.0.rotation_type", "non-rotating"), resource.TestCheckResourceAttr("auth0_client.my_client", "refresh_token.0.token_lifetime", "2592000"), - resource.TestCheckNoResourceAttr("auth0_client.my_client", "client_secret_rotation_trigger"), resource.TestCheckResourceAttr("auth0_client.my_client", "client_aliases.#", "0"), resource.TestCheckResourceAttr("auth0_client.my_client", "callbacks.#", "0"), resource.TestCheckResourceAttr("auth0_client.my_client", "allowed_logout_urls.#", "0"), @@ -618,13 +573,11 @@ func TestAccClient(t *testing.T) { Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - %s", t.Name())), resource.TestCheckResourceAttrSet("auth0_client.my_client", "client_id"), - resource.TestCheckResourceAttrSet("auth0_client.my_client", "client_secret"), resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "non_interactive"), resource.TestCheckResourceAttr("auth0_client.my_client", "description", "Test Application Long Description"), resource.TestCheckResourceAttr("auth0_client.my_client", "cross_origin_loc", "https://example.com/cross-origin-loc"), resource.TestCheckResourceAttr("auth0_client.my_client", "custom_login_page", "test"), resource.TestCheckResourceAttr("auth0_client.my_client", "form_template", "test"), - resource.TestCheckResourceAttr("auth0_client.my_client", "token_endpoint_auth_method", "client_secret_post"), resource.TestCheckResourceAttr("auth0_client.my_client", "initiate_login_uri", "https://example.com/login"), resource.TestCheckResourceAttr("auth0_client.my_client", "logo_uri", "https://example.com/logoUri"), resource.TestCheckResourceAttr("auth0_client.my_client", "organization_require_behavior", "no_prompt"), @@ -637,7 +590,7 @@ func TestAccClient(t *testing.T) { resource.TestCheckResourceAttr("auth0_client.my_client", "oidc_conformant", "true"), resource.TestCheckResourceAttr("auth0_client.my_client", "cross_origin_auth", "false"), resource.TestCheckResourceAttr("auth0_client.my_client", "mobile.#", "0"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "0"), + resource.TestCheckResourceAttr("auth0_client.my_client", "native_social_login.#", "0"), resource.TestCheckResourceAttr("auth0_client.my_client", "signing_keys.#", "1"), resource.TestCheckResourceAttr("auth0_client.my_client", "grant_types.#", "5"), @@ -661,7 +614,6 @@ func TestAccClient(t *testing.T) { resource.TestCheckResourceAttr("auth0_client.my_client", "refresh_token.0.leeway", "0"), resource.TestCheckResourceAttr("auth0_client.my_client", "refresh_token.0.rotation_type", "non-rotating"), resource.TestCheckResourceAttr("auth0_client.my_client", "refresh_token.0.token_lifetime", "2592000"), - resource.TestCheckNoResourceAttr("auth0_client.my_client", "client_secret_rotation_trigger"), resource.TestCheckResourceAttr("auth0_client.my_client", "client_aliases.#", "1"), resource.TestCheckResourceAttr("auth0_client.my_client", "client_aliases.0", "https://example.com/audience"), resource.TestCheckResourceAttr("auth0_client.my_client", "callbacks.#", "1"), @@ -685,13 +637,11 @@ func TestAccClient(t *testing.T) { Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - %s", t.Name())), resource.TestCheckResourceAttrSet("auth0_client.my_client", "client_id"), - resource.TestCheckResourceAttrSet("auth0_client.my_client", "client_secret"), resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "non_interactive"), resource.TestCheckResourceAttr("auth0_client.my_client", "description", ""), resource.TestCheckResourceAttr("auth0_client.my_client", "cross_origin_loc", "https://example.com/cross-origin-loc"), resource.TestCheckResourceAttr("auth0_client.my_client", "custom_login_page", ""), resource.TestCheckResourceAttr("auth0_client.my_client", "form_template", ""), - resource.TestCheckResourceAttr("auth0_client.my_client", "token_endpoint_auth_method", "client_secret_post"), resource.TestCheckResourceAttr("auth0_client.my_client", "initiate_login_uri", ""), resource.TestCheckResourceAttr("auth0_client.my_client", "logo_uri", "https://another-example.com/logoUri"), resource.TestCheckResourceAttr("auth0_client.my_client", "organization_require_behavior", "no_prompt"), @@ -704,7 +654,7 @@ func TestAccClient(t *testing.T) { resource.TestCheckResourceAttr("auth0_client.my_client", "oidc_conformant", "true"), resource.TestCheckResourceAttr("auth0_client.my_client", "cross_origin_auth", "false"), resource.TestCheckResourceAttr("auth0_client.my_client", "mobile.#", "0"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "0"), + resource.TestCheckResourceAttr("auth0_client.my_client", "native_social_login.#", "0"), resource.TestCheckResourceAttr("auth0_client.my_client", "signing_keys.#", "1"), resource.TestCheckResourceAttr("auth0_client.my_client", "grant_types.#", "0"), @@ -723,7 +673,6 @@ func TestAccClient(t *testing.T) { resource.TestCheckResourceAttr("auth0_client.my_client", "refresh_token.0.leeway", "0"), resource.TestCheckResourceAttr("auth0_client.my_client", "refresh_token.0.rotation_type", "non-rotating"), resource.TestCheckResourceAttr("auth0_client.my_client", "refresh_token.0.token_lifetime", "2592000"), - resource.TestCheckNoResourceAttr("auth0_client.my_client", "client_secret_rotation_trigger"), resource.TestCheckResourceAttr("auth0_client.my_client", "client_aliases.#", "0"), resource.TestCheckResourceAttr("auth0_client.my_client", "callbacks.#", "0"), resource.TestCheckResourceAttr("auth0_client.my_client", "allowed_logout_urls.#", "0"), @@ -739,41 +688,362 @@ func TestAccClient(t *testing.T) { }) } -const testAccCreateClientWithAddons = ` +const testAccCreateClientWithAddonsAWS = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + aws { + principal = "arn:aws:iam::010616021751:saml-provider/idpname" + role = "arn:aws:iam::010616021751:role/foo" + lifetime_in_seconds = 32000 + } + } +} +` + +const testAccUpdateClientWithAddonsAzureBlob = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + azure_blob { + account_name = "acmeorg" + storage_access_key = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa==" + container_name = "my-container" + blob_name = "my-blob" + expiration = 10 + signed_identifier = "id123" + blob_read = true + blob_write = true + blob_delete = true + container_read = true + container_write = true + container_delete = true + container_list = true + } + } +} +` + +const testAccUpdateClientWithAddonsAzureSB = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + azure_sb { + namespace = "acmeorg" + sas_key_name = "my-policy" + sas_key = "my-key" + entity_path = "my-queue" + expiration = 10 + } + } +} +` + +const testAccUpdateClientWithAddonsRMS = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + rms { + url = "https://example.com" + } + } +} +` + +const testAccUpdateClientWithAddonsMSCRM = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + mscrm { + url = "https://example.com" + } + } +} +` + +const testAccUpdateClientWithAddonsSlack = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + slack { + team = "acmeorg" + } + } +} +` + +const testAccUpdateClientWithAddonsSentry = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + sentry { + org_slug = "acmeorg" + base_url = "" + } + } +} +` + +const testAccUpdateClientWithAddonsEchoSign = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + echosign { + domain = "acmeorg" + } + } +} +` + +const testAccUpdateClientWithAddonsEgnyte = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + egnyte { + domain = "acmeorg" + } + } +} +` + +const testAccUpdateClientWithAddonsFirebase = ` resource "auth0_client" "my_client" { name = "Acceptance Test - SSO Integration - {{.testName}}" app_type = "sso_integration" addons { - firebase = { - client_email = "john.doe@example.com" - lifetime_in_seconds = 1 - private_key = "wer" - private_key_id = "qwreerwerwe" + firebase { + secret = "secret" + private_key_id = "private-key-id" + private_key = "private-key" + client_email = "service-account" + lifetime_in_seconds = 7200 } + } +} +` +const testAccUpdateClientWithAddonsNewRelic = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + newrelic { + account = "123456" + } + } +} +` + +const testAccUpdateClientWithAddonsOffice365 = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + office365 { + domain = "acmeorg" + connection = "Username-Password-Authentication" + } + } +} +` + +const testAccUpdateClientWithAddonsSalesforce = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + salesforce { + entity_id = "https://acme-org.com" + } + + salesforce_api { + client_id = "client-id" + principal = "principal" + community_name = "community-name" + community_url_section = "community-url-section" + } + + salesforce_sandbox_api { + client_id = "client-id" + principal = "principal" + community_name = "community-name" + community_url_section = "community-url-section" + } + } +} +` + +const testAccUpdateClientWithAddonsLayer = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + layer { + provider_id = "provider-id" + key_id = "key-id" + private_key = "private-key" + principal = "principal" + expiration = 10 + } + } +} +` + +const testAccUpdateClientWithAddonsSAPAPI = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + sap_api { + client_id = "client-id" + username_attribute = "email" + token_endpoint_url = "https://example.com" + scope = "use:api" + service_password = "123456" + name_identifier_format = "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified" + } + } +} +` + +const testAccUpdateClientWithAddonsSharepoint = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + sharepoint { + url = "https://example.com:123" + external_url = [ "https://example.com/v2" ] + } + } +} +` + +const testAccUpdateClientWithAddonsSpringCM = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + springcm { + acs_url = "https://example.com" + } + } +} +` + +const testAccUpdateClientWithAddonsWAMS = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + wams { + master_key = "master-key" + } + } +} +` + +const testAccUpdateClientWithAddonsZendesk = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + zendesk { + account_name = "acmeorg" + } + } +} +` + +const testAccUpdateClientWithAddonsZoom = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + zoom { + account = "acmeorg" + } + } +} +` + +const testAccUpdateClientWithAddonsSSOIntegration = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { + sso_integration { + name = "my-sso" + version = "0.1.0" + } + } +} +` + +const testAccUpdateClientWithSAMLP = ` +resource "auth0_client" "my_client" { + name = "Acceptance Test - SSO Integration - {{.testName}}" + app_type = "sso_integration" + + addons { samlp { - issuer = "https://tableau-server-test.domain.eu.com/api/v1" - audience = "https://tableau-server-test.domain.eu.com/audience-different" - destination = "https://tableau-server-test.domain.eu.com/destination" - digest_algorithm = "sha256" - lifetime_in_seconds = 3600 - name_identifier_format = "urn:oasis:names:tc:SAML:2.0:attrname-format:basic" - name_identifier_probes = [ - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" - ] - create_upn_claim = false + issuer = "https://tableau-server-test.domain.eu.com/api/v1" + audience = "https://tableau-server-test.domain.eu.com/audience-different" + destination = "https://tableau-server-test.domain.eu.com/destination" + digest_algorithm = "sha256" + lifetime_in_seconds = 3600 + name_identifier_format = "urn:oasis:names:tc:SAML:2.0:attrname-format:basic" + name_identifier_probes = [ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" ] + create_upn_claim = false passthrough_claims_with_no_mapping = false - map_unknown_claims_as_is = false - map_identities = false - recipient = "https://tableau-server-test.domain.eu.com/recipient-different" - signing_cert = "-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n" + map_unknown_claims_as_is = false + map_identities = false + typed_attributes = false + sign_response = false + include_attribute_name_format = false + recipient = "https://tableau-server-test.domain.eu.com/recipient-different" + signing_cert = "-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n" + signature_algorithm = "rsa-sha256" + authn_context_class_ref = "context" + binding = "binding" + mappings = { email = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" - name = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" + name = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" } - logout = { - callback = "https://example.com/callback" + + logout { + callback = "https://example.com/callback" slo_enabled = true } } @@ -781,68 +1051,272 @@ resource "auth0_client" "my_client" { } ` -const testAccCreateClientWithAddonsAndEmptyFields = ` +const testAccUpdateClientWithAddonsThatRequireNoConfig = ` resource "auth0_client" "my_client" { name = "Acceptance Test - SSO Integration - {{.testName}}" app_type = "sso_integration" addons { - firebase = { - client_email = "john.doe@example.com" - lifetime_in_seconds = 1 - private_key = "wer" - private_key_id = "qwreerwerwe" - } - - samlp { - issuer = "https://tableau-server-test.domain.eu.com/api/v3" - audience = "https://tableau-server-test.domain.eu.com/audience-different" - destination = "https://tableau-server-test.domain.eu.com/destination" - digest_algorithm = "sha256" - lifetime_in_seconds = 3600 - name_identifier_format = "urn:oasis:names:tc:SAML:2.0:attrname-format:basic" - name_identifier_probes = [] - create_upn_claim = false - passthrough_claims_with_no_mapping = false - map_unknown_claims_as_is = false - map_identities = false - recipient = "https://tableau-server-test.domain.eu.com/recipient-different" - signing_cert = "-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n" - mappings = {} - logout = {} - } + box {} + cloudbees {} + concur {} + dropbox {} + wsfed {} } } ` -const testAccCreateClientWithAddonsRemovedFromConfig = ` +const testAccUpdateClientWithAddonsRemoved = ` resource "auth0_client" "my_client" { name = "Acceptance Test - SSO Integration - {{.testName}}" app_type = "sso_integration" - # Unfortunately we can't set firebase and - # samlp addons set above, to empty. - # This is because we don't have properly - # defined structs for them in the Go SDK - # and neither here in the terraform provider. + addons {} } ` -func TestAccClientSSOIntegrationWithSAML(t *testing.T) { +func TestAccClientAddons(t *testing.T) { acctest.Test(t, resource.TestCase{ Steps: []resource.TestStep{ { - Config: acctest.ParseTestName(testAccCreateClientWithAddons, t.Name()), + Config: acctest.ParseTestName(testAccCreateClientWithAddonsAWS, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.aws.0.principal", "arn:aws:iam::010616021751:saml-provider/idpname"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.aws.0.role", "arn:aws:iam::010616021751:role/foo"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.aws.0.lifetime_in_seconds", "32000"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsAzureBlob, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_blob.0.account_name", "acmeorg"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_blob.0.storage_access_key", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa=="), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_blob.0.container_name", "my-container"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_blob.0.blob_name", "my-blob"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_blob.0.expiration", "10"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_blob.0.signed_identifier", "id123"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_blob.0.blob_read", "true"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_blob.0.blob_write", "true"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_blob.0.blob_delete", "true"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_blob.0.container_read", "true"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_blob.0.container_write", "true"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_blob.0.container_delete", "true"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_blob.0.container_list", "true"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsAzureSB, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_sb.0.namespace", "acmeorg"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_sb.0.sas_key_name", "my-policy"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_sb.0.sas_key", "my-key"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_sb.0.entity_path", "my-queue"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.azure_sb.0.expiration", "10"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsRMS, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.rms.0.url", "https://example.com"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsMSCRM, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.mscrm.0.url", "https://example.com"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsSlack, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.slack.0.team", "acmeorg"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsSentry, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.sentry.0.org_slug", "acmeorg"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.sentry.0.base_url", ""), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsEchoSign, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.echosign.0.domain", "acmeorg"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsEgnyte, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.egnyte.0.domain", "acmeorg"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsFirebase, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.0.secret", "secret"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.0.private_key_id", "private-key-id"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.0.private_key", "private-key"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.0.client_email", "service-account"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.0.lifetime_in_seconds", "7200"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsNewRelic, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.newrelic.0.account", "123456"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsOffice365, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.office365.0.domain", "acmeorg"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.office365.0.connection", "Username-Password-Authentication"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsSalesforce, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.salesforce.0.entity_id", "https://acme-org.com"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.salesforce_api.0.client_id", "client-id"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.salesforce_api.0.principal", "principal"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.salesforce_api.0.community_name", "community-name"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.salesforce_api.0.community_url_section", "community-url-section"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.salesforce.0.entity_id", "https://acme-org.com"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.salesforce_sandbox_api.0.client_id", "client-id"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.salesforce_sandbox_api.0.principal", "principal"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.salesforce_sandbox_api.0.community_name", "community-name"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.salesforce_sandbox_api.0.community_url_section", "community-url-section"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsLayer, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.layer.0.provider_id", "provider-id"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.layer.0.key_id", "key-id"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.layer.0.private_key", "private-key"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.layer.0.principal", "principal"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.layer.0.expiration", "10"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsSAPAPI, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.sap_api.0.client_id", "client-id"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.sap_api.0.username_attribute", "email"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.sap_api.0.token_endpoint_url", "https://example.com"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.sap_api.0.scope", "use:api"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.sap_api.0.service_password", "123456"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.sap_api.0.name_identifier_format", "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsSharepoint, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.sharepoint.0.url", "https://example.com:123"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.sharepoint.0.external_url.0", "https://example.com/v2"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsSpringCM, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.springcm.0.acs_url", "https://example.com"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsWAMS, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.wams.0.master_key", "master-key"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsZendesk, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.zendesk.0.account_name", "acmeorg"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsZoom, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.zoom.0.account", "acmeorg"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsSSOIntegration, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), + resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.sso_integration.0.name", "my-sso"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.sso_integration.0.version", "0.1.0"), + ), + }, + { + Config: acctest.ParseTestName(testAccUpdateClientWithSAMLP, t.Name()), Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.%", "4"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.client_email", "john.doe@example.com"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.lifetime_in_seconds", "1"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.private_key", "wer"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.private_key_id", "qwreerwerwe"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.#", "1"), resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.issuer", "https://tableau-server-test.domain.eu.com/api/v1"), resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.audience", "https://tableau-server-test.domain.eu.com/audience-different"), resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.destination", "https://tableau-server-test.domain.eu.com/destination"), @@ -855,53 +1329,41 @@ func TestAccClientSSOIntegrationWithSAML(t *testing.T) { resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.passthrough_claims_with_no_mapping", "false"), resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.map_unknown_claims_as_is", "false"), resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.map_identities", "false"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.typed_attributes", "false"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.sign_response", "false"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.include_attribute_name_format", "false"), resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.recipient", "https://tableau-server-test.domain.eu.com/recipient-different"), resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.signing_cert", "-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.signature_algorithm", "rsa-sha256"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.authn_context_class_ref", "context"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.binding", "binding"), resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.mappings.%", "2"), resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.mappings.email", "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"), resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.mappings.name", "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.logout.%", "2"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.logout.callback", "https://example.com/callback"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.logout.slo_enabled", "true"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.logout.0.callback", "https://example.com/callback"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.logout.0.slo_enabled", "true"), ), }, { - Config: acctest.ParseTestName(testAccCreateClientWithAddonsAndEmptyFields, t.Name()), + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsRemoved, t.Name()), Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.%", "4"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.client_email", "john.doe@example.com"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.lifetime_in_seconds", "1"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.private_key", "wer"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.private_key_id", "qwreerwerwe"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.#", "1"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.issuer", "https://tableau-server-test.domain.eu.com/api/v3"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.audience", "https://tableau-server-test.domain.eu.com/audience-different"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.destination", "https://tableau-server-test.domain.eu.com/destination"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.digest_algorithm", "sha256"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.lifetime_in_seconds", "3600"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.name_identifier_format", "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.name_identifier_probes.#", "0"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.create_upn_claim", "false"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.passthrough_claims_with_no_mapping", "false"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.map_unknown_claims_as_is", "false"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.map_identities", "false"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.recipient", "https://tableau-server-test.domain.eu.com/recipient-different"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.signing_cert", "-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.mappings.%", "0"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.0.logout.%", "0"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.#", "0"), ), }, { - Config: acctest.ParseTestName(testAccCreateClientWithAddonsRemovedFromConfig, t.Name()), + Config: acctest.ParseTestName(testAccUpdateClientWithAddonsThatRequireNoConfig, t.Name()), Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_client.my_client", "name", fmt.Sprintf("Acceptance Test - SSO Integration - %s", t.Name())), resource.TestCheckResourceAttr("auth0_client.my_client", "app_type", "sso_integration"), resource.TestCheckResourceAttr("auth0_client.my_client", "addons.#", "1"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.firebase.%", "4"), - resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.samlp.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.box.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.cloudbees.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.concur.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.dropbox.#", "1"), + resource.TestCheckResourceAttr("auth0_client.my_client", "addons.0.wsfed.#", "1"), ), }, }, diff --git a/internal/auth0/connection/data_source.go b/internal/auth0/connection/data_source.go index 3e67be337..0a91491f6 100644 --- a/internal/auth0/connection/data_source.go +++ b/internal/auth0/connection/data_source.go @@ -7,6 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/auth0/terraform-provider-auth0/internal/auth0" "github.com/auth0/terraform-provider-auth0/internal/config" internalSchema "github.com/auth0/terraform-provider-auth0/internal/schema" ) @@ -43,7 +44,7 @@ func readConnectionForDataSource(ctx context.Context, data *schema.ResourceData, connectionID := data.Get("connection_id").(string) if connectionID != "" { data.SetId(connectionID) - return readConnection(ctx, data, meta) + return auth0.CheckFor404Error(ctx, readConnection, data, meta) } api := meta.(*config.Config).GetAPI() @@ -51,6 +52,7 @@ func readConnectionForDataSource(ctx context.Context, data *schema.ResourceData, page := 0 for { connections, err := api.Connection.List( + ctx, management.IncludeFields("id", "name"), management.Page(page), ) @@ -61,7 +63,7 @@ func readConnectionForDataSource(ctx context.Context, data *schema.ResourceData, for _, connection := range connections.Connections { if connection.GetName() == name { data.SetId(connection.GetID()) - return readConnection(ctx, data, meta) + return auth0.CheckFor404Error(ctx, readConnection, data, meta) } } diff --git a/internal/auth0/connection/data_source_test.go b/internal/auth0/connection/data_source_test.go index 27ef8a232..129e53157 100644 --- a/internal/auth0/connection/data_source_test.go +++ b/internal/auth0/connection/data_source_test.go @@ -102,3 +102,22 @@ func TestAccDataSourceConnectionByID(t *testing.T) { }, }) } + +const testAccDataConnectionNonexistentID = ` +data "auth0_connection" "test" { + connection_id = "con_xxxxxxxxxxxxxxxx" +} +` + +func TestAccDataSourceConnectionNonexistentID(t *testing.T) { + acctest.Test(t, resource.TestCase{ + Steps: []resource.TestStep{ + { + Config: acctest.ParseTestName(testAccDataConnectionNonexistentID, t.Name()), + ExpectError: regexp.MustCompile( + `no resource found with that identifier \((404\))`, + ), + }, + }, + }) +} diff --git a/internal/auth0/connection/expand.go b/internal/auth0/connection/expand.go index c7da09143..e0d405f86 100644 --- a/internal/auth0/connection/expand.go +++ b/internal/auth0/connection/expand.go @@ -1,6 +1,7 @@ package connection import ( + "context" "fmt" "github.com/auth0/go-auth0/management" @@ -11,7 +12,7 @@ import ( "github.com/auth0/terraform-provider-auth0/internal/value" ) -func expandConnection(d *schema.ResourceData, api *management.Management) (*management.Connection, diag.Diagnostics) { +func expandConnection(ctx context.Context, d *schema.ResourceData, api *management.Management) (*management.Connection, diag.Diagnostics) { config := d.GetRawConfig() connection := &management.Connection{ @@ -40,7 +41,7 @@ func expandConnection(d *schema.ResourceData, api *management.Management) (*mana config.GetAttr("options").ForEachElement(func(_ cty.Value, options cty.Value) (stop bool) { switch strategy { case management.ConnectionStrategyAuth0: - connection.Options, diagnostics = expandConnectionOptionsAuth0(d, options, api) + connection.Options, diagnostics = expandConnectionOptionsAuth0(ctx, d, options, api) case management.ConnectionStrategyGoogleOAuth2: connection.Options, diagnostics = expandConnectionOptionsGoogleOAuth2(d, options) case management.ConnectionStrategyGoogleApps: @@ -136,6 +137,7 @@ func expandConnectionOptionsGitHub( } func expandConnectionOptionsAuth0( + ctx context.Context, d *schema.ResourceData, config cty.Value, api *management.Management, @@ -275,7 +277,7 @@ func expandConnectionOptionsAuth0( } if !d.IsNewResource() { - apiConn, err := api.Connection.Read(d.Id()) + apiConn, err := api.Connection.Read(ctx, d.Id()) if err != nil { return nil, diag.FromErr(err) } diff --git a/internal/auth0/connection/resource.go b/internal/auth0/connection/resource.go index bd64a5961..1aa599f9d 100644 --- a/internal/auth0/connection/resource.go +++ b/internal/auth0/connection/resource.go @@ -27,31 +27,19 @@ func NewResource() *schema.Resource { "passwordless authentication methods. This resource allows you to configure " + "and manage connections to be used with your clients and users.", Schema: resourceSchema, - SchemaVersion: 2, - StateUpgraders: []schema.StateUpgrader{ - { - Type: connectionSchemaV0().CoreConfigSchema().ImpliedType(), - Upgrade: connectionSchemaUpgradeV0, - Version: 0, - }, - { - Type: connectionSchemaV1().CoreConfigSchema().ImpliedType(), - Upgrade: connectionSchemaUpgradeV1, - Version: 1, - }, - }, + SchemaVersion: 0, } } func createConnection(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - connection, diagnostics := expandConnection(d, api) + connection, diagnostics := expandConnection(ctx, d, api) if diagnostics.HasError() { return diagnostics } - if err := api.Connection.Create(connection); err != nil { + if err := api.Connection.Create(ctx, connection); err != nil { diagnostics = append(diagnostics, diag.FromErr(err)...) return diagnostics } @@ -62,10 +50,10 @@ func createConnection(ctx context.Context, d *schema.ResourceData, m interface{} return diagnostics } -func readConnection(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readConnection(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - connection, err := api.Connection.Read(d.Id()) + connection, err := api.Connection.Read(ctx, d.Id()) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") @@ -107,12 +95,12 @@ func readConnection(_ context.Context, d *schema.ResourceData, m interface{}) di func updateConnection(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - connection, diagnostics := expandConnection(d, api) + connection, diagnostics := expandConnection(ctx, d, api) if diagnostics.HasError() { return diagnostics } - if err := api.Connection.Update(d.Id(), connection); err != nil { + if err := api.Connection.Update(ctx, d.Id(), connection); err != nil { diagnostics = append(diagnostics, diag.FromErr(err)...) return diagnostics } @@ -121,10 +109,10 @@ func updateConnection(ctx context.Context, d *schema.ResourceData, m interface{} return diagnostics } -func deleteConnection(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteConnection(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - if err := api.Connection.Delete(d.Id()); err != nil { + if err := api.Connection.Delete(ctx, d.Id()); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") return nil diff --git a/internal/auth0/connection/resource_client.go b/internal/auth0/connection/resource_client.go index 84229dd89..bd94c7009 100644 --- a/internal/auth0/connection/resource_client.go +++ b/internal/auth0/connection/resource_client.go @@ -44,7 +44,7 @@ func NewClientResource() *schema.Resource { ReadContext: readConnectionClient, DeleteContext: deleteConnectionClient, Importer: &schema.ResourceImporter{ - StateContext: internalSchema.ImportResourceGroupID(internalSchema.SeparatorColon, "connection_id", "client_id"), + StateContext: internalSchema.ImportResourceGroupID("connection_id", "client_id"), }, Description: "With this resource, you can enable a single client on a connection.", } @@ -59,7 +59,7 @@ func createConnectionClient(ctx context.Context, data *schema.ResourceData, meta mutex.Lock(connectionID) // Prevents colliding API requests between other `auth0_connection_client` resource. defer mutex.Unlock(connectionID) - connection, err := api.Connection.Read(connectionID) + connection, err := api.Connection.Read(ctx, connectionID) if err != nil { return diag.FromErr(err) } @@ -68,24 +68,25 @@ func createConnectionClient(ctx context.Context, data *schema.ResourceData, meta enabledClients := append(connection.GetEnabledClients(), clientID) if err := api.Connection.Update( + ctx, connectionID, &management.Connection{EnabledClients: &enabledClients}, ); err != nil { return diag.FromErr(err) } - data.SetId(connectionID + ":" + clientID) + internalSchema.SetResourceGroupID(data, connectionID, clientID) return readConnectionClient(ctx, data, meta) } -func readConnectionClient(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readConnectionClient(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() connectionID := data.Get("connection_id").(string) clientID := data.Get("client_id").(string) - connection, err := api.Connection.Read(connectionID) + connection, err := api.Connection.Read(ctx, connectionID) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -113,7 +114,7 @@ func readConnectionClient(_ context.Context, data *schema.ResourceData, meta int return diag.FromErr(result.ErrorOrNil()) } -func deleteConnectionClient(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteConnectionClient(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() connectionID := data.Get("connection_id").(string) @@ -122,7 +123,7 @@ func deleteConnectionClient(_ context.Context, data *schema.ResourceData, meta i mutex.Lock(connectionID) // Prevents colliding API requests between other `auth0_connection_client` resource. defer mutex.Unlock(connectionID) - connection, err := api.Connection.Read(connectionID) + connection, err := api.Connection.Read(ctx, connectionID) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -141,6 +142,7 @@ func deleteConnectionClient(_ context.Context, data *schema.ResourceData, meta i } if err := api.Connection.Update( + ctx, connectionID, &management.Connection{EnabledClients: &enabledClients}, ); err != nil { diff --git a/internal/auth0/connection/resource_clients.go b/internal/auth0/connection/resource_clients.go index a2967f25b..55af7ea34 100644 --- a/internal/auth0/connection/resource_clients.go +++ b/internal/auth0/connection/resource_clients.go @@ -59,6 +59,7 @@ func createConnectionClients(ctx context.Context, data *schema.ResourceData, met connectionID := data.Get("connection_id").(string) connection, err := api.Connection.Read( + ctx, connectionID, management.IncludeFields("enabled_clients", "strategy", "name"), ) @@ -86,6 +87,7 @@ func createConnectionClients(ctx context.Context, data *schema.ResourceData, met data.SetId(connection.GetID()) if err := api.Connection.Update( + ctx, connectionID, &management.Connection{EnabledClients: enabledClients}, ); err != nil { @@ -95,10 +97,11 @@ func createConnectionClients(ctx context.Context, data *schema.ResourceData, met return readConnectionClients(ctx, data, meta) } -func readConnectionClients(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readConnectionClients(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() connection, err := api.Connection.Read( + ctx, data.Id(), management.IncludeFields("enabled_clients", "strategy", "name"), ) @@ -125,6 +128,7 @@ func updateConnectionClients(ctx context.Context, data *schema.ResourceData, met api := meta.(*config.Config).GetAPI() if err := api.Connection.Update( + ctx, data.Id(), &management.Connection{EnabledClients: value.Strings(data.GetRawConfig().GetAttr("enabled_clients"))}, ); err != nil { @@ -139,12 +143,13 @@ func updateConnectionClients(ctx context.Context, data *schema.ResourceData, met return readConnectionClients(ctx, data, meta) } -func deleteConnectionClients(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteConnectionClients(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() enabledClients := make([]string, 0) if err := api.Connection.Update( + ctx, data.Id(), &management.Connection{EnabledClients: &enabledClients}, ); err != nil { diff --git a/internal/auth0/connection/schema.go b/internal/auth0/connection/schema.go index 2b4e4fe49..d1607edfc 100644 --- a/internal/auth0/connection/schema.go +++ b/internal/auth0/connection/schema.go @@ -1,14 +1,8 @@ package connection import ( - "context" - "log" - "strconv" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - - internalSchema "github.com/auth0/terraform-provider-auth0/internal/schema" ) var resourceSchema = map[string]*schema.Schema{ @@ -784,95 +778,3 @@ var resourceSchema = map[string]*schema.Schema{ "Reading the enabled clients through this attribute is deprecated and it will be removed in a future major version. Use the `auth0_connection` data source instead.", }, } - -func connectionSchemaV0() *schema.Resource { - s := internalSchema.Clone(resourceSchema) - s["strategy_version"] = &schema.Schema{ - Type: schema.TypeString, - Optional: true, - Computed: true, - } - return &schema.Resource{Schema: s} -} - -func connectionSchemaV1() *schema.Resource { - s := internalSchema.Clone(resourceSchema) - s["validation"] = &schema.Schema{ - Type: schema.TypeMap, - Elem: &schema.Schema{Type: schema.TypeString}, - Optional: true, - } - return &schema.Resource{Schema: s} -} - -func connectionSchemaUpgradeV0( - _ context.Context, - state map[string]interface{}, - _ interface{}, -) (map[string]interface{}, error) { - options, ok := state["options"] - if !ok { - return state, nil - } - - optionsList, ok := options.([]interface{}) - if ok && len(optionsList) > 0 { - m := optionsList[0].(map[string]interface{}) - - strategyVersion, ok := m["strategy_version"] - if !ok { - return state, nil - } - - strategyVersionString, ok := strategyVersion.(string) - if !ok { - return state, nil - } - - strategyVersionInt, err := strconv.Atoi(strategyVersionString) - if err == nil { - m["strategy_version"] = strategyVersionInt - } else { - m["strategy_version"] = 0 - } - - state["options"] = []interface{}{m} - - log.Printf("[DEBUG] Schema upgrade: options.strategy_version has been migrated to %d", strategyVersionInt) - } - - return state, nil -} - -func connectionSchemaUpgradeV1( - _ context.Context, - state map[string]interface{}, - _ interface{}, -) (map[string]interface{}, error) { - options, ok := state["options"] - if !ok { - return state, nil - } - - optionsList, ok := options.([]interface{}) - if ok && len(optionsList) > 0 { - m := optionsList[0].(map[string]interface{}) - - validationOption, ok := m["validation"] - if !ok { - return state, nil - } - - m["validation"] = []map[string][]interface{}{ - { - "username": []interface{}{validationOption}, - }, - } - - state["options"] = []interface{}{m} - - log.Print("[DEBUG] Schema upgrade: options.validation has been migrated to options.validation.user") - } - - return state, nil -} diff --git a/internal/auth0/connection/schema_test.go b/internal/auth0/connection/schema_test.go deleted file mode 100644 index 307f428f6..000000000 --- a/internal/auth0/connection/schema_test.go +++ /dev/null @@ -1,123 +0,0 @@ -package connection - -import ( - "context" - "reflect" - "testing" -) - -func TestConnectionInstanceStateUpgradeV0(t *testing.T) { - for _, tt := range []struct { - name string - version interface{} - versionExpected int - }{ - { - name: "Empty", - version: "", - versionExpected: 0, - }, - { - name: "Zero", - version: "0", - versionExpected: 0, - }, - { - name: "NonZero", - version: "123", - versionExpected: 123, - }, - { - name: "Invalid", - version: "foo", - versionExpected: 0, - }, - } { - t.Run(tt.name, func(t *testing.T) { - state := map[string]interface{}{ - "options": []interface{}{ - map[string]interface{}{"strategy_version": tt.version}, - }, - } - - actual, err := connectionSchemaUpgradeV0(context.Background(), state, nil) - if err != nil { - t.Fatalf("error migrating state: %s", err) - } - - expected := map[string]interface{}{ - "options": []interface{}{ - map[string]interface{}{"strategy_version": tt.versionExpected}, - }, - } - - if !reflect.DeepEqual(expected, actual) { - t.Fatalf("\n\nexpected:\n\n%#v\n\ngot:\n\n%#v\n\n", expected, actual) - } - }) - } -} - -func TestConnectionInstanceStateUpgradeV1(t *testing.T) { - for _, tt := range []struct { - name string - validation map[string]string - validationExpected []map[string][]interface{} - }{ - { - name: "Only Min", - validation: map[string]string{ - "min": "5", - }, - validationExpected: []map[string][]interface{}{ - { - "username": []interface{}{ - map[string]string{ - "min": "5", - }, - }, - }, - }, - }, - { - name: "Min and Max", - validation: map[string]string{ - "min": "5", - "max": "10", - }, - validationExpected: []map[string][]interface{}{ - { - "username": []interface{}{ - map[string]string{ - "min": "5", - "max": "10", - }, - }, - }, - }, - }, - } { - t.Run(tt.name, func(t *testing.T) { - state := map[string]interface{}{ - "options": []interface{}{ - map[string]interface{}{"validation": tt.validation}, - }, - } - - actual, err := connectionSchemaUpgradeV1(context.Background(), state, nil) - if err != nil { - t.Fatalf("error migrating state: %s", err) - } - - expected := map[string]interface{}{ - "options": []interface{}{ - map[string]interface{}{"validation": tt.validationExpected}, - }, - } - - if !reflect.DeepEqual(expected, actual) { - t.Fatalf("\n\nexpected:\n\n%#v\n\ngot:\n\n%#v\n\n", expected, actual) - } - }) - } -} diff --git a/internal/auth0/customdomain/data_source.go b/internal/auth0/customdomain/data_source.go index 884c6c001..294223104 100644 --- a/internal/auth0/customdomain/data_source.go +++ b/internal/auth0/customdomain/data_source.go @@ -24,10 +24,10 @@ func dataSourceSchema() map[string]*schema.Schema { return internalSchema.TransformResourceToDataSource(NewResource().Schema) } -func readCustomDomainForDataSource(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readCustomDomainForDataSource(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() - customDomains, err := api.CustomDomain.List() + customDomains, err := api.CustomDomain.List(ctx) if err != nil { return diag.FromErr(err) } diff --git a/internal/auth0/customdomain/resource.go b/internal/auth0/customdomain/resource.go index d74c47e18..5fdf17422 100644 --- a/internal/auth0/customdomain/resource.go +++ b/internal/auth0/customdomain/resource.go @@ -104,7 +104,7 @@ func createCustomDomain(ctx context.Context, d *schema.ResourceData, m interface api := m.(*config.Config).GetAPI() customDomain := expandCustomDomain(d) - if err := api.CustomDomain.Create(customDomain); err != nil { + if err := api.CustomDomain.Create(ctx, customDomain); err != nil { return diag.FromErr(err) } @@ -113,10 +113,10 @@ func createCustomDomain(ctx context.Context, d *schema.ResourceData, m interface return readCustomDomain(ctx, d, m) } -func readCustomDomain(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readCustomDomain(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - customDomain, err := api.CustomDomain.Read(d.Id()) + customDomain, err := api.CustomDomain.Read(ctx, d.Id()) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") @@ -148,7 +148,7 @@ func updateCustomDomain(ctx context.Context, d *schema.ResourceData, m interface api := m.(*config.Config).GetAPI() customDomain := expandCustomDomain(d) - if err := api.CustomDomain.Update(d.Id(), customDomain); err != nil { + if err := api.CustomDomain.Update(ctx, d.Id(), customDomain); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") return nil @@ -159,10 +159,10 @@ func updateCustomDomain(ctx context.Context, d *schema.ResourceData, m interface return readCustomDomain(ctx, d, m) } -func deleteCustomDomain(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteCustomDomain(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - if err := api.CustomDomain.Delete(d.Id()); err != nil { + if err := api.CustomDomain.Delete(ctx, d.Id()); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") return nil diff --git a/internal/auth0/customdomain/resource_verification.go b/internal/auth0/customdomain/resource_verification.go index ee595d654..0a316dac3 100644 --- a/internal/auth0/customdomain/resource_verification.go +++ b/internal/auth0/customdomain/resource_verification.go @@ -60,7 +60,7 @@ func createCustomDomainVerification(ctx context.Context, d *schema.ResourceData, api := m.(*config.Config).GetAPI() err := retry.RetryContext(ctx, d.Timeout(schema.TimeoutCreate), func() *retry.RetryError { - customDomainVerification, err := api.CustomDomain.Verify(d.Get("custom_domain_id").(string)) + customDomainVerification, err := api.CustomDomain.Verify(ctx, d.Get("custom_domain_id").(string)) if err != nil { return retry.NonRetryableError(err) } @@ -91,10 +91,10 @@ func createCustomDomainVerification(ctx context.Context, d *schema.ResourceData, return readCustomDomainVerification(ctx, d, m) } -func readCustomDomainVerification(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readCustomDomainVerification(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - customDomain, err := api.CustomDomain.Read(d.Id()) + customDomain, err := api.CustomDomain.Read(ctx, d.Id()) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") diff --git a/internal/auth0/email/expand.go b/internal/auth0/email/expand.go index bba655a41..869883db5 100644 --- a/internal/auth0/email/expand.go +++ b/internal/auth0/email/expand.go @@ -1,6 +1,7 @@ package email import ( + "context" "net/http" "github.com/auth0/go-auth0/management" @@ -149,8 +150,8 @@ func expandEmailTemplate(config cty.Value) *management.EmailTemplate { return emailTemplate } -func emailProviderIsConfigured(api *management.Management) bool { - _, err := api.EmailProvider.Read() +func emailProviderIsConfigured(ctx context.Context, api *management.Management) bool { + _, err := api.EmailProvider.Read(ctx) if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { return false } diff --git a/internal/auth0/email/expand_test.go b/internal/auth0/email/expand_test.go index 828d16fb9..cd0b992e9 100644 --- a/internal/auth0/email/expand_test.go +++ b/internal/auth0/email/expand_test.go @@ -1,6 +1,7 @@ package email import ( + "context" "net/http" "net/http/httptest" "testing" @@ -23,7 +24,7 @@ func TestEmailProviderIsConfigured(t *testing.T) { api, err := management.New(testServer.URL, management.WithInsecure()) assert.NoError(t, err) - actual := emailProviderIsConfigured(api) + actual := emailProviderIsConfigured(context.Background(), api) assert.True(t, actual) }) @@ -40,7 +41,7 @@ func TestEmailProviderIsConfigured(t *testing.T) { api, err := management.New(testServer.URL, management.WithInsecure()) assert.NoError(t, err) - actual := emailProviderIsConfigured(api) + actual := emailProviderIsConfigured(context.Background(), api) assert.False(t, actual) }) } diff --git a/internal/auth0/email/resource.go b/internal/auth0/email/resource.go index 27bd218c0..f63033fa2 100644 --- a/internal/auth0/email/resource.go +++ b/internal/auth0/email/resource.go @@ -190,22 +190,22 @@ func createEmail(ctx context.Context, d *schema.ResourceData, m interface{}) dia d.SetId(id.UniqueId()) api := m.(*config.Config).GetAPI() - if emailProviderIsConfigured(api) { + if emailProviderIsConfigured(ctx, api) { return updateEmail(ctx, d, m) } email := expandEmailProvider(d.GetRawConfig()) - if err := api.EmailProvider.Create(email); err != nil { + if err := api.EmailProvider.Create(ctx, email); err != nil { return diag.FromErr(err) } return readEmail(ctx, d, m) } -func readEmail(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readEmail(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - email, err := api.EmailProvider.Read() + email, err := api.EmailProvider.Read(ctx) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") @@ -230,17 +230,17 @@ func updateEmail(ctx context.Context, d *schema.ResourceData, m interface{}) dia api := m.(*config.Config).GetAPI() email := expandEmailProvider(d.GetRawConfig()) - if err := api.EmailProvider.Update(email); err != nil { + if err := api.EmailProvider.Update(ctx, email); err != nil { return diag.FromErr(err) } return readEmail(ctx, d, m) } -func deleteEmail(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteEmail(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - if err := api.EmailProvider.Delete(); err != nil { + if err := api.EmailProvider.Delete(ctx); err != nil { return diag.FromErr(err) } diff --git a/internal/auth0/email/resource_template.go b/internal/auth0/email/resource_template.go index 1758be4af..ec972fe1c 100644 --- a/internal/auth0/email/resource_template.go +++ b/internal/auth0/email/resource_template.go @@ -108,9 +108,9 @@ func createEmailTemplate(ctx context.Context, d *schema.ResourceData, m interfac // The email template resource doesn't allow deleting templates, so in order // to avoid conflicts, we first attempt to read the template. If it exists // we'll try to update it, if not we'll try to create it. - if _, err := api.EmailTemplate.Read(email.GetTemplate()); err == nil { + if _, err := api.EmailTemplate.Read(ctx, email.GetTemplate()); err == nil { // We succeeded in reading the template, this means it was created previously. - if err := api.EmailTemplate.Update(email.GetTemplate(), email); err != nil { + if err := api.EmailTemplate.Update(ctx, email.GetTemplate(), email); err != nil { return diag.FromErr(err) } @@ -121,7 +121,7 @@ func createEmailTemplate(ctx context.Context, d *schema.ResourceData, m interfac // If we reached this point the template doesn't exist. // Therefore, it is safe to create it. - if err := api.EmailTemplate.Create(email); err != nil { + if err := api.EmailTemplate.Create(ctx, email); err != nil { return diag.FromErr(err) } @@ -130,10 +130,10 @@ func createEmailTemplate(ctx context.Context, d *schema.ResourceData, m interfac return readEmailTemplate(ctx, d, m) } -func readEmailTemplate(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readEmailTemplate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - email, err := api.EmailTemplate.Read(d.Id()) + email, err := api.EmailTemplate.Read(ctx, d.Id()) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") @@ -163,20 +163,20 @@ func updateEmailTemplate(ctx context.Context, d *schema.ResourceData, m interfac api := m.(*config.Config).GetAPI() email := expandEmailTemplate(d.GetRawConfig()) - if err := api.EmailTemplate.Update(d.Id(), email); err != nil { + if err := api.EmailTemplate.Update(ctx, d.Id(), email); err != nil { return diag.FromErr(err) } return readEmailTemplate(ctx, d, m) } -func deleteEmailTemplate(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteEmailTemplate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() emailTemplate := &management.EmailTemplate{ Template: auth0.String(d.Id()), Enabled: auth0.Bool(false), } - if err := api.EmailTemplate.Update(d.Id(), emailTemplate); err != nil { + if err := api.EmailTemplate.Update(ctx, d.Id(), emailTemplate); err != nil { if mErr, ok := err.(management.Error); ok { if mErr.Status() == http.StatusNotFound { d.SetId("") diff --git a/internal/auth0/guardian/expand.go b/internal/auth0/guardian/expand.go index 8ad97466f..172427c26 100644 --- a/internal/auth0/guardian/expand.go +++ b/internal/auth0/guardian/expand.go @@ -1,6 +1,8 @@ package guardian import ( + "context" + "github.com/auth0/go-auth0/management" "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" @@ -8,7 +10,7 @@ import ( "github.com/auth0/terraform-provider-auth0/internal/value" ) -func updatePolicy(d *schema.ResourceData, api *management.Management) error { +func updatePolicy(ctx context.Context, d *schema.ResourceData, api *management.Management) error { if !d.HasChange("policy") { return nil } @@ -21,37 +23,37 @@ func updatePolicy(d *schema.ResourceData, api *management.Management) error { } // If the policy is "never" then the slice needs to be empty. - return api.Guardian.MultiFactor.UpdatePolicy(&multiFactorPolicies) + return api.Guardian.MultiFactor.UpdatePolicy(ctx, &multiFactorPolicies) } -func updateEmailFactor(d *schema.ResourceData, api *management.Management) error { +func updateEmailFactor(ctx context.Context, d *schema.ResourceData, api *management.Management) error { if !d.HasChange("email") { return nil } enabled := d.Get("email").(bool) - return api.Guardian.MultiFactor.Email.Enable(enabled) + return api.Guardian.MultiFactor.Email.Enable(ctx, enabled) } -func updateOTPFactor(d *schema.ResourceData, api *management.Management) error { +func updateOTPFactor(ctx context.Context, d *schema.ResourceData, api *management.Management) error { if !d.HasChange("otp") { return nil } enabled := d.Get("otp").(bool) - return api.Guardian.MultiFactor.OTP.Enable(enabled) + return api.Guardian.MultiFactor.OTP.Enable(ctx, enabled) } -func updateRecoveryCodeFactor(d *schema.ResourceData, api *management.Management) error { +func updateRecoveryCodeFactor(ctx context.Context, d *schema.ResourceData, api *management.Management) error { if !d.HasChange("recovery_code") { return nil } enabled := d.Get("recovery_code").(bool) - return api.Guardian.MultiFactor.RecoveryCode.Enable(enabled) + return api.Guardian.MultiFactor.RecoveryCode.Enable(ctx, enabled) } -func updatePhoneFactor(d *schema.ResourceData, api *management.Management) error { +func updatePhoneFactor(ctx context.Context, d *schema.ResourceData, api *management.Management) error { if !d.HasChange("phone") { return nil } @@ -60,35 +62,35 @@ func updatePhoneFactor(d *schema.ResourceData, api *management.Management) error // Always enable phone factor before configuring it. // Otherwise, we encounter an error with message_types. - if err := api.Guardian.MultiFactor.Phone.Enable(enabled); err != nil { + if err := api.Guardian.MultiFactor.Phone.Enable(ctx, enabled); err != nil { return err } if !enabled { return nil } - return configurePhone(d.GetRawConfig(), api) + return configurePhone(ctx, d.GetRawConfig(), api) } -func configurePhone(config cty.Value, api *management.Management) error { +func configurePhone(ctx context.Context, config cty.Value, api *management.Management) error { var err error config.GetAttr("phone").ForEachElement(func(_ cty.Value, phone cty.Value) (stop bool) { mfaProvider := &management.MultiFactorProvider{ Provider: value.String(phone.GetAttr("provider")), } - if err = api.Guardian.MultiFactor.Phone.UpdateProvider(mfaProvider); err != nil { + if err = api.Guardian.MultiFactor.Phone.UpdateProvider(ctx, mfaProvider); err != nil { return true } options := phone.GetAttr("options") switch mfaProvider.GetProvider() { case "twilio": - if err = updateTwilioOptions(options, api); err != nil { + if err = updateTwilioOptions(ctx, options, api); err != nil { return true } case "auth0", "phone-message-hook": - if err = updateAuth0Options(options, api); err != nil { + if err = updateAuth0Options(ctx, options, api); err != nil { return true } } @@ -96,7 +98,7 @@ func configurePhone(config cty.Value, api *management.Management) error { messageTypes := &management.PhoneMessageTypes{ MessageTypes: value.Strings(phone.GetAttr("message_types")), } - if err = api.Guardian.MultiFactor.Phone.UpdateMessageTypes(messageTypes); err != nil { + if err = api.Guardian.MultiFactor.Phone.UpdateMessageTypes(ctx, messageTypes); err != nil { return true } @@ -106,11 +108,12 @@ func configurePhone(config cty.Value, api *management.Management) error { return err } -func updateAuth0Options(options cty.Value, api *management.Management) error { +func updateAuth0Options(ctx context.Context, options cty.Value, api *management.Management) error { var err error options.ForEachElement(func(_ cty.Value, config cty.Value) (stop bool) { err = api.Guardian.MultiFactor.SMS.UpdateTemplate( + ctx, &management.MultiFactorSMSTemplate{ EnrollmentMessage: value.String(config.GetAttr("enrollment_message")), VerificationMessage: value.String(config.GetAttr("verification_message")), @@ -123,11 +126,12 @@ func updateAuth0Options(options cty.Value, api *management.Management) error { return err } -func updateTwilioOptions(options cty.Value, api *management.Management) error { +func updateTwilioOptions(ctx context.Context, options cty.Value, api *management.Management) error { var err error options.ForEachElement(func(_ cty.Value, config cty.Value) (stop bool) { if err = api.Guardian.MultiFactor.SMS.UpdateTwilio( + ctx, &management.MultiFactorProviderTwilio{ From: value.String(config.GetAttr("from")), MessagingServiceSid: value.String(config.GetAttr("messaging_service_sid")), @@ -139,6 +143,7 @@ func updateTwilioOptions(options cty.Value, api *management.Management) error { } if err = api.Guardian.MultiFactor.SMS.UpdateTemplate( + ctx, &management.MultiFactorSMSTemplate{ EnrollmentMessage: value.String(config.GetAttr("enrollment_message")), VerificationMessage: value.String(config.GetAttr("verification_message")), @@ -153,13 +158,13 @@ func updateTwilioOptions(options cty.Value, api *management.Management) error { return err } -func updateWebAuthnRoaming(d *schema.ResourceData, api *management.Management) error { +func updateWebAuthnRoaming(ctx context.Context, d *schema.ResourceData, api *management.Management) error { if !d.HasChange("webauthn_roaming") { return nil } enabled := d.Get("webauthn_roaming.0.enabled").(bool) - if err := api.Guardian.MultiFactor.WebAuthnRoaming.Enable(enabled); err != nil { + if err := api.Guardian.MultiFactor.WebAuthnRoaming.Enable(ctx, enabled); err != nil { return err } if !enabled { @@ -175,7 +180,7 @@ func updateWebAuthnRoaming(d *schema.ResourceData, api *management.Management) e } if webAuthnSettings.String() != "{}" { - err = api.Guardian.MultiFactor.WebAuthnRoaming.Update(webAuthnSettings) + err = api.Guardian.MultiFactor.WebAuthnRoaming.Update(ctx, webAuthnSettings) } return stop @@ -184,13 +189,13 @@ func updateWebAuthnRoaming(d *schema.ResourceData, api *management.Management) e return err } -func updateWebAuthnPlatform(d *schema.ResourceData, api *management.Management) error { +func updateWebAuthnPlatform(ctx context.Context, d *schema.ResourceData, api *management.Management) error { if !d.HasChange("webauthn_platform") { return nil } enabled := d.Get("webauthn_platform.0.enabled").(bool) - if err := api.Guardian.MultiFactor.WebAuthnPlatform.Enable(enabled); err != nil { + if err := api.Guardian.MultiFactor.WebAuthnPlatform.Enable(ctx, enabled); err != nil { return err } if !enabled { @@ -205,7 +210,7 @@ func updateWebAuthnPlatform(d *schema.ResourceData, api *management.Management) } if webAuthnSettings.String() != "{}" { - err = api.Guardian.MultiFactor.WebAuthnPlatform.Update(webAuthnSettings) + err = api.Guardian.MultiFactor.WebAuthnPlatform.Update(ctx, webAuthnSettings) } return stop @@ -214,13 +219,13 @@ func updateWebAuthnPlatform(d *schema.ResourceData, api *management.Management) return err } -func updateDUO(d *schema.ResourceData, api *management.Management) error { +func updateDUO(ctx context.Context, d *schema.ResourceData, api *management.Management) error { if !d.HasChange("duo") { return nil } enabled := d.Get("duo.0.enabled").(bool) - if err := api.Guardian.MultiFactor.DUO.Enable(enabled); err != nil { + if err := api.Guardian.MultiFactor.DUO.Enable(ctx, enabled); err != nil { return err } if !enabled { @@ -237,7 +242,7 @@ func updateDUO(d *schema.ResourceData, api *management.Management) error { } if duoSettings.String() != "{}" { - err = api.Guardian.MultiFactor.DUO.Update(duoSettings) + err = api.Guardian.MultiFactor.DUO.Update(ctx, duoSettings) } return stop @@ -247,13 +252,13 @@ func updateDUO(d *schema.ResourceData, api *management.Management) error { return err } -func updatePush(d *schema.ResourceData, api *management.Management) error { +func updatePush(ctx context.Context, d *schema.ResourceData, api *management.Management) error { if !d.HasChange("push") { return nil } enabled := d.Get("push.0.enabled").(bool) - if err := api.Guardian.MultiFactor.Push.Enable(enabled); err != nil { + if err := api.Guardian.MultiFactor.Push.Enable(ctx, enabled); err != nil { return err } if !enabled { @@ -265,30 +270,30 @@ func updatePush(d *schema.ResourceData, api *management.Management) error { mfaProvider := &management.MultiFactorProvider{ Provider: value.String(push.GetAttr("provider")), } - if err = api.Guardian.MultiFactor.Push.UpdateProvider(mfaProvider); err != nil { + if err = api.Guardian.MultiFactor.Push.UpdateProvider(ctx, mfaProvider); err != nil { return true } if d.HasChange("push.0.custom_app") { - if err = updateCustomApp(push.GetAttr("custom_app"), api); err != nil { + if err = updateCustomApp(ctx, push.GetAttr("custom_app"), api); err != nil { return true } } if d.HasChange("push.0.direct_apns") { - if err = updateDirectAPNS(push.GetAttr("direct_apns"), api); err != nil { + if err = updateDirectAPNS(ctx, push.GetAttr("direct_apns"), api); err != nil { return true } } if d.HasChange("push.0.direct_fcm") { - if err = updateDirectFCM(push.GetAttr("direct_fcm"), api); err != nil { + if err = updateDirectFCM(ctx, push.GetAttr("direct_fcm"), api); err != nil { return true } } if d.HasChange("push.0.amazon_sns") { - if err = updateAmazonSNS(push.GetAttr("amazon_sns"), api); err != nil { + if err = updateAmazonSNS(ctx, push.GetAttr("amazon_sns"), api); err != nil { return true } } @@ -298,11 +303,12 @@ func updatePush(d *schema.ResourceData, api *management.Management) error { return err } -func updateAmazonSNS(options cty.Value, api *management.Management) error { +func updateAmazonSNS(ctx context.Context, options cty.Value, api *management.Management) error { var err error options.ForEachElement(func(_ cty.Value, config cty.Value) (stop bool) { err = api.Guardian.MultiFactor.Push.UpdateAmazonSNS( + ctx, &management.MultiFactorProviderAmazonSNS{ AccessKeyID: value.String(config.GetAttr("aws_access_key_id")), SecretAccessKeyID: value.String(config.GetAttr("aws_secret_access_key")), @@ -318,11 +324,12 @@ func updateAmazonSNS(options cty.Value, api *management.Management) error { return err } -func updateCustomApp(options cty.Value, api *management.Management) error { +func updateCustomApp(ctx context.Context, options cty.Value, api *management.Management) error { var err error options.ForEachElement(func(_ cty.Value, config cty.Value) (stop bool) { err = api.Guardian.MultiFactor.Push.UpdateCustomApp( + ctx, &management.MultiFactorPushCustomApp{ AppName: value.String(config.GetAttr("app_name")), AppleAppLink: value.String(config.GetAttr("apple_app_link")), @@ -336,11 +343,12 @@ func updateCustomApp(options cty.Value, api *management.Management) error { return err } -func updateDirectAPNS(options cty.Value, api *management.Management) error { +func updateDirectAPNS(ctx context.Context, options cty.Value, api *management.Management) error { var err error options.ForEachElement(func(_ cty.Value, config cty.Value) (stop bool) { err = api.Guardian.MultiFactor.Push.UpdateDirectAPNS( + ctx, &management.MultiFactorPushDirectAPNS{ Sandbox: value.Bool(config.GetAttr("sandbox")), BundleID: value.String(config.GetAttr("bundle_id")), @@ -354,11 +362,12 @@ func updateDirectAPNS(options cty.Value, api *management.Management) error { return err } -func updateDirectFCM(options cty.Value, api *management.Management) error { +func updateDirectFCM(ctx context.Context, options cty.Value, api *management.Management) error { var err error options.ForEachElement(func(_ cty.Value, config cty.Value) (stop bool) { err = api.Guardian.MultiFactor.Push.UpdateDirectFCM( + ctx, &management.MultiFactorPushDirectFCM{ ServerKey: value.String(config.GetAttr("server_key")), }, diff --git a/internal/auth0/guardian/flatten.go b/internal/auth0/guardian/flatten.go index 7380b1cd7..6b488dce3 100644 --- a/internal/auth0/guardian/flatten.go +++ b/internal/auth0/guardian/flatten.go @@ -1,12 +1,14 @@ package guardian import ( + "context" + "github.com/auth0/go-auth0/management" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) -func flattenMultiFactorPolicy(api *management.Management) (string, error) { - multiFactorPolicies, err := api.Guardian.MultiFactor.Policy() +func flattenMultiFactorPolicy(ctx context.Context, api *management.Management) (string, error) { + multiFactorPolicies, err := api.Guardian.MultiFactor.Policy(ctx) if err != nil { return "", err } @@ -19,7 +21,7 @@ func flattenMultiFactorPolicy(api *management.Management) (string, error) { return flattenedPolicy, nil } -func flattenPhone(enabled bool, api *management.Management) ([]interface{}, error) { +func flattenPhone(ctx context.Context, enabled bool, api *management.Management) ([]interface{}, error) { phoneData := make(map[string]interface{}) phoneData["enabled"] = enabled @@ -27,13 +29,13 @@ func flattenPhone(enabled bool, api *management.Management) ([]interface{}, erro return []interface{}{phoneData}, nil } - phoneMessageTypes, err := api.Guardian.MultiFactor.Phone.MessageTypes() + phoneMessageTypes, err := api.Guardian.MultiFactor.Phone.MessageTypes(ctx) if err != nil { return nil, err } phoneData["message_types"] = phoneMessageTypes.GetMessageTypes() - phoneProvider, err := api.Guardian.MultiFactor.Phone.Provider() + phoneProvider, err := api.Guardian.MultiFactor.Phone.Provider(ctx) if err != nil { return nil, err } @@ -42,12 +44,12 @@ func flattenPhone(enabled bool, api *management.Management) ([]interface{}, erro var phoneProviderOptions []interface{} switch phoneProvider.GetProvider() { case "twilio": - phoneProviderOptions, err = flattenTwilioOptions(api) + phoneProviderOptions, err = flattenTwilioOptions(ctx, api) if err != nil { return nil, err } case "auth0", "phone-message-hook": - phoneProviderOptions, err = flattenAuth0Options(api) + phoneProviderOptions, err = flattenAuth0Options(ctx, api) if err != nil { return nil, err } @@ -57,10 +59,10 @@ func flattenPhone(enabled bool, api *management.Management) ([]interface{}, erro return []interface{}{phoneData}, nil } -func flattenAuth0Options(api *management.Management) ([]interface{}, error) { +func flattenAuth0Options(ctx context.Context, api *management.Management) ([]interface{}, error) { m := make(map[string]interface{}) - template, err := api.Guardian.MultiFactor.SMS.Template() + template, err := api.Guardian.MultiFactor.SMS.Template(ctx) if err != nil { return nil, err } @@ -71,10 +73,10 @@ func flattenAuth0Options(api *management.Management) ([]interface{}, error) { return []interface{}{m}, nil } -func flattenTwilioOptions(api *management.Management) ([]interface{}, error) { +func flattenTwilioOptions(ctx context.Context, api *management.Management) ([]interface{}, error) { m := make(map[string]interface{}) - template, err := api.Guardian.MultiFactor.SMS.Template() + template, err := api.Guardian.MultiFactor.SMS.Template(ctx) if err != nil { return nil, err } @@ -82,7 +84,7 @@ func flattenTwilioOptions(api *management.Management) ([]interface{}, error) { m["enrollment_message"] = template.GetEnrollmentMessage() m["verification_message"] = template.GetVerificationMessage() - twilio, err := api.Guardian.MultiFactor.SMS.Twilio() + twilio, err := api.Guardian.MultiFactor.SMS.Twilio(ctx) if err != nil { return nil, err } @@ -95,7 +97,7 @@ func flattenTwilioOptions(api *management.Management) ([]interface{}, error) { return []interface{}{m}, nil } -func flattenWebAuthnRoaming(enabled bool, api *management.Management) ([]interface{}, error) { +func flattenWebAuthnRoaming(ctx context.Context, enabled bool, api *management.Management) ([]interface{}, error) { webAuthnRoamingData := make(map[string]interface{}) webAuthnRoamingData["enabled"] = enabled @@ -103,7 +105,7 @@ func flattenWebAuthnRoaming(enabled bool, api *management.Management) ([]interfa return []interface{}{webAuthnRoamingData}, nil } - webAuthnSettings, err := api.Guardian.MultiFactor.WebAuthnRoaming.Read() + webAuthnSettings, err := api.Guardian.MultiFactor.WebAuthnRoaming.Read(ctx) if err != nil { return nil, err } @@ -115,7 +117,7 @@ func flattenWebAuthnRoaming(enabled bool, api *management.Management) ([]interfa return []interface{}{webAuthnRoamingData}, nil } -func flattenWebAuthnPlatform(enabled bool, api *management.Management) ([]interface{}, error) { +func flattenWebAuthnPlatform(ctx context.Context, enabled bool, api *management.Management) ([]interface{}, error) { webAuthnPlatformData := make(map[string]interface{}) webAuthnPlatformData["enabled"] = enabled @@ -123,7 +125,7 @@ func flattenWebAuthnPlatform(enabled bool, api *management.Management) ([]interf return []interface{}{webAuthnPlatformData}, nil } - webAuthnSettings, err := api.Guardian.MultiFactor.WebAuthnPlatform.Read() + webAuthnSettings, err := api.Guardian.MultiFactor.WebAuthnPlatform.Read(ctx) if err != nil { return nil, err } @@ -134,7 +136,7 @@ func flattenWebAuthnPlatform(enabled bool, api *management.Management) ([]interf return []interface{}{webAuthnPlatformData}, nil } -func flattenDUO(enabled bool, api *management.Management) ([]interface{}, error) { +func flattenDUO(ctx context.Context, enabled bool, api *management.Management) ([]interface{}, error) { duoData := make(map[string]interface{}) duoData["enabled"] = enabled @@ -142,7 +144,7 @@ func flattenDUO(enabled bool, api *management.Management) ([]interface{}, error) return []interface{}{duoData}, nil } - duoSettings, err := api.Guardian.MultiFactor.DUO.Read() + duoSettings, err := api.Guardian.MultiFactor.DUO.Read(ctx) if err != nil { return nil, err } @@ -154,7 +156,7 @@ func flattenDUO(enabled bool, api *management.Management) ([]interface{}, error) return []interface{}{duoData}, nil } -func flattenPush(d *schema.ResourceData, enabled bool, api *management.Management) ([]interface{}, error) { +func flattenPush(ctx context.Context, d *schema.ResourceData, enabled bool, api *management.Management) ([]interface{}, error) { pushData := make(map[string]interface{}) pushData["enabled"] = enabled @@ -162,13 +164,13 @@ func flattenPush(d *schema.ResourceData, enabled bool, api *management.Managemen return []interface{}{pushData}, nil } - pushProvider, err := api.Guardian.MultiFactor.Push.Provider() + pushProvider, err := api.Guardian.MultiFactor.Push.Provider(ctx) if err != nil { return nil, err } pushData["provider"] = pushProvider.GetProvider() - customApp, err := api.Guardian.MultiFactor.Push.CustomApp() + customApp, err := api.Guardian.MultiFactor.Push.CustomApp(ctx) if err != nil { return nil, err } @@ -181,7 +183,7 @@ func flattenPush(d *schema.ResourceData, enabled bool, api *management.Managemen }, } - directAPNS, err := api.Guardian.MultiFactor.Push.DirectAPNS() + directAPNS, err := api.Guardian.MultiFactor.Push.DirectAPNS(ctx) if err != nil { return nil, err } @@ -202,7 +204,7 @@ func flattenPush(d *schema.ResourceData, enabled bool, api *management.Managemen } if pushProvider.GetProvider() == "sns" { - amazonSNS, err := api.Guardian.MultiFactor.Push.AmazonSNS() + amazonSNS, err := api.Guardian.MultiFactor.Push.AmazonSNS(ctx) if err != nil { return nil, err } diff --git a/internal/auth0/guardian/resource.go b/internal/auth0/guardian/resource.go index 55f35127b..b5870f9e4 100644 --- a/internal/auth0/guardian/resource.go +++ b/internal/auth0/guardian/resource.go @@ -416,17 +416,17 @@ func createGuardian(ctx context.Context, d *schema.ResourceData, m interface{}) return updateGuardian(ctx, d, m) } -func readGuardian(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readGuardian(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - flattenedPolicy, err := flattenMultiFactorPolicy(api) + flattenedPolicy, err := flattenMultiFactorPolicy(ctx, api) if err != nil { return diag.FromErr(err) } result := multierror.Append(d.Set("policy", flattenedPolicy)) - multiFactorList, err := api.Guardian.MultiFactor.List() + multiFactorList, err := api.Guardian.MultiFactor.List(ctx) if err != nil { return diag.FromErr(err) } @@ -440,35 +440,35 @@ func readGuardian(_ context.Context, d *schema.ResourceData, m interface{}) diag case "recovery-code": result = multierror.Append(result, d.Set("recovery_code", factor.GetEnabled())) case "sms": - phone, err := flattenPhone(factor.GetEnabled(), api) + phone, err := flattenPhone(ctx, factor.GetEnabled(), api) if err != nil { return diag.FromErr(err) } result = multierror.Append(result, d.Set("phone", phone)) case "webauthn-roaming": - webAuthnRoaming, err := flattenWebAuthnRoaming(factor.GetEnabled(), api) + webAuthnRoaming, err := flattenWebAuthnRoaming(ctx, factor.GetEnabled(), api) if err != nil { return diag.FromErr(err) } result = multierror.Append(result, d.Set("webauthn_roaming", webAuthnRoaming)) case "webauthn-platform": - webAuthnPlatform, err := flattenWebAuthnPlatform(factor.GetEnabled(), api) + webAuthnPlatform, err := flattenWebAuthnPlatform(ctx, factor.GetEnabled(), api) if err != nil { return diag.FromErr(err) } result = multierror.Append(result, d.Set("webauthn_platform", webAuthnPlatform)) case "duo": - duo, err := flattenDUO(factor.GetEnabled(), api) + duo, err := flattenDUO(ctx, factor.GetEnabled(), api) if err != nil { return diag.FromErr(err) } result = multierror.Append(result, d.Set("duo", duo)) case "push-notification": - push, err := flattenPush(d, factor.GetEnabled(), api) + push, err := flattenPush(ctx, d, factor.GetEnabled(), api) if err != nil { return diag.FromErr(err) } @@ -484,15 +484,15 @@ func updateGuardian(ctx context.Context, d *schema.ResourceData, m interface{}) api := m.(*config.Config).GetAPI() result := multierror.Append( - updatePolicy(d, api), - updateEmailFactor(d, api), - updateOTPFactor(d, api), - updateRecoveryCodeFactor(d, api), - updatePhoneFactor(d, api), - updateWebAuthnRoaming(d, api), - updateWebAuthnPlatform(d, api), - updateDUO(d, api), - updatePush(d, api), + updatePolicy(ctx, d, api), + updateEmailFactor(ctx, d, api), + updateOTPFactor(ctx, d, api), + updateRecoveryCodeFactor(ctx, d, api), + updatePhoneFactor(ctx, d, api), + updateWebAuthnRoaming(ctx, d, api), + updateWebAuthnPlatform(ctx, d, api), + updateDUO(ctx, d, api), + updatePush(ctx, d, api), ) if err := result.ErrorOrNil(); err != nil { return diag.FromErr(err) @@ -501,19 +501,19 @@ func updateGuardian(ctx context.Context, d *schema.ResourceData, m interface{}) return readGuardian(ctx, d, m) } -func deleteGuardian(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteGuardian(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() result := multierror.Append( - api.Guardian.MultiFactor.UpdatePolicy(&management.MultiFactorPolicies{}), - api.Guardian.MultiFactor.Phone.Enable(false), - api.Guardian.MultiFactor.Email.Enable(false), - api.Guardian.MultiFactor.OTP.Enable(false), - api.Guardian.MultiFactor.RecoveryCode.Enable(false), - api.Guardian.MultiFactor.WebAuthnRoaming.Enable(false), - api.Guardian.MultiFactor.WebAuthnPlatform.Enable(false), - api.Guardian.MultiFactor.DUO.Enable(false), - api.Guardian.MultiFactor.Push.Enable(false), + api.Guardian.MultiFactor.UpdatePolicy(ctx, &management.MultiFactorPolicies{}), + api.Guardian.MultiFactor.Phone.Enable(ctx, false), + api.Guardian.MultiFactor.Email.Enable(ctx, false), + api.Guardian.MultiFactor.OTP.Enable(ctx, false), + api.Guardian.MultiFactor.RecoveryCode.Enable(ctx, false), + api.Guardian.MultiFactor.WebAuthnRoaming.Enable(ctx, false), + api.Guardian.MultiFactor.WebAuthnPlatform.Enable(ctx, false), + api.Guardian.MultiFactor.DUO.Enable(ctx, false), + api.Guardian.MultiFactor.Push.Enable(ctx, false), ) if err := result.ErrorOrNil(); err != nil { return diag.FromErr(err) diff --git a/internal/auth0/hook/resource.go b/internal/auth0/hook/resource.go index a1308f715..971237d06 100644 --- a/internal/auth0/hook/resource.go +++ b/internal/auth0/hook/resource.go @@ -87,7 +87,7 @@ func createHook(ctx context.Context, d *schema.ResourceData, m interface{}) diag api := m.(*config.Config).GetAPI() hook := expandHook(d) - if err := api.Hook.Create(hook); err != nil { + if err := api.Hook.Create(ctx, hook); err != nil { return diag.FromErr(err) } @@ -100,9 +100,9 @@ func createHook(ctx context.Context, d *schema.ResourceData, m interface{}) diag return readHook(ctx, d, m) } -func readHook(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readHook(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - hook, err := api.Hook.Read(d.Id()) + hook, err := api.Hook.Read(ctx, d.Id()) if err != nil { if mErr, ok := err.(management.Error); ok { if mErr.Status() == http.StatusNotFound { @@ -113,7 +113,7 @@ func readHook(_ context.Context, d *schema.ResourceData, m interface{}) diag.Dia return diag.FromErr(err) } - hookSecrets, err := api.Hook.Secrets(d.Id()) + hookSecrets, err := api.Hook.Secrets(ctx, d.Id()) if err != nil { return diag.FromErr(err) } @@ -139,7 +139,7 @@ func readHook(_ context.Context, d *schema.ResourceData, m interface{}) diag.Dia func updateHook(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { hook := expandHook(d) api := m.(*config.Config).GetAPI() - if err := api.Hook.Update(d.Id(), hook); err != nil { + if err := api.Hook.Update(ctx, d.Id(), hook); err != nil { return diag.FromErr(err) } @@ -150,9 +150,9 @@ func updateHook(ctx context.Context, d *schema.ResourceData, m interface{}) diag return readHook(ctx, d, m) } -func deleteHook(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteHook(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - if err := api.Hook.Delete(d.Id()); err != nil { + if err := api.Hook.Delete(ctx, d.Id()); err != nil { if mErr, ok := err.(management.Error); ok { if mErr.Status() == http.StatusNotFound { d.SetId("") @@ -165,7 +165,7 @@ func deleteHook(_ context.Context, d *schema.ResourceData, m interface{}) diag.D return nil } -func upsertHookSecrets(_ context.Context, d *schema.ResourceData, m interface{}) error { +func upsertHookSecrets(ctx context.Context, d *schema.ResourceData, m interface{}) error { if d.IsNewResource() || d.HasChange("secrets") { api := m.(*config.Config).GetAPI() @@ -174,7 +174,7 @@ func upsertHookSecrets(_ context.Context, d *schema.ResourceData, m interface{}) return nil } - return api.Hook.ReplaceSecrets(d.Id(), *hookSecrets) + return api.Hook.ReplaceSecrets(ctx, d.Id(), *hookSecrets) } return nil diff --git a/internal/auth0/logstream/resource.go b/internal/auth0/logstream/resource.go index 8af24572f..3bd21fd28 100644 --- a/internal/auth0/logstream/resource.go +++ b/internal/auth0/logstream/resource.go @@ -266,7 +266,7 @@ func createLogStream(ctx context.Context, d *schema.ResourceData, m interface{}) api := m.(*config.Config).GetAPI() logStream := expandLogStream(d) - if err := api.LogStream.Create(logStream); err != nil { + if err := api.LogStream.Create(ctx, logStream); err != nil { return diag.FromErr(err) } @@ -277,7 +277,7 @@ func createLogStream(ctx context.Context, d *schema.ResourceData, m interface{}) // we perform an additional operation to modify it. status := d.Get("status").(string) if status != "" && status != logStream.GetStatus() { - if err := api.LogStream.Update(logStream.GetID(), &management.LogStream{Status: &status}); err != nil { + if err := api.LogStream.Update(ctx, logStream.GetID(), &management.LogStream{Status: &status}); err != nil { return diag.FromErr(err) } } @@ -285,10 +285,10 @@ func createLogStream(ctx context.Context, d *schema.ResourceData, m interface{}) return readLogStream(ctx, d, m) } -func readLogStream(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readLogStream(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - logStream, err := api.LogStream.Read(d.Id()) + logStream, err := api.LogStream.Read(ctx, d.Id()) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") @@ -312,17 +312,17 @@ func updateLogStream(ctx context.Context, d *schema.ResourceData, m interface{}) api := m.(*config.Config).GetAPI() logStream := expandLogStream(d) - if err := api.LogStream.Update(d.Id(), logStream); err != nil { + if err := api.LogStream.Update(ctx, d.Id(), logStream); err != nil { return diag.FromErr(err) } return readLogStream(ctx, d, m) } -func deleteLogStream(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteLogStream(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - if err := api.LogStream.Delete(d.Id()); err != nil { + if err := api.LogStream.Delete(ctx, d.Id()); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") return nil diff --git a/internal/auth0/organization/data_source.go b/internal/auth0/organization/data_source.go index 070485553..064150af5 100644 --- a/internal/auth0/organization/data_source.go +++ b/internal/auth0/organization/data_source.go @@ -2,7 +2,6 @@ package organization import ( "context" - "net/http" "github.com/auth0/go-auth0/management" "github.com/hashicorp/go-multierror" @@ -70,19 +69,15 @@ func dataSourceSchema() map[string]*schema.Schema { return dataSourceSchema } -func readOrganizationForDataSource(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readOrganizationForDataSource(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() var foundOrganization *management.Organization var err error organizationID := data.Get("organization_id").(string) if organizationID != "" { - foundOrganization, err = api.Organization.Read(organizationID) + foundOrganization, err = api.Organization.Read(ctx, organizationID) if err != nil { - if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { - data.SetId("") - return nil - } return diag.FromErr(err) } } else { @@ -91,7 +86,7 @@ func readOrganizationForDataSource(_ context.Context, data *schema.ResourceData, outerLoop: for { - organizations, err := api.Organization.List(management.Page(page), management.PerPage(100)) + organizations, err := api.Organization.List(ctx, management.Page(page), management.PerPage(100)) if err != nil { return diag.FromErr(err) } @@ -117,12 +112,12 @@ func readOrganizationForDataSource(_ context.Context, data *schema.ResourceData, data.SetId(foundOrganization.GetID()) - foundConnections, err := fetchAllOrganizationConnections(api, foundOrganization.GetID()) + foundConnections, err := fetchAllOrganizationConnections(ctx, api, foundOrganization.GetID()) if err != nil { return diag.FromErr(err) } - foundMembers, err := fetchAllOrganizationMembers(api, foundOrganization.GetID()) + foundMembers, err := fetchAllOrganizationMembers(ctx, api, foundOrganization.GetID()) if err != nil { return diag.FromErr(err) } @@ -139,12 +134,12 @@ func readOrganizationForDataSource(_ context.Context, data *schema.ResourceData, return diag.FromErr(result.ErrorOrNil()) } -func fetchAllOrganizationConnections(api *management.Management, organizationID string) ([]*management.OrganizationConnection, error) { +func fetchAllOrganizationConnections(ctx context.Context, api *management.Management, organizationID string) ([]*management.OrganizationConnection, error) { var foundConnections []*management.OrganizationConnection var page int for { - connections, err := api.Organization.Connections(organizationID, management.Page(page), management.PerPage(100)) + connections, err := api.Organization.Connections(ctx, organizationID, management.Page(page), management.PerPage(100)) if err != nil { return nil, err } @@ -161,12 +156,12 @@ func fetchAllOrganizationConnections(api *management.Management, organizationID return foundConnections, nil } -func fetchAllOrganizationMembers(api *management.Management, organizationID string) ([]string, error) { +func fetchAllOrganizationMembers(ctx context.Context, api *management.Management, organizationID string) ([]string, error) { foundMembers := make([]string, 0) var page int for { - members, err := api.Organization.Members(organizationID, management.Page(page), management.PerPage(100)) + members, err := api.Organization.Members(ctx, organizationID, management.Page(page), management.PerPage(100)) if err != nil { return nil, err } diff --git a/internal/auth0/organization/data_source_test.go b/internal/auth0/organization/data_source_test.go index 41071c6c0..8c48b51c8 100644 --- a/internal/auth0/organization/data_source_test.go +++ b/internal/auth0/organization/data_source_test.go @@ -27,14 +27,14 @@ resource "auth0_connection" "my_connection" { } resource "auth0_organization" "my_organization" { - depends_on = [auth0_connection.my_connection] + depends_on = [ auth0_connection.my_connection ] name = "test-{{.testName}}" display_name = "Acme Inc. {{.testName}}" } resource "auth0_organization_connection" "my_org_conn" { - depends_on = [auth0_organization.my_organization] + depends_on = [ auth0_organization.my_organization ] organization_id = auth0_organization.my_organization.id connection_id = auth0_connection.my_connection.id @@ -50,16 +50,26 @@ resource "auth0_organization_member" "org_member" { const testAccDataSourceOrganizationConfigByName = testAccGivenAnOrganizationWithConnectionsAndMembers + ` data "auth0_organization" "test" { + depends_on = [ auth0_organization_member.org_member ] + name = "test-{{.testName}}" } ` const testAccDataSourceOrganizationConfigByID = testAccGivenAnOrganizationWithConnectionsAndMembers + ` data "auth0_organization" "test" { + depends_on = [ auth0_organization_member.org_member ] + organization_id = auth0_organization.my_organization.id } ` +const testAccDataSourceOrganizationNonexistentID = ` +data "auth0_organization" "test" { + organization_id = "org_XXXXXXXXXXXXXXXX" +} +` + func TestAccDataSourceOrganizationRequiredArguments(t *testing.T) { resource.UnitTest(t, resource.TestCase{ ProviderFactories: acctest.TestFactories(), @@ -72,21 +82,16 @@ func TestAccDataSourceOrganizationRequiredArguments(t *testing.T) { }) } -func TestAccDataSourceOrganizationByName(t *testing.T) { +func TestAccDataSourceOrganization(t *testing.T) { testName := strings.ToLower(t.Name()) acctest.Test(t, resource.TestCase{ PreventPostDestroyRefresh: true, Steps: []resource.TestStep{ { - Config: acctest.ParseTestName(testAccGivenAnOrganizationWithConnectionsAndMembers, testName), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_connection.my_connection", "name", fmt.Sprintf("Acceptance-Test-Connection-%s", testName)), - resource.TestCheckResourceAttr("auth0_organization.my_organization", "name", fmt.Sprintf("test-%s", testName)), - resource.TestCheckResourceAttrSet("auth0_organization_connection.my_org_conn", "connection_id"), - resource.TestCheckResourceAttrSet("auth0_organization_connection.my_org_conn", "organization_id"), - resource.TestCheckResourceAttr("auth0_organization_connection.my_org_conn", "name", fmt.Sprintf("Acceptance-Test-Connection-%s", testName)), - resource.TestCheckResourceAttr("auth0_organization_connection.my_org_conn", "strategy", "auth0"), + Config: acctest.ParseTestName(testAccDataSourceOrganizationNonexistentID, t.Name()), + ExpectError: regexp.MustCompile( + "404 Not Found: No organization found by that id or name", ), }, { @@ -99,27 +104,6 @@ func TestAccDataSourceOrganizationByName(t *testing.T) { resource.TestCheckResourceAttr("data.auth0_organization.test", "members.#", "1"), ), }, - }, - }) -} - -func TestAccDataSourceOrganizationByID(t *testing.T) { - testName := strings.ToLower(t.Name()) - - acctest.Test(t, resource.TestCase{ - PreventPostDestroyRefresh: true, - Steps: []resource.TestStep{ - { - Config: acctest.ParseTestName(testAccGivenAnOrganizationWithConnectionsAndMembers, testName), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_connection.my_connection", "name", fmt.Sprintf("Acceptance-Test-Connection-%s", testName)), - resource.TestCheckResourceAttr("auth0_organization.my_organization", "name", fmt.Sprintf("test-%s", testName)), - resource.TestCheckResourceAttrSet("auth0_organization_connection.my_org_conn", "connection_id"), - resource.TestCheckResourceAttrSet("auth0_organization_connection.my_org_conn", "organization_id"), - resource.TestCheckResourceAttr("auth0_organization_connection.my_org_conn", "name", fmt.Sprintf("Acceptance-Test-Connection-%s", testName)), - resource.TestCheckResourceAttr("auth0_organization_connection.my_org_conn", "strategy", "auth0"), - ), - }, { Config: acctest.ParseTestName(testAccDataSourceOrganizationConfigByID, testName), Check: resource.ComposeTestCheckFunc( diff --git a/internal/auth0/organization/resource.go b/internal/auth0/organization/resource.go index 895b48eba..ad3f367ba 100644 --- a/internal/auth0/organization/resource.go +++ b/internal/auth0/organization/resource.go @@ -78,7 +78,7 @@ func createOrganization(ctx context.Context, d *schema.ResourceData, m interface api := m.(*config.Config).GetAPI() organization := expandOrganization(d) - if err := api.Organization.Create(organization); err != nil { + if err := api.Organization.Create(ctx, organization); err != nil { return diag.FromErr(err) } @@ -87,10 +87,10 @@ func createOrganization(ctx context.Context, d *schema.ResourceData, m interface return readOrganization(ctx, d, m) } -func readOrganization(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readOrganization(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - organization, err := api.Organization.Read(d.Id()) + organization, err := api.Organization.Read(ctx, d.Id()) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") @@ -113,17 +113,17 @@ func updateOrganization(ctx context.Context, d *schema.ResourceData, m interface api := m.(*config.Config).GetAPI() organization := expandOrganization(d) - if err := api.Organization.Update(d.Id(), organization); err != nil { + if err := api.Organization.Update(ctx, d.Id(), organization); err != nil { return diag.FromErr(err) } return readOrganization(ctx, d, m) } -func deleteOrganization(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteOrganization(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - if err := api.Organization.Delete(d.Id()); err != nil { + if err := api.Organization.Delete(ctx, d.Id()); err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { d.SetId("") return nil diff --git a/internal/auth0/organization/resource_connection.go b/internal/auth0/organization/resource_connection.go index ca8e558df..abdde2bd4 100644 --- a/internal/auth0/organization/resource_connection.go +++ b/internal/auth0/organization/resource_connection.go @@ -22,7 +22,7 @@ func NewConnectionResource() *schema.Resource { UpdateContext: updateOrganizationConnection, DeleteContext: deleteOrganizationConnection, Importer: &schema.ResourceImporter{ - StateContext: internalSchema.ImportResourceGroupID(internalSchema.SeparatorColon, "organization_id", "connection_id"), + StateContext: internalSchema.ImportResourceGroupID("organization_id", "connection_id"), }, Schema: map[string]*schema.Schema{ "organization_id": { @@ -70,22 +70,22 @@ func createOrganizationConnection(ctx context.Context, data *schema.ResourceData AssignMembershipOnLogin: &assignMembershipOnLogin, } - if err := api.Organization.AddConnection(organizationID, organizationConnection); err != nil { + if err := api.Organization.AddConnection(ctx, organizationID, organizationConnection); err != nil { return diag.FromErr(err) } - data.SetId(organizationID + ":" + connectionID) + internalSchema.SetResourceGroupID(data, organizationID, connectionID) return readOrganizationConnection(ctx, data, meta) } -func readOrganizationConnection(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readOrganizationConnection(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() organizationID := data.Get("organization_id").(string) connectionID := data.Get("connection_id").(string) - organizationConnection, err := api.Organization.Connection(organizationID, connectionID) + organizationConnection, err := api.Organization.Connection(ctx, organizationID, connectionID) if err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { data.SetId("") @@ -115,21 +115,21 @@ func updateOrganizationConnection(ctx context.Context, data *schema.ResourceData AssignMembershipOnLogin: &assignMembershipOnLogin, } - if err := api.Organization.UpdateConnection(organizationID, connectionID, organizationConnection); err != nil { + if err := api.Organization.UpdateConnection(ctx, organizationID, connectionID, organizationConnection); err != nil { return diag.FromErr(err) } return readOrganizationConnection(ctx, data, meta) } -func deleteOrganizationConnection(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteOrganizationConnection(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() organizationID := data.Get("organization_id").(string) connectionID := data.Get("connection_id").(string) - if err := api.Organization.DeleteConnection(organizationID, connectionID); err != nil { + if err := api.Organization.DeleteConnection(ctx, organizationID, connectionID); err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { data.SetId("") return nil diff --git a/internal/auth0/organization/resource_connection_test.go b/internal/auth0/organization/resource_connection_test.go index 586a944b1..1e4b00228 100644 --- a/internal/auth0/organization/resource_connection_test.go +++ b/internal/auth0/organization/resource_connection_test.go @@ -166,7 +166,7 @@ func TestAccOrganizationConnection(t *testing.T) { connID, err := acctest.ExtractResourceAttributeFromState(state, "auth0_connection.my_connection_1", "id") assert.NoError(t, err) - return orgID + ":" + connID, nil + return orgID + "::" + connID, nil }, ImportStatePersist: true, }, @@ -181,7 +181,7 @@ func TestAccOrganizationConnection(t *testing.T) { connID, err := acctest.ExtractResourceAttributeFromState(state, "auth0_connection.my_connection_2", "id") assert.NoError(t, err) - return orgID + ":" + connID, nil + return orgID + "::" + connID, nil }, ImportStatePersist: true, }, diff --git a/internal/auth0/organization/resource_connections.go b/internal/auth0/organization/resource_connections.go index e1b22b195..5521c08fe 100644 --- a/internal/auth0/organization/resource_connections.go +++ b/internal/auth0/organization/resource_connections.go @@ -66,7 +66,7 @@ func createOrganizationConnections(ctx context.Context, data *schema.ResourceDat organizationID := data.Get("organization_id").(string) - alreadyEnabledConnections, err := api.Organization.Connections(organizationID) + alreadyEnabledConnections, err := api.Organization.Connections(ctx, organizationID) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -93,7 +93,7 @@ func createOrganizationConnections(ctx context.Context, data *schema.ResourceDat var result *multierror.Error for _, connection := range connectionsToAdd { - if err := api.Organization.AddConnection(organizationID, connection); err != nil { + if err := api.Organization.AddConnection(ctx, organizationID, connection); err != nil { result = multierror.Append(result, err) } } @@ -106,10 +106,10 @@ func createOrganizationConnections(ctx context.Context, data *schema.ResourceDat return readOrganizationConnections(ctx, data, meta) } -func readOrganizationConnections(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readOrganizationConnections(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() - connections, err := api.Organization.Connections(data.Id()) + connections, err := api.Organization.Connections(ctx, data.Id()) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -138,7 +138,7 @@ func updateOrganizationConnections(ctx context.Context, data *schema.ResourceDat for _, rmConnection := range toRemove { connection := rmConnection.(map[string]interface{}) - if err := api.Organization.DeleteConnection(organizationID, connection["connection_id"].(string)); err != nil { + if err := api.Organization.DeleteConnection(ctx, organizationID, connection["connection_id"].(string)); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") return nil @@ -151,7 +151,7 @@ func updateOrganizationConnections(ctx context.Context, data *schema.ResourceDat for _, addConnection := range toAdd { connection := addConnection.(map[string]interface{}) - if err := api.Organization.AddConnection(organizationID, &management.OrganizationConnection{ + if err := api.Organization.AddConnection(ctx, organizationID, &management.OrganizationConnection{ ConnectionID: auth0.String(connection["connection_id"].(string)), AssignMembershipOnLogin: auth0.Bool(connection["assign_membership_on_login"].(bool)), }); err != nil { @@ -171,7 +171,7 @@ func updateOrganizationConnections(ctx context.Context, data *schema.ResourceDat return readOrganizationConnections(ctx, data, meta) } -func deleteOrganizationConnections(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteOrganizationConnections(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() organizationID := data.Id() @@ -180,7 +180,7 @@ func deleteOrganizationConnections(_ context.Context, data *schema.ResourceData, connections := expandOrganizationConnections(data.GetRawState().GetAttr("enabled_connections")) for _, conn := range connections { - err := api.Organization.DeleteConnection(organizationID, conn.GetConnectionID()) + err := api.Organization.DeleteConnection(ctx, organizationID, conn.GetConnectionID()) result = multierror.Append(result, err) } diff --git a/internal/auth0/organization/resource_member.go b/internal/auth0/organization/resource_member.go index 325f3b634..4bb266097 100644 --- a/internal/auth0/organization/resource_member.go +++ b/internal/auth0/organization/resource_member.go @@ -10,7 +10,6 @@ import ( "github.com/auth0/terraform-provider-auth0/internal/config" internalSchema "github.com/auth0/terraform-provider-auth0/internal/schema" - "github.com/auth0/terraform-provider-auth0/internal/value" ) // NewMemberResource will return a new auth0_organization_member resource. @@ -19,10 +18,9 @@ func NewMemberResource() *schema.Resource { Description: "This resource is used to manage the assignment of members and their roles within an organization.", CreateContext: createOrganizationMember, ReadContext: readOrganizationMember, - UpdateContext: updateOrganizationMember, DeleteContext: deleteOrganizationMember, Importer: &schema.ResourceImporter{ - StateContext: internalSchema.ImportResourceGroupID(internalSchema.SeparatorColon, "organization_id", "user_id"), + StateContext: internalSchema.ImportResourceGroupID("organization_id", "user_id"), }, Schema: map[string]*schema.Schema{ "organization_id": { @@ -37,20 +35,6 @@ func NewMemberResource() *schema.Resource { ForceNew: true, Description: "ID of the user to add as an organization member.", }, - "roles": { - Type: schema.TypeSet, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - Optional: true, - Description: "The role ID(s) to assign to the organization member. " + - "Managing roles through this attribute is deprecated and it will be removed in a future version. " + - "Migrate to the `auth0_organization_member_roles` or the `auth0_organization_member_role` resource to manage organization member roles instead. " + - "Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#organization-member-roles) on how to do that.", - Deprecated: "Managing roles through this attribute is deprecated and it will be removed in a future version. " + - "Migrate to the `auth0_organization_member_roles` or the `auth0_organization_member_role` resource to manage organization member roles instead. " + - "Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#organization-member-roles) on how to do that.", - }, }, } } @@ -61,123 +45,54 @@ func createOrganizationMember(ctx context.Context, d *schema.ResourceData, m int userID := d.Get("user_id").(string) organizationID := d.Get("organization_id").(string) - if err := api.Organization.AddMembers(organizationID, []string{userID}); err != nil { + if err := api.Organization.AddMembers(ctx, organizationID, []string{userID}); err != nil { return diag.FromErr(err) } - d.SetId(organizationID + ":" + userID) - - if err := assignMemberRoles(d, m); err != nil { - if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { - d.SetId("") - return nil - } - - return diag.FromErr(err) - } + internalSchema.SetResourceGroupID(d, organizationID, userID) return readOrganizationMember(ctx, d, m) } -func assignMemberRoles(d *schema.ResourceData, meta interface{}) error { - if !d.HasChange("roles") { - return nil - } - - userID := d.Get("user_id").(string) - organizationID := d.Get("organization_id").(string) - - toAdd, toRemove := value.Difference(d, "roles") - - if err := removeMemberRoles(meta, organizationID, userID, toRemove); err != nil { - return err - } - - return addMemberRoles(meta, organizationID, userID, toAdd) -} - -func removeMemberRoles(meta interface{}, organizationID string, userID string, roles []interface{}) error { - if len(roles) == 0 { - return nil - } - - var rolesToRemove []string - for _, role := range roles { - rolesToRemove = append(rolesToRemove, role.(string)) - } - - api := meta.(*config.Config).GetAPI() - - return api.Organization.DeleteMemberRoles(organizationID, userID, rolesToRemove) -} - -func addMemberRoles(meta interface{}, organizationID string, userID string, roles []interface{}) error { - if len(roles) == 0 { - return nil - } - - var rolesToAssign []string - for _, role := range roles { - rolesToAssign = append(rolesToAssign, role.(string)) - } - - api := meta.(*config.Config).GetAPI() - - return api.Organization.AssignMemberRoles(organizationID, userID, rolesToAssign) -} - -func readOrganizationMember(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readOrganizationMember(ctx context.Context, data *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - organizationID := d.Get("organization_id").(string) - userID := d.Get("user_id").(string) + organizationID := data.Get("organization_id").(string) - roles, err := api.Organization.MemberRoles(organizationID, userID) + members, err := api.Organization.Members(ctx, organizationID) if err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { - d.SetId("") + data.SetId("") return nil } - return diag.FromErr(err) - } - var rolesToSet []string - for _, role := range roles.Roles { - rolesToSet = append(rolesToSet, role.GetID()) + return diag.FromErr(err) } - err = d.Set("roles", rolesToSet) - - return diag.FromErr(err) -} - -func updateOrganizationMember(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { - if err := assignMemberRoles(d, m); err != nil { - if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { - d.SetId("") + userID := data.Get("user_id").(string) + for _, member := range members.Members { + if member.GetUserID() == userID { return nil } - - return diag.FromErr(err) } - return readOrganizationMember(ctx, d, m) + data.SetId("") + return nil } -func deleteOrganizationMember(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteOrganizationMember(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() organizationID := d.Get("organization_id").(string) userID := d.Get("user_id").(string) - if err := api.Organization.DeleteMember(organizationID, []string{userID}); err != nil { + if err := api.Organization.DeleteMembers(ctx, organizationID, []string{userID}); err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { - d.SetId("") return nil } + return diag.FromErr(err) } - d.SetId("") return nil } diff --git a/internal/auth0/organization/resource_member_role.go b/internal/auth0/organization/resource_member_role.go index 3493e548a..457cb299a 100644 --- a/internal/auth0/organization/resource_member_role.go +++ b/internal/auth0/organization/resource_member_role.go @@ -21,7 +21,7 @@ func NewMemberRoleResource() *schema.Resource { ReadContext: readOrganizationMemberRole, DeleteContext: deleteOrganizationMemberRole, Importer: &schema.ResourceImporter{ - StateContext: internalSchema.ImportResourceGroupID(internalSchema.SeparatorDoubleColon, "organization_id", "user_id", "role_id"), + StateContext: internalSchema.ImportResourceGroupID("organization_id", "user_id", "role_id"), }, Schema: map[string]*schema.Schema{ "organization_id": { @@ -63,7 +63,7 @@ func createOrganizationMemberRole(ctx context.Context, data *schema.ResourceData userID := data.Get("user_id").(string) roleID := data.Get("role_id").(string) - if err := api.Organization.AssignMemberRoles(organizationID, userID, []string{roleID}); err != nil { + if err := api.Organization.AssignMemberRoles(ctx, organizationID, userID, []string{roleID}); err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { return nil } @@ -71,18 +71,18 @@ func createOrganizationMemberRole(ctx context.Context, data *schema.ResourceData return diag.FromErr(err) } - data.SetId(organizationID + internalSchema.SeparatorDoubleColon + userID + internalSchema.SeparatorDoubleColon + roleID) + internalSchema.SetResourceGroupID(data, organizationID, userID, roleID) return readOrganizationMemberRole(ctx, data, meta) } -func readOrganizationMemberRole(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readOrganizationMemberRole(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() organizationID := data.Get("organization_id").(string) userID := data.Get("user_id").(string) - memberRoles, err := api.Organization.MemberRoles(organizationID, userID) + memberRoles, err := api.Organization.MemberRoles(ctx, organizationID, userID) if err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { data.SetId("") @@ -107,14 +107,14 @@ func readOrganizationMemberRole(_ context.Context, data *schema.ResourceData, me return nil } -func deleteOrganizationMemberRole(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteOrganizationMemberRole(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() organizationID := data.Get("organization_id").(string) userID := data.Get("user_id").(string) roleID := data.Get("role_id").(string) - if err := api.Organization.DeleteMemberRoles(organizationID, userID, []string{roleID}); err != nil { + if err := api.Organization.DeleteMemberRoles(ctx, organizationID, userID, []string{roleID}); err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { return nil } diff --git a/internal/auth0/organization/resource_member_role_test.go b/internal/auth0/organization/resource_member_role_test.go index c11a41188..d657dd4bb 100644 --- a/internal/auth0/organization/resource_member_role_test.go +++ b/internal/auth0/organization/resource_member_role_test.go @@ -125,7 +125,7 @@ func TestAccOrganizationMemberRole(t *testing.T) { return "", err } - return organizationID + ":" + userID, nil + return organizationID + "::" + userID, nil }, ImportStatePersist: true, }, diff --git a/internal/auth0/organization/resource_member_roles.go b/internal/auth0/organization/resource_member_roles.go index df4f36183..07629b40d 100644 --- a/internal/auth0/organization/resource_member_roles.go +++ b/internal/auth0/organization/resource_member_roles.go @@ -10,6 +10,7 @@ import ( "github.com/auth0/terraform-provider-auth0/internal/config" internalSchema "github.com/auth0/terraform-provider-auth0/internal/schema" + "github.com/auth0/terraform-provider-auth0/internal/value" ) // NewMemberRolesResource will return a new auth0_organization_member_roles (1:many) resource. @@ -21,7 +22,7 @@ func NewMemberRolesResource() *schema.Resource { UpdateContext: updateOrganizationMemberRoles, DeleteContext: deleteOrganizationMemberRoles, Importer: &schema.ResourceImporter{ - StateContext: internalSchema.ImportResourceGroupID(internalSchema.SeparatorColon, "organization_id", "user_id"), + StateContext: internalSchema.ImportResourceGroupID("organization_id", "user_id"), }, Schema: map[string]*schema.Schema{ "organization_id": { @@ -52,7 +53,7 @@ func createOrganizationMemberRoles(ctx context.Context, data *schema.ResourceDat organizationID := data.Get("organization_id").(string) userID := data.Get("user_id").(string) - if err := assignMemberRoles(data, meta); err != nil { + if err := assignMemberRoles(ctx, data, meta); err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { data.SetId("") return nil @@ -61,18 +62,18 @@ func createOrganizationMemberRoles(ctx context.Context, data *schema.ResourceDat return diag.FromErr(err) } - data.SetId(organizationID + ":" + userID) + internalSchema.SetResourceGroupID(data, organizationID, userID) return readOrganizationMemberRoles(ctx, data, meta) } -func readOrganizationMemberRoles(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readOrganizationMemberRoles(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() organizationID := data.Get("organization_id").(string) userID := data.Get("user_id").(string) - memberRoles, err := api.Organization.MemberRoles(organizationID, userID) + memberRoles, err := api.Organization.MemberRoles(ctx, organizationID, userID) if err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { data.SetId("") @@ -91,7 +92,7 @@ func readOrganizationMemberRoles(_ context.Context, data *schema.ResourceData, m } func updateOrganizationMemberRoles(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - if err := assignMemberRoles(data, meta); err != nil { + if err := assignMemberRoles(ctx, data, meta); err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { data.SetId("") return nil @@ -100,10 +101,10 @@ func updateOrganizationMemberRoles(ctx context.Context, data *schema.ResourceDat return diag.FromErr(err) } - return readOrganizationMember(ctx, data, meta) + return readOrganizationMemberRoles(ctx, data, meta) } -func deleteOrganizationMemberRoles(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteOrganizationMemberRoles(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() organizationID := data.Get("organization_id").(string) @@ -119,7 +120,7 @@ func deleteOrganizationMemberRoles(_ context.Context, data *schema.ResourceData, rolesToRemove = append(rolesToRemove, role.(string)) } - if err := api.Organization.DeleteMemberRoles(organizationID, userID, rolesToRemove); err != nil { + if err := api.Organization.DeleteMemberRoles(ctx, organizationID, userID, rolesToRemove); err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { return nil } @@ -129,3 +130,50 @@ func deleteOrganizationMemberRoles(_ context.Context, data *schema.ResourceData, return nil } + +func assignMemberRoles(ctx context.Context, d *schema.ResourceData, meta interface{}) error { + if !d.HasChange("roles") { + return nil + } + + userID := d.Get("user_id").(string) + organizationID := d.Get("organization_id").(string) + + toAdd, toRemove := value.Difference(d, "roles") + + if err := removeMemberRoles(ctx, meta, organizationID, userID, toRemove); err != nil { + return err + } + + return addMemberRoles(ctx, meta, organizationID, userID, toAdd) +} + +func removeMemberRoles(ctx context.Context, meta interface{}, organizationID string, userID string, roles []interface{}) error { + if len(roles) == 0 { + return nil + } + + var rolesToRemove []string + for _, role := range roles { + rolesToRemove = append(rolesToRemove, role.(string)) + } + + api := meta.(*config.Config).GetAPI() + + return api.Organization.DeleteMemberRoles(ctx, organizationID, userID, rolesToRemove) +} + +func addMemberRoles(ctx context.Context, meta interface{}, organizationID string, userID string, roles []interface{}) error { + if len(roles) == 0 { + return nil + } + + var rolesToAssign []string + for _, role := range roles { + rolesToAssign = append(rolesToAssign, role.(string)) + } + + api := meta.(*config.Config).GetAPI() + + return api.Organization.AssignMemberRoles(ctx, organizationID, userID, rolesToAssign) +} diff --git a/internal/auth0/organization/resource_member_roles_test.go b/internal/auth0/organization/resource_member_roles_test.go index 97492786e..67dfa5dfe 100644 --- a/internal/auth0/organization/resource_member_roles_test.go +++ b/internal/auth0/organization/resource_member_roles_test.go @@ -44,10 +44,6 @@ resource "auth0_organization_member" "member" { organization_id = auth0_organization.org.id user_id = auth0_user.user.id - - lifecycle { - ignore_changes = [ roles ] - } } ` @@ -171,7 +167,7 @@ func TestAccOrganizationMemberRoles(t *testing.T) { return "", err } - return organizationID + ":" + userID, nil + return organizationID + "::" + userID, nil }, ImportStatePersist: true, }, diff --git a/internal/auth0/organization/resource_member_test.go b/internal/auth0/organization/resource_member_test.go index 8eab86d2b..a6c9050e0 100644 --- a/internal/auth0/organization/resource_member_test.go +++ b/internal/auth0/organization/resource_member_test.go @@ -126,7 +126,7 @@ func TestAccOrganizationMember(t *testing.T) { userID, err := acctest.ExtractResourceAttributeFromState(state, "auth0_user.user_1", "id") assert.NoError(t, err) - return orgID + ":" + userID, nil + return orgID + "::" + userID, nil }, ImportStatePersist: true, }, @@ -141,7 +141,7 @@ func TestAccOrganizationMember(t *testing.T) { userID, err := acctest.ExtractResourceAttributeFromState(state, "auth0_user.user_2", "id") assert.NoError(t, err) - return orgID + ":" + userID, nil + return orgID + "::" + userID, nil }, ImportStatePersist: true, }, diff --git a/internal/auth0/organization/resource_members.go b/internal/auth0/organization/resource_members.go index 9da13c31e..cc0c742cd 100644 --- a/internal/auth0/organization/resource_members.go +++ b/internal/auth0/organization/resource_members.go @@ -49,7 +49,7 @@ func createOrganizationMembers(ctx context.Context, data *schema.ResourceData, m organizationID := data.Get("organization_id").(string) api := meta.(*config.Config).GetAPI() - alreadyMembers, err := api.Organization.Members(organizationID) + alreadyMembers, err := api.Organization.Members(ctx, organizationID) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -73,7 +73,7 @@ func createOrganizationMembers(ctx context.Context, data *schema.ResourceData, m } if len(membersToAdd) > len(alreadyMembers.Members) { - if err := api.Organization.AddMembers(organizationID, membersToAdd); err != nil { + if err := api.Organization.AddMembers(ctx, organizationID, membersToAdd); err != nil { return diag.FromErr(err) } } @@ -81,10 +81,10 @@ func createOrganizationMembers(ctx context.Context, data *schema.ResourceData, m return readOrganizationMembers(ctx, data, meta) } -func readOrganizationMembers(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readOrganizationMembers(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() - members, err := api.Organization.Members(data.Id()) + members, err := api.Organization.Members(ctx, data.Id()) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -115,7 +115,7 @@ func updateOrganizationMembers(ctx context.Context, data *schema.ResourceData, m } if len(removeMembers) > 0 { - if err := api.Organization.DeleteMember(organizationID, removeMembers); err != nil { + if err := api.Organization.DeleteMembers(ctx, organizationID, removeMembers); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") return nil @@ -131,7 +131,7 @@ func updateOrganizationMembers(ctx context.Context, data *schema.ResourceData, m } if len(addMembers) > 0 { - if err := api.Organization.AddMembers(organizationID, addMembers); err != nil { + if err := api.Organization.AddMembers(ctx, organizationID, addMembers); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") return nil @@ -144,7 +144,7 @@ func updateOrganizationMembers(ctx context.Context, data *schema.ResourceData, m return readOrganizationMembers(ctx, data, meta) } -func deleteOrganizationMembers(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteOrganizationMembers(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() organizationID := data.Id() @@ -154,7 +154,7 @@ func deleteOrganizationMembers(_ context.Context, data *schema.ResourceData, met return nil } - if err := api.Organization.DeleteMember(organizationID, membersToRemove); err != nil { + if err := api.Organization.DeleteMembers(ctx, organizationID, membersToRemove); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { return nil } diff --git a/internal/auth0/page/data_source.go b/internal/auth0/page/data_source.go new file mode 100644 index 000000000..e1da22fd6 --- /dev/null +++ b/internal/auth0/page/data_source.go @@ -0,0 +1,31 @@ +package page + +import ( + "context" + + "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/id" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + + internalSchema "github.com/auth0/terraform-provider-auth0/internal/schema" +) + +// NewDataSource will return a new auth0_page data source. +func NewDataSource() *schema.Resource { + return &schema.Resource{ + ReadContext: readPagesForDataSource, + Description: "Use this data source to access the HTML for the login, reset password, multi-factor authentication and error pages.", + Schema: dataSourceSchema(), + } +} + +func dataSourceSchema() map[string]*schema.Schema { + dataSourceSchema := internalSchema.TransformResourceToDataSource(NewResource().Schema) + return dataSourceSchema +} + +func readPagesForDataSource(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { + // This resource is not identified by an id in the Auth0 management API. + data.SetId(id.UniqueId()) + return readPages(ctx, data, meta) +} diff --git a/internal/auth0/page/data_source_test.go b/internal/auth0/page/data_source_test.go new file mode 100644 index 000000000..0a5f7d0ec --- /dev/null +++ b/internal/auth0/page/data_source_test.go @@ -0,0 +1,63 @@ +package page_test + +import ( + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" + + "github.com/auth0/terraform-provider-auth0/internal/acctest" +) + +const testAccDataPagesConfig = ` +resource "auth0_pages" "my_pages" { + login { + enabled = true + html = "My Custom Login Page" + } + + change_password { + enabled = true + html = "My Custom Reset Password Page" + } + + guardian_mfa { + enabled = true + html = "My Custom MFA Page" + } + + error { + show_log_link = true + html = "My Custom Error Page" + url = "https://example.com" + } +} + +data "auth0_pages" "my_pages" { + depends_on = [ auth0_pages.my_pages ] +} +` + +func TestAccDataSourcePages(t *testing.T) { + acctest.Test(t, resource.TestCase{ + Steps: []resource.TestStep{ + { + Config: acctest.ParseTestName(testAccDataPagesConfig, t.Name()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "login.#", "1"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "login.0.enabled", "true"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "login.0.html", "My Custom Login Page"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "change_password.#", "1"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "change_password.0.enabled", "true"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "change_password.0.html", "My Custom Reset Password Page"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "guardian_mfa.#", "1"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "guardian_mfa.0.enabled", "true"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "guardian_mfa.0.html", "My Custom MFA Page"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "error.#", "1"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "error.0.show_log_link", "true"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "error.0.html", "My Custom Error Page"), + resource.TestCheckResourceAttr("data.auth0_pages.my_pages", "error.0.url", "https://example.com"), + ), + }, + }, + }) +} diff --git a/internal/auth0/page/expand.go b/internal/auth0/page/expand.go index 92891d8b6..b409957b0 100644 --- a/internal/auth0/page/expand.go +++ b/internal/auth0/page/expand.go @@ -5,10 +5,61 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/auth0/terraform-provider-auth0/internal/auth0/tenant" "github.com/auth0/terraform-provider-auth0/internal/value" ) +// expandChangePasswordPage expands the change password page config. +func expandChangePasswordPage(config cty.Value) *management.TenantChangePassword { + var changePassword management.TenantChangePassword + + config.ForEachElement(func(_ cty.Value, d cty.Value) (stop bool) { + changePassword.Enabled = value.Bool(d.GetAttr("enabled")) + changePassword.HTML = value.String(d.GetAttr("html")) + return stop + }) + + if changePassword == (management.TenantChangePassword{}) { + return nil + } + + return &changePassword +} + +// expandGuardianMFAPage expands the guardian mfa page config. +func expandGuardianMFAPage(config cty.Value) *management.TenantGuardianMFAPage { + var mfa management.TenantGuardianMFAPage + + config.ForEachElement(func(_ cty.Value, d cty.Value) (stop bool) { + mfa.Enabled = value.Bool(d.GetAttr("enabled")) + mfa.HTML = value.String(d.GetAttr("html")) + return stop + }) + + if mfa == (management.TenantGuardianMFAPage{}) { + return nil + } + + return &mfa +} + +// expandErrorPage expands the error page config. +func expandErrorPage(config cty.Value) *management.TenantErrorPage { + var errorPage management.TenantErrorPage + + config.ForEachElement(func(_ cty.Value, d cty.Value) (stop bool) { + errorPage.HTML = value.String(d.GetAttr("html")) + errorPage.ShowLogLink = value.Bool(d.GetAttr("show_log_link")) + errorPage.URL = value.String(d.GetAttr("url")) + return stop + }) + + if errorPage == (management.TenantErrorPage{}) { + return nil + } + + return &errorPage +} + func expandLoginPage(data *schema.ResourceData) *management.Client { if !data.HasChange("login") { return nil @@ -30,9 +81,9 @@ func expandLoginPage(data *schema.ResourceData) *management.Client { func expandTenantPages(cfg cty.Value) *management.Tenant { tenantPages := &management.Tenant{ - ChangePassword: tenant.ExpandTenantChangePassword(cfg.GetAttr("change_password")), - GuardianMFAPage: tenant.ExpandTenantGuardianMFAPage(cfg.GetAttr("guardian_mfa")), - ErrorPage: tenant.ExpandTenantErrorPage(cfg.GetAttr("error")), + ChangePassword: expandChangePasswordPage(cfg.GetAttr("change_password")), + GuardianMFAPage: expandGuardianMFAPage(cfg.GetAttr("guardian_mfa")), + ErrorPage: expandErrorPage(cfg.GetAttr("error")), } if tenantPages.String() == "{}" { diff --git a/internal/auth0/page/flatten.go b/internal/auth0/page/flatten.go index 1c67e4c33..69c920bec 100644 --- a/internal/auth0/page/flatten.go +++ b/internal/auth0/page/flatten.go @@ -12,3 +12,43 @@ func flattenLoginPage(clientWithLoginPage *management.Client) []interface{} { }, } } + +// flattenChangePasswordPage flattens the change password page data. +func flattenChangePasswordPage(changePassword *management.TenantChangePassword) []interface{} { + if changePassword == nil { + return nil + } + + m := make(map[string]interface{}) + m["enabled"] = changePassword.Enabled + m["html"] = changePassword.HTML + + return []interface{}{m} +} + +// flattenGuardianMFAPage flattens the guardian mfa page data. +func flattenGuardianMFAPage(mfa *management.TenantGuardianMFAPage) []interface{} { + if mfa == nil { + return nil + } + + m := make(map[string]interface{}) + m["enabled"] = mfa.Enabled + m["html"] = mfa.HTML + + return []interface{}{m} +} + +// flattenErrorPage flattens the error page data. +func flattenErrorPage(errorPage *management.TenantErrorPage) []interface{} { + if errorPage == nil { + return nil + } + + m := make(map[string]interface{}) + m["html"] = errorPage.HTML + m["show_log_link"] = errorPage.ShowLogLink + m["url"] = errorPage.URL + + return []interface{}{m} +} diff --git a/internal/auth0/page/resource.go b/internal/auth0/page/resource.go index 2b9ece46c..1d2d196e8 100644 --- a/internal/auth0/page/resource.go +++ b/internal/auth0/page/resource.go @@ -11,7 +11,6 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/id" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/auth0/terraform-provider-auth0/internal/auth0/tenant" "github.com/auth0/terraform-provider-auth0/internal/config" internalValidation "github.com/auth0/terraform-provider-auth0/internal/validation" ) @@ -132,29 +131,29 @@ func createPages(ctx context.Context, data *schema.ResourceData, meta interface{ return updatePages(ctx, data, meta) } -func readPages(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readPages(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() - globalClientID, err := fetchGlobalClientID(api) + globalClientID, err := fetchGlobalClientID(ctx, api) if err != nil { return diag.FromErr(err) } - clientWithLoginPage, err := api.Client.Read(globalClientID) + clientWithLoginPage, err := api.Client.Read(ctx, globalClientID) if err != nil { return diag.FromErr(err) } - tenantPages, err := api.Tenant.Read() + tenantPages, err := api.Tenant.Read(ctx) if err != nil { return diag.FromErr(err) } result := multierror.Append( data.Set("login", flattenLoginPage(clientWithLoginPage)), - data.Set("change_password", tenant.FlattenTenantChangePassword(tenantPages.GetChangePassword())), - data.Set("guardian_mfa", tenant.FlattenTenantGuardianMFAPage(tenantPages.GetGuardianMFAPage())), - data.Set("error", tenant.FlattenTenantErrorPage(tenantPages.GetErrorPage())), + data.Set("change_password", flattenChangePasswordPage(tenantPages.GetChangePassword())), + data.Set("guardian_mfa", flattenGuardianMFAPage(tenantPages.GetGuardianMFAPage())), + data.Set("error", flattenErrorPage(tenantPages.GetErrorPage())), ) return diag.FromErr(result.ErrorOrNil()) @@ -164,18 +163,18 @@ func updatePages(ctx context.Context, data *schema.ResourceData, meta interface{ api := meta.(*config.Config).GetAPI() if clientWithLoginPage := expandLoginPage(data); clientWithLoginPage != nil { - globalClientID, err := fetchGlobalClientID(api) + globalClientID, err := fetchGlobalClientID(ctx, api) if err != nil { return diag.FromErr(err) } - if err := api.Client.Update(globalClientID, clientWithLoginPage); err != nil { + if err := api.Client.Update(ctx, globalClientID, clientWithLoginPage); err != nil { return diag.FromErr(err) } } if tenantPages := expandTenantPages(data.GetRawConfig()); tenantPages != nil { - if err := api.Tenant.Update(tenantPages); err != nil { + if err := api.Tenant.Update(ctx, tenantPages); err != nil { return diag.FromErr(err) } } @@ -183,21 +182,21 @@ func updatePages(ctx context.Context, data *schema.ResourceData, meta interface{ return readPages(ctx, data, meta) } -func deletePages(_ context.Context, _ *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deletePages(ctx context.Context, _ *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() - globalClientID, err := fetchGlobalClientID(api) + globalClientID, err := fetchGlobalClientID(ctx, api) if err != nil { return diag.FromErr(err) } - if err := api.Client.Update(globalClientID, &management.Client{ + if err := api.Client.Update(ctx, globalClientID, &management.Client{ CustomLoginPageOn: auth0.Bool(false), }); err != nil { return diag.FromErr(err) } - if err := api.Tenant.Update(&management.Tenant{ + if err := api.Tenant.Update(ctx, &management.Tenant{ ChangePassword: &management.TenantChangePassword{ Enabled: auth0.Bool(false), }, @@ -216,8 +215,9 @@ func deletePages(_ context.Context, _ *schema.ResourceData, meta interface{}) di return nil } -func fetchGlobalClientID(api *management.Management) (string, error) { +func fetchGlobalClientID(ctx context.Context, api *management.Management) (string, error) { clientList, err := api.Client.List( + ctx, management.Parameter("is_global", "true"), management.IncludeFields("client_id"), ) diff --git a/internal/auth0/prompt/resource.go b/internal/auth0/prompt/resource.go index 7237d5f80..023fc5ef9 100644 --- a/internal/auth0/prompt/resource.go +++ b/internal/auth0/prompt/resource.go @@ -29,25 +29,28 @@ func NewResource() *schema.Resource { "including choosing the login experience version.", Schema: map[string]*schema.Schema{ "universal_login_experience": { - Type: schema.TypeString, - Optional: true, - Computed: true, - ValidateFunc: validation.StringInSlice([]string{ - "new", "classic", - }, false), - Description: "Which login experience to use. Options include `classic` and `new`.", + Type: schema.TypeString, + Optional: true, + Computed: true, + ValidateFunc: validation.StringInSlice([]string{"new", "classic"}, false), + AtLeastOneOf: []string{"identifier_first", "webauthn_platform_first_factor"}, + Description: "Which login experience to use. Options include `classic` and `new`.", }, "identifier_first": { - Type: schema.TypeBool, - Optional: true, + Type: schema.TypeBool, + Optional: true, + Computed: true, + AtLeastOneOf: []string{"universal_login_experience", "webauthn_platform_first_factor"}, Description: "Indicates whether the identifier first is used when " + "using the new Universal Login experience.", }, "webauthn_platform_first_factor": { - Type: schema.TypeBool, - Optional: true, - Computed: true, - Description: "Determines if the login screen uses identifier and biometrics first.", + Type: schema.TypeBool, + Optional: true, + Computed: true, + AtLeastOneOf: []string{"universal_login_experience", "identifier_first"}, + Description: "Determines if the login screen uses identifier and biometrics first. " + + "Setting this property to `true`, requires MFA factors enabled for enrollment; use the `auth0_guardian` resource to set one up.", }, }, } @@ -58,10 +61,10 @@ func createPrompt(ctx context.Context, d *schema.ResourceData, m interface{}) di return updatePrompt(ctx, d, m) } -func readPrompt(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readPrompt(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - prompt, err := api.Prompt.Read() + prompt, err := api.Prompt.Read(ctx) if err != nil { return diag.FromErr(err) } @@ -79,15 +82,14 @@ func updatePrompt(ctx context.Context, d *schema.ResourceData, m interface{}) di api := m.(*config.Config).GetAPI() prompt := expandPrompt(d.GetRawConfig()) - if err := api.Prompt.Update(prompt); err != nil { + if err := api.Prompt.Update(ctx, prompt); err != nil { return diag.FromErr(err) } return readPrompt(ctx, d, m) } -func deletePrompt(_ context.Context, d *schema.ResourceData, _ interface{}) diag.Diagnostics { - d.SetId("") +func deletePrompt(_ context.Context, _ *schema.ResourceData, _ interface{}) diag.Diagnostics { return nil } @@ -97,9 +99,9 @@ func expandPrompt(d cty.Value) *management.Prompt { WebAuthnPlatformFirstFactor: value.Bool(d.GetAttr("webauthn_platform_first_factor")), } - ule := d.GetAttr("universal_login_experience") - if !ule.IsNull() { - prompt.UniversalLoginExperience = ule.AsString() + ulExp := d.GetAttr("universal_login_experience") + if !ulExp.IsNull() { + prompt.UniversalLoginExperience = ulExp.AsString() } return &prompt diff --git a/internal/auth0/prompt/resource_custom_text.go b/internal/auth0/prompt/resource_custom_text.go index 796a85da9..d73ee7d43 100644 --- a/internal/auth0/prompt/resource_custom_text.go +++ b/internal/auth0/prompt/resource_custom_text.go @@ -40,7 +40,7 @@ func NewCustomTextResource() *schema.Resource { UpdateContext: updatePromptCustomText, DeleteContext: deletePromptCustomText, Importer: &schema.ResourceImporter{ - StateContext: internalSchema.ImportResourceGroupID(internalSchema.SeparatorColon, "prompt", "language"), + StateContext: internalSchema.ImportResourceGroupID("prompt", "language"), }, Description: "With this resource, you can manage custom text on your Auth0 prompts. You can read more about " + "custom texts [here](https://auth0.com/docs/customize/universal-login-pages/customize-login-text-prompts).", @@ -72,13 +72,17 @@ func NewCustomTextResource() *schema.Resource { } func createPromptCustomText(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { - d.SetId(d.Get("prompt").(string) + ":" + d.Get("language").(string)) + prompt := d.Get("prompt").(string) + language := d.Get("language").(string) + + internalSchema.SetResourceGroupID(d, prompt, language) + return updatePromptCustomText(ctx, d, m) } -func readPromptCustomText(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readPromptCustomText(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - customText, err := api.Prompt.CustomText(d.Get("prompt").(string), d.Get("language").(string)) + customText, err := api.Prompt.CustomText(ctx, d.Get("prompt").(string), d.Get("language").(string)) if err != nil { if mErr, ok := err.(management.Error); ok { if mErr.Status() == http.StatusNotFound { @@ -113,7 +117,7 @@ func updatePromptCustomText(ctx context.Context, d *schema.ResourceData, m inter return diag.FromErr(err) } - if err := api.Prompt.SetCustomText(prompt, language, payload); err != nil { + if err := api.Prompt.SetCustomText(ctx, prompt, language, payload); err != nil { return diag.FromErr(err) } diff --git a/internal/auth0/prompt/resource_test.go b/internal/auth0/prompt/resource_test.go index 716c4f438..de1061f84 100644 --- a/internal/auth0/prompt/resource_test.go +++ b/internal/auth0/prompt/resource_test.go @@ -16,25 +16,25 @@ resource "auth0_prompt" "prompt" { const testAccPromptCreate = ` resource "auth0_prompt" "prompt" { - universal_login_experience = "classic" - identifier_first = false - webauthn_platform_first_factor = false + universal_login_experience = "classic" + identifier_first = false + webauthn_platform_first_factor = false } ` const testAccPromptUpdate = ` resource "auth0_prompt" "prompt" { - universal_login_experience = "new" - identifier_first = true - webauthn_platform_first_factor = false + universal_login_experience = "new" + identifier_first = true + webauthn_platform_first_factor = false } ` const testAccPromptUpdateAgain = ` resource "auth0_prompt" "prompt" { - universal_login_experience = "new" - identifier_first = false - webauthn_platform_first_factor = true + universal_login_experience = "new" + identifier_first = false + webauthn_platform_first_factor = true } ` diff --git a/internal/auth0/resourceserver/data_source.go b/internal/auth0/resourceserver/data_source.go index bcf6febcd..9fd8fa6e8 100644 --- a/internal/auth0/resourceserver/data_source.go +++ b/internal/auth0/resourceserver/data_source.go @@ -2,10 +2,8 @@ package resourceserver import ( "context" - "net/http" "net/url" - "github.com/auth0/go-auth0/management" "github.com/hashicorp/go-multierror" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" @@ -25,6 +23,7 @@ func NewDataSource() *schema.Resource { func dataSourceSchema() map[string]*schema.Schema { dataSourceSchema := internalSchema.TransformResourceToDataSource(internalSchema.Clone(NewResource().Schema)) + dataSourceSchema["resource_server_id"] = &schema.Schema{ Type: schema.TypeString, Optional: true, @@ -32,30 +31,46 @@ func dataSourceSchema() map[string]*schema.Schema { AtLeastOneOf: []string{"resource_server_id", "identifier"}, } - internalSchema.SetExistingAttributesAsOptional(dataSourceSchema, "identifier") - dataSourceSchema["identifier"].Description = "The unique identifier for the resource server. " + - "If not provided, `resource_server_id` must be set." - dataSourceSchema["identifier"].AtLeastOneOf = []string{"resource_server_id", "identifier"} + dataSourceSchema["identifier"] = &schema.Schema{ + Type: schema.TypeString, + Optional: true, + Description: "Unique identifier for the resource server. Used as the audience parameter " + + "for authorization calls. If not provided, `resource_server_id` must be set. ", + AtLeastOneOf: []string{"resource_server_id", "identifier"}, + } - dataSourceSchema["scopes"].Deprecated = "" - dataSourceSchema["scopes"].Description = "List of permissions (scopes) used by this resource server." + dataSourceSchema["scopes"] = &schema.Schema{ + Type: schema.TypeSet, + Computed: true, + Description: "List of permissions (scopes) used by this resource server.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "name": { + Type: schema.TypeString, + Computed: true, + Description: "Name of the permission (scope). Examples include `read:appointments` or `delete:appointments`.", + }, + "description": { + Type: schema.TypeString, + Computed: true, + Description: "Description of the permission (scope).", + }, + }, + }, + } return dataSourceSchema } -func readResourceServerForDataSource(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readResourceServerForDataSource(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { resourceServerID := data.Get("resource_server_id").(string) if resourceServerID == "" { resourceServerID = url.PathEscape(data.Get("identifier").(string)) } api := meta.(*config.Config).GetAPI() - resourceServer, err := api.ResourceServer.Read(resourceServerID) + resourceServer, err := api.ResourceServer.Read(ctx, resourceServerID) if err != nil { - if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { - data.SetId("") - return nil - } return diag.FromErr(err) } diff --git a/internal/auth0/resourceserver/data_source_test.go b/internal/auth0/resourceserver/data_source_test.go index 41de00445..50b2eb2ae 100644 --- a/internal/auth0/resourceserver/data_source_test.go +++ b/internal/auth0/resourceserver/data_source_test.go @@ -11,43 +11,63 @@ import ( "github.com/auth0/terraform-provider-auth0/internal/acctest" ) -const testAccGivenAResourceServer = ` +const testAccGivenAResourceServerWithScopes = ` resource "auth0_resource_server" "my_api" { - name = "Acceptance Test - {{.testName}}" - identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" - signing_alg = "RS256" + name = "Acceptance Test - {{.testName}}" + identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" + signing_alg = "RS256" + allow_offline_access = true + token_lifetime = 7200 + token_lifetime_for_web = 3600 + skip_consent_for_verifiable_first_party_clients = true + enforce_policies = true +} + +resource "auth0_resource_server_scopes" "my_scopes" { + depends_on = [ auth0_resource_server.my_api ] + + resource_server_identifier = auth0_resource_server.my_api.identifier + scopes { - value = "create:foo" + name = "create:foo" description = "Create foos" } + scopes { - value = "create:bar" + name = "create:bar" description = "Create bars" } - allow_offline_access = true - token_lifetime = 7200 - token_lifetime_for_web = 3600 - skip_consent_for_verifiable_first_party_clients = true - enforce_policies = true } ` -const testAccDataResourceServerConfigByIdentifier = testAccGivenAResourceServer + ` +const testAccDataResourceServerNonExistentIdentifier = testAccGivenAResourceServerWithScopes + ` data "auth0_resource_server" "test" { - depends_on = [ auth0_resource_server.my_api ] + identifier = "this-resource-server-does-not-exist" +} +` + +const testAccDataResourceServerConfigByIdentifier = testAccGivenAResourceServerWithScopes + ` +data "auth0_resource_server" "test" { + depends_on = [ auth0_resource_server_scopes.my_scopes ] identifier = auth0_resource_server.my_api.identifier } ` -const testAccDataResourceServerConfigByID = testAccGivenAResourceServer + ` +const testAccDataResourceServerConfigByID = testAccGivenAResourceServerWithScopes + ` data "auth0_resource_server" "test" { - depends_on = [ auth0_resource_server.my_api ] + depends_on = [ auth0_resource_server_scopes.my_scopes ] resource_server_id = auth0_resource_server.my_api.id } ` +const testAccDataAuth0ManagementAPI = ` +data "auth0_resource_server" "auth0" { + identifier = %q +} +` + func TestAccDataSourceResourceServerRequiredArguments(t *testing.T) { resource.UnitTest(t, resource.TestCase{ ProviderFactories: acctest.TestFactories(), @@ -60,38 +80,15 @@ func TestAccDataSourceResourceServerRequiredArguments(t *testing.T) { }) } -func TestAccDataSourceResourceServerByIdentifier(t *testing.T) { +func TestAccDataSourceResourceServer(t *testing.T) { + managementAPIIdentifier := "https://" + os.Getenv("AUTH0_DOMAIN") + "/api/v2/" + acctest.Test(t, resource.TestCase{ - PreventPostDestroyRefresh: true, Steps: []resource.TestStep{ { - Config: acctest.ParseTestName(testAccGivenAResourceServer, t.Name()), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "name", fmt.Sprintf("Acceptance Test - %s", t.Name())), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "identifier", fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", t.Name())), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "signing_alg", "RS256"), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "allow_offline_access", "true"), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "token_lifetime", "7200"), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "token_lifetime_for_web", "3600"), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "skip_consent_for_verifiable_first_party_clients", "true"), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "enforce_policies", "true"), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "scopes.#", "2"), - resource.TestCheckTypeSetElemNestedAttrs( - "auth0_resource_server.my_api", - "scopes.*", - map[string]string{ - "value": "create:foo", - "description": "Create foos", - }, - ), - resource.TestCheckTypeSetElemNestedAttrs( - "auth0_resource_server.my_api", - "scopes.*", - map[string]string{ - "value": "create:bar", - "description": "Create bars", - }, - ), + Config: acctest.ParseTestName(testAccDataResourceServerNonExistentIdentifier, t.Name()), + ExpectError: regexp.MustCompile( + `404 Not Found: The resource server does not exist`, ), }, { @@ -110,7 +107,7 @@ func TestAccDataSourceResourceServerByIdentifier(t *testing.T) { "data.auth0_resource_server.test", "scopes.*", map[string]string{ - "value": "create:foo", + "name": "create:foo", "description": "Create foos", }, ), @@ -118,45 +115,7 @@ func TestAccDataSourceResourceServerByIdentifier(t *testing.T) { "data.auth0_resource_server.test", "scopes.*", map[string]string{ - "value": "create:bar", - "description": "Create bars", - }, - ), - ), - }, - }, - }) -} - -func TestAccDataSourceResourceServerByID(t *testing.T) { - acctest.Test(t, resource.TestCase{ - PreventPostDestroyRefresh: true, - Steps: []resource.TestStep{ - { - Config: acctest.ParseTestName(testAccGivenAResourceServer, t.Name()), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "name", fmt.Sprintf("Acceptance Test - %s", t.Name())), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "identifier", fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", t.Name())), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "signing_alg", "RS256"), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "allow_offline_access", "true"), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "token_lifetime", "7200"), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "token_lifetime_for_web", "3600"), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "skip_consent_for_verifiable_first_party_clients", "true"), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "enforce_policies", "true"), - resource.TestCheckResourceAttr("auth0_resource_server.my_api", "scopes.#", "2"), - resource.TestCheckTypeSetElemNestedAttrs( - "auth0_resource_server.my_api", - "scopes.*", - map[string]string{ - "value": "create:foo", - "description": "Create foos", - }, - ), - resource.TestCheckTypeSetElemNestedAttrs( - "auth0_resource_server.my_api", - "scopes.*", - map[string]string{ - "value": "create:bar", + "name": "create:bar", "description": "Create bars", }, ), @@ -179,7 +138,7 @@ func TestAccDataSourceResourceServerByID(t *testing.T) { "data.auth0_resource_server.test", "scopes.*", map[string]string{ - "value": "create:foo", + "name": "create:foo", "description": "Create foos", }, ), @@ -187,43 +146,23 @@ func TestAccDataSourceResourceServerByID(t *testing.T) { "data.auth0_resource_server.test", "scopes.*", map[string]string{ - "value": "create:bar", + "name": "create:bar", "description": "Create bars", }, ), ), }, - }, - }) -} - -const testAccDataAuth0ManagementAPI = ` -data "auth0_resource_server" "auth0" { - resource_server_id = "112233445566777899011232" -} -` - -func TestAccDataResourceServerAuth0APIManagement(t *testing.T) { - if os.Getenv("AUTH0_DOMAIN") != acctest.RecordingsDomain { - // Skip this test if we're running with a real domain as the Auth0 Management API - // is a singleton resource always created on the tenant and each tenant - // will have it created with different IDs and Identifiers. - t.Skip() - } - - acctest.Test(t, resource.TestCase{ - Steps: []resource.TestStep{ { - Config: testAccDataAuth0ManagementAPI, + Config: fmt.Sprintf(testAccDataAuth0ManagementAPI, managementAPIIdentifier), Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "name", "Auth0 Management API"), - resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "identifier", "https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/"), + resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "identifier", managementAPIIdentifier), resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "token_lifetime", "86400"), resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "skip_consent_for_verifiable_first_party_clients", "false"), resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "allow_offline_access", "false"), resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "signing_alg", "RS256"), resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "token_lifetime_for_web", "7200"), - resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "scopes.#", "136"), + resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "scopes.#", "140"), resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "verification_location", ""), resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "enforce_policies", "false"), resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "token_dialect", ""), diff --git a/internal/auth0/resourceserver/expand.go b/internal/auth0/resourceserver/expand.go new file mode 100644 index 000000000..ee1e6e970 --- /dev/null +++ b/internal/auth0/resourceserver/expand.go @@ -0,0 +1,60 @@ +package resourceserver + +import ( + "github.com/auth0/go-auth0/management" + "github.com/hashicorp/go-cty/cty" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + + "github.com/auth0/terraform-provider-auth0/internal/value" +) + +func expandResourceServer(data *schema.ResourceData) *management.ResourceServer { + cfg := data.GetRawConfig() + + resourceServer := &management.ResourceServer{ + TokenLifetime: value.Int(cfg.GetAttr("token_lifetime")), + SkipConsentForVerifiableFirstPartyClients: value.Bool( + cfg.GetAttr("skip_consent_for_verifiable_first_party_clients"), + ), + } + + if data.IsNewResource() { + resourceServer.Identifier = value.String(cfg.GetAttr("identifier")) + } + + if !resourceServerIsAuth0ManagementAPI(data.GetRawState()) { + resourceServer.Name = value.String(cfg.GetAttr("name")) + resourceServer.SigningAlgorithm = value.String(cfg.GetAttr("signing_alg")) + resourceServer.SigningSecret = value.String(cfg.GetAttr("signing_secret")) + resourceServer.AllowOfflineAccess = value.Bool(cfg.GetAttr("allow_offline_access")) + resourceServer.TokenLifetimeForWeb = value.Int(cfg.GetAttr("token_lifetime_for_web")) + resourceServer.EnforcePolicies = value.Bool(cfg.GetAttr("enforce_policies")) + resourceServer.TokenDialect = value.String(cfg.GetAttr("token_dialect")) + resourceServer.VerificationLocation = value.String(cfg.GetAttr("verification_location")) + } + + return resourceServer +} + +func expandResourceServerScopes(scopes cty.Value) *[]management.ResourceServerScope { + resourceServerScopes := make([]management.ResourceServerScope, 0) + + scopes.ForEachElement(func(_ cty.Value, scope cty.Value) (stop bool) { + resourceServerScopes = append(resourceServerScopes, management.ResourceServerScope{ + Value: value.String(scope.GetAttr("name")), + Description: value.String(scope.GetAttr("description")), + }) + + return stop + }) + + return &resourceServerScopes +} + +func resourceServerIsAuth0ManagementAPI(state cty.Value) bool { + if state.IsNull() { + return false + } + + return state.GetAttr("name").AsString() == auth0ManagementAPIName +} diff --git a/internal/auth0/resourceserver/flatten.go b/internal/auth0/resourceserver/flatten.go new file mode 100644 index 000000000..962379114 --- /dev/null +++ b/internal/auth0/resourceserver/flatten.go @@ -0,0 +1,47 @@ +package resourceserver + +import ( + "github.com/auth0/go-auth0/management" + "github.com/hashicorp/go-multierror" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" +) + +func flattenResourceServer(data *schema.ResourceData, resourceServer *management.ResourceServer) error { + result := multierror.Append( + data.Set("name", resourceServer.GetName()), + data.Set("identifier", resourceServer.GetIdentifier()), + data.Set("token_lifetime", resourceServer.GetTokenLifetime()), + data.Set("allow_offline_access", resourceServer.GetAllowOfflineAccess()), + data.Set("token_lifetime_for_web", resourceServer.GetTokenLifetimeForWeb()), + data.Set("signing_alg", resourceServer.GetSigningAlgorithm()), + data.Set("signing_secret", resourceServer.GetSigningSecret()), + data.Set( + "skip_consent_for_verifiable_first_party_clients", + resourceServer.GetSkipConsentForVerifiableFirstPartyClients(), + ), + ) + + if resourceServer.GetName() != auth0ManagementAPIName { + result = multierror.Append( + result, + data.Set("verification_location", resourceServer.GetVerificationLocation()), + data.Set("enforce_policies", resourceServer.GetEnforcePolicies()), + data.Set("token_dialect", resourceServer.GetTokenDialect()), + ) + } + + return result.ErrorOrNil() +} + +func flattenResourceServerScopes(resourceServerScopes []management.ResourceServerScope) []map[string]interface{} { + scopes := make([]map[string]interface{}, len(resourceServerScopes)) + + for index, scope := range resourceServerScopes { + scopes[index] = map[string]interface{}{ + "name": scope.GetValue(), + "description": scope.GetDescription(), + } + } + + return scopes +} diff --git a/internal/auth0/resourceserver/resource.go b/internal/auth0/resourceserver/resource.go index b4e797a1b..42c734c5f 100644 --- a/internal/auth0/resourceserver/resource.go +++ b/internal/auth0/resourceserver/resource.go @@ -6,17 +6,14 @@ import ( "net/http" "github.com/auth0/go-auth0/management" - "github.com/hashicorp/go-cty/cty" - "github.com/hashicorp/go-multierror" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" "github.com/auth0/terraform-provider-auth0/internal/config" - "github.com/auth0/terraform-provider-auth0/internal/value" ) -const auth0ManagementAPI = "Auth0 Management API" +const auth0ManagementAPIName = "Auth0 Management API" // NewResource will return a new auth0_resource_server resource. func NewResource() *schema.Resource { @@ -42,32 +39,6 @@ func NewResource() *schema.Resource { Description: "Unique identifier for the resource server. Used as the audience parameter " + "for authorization calls. Cannot be changed once set.", }, - "scopes": { - Type: schema.TypeSet, - Optional: true, - Deprecated: "Managing scopes through the `scopes` attribute is deprecated and it will be removed in a future major version. " + - "Migrate to the `auth0_resource_server_scope` or `auth0_resource_server_scopes` resources to manage role scopes instead. " + - "Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#resource-server-scopes) for more info.", - Description: "List of permissions (scopes) used by this resource server. " + - "Managing scopes through the `scopes` attribute is deprecated and it will be removed in a future major version. " + - "Migrate to the `auth0_resource_server_scope` or `auth0_resource_server_scopes` resources to manage role scopes instead. " + - "Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#resource-server-scopes) for more info.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "value": { - Type: schema.TypeString, - Required: true, - Description: "Name of the permission (scope). Examples include " + - "`read:appointments` or `delete:appointments`.", - }, - "description": { - Type: schema.TypeString, - Optional: true, - Description: "Description of the permission (scope).", - }, - }, - }, - }, "signing_alg": { Type: schema.TypeString, Optional: true, @@ -150,7 +121,8 @@ func createResourceServer(ctx context.Context, d *schema.ResourceData, m interfa api := m.(*config.Config).GetAPI() resourceServer := expandResourceServer(d) - if err := api.ResourceServer.Create(resourceServer); err != nil { + + if err := api.ResourceServer.Create(ctx, resourceServer); err != nil { return diag.FromErr(err) } @@ -159,15 +131,16 @@ func createResourceServer(ctx context.Context, d *schema.ResourceData, m interfa return readResourceServer(ctx, d, m) } -func readResourceServer(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readResourceServer(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - resourceServer, err := api.ResourceServer.Read(d.Id()) + resourceServer, err := api.ResourceServer.Read(ctx, d.Id()) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") return nil } + return diag.FromErr(err) } @@ -175,31 +148,9 @@ func readResourceServer(_ context.Context, d *schema.ResourceData, m interface{} // as both can be used to find a resource server with the Read() func. d.SetId(resourceServer.GetID()) - result := multierror.Append( - d.Set("name", resourceServer.GetName()), - d.Set("identifier", resourceServer.GetIdentifier()), - d.Set("token_lifetime", resourceServer.GetTokenLifetime()), - d.Set("allow_offline_access", resourceServer.GetAllowOfflineAccess()), - d.Set("token_lifetime_for_web", resourceServer.GetTokenLifetimeForWeb()), - d.Set("signing_alg", resourceServer.GetSigningAlgorithm()), - d.Set("signing_secret", resourceServer.GetSigningSecret()), - d.Set( - "skip_consent_for_verifiable_first_party_clients", - resourceServer.GetSkipConsentForVerifiableFirstPartyClients(), - ), - ) + err = flattenResourceServer(d, resourceServer) - if resourceServer.GetName() != auth0ManagementAPI { - result = multierror.Append( - result, - d.Set("verification_location", resourceServer.GetVerificationLocation()), - d.Set("enforce_policies", resourceServer.GetEnforcePolicies()), - d.Set("token_dialect", resourceServer.GetTokenDialect()), - d.Set("scopes", flattenResourceServerScopes(resourceServer.GetScopes())), - ) - } - - return diag.FromErr(result.ErrorOrNil()) + return diag.FromErr(err) } func updateResourceServer(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { @@ -207,94 +158,27 @@ func updateResourceServer(ctx context.Context, d *schema.ResourceData, m interfa resourceServer := expandResourceServer(d) - if err := api.ResourceServer.Update(d.Id(), resourceServer); err != nil { + if err := api.ResourceServer.Update(ctx, d.Id(), resourceServer); err != nil { return diag.FromErr(err) } return readResourceServer(ctx, d, m) } -func deleteResourceServer(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { - if isManagementAPI(d.GetRawState()) { - d.SetId("") +func deleteResourceServer(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { + if resourceServerIsAuth0ManagementAPI(d.GetRawState()) { return nil } api := m.(*config.Config).GetAPI() - if err := api.ResourceServer.Delete(d.Id()); err != nil { + if err := api.ResourceServer.Delete(ctx, d.Id()); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { - d.SetId("") return nil } + return diag.FromErr(err) } - d.SetId("") return nil } - -func expandResourceServer(d *schema.ResourceData) *management.ResourceServer { - config := d.GetRawConfig() - - resourceServer := &management.ResourceServer{ - TokenLifetime: value.Int(config.GetAttr("token_lifetime")), - SkipConsentForVerifiableFirstPartyClients: value.Bool( - config.GetAttr("skip_consent_for_verifiable_first_party_clients"), - ), - } - - if d.IsNewResource() { - resourceServer.Identifier = value.String(config.GetAttr("identifier")) - } - - if !isManagementAPI(d.GetRawState()) { - resourceServer.Name = value.String(config.GetAttr("name")) - resourceServer.Scopes = expandResourceServerScopes(config.GetAttr("scopes")) - resourceServer.SigningAlgorithm = value.String(config.GetAttr("signing_alg")) - resourceServer.SigningSecret = value.String(config.GetAttr("signing_secret")) - resourceServer.AllowOfflineAccess = value.Bool(config.GetAttr("allow_offline_access")) - resourceServer.TokenLifetimeForWeb = value.Int(config.GetAttr("token_lifetime_for_web")) - resourceServer.EnforcePolicies = value.Bool(config.GetAttr("enforce_policies")) - resourceServer.TokenDialect = value.String(config.GetAttr("token_dialect")) - resourceServer.VerificationLocation = value.String(config.GetAttr("verification_location")) - } - - return resourceServer -} - -func expandResourceServerScopes(scopes cty.Value) *[]management.ResourceServerScope { - resourceServerScopes := make([]management.ResourceServerScope, 0) - - scopes.ForEachElement(func(_ cty.Value, scope cty.Value) (stop bool) { - resourceServerScopes = append(resourceServerScopes, management.ResourceServerScope{ - Value: value.String(scope.GetAttr("value")), - Description: value.String(scope.GetAttr("description")), - }) - - return stop - }) - - return &resourceServerScopes -} - -func flattenResourceServerScopes(resourceServerScopes []management.ResourceServerScope) []map[string]interface{} { - scopes := make([]map[string]interface{}, len(resourceServerScopes)) - - for index, scope := range resourceServerScopes { - scopes[index] = map[string]interface{}{ - "value": scope.Value, - "description": scope.Description, - } - } - - return scopes -} - -func isManagementAPI(state cty.Value) bool { - if state.IsNull() { - return false - } - - return state.GetAttr("name").AsString() == auth0ManagementAPI -} diff --git a/internal/auth0/resourceserver/resource_scope.go b/internal/auth0/resourceserver/resource_scope.go index 06d929780..d622bfd6c 100644 --- a/internal/auth0/resourceserver/resource_scope.go +++ b/internal/auth0/resourceserver/resource_scope.go @@ -40,7 +40,7 @@ func NewScopeResource() *schema.Resource { ReadContext: readResourceServerScope, DeleteContext: deleteResourceServerScope, Importer: &schema.ResourceImporter{ - StateContext: internalSchema.ImportResourceGroupID(internalSchema.SeparatorDoubleColon, "resource_server_identifier", "scope"), + StateContext: internalSchema.ImportResourceGroupID("resource_server_identifier", "scope"), }, Description: "With this resource, you can manage scopes (permissions) associated with a resource server (API).", } @@ -57,7 +57,7 @@ func createResourceServerScope(ctx context.Context, data *schema.ResourceData, m mutex.Lock(resourceServerIdentifier) // Prevents colliding API requests between other `auth0_resource_server_scope` resource. defer mutex.Unlock(resourceServerIdentifier) - existingAPI, err := api.ResourceServer.Read(resourceServerIdentifier) + existingAPI, err := api.ResourceServer.Read(ctx, resourceServerIdentifier) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -67,7 +67,7 @@ func createResourceServerScope(ctx context.Context, data *schema.ResourceData, m return diag.FromErr(err) } - data.SetId(fmt.Sprintf(`%s::%s`, resourceServerIdentifier, scope)) + internalSchema.SetResourceGroupID(data, resourceServerIdentifier, scope) for _, apiScope := range existingAPI.GetScopes() { if apiScope.GetValue() == scope { @@ -83,7 +83,7 @@ func createResourceServerScope(ctx context.Context, data *schema.ResourceData, m Scopes: &scopes, } - if err := api.ResourceServer.Update(resourceServerIdentifier, &resourceServer); err != nil { + if err := api.ResourceServer.Update(ctx, resourceServerIdentifier, &resourceServer); err != nil { return diag.FromErr(err) } @@ -101,7 +101,7 @@ func updateResourceServerScope(ctx context.Context, data *schema.ResourceData, m mutex.Lock(resourceServerIdentifier) // Prevents colliding API requests between other `auth0_resource_server_scope` resource. defer mutex.Unlock(resourceServerIdentifier) - existingAPI, err := api.ResourceServer.Read(resourceServerIdentifier) + existingAPI, err := api.ResourceServer.Read(ctx, resourceServerIdentifier) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -127,7 +127,7 @@ func updateResourceServerScope(ctx context.Context, data *schema.ResourceData, m return nil } - if err := api.ResourceServer.Update(resourceServerIdentifier, &management.ResourceServer{ + if err := api.ResourceServer.Update(ctx, resourceServerIdentifier, &management.ResourceServer{ Scopes: &updatedScopes, }); err != nil { return diag.FromErr(err) @@ -138,13 +138,13 @@ func updateResourceServerScope(ctx context.Context, data *schema.ResourceData, m return readResourceServerScope(ctx, data, meta) } -func readResourceServerScope(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readResourceServerScope(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() resourceServerID := data.Get("resource_server_identifier").(string) scope := data.Get("scope").(string) - existingAPI, err := api.ResourceServer.Read(resourceServerID) + existingAPI, err := api.ResourceServer.Read(ctx, resourceServerID) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -164,7 +164,7 @@ func readResourceServerScope(_ context.Context, data *schema.ResourceData, meta return nil } -func deleteResourceServerScope(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteResourceServerScope(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() resourceServerIdentifier := data.Get("resource_server_identifier").(string) @@ -174,7 +174,7 @@ func deleteResourceServerScope(_ context.Context, data *schema.ResourceData, met mutex.Lock(resourceServerIdentifier) // Prevents colliding API requests between other `auth0_resource_server_scope` resource. defer mutex.Unlock(resourceServerIdentifier) - existingAPI, err := api.ResourceServer.Read(resourceServerIdentifier) + existingAPI, err := api.ResourceServer.Read(ctx, resourceServerIdentifier) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -191,6 +191,7 @@ func deleteResourceServerScope(_ context.Context, data *schema.ResourceData, met } if err := api.ResourceServer.Update( + ctx, resourceServerIdentifier, &management.ResourceServer{ Scopes: &updateScopes, diff --git a/internal/auth0/resourceserver/resource_scopes.go b/internal/auth0/resourceserver/resource_scopes.go index ab81f0fef..fef3ed6c2 100644 --- a/internal/auth0/resourceserver/resource_scopes.go +++ b/internal/auth0/resourceserver/resource_scopes.go @@ -7,13 +7,11 @@ import ( "github.com/auth0/go-auth0/management" "github.com/google/go-cmp/cmp" - "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/go-multierror" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/auth0/terraform-provider-auth0/internal/config" - "github.com/auth0/terraform-provider-auth0/internal/value" ) // NewScopesResource will return a new auth0_resource_server_scopes (1:many) resource. @@ -62,7 +60,7 @@ func createResourceServerScopes(ctx context.Context, data *schema.ResourceData, resourceServerIdentifier := data.Get("resource_server_identifier").(string) - existingResourceServer, err := api.ResourceServer.Read(resourceServerIdentifier) + existingResourceServer, err := api.ResourceServer.Read(ctx, resourceServerIdentifier) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -73,7 +71,7 @@ func createResourceServerScopes(ctx context.Context, data *schema.ResourceData, } updatedResourceServer := &management.ResourceServer{ - Scopes: expandAPIScopes(data.GetRawConfig().GetAttr("scopes")), + Scopes: expandResourceServerScopes(data.GetRawConfig().GetAttr("scopes")), } if diagnostics := guardAgainstErasingUnwantedScopes( @@ -85,7 +83,7 @@ func createResourceServerScopes(ctx context.Context, data *schema.ResourceData, return diagnostics } - if err := api.ResourceServer.Update(resourceServerIdentifier, updatedResourceServer); err != nil { + if err := api.ResourceServer.Update(ctx, resourceServerIdentifier, updatedResourceServer); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") return nil @@ -99,10 +97,10 @@ func createResourceServerScopes(ctx context.Context, data *schema.ResourceData, return readResourceServerScopes(ctx, data, meta) } -func readResourceServerScopes(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readResourceServerScopes(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() - resourceServer, err := api.ResourceServer.Read(data.Id()) + resourceServer, err := api.ResourceServer.Read(ctx, data.Id()) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -114,7 +112,7 @@ func readResourceServerScopes(_ context.Context, data *schema.ResourceData, meta result := multierror.Append( data.Set("resource_server_identifier", resourceServer.GetIdentifier()), - data.Set("scopes", flattenAPIScopes(resourceServer.GetScopes())), + data.Set("scopes", flattenResourceServerScopes(resourceServer.GetScopes())), ) return diag.FromErr(result.ErrorOrNil()) @@ -126,10 +124,10 @@ func updateResourceServerScopes(ctx context.Context, data *schema.ResourceData, resourceServerIdentifier := data.Get("resource_server_identifier").(string) updatedResourceServer := &management.ResourceServer{ - Scopes: expandAPIScopes(data.GetRawConfig().GetAttr("scopes")), + Scopes: expandResourceServerScopes(data.GetRawConfig().GetAttr("scopes")), } - if err := api.ResourceServer.Update(resourceServerIdentifier, updatedResourceServer); err != nil { + if err := api.ResourceServer.Update(ctx, resourceServerIdentifier, updatedResourceServer); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") return nil @@ -141,14 +139,14 @@ func updateResourceServerScopes(ctx context.Context, data *schema.ResourceData, return readResourceServerScopes(ctx, data, meta) } -func deleteResourceServerScopes(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteResourceServerScopes(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() resourceServer := &management.ResourceServer{ Scopes: &[]management.ResourceServerScope{}, } - if err := api.ResourceServer.Update(data.Id(), resourceServer); err != nil { + if err := api.ResourceServer.Update(ctx, data.Id(), resourceServer); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") return nil @@ -186,31 +184,3 @@ func guardAgainstErasingUnwantedScopes( }, } } - -func expandAPIScopes(scopes cty.Value) *[]management.ResourceServerScope { - resourceServerScopes := make([]management.ResourceServerScope, 0) - - scopes.ForEachElement(func(_ cty.Value, scope cty.Value) (stop bool) { - resourceServerScopes = append(resourceServerScopes, management.ResourceServerScope{ - Value: value.String(scope.GetAttr("name")), - Description: value.String(scope.GetAttr("description")), - }) - - return stop - }) - - return &resourceServerScopes -} - -func flattenAPIScopes(resourceServerScopes []management.ResourceServerScope) []map[string]interface{} { - scopes := make([]map[string]interface{}, len(resourceServerScopes)) - - for index, scope := range resourceServerScopes { - scopes[index] = map[string]interface{}{ - "name": scope.GetValue(), - "description": scope.GetDescription(), - } - } - - return scopes -} diff --git a/internal/auth0/resourceserver/resource_scopes_test.go b/internal/auth0/resourceserver/resource_scopes_test.go index 4d4ee6398..9996f59f9 100644 --- a/internal/auth0/resourceserver/resource_scopes_test.go +++ b/internal/auth0/resourceserver/resource_scopes_test.go @@ -17,10 +17,6 @@ const testAccGivenAResourceServerWithNoScopes = ` resource "auth0_resource_server" "my_api" { name = "Acceptance Test - {{.testName}}" identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" - - lifecycle { - ignore_changes = [ scopes ] - } } ` diff --git a/internal/auth0/resourceserver/resource_test.go b/internal/auth0/resourceserver/resource_test.go index c5eb667d0..99e85878b 100644 --- a/internal/auth0/resourceserver/resource_test.go +++ b/internal/auth0/resourceserver/resource_test.go @@ -10,6 +10,45 @@ import ( "github.com/auth0/terraform-provider-auth0/internal/acctest" ) +const testAccResourceServerConfigEmpty = ` +resource "auth0_resource_server" "my_resource_server" { + identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" +} +` + +const testAccResourceServerConfigCreate = ` +resource "auth0_resource_server" "my_resource_server" { + name = "Acceptance Test - {{.testName}}" + identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" + signing_alg = "RS256" + allow_offline_access = true + token_lifetime = 7200 + token_lifetime_for_web = 3600 + skip_consent_for_verifiable_first_party_clients = true + enforce_policies = true +} +` + +const testAccResourceServerConfigUpdate = ` +resource "auth0_resource_server" "my_resource_server" { + name = "Acceptance Test - {{.testName}}" + identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" + signing_alg = "RS256" + allow_offline_access = false # <--- set to false + token_lifetime = 7200 + token_lifetime_for_web = 3600 + skip_consent_for_verifiable_first_party_clients = true + enforce_policies = true +} +` + +const testAccResourceServerConfigEmptyAgain = ` +resource "auth0_resource_server" "my_resource_server" { + identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" + name = "Acceptance Test - {{.testName}}" +} +` + func TestAccResourceServer(t *testing.T) { acctest.Test(t, resource.TestCase{ Steps: []resource.TestStep{ @@ -18,7 +57,6 @@ func TestAccResourceServer(t *testing.T) { Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "identifier", fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", t.Name())), resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "name", ""), - resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "scopes.#", "0"), resource.TestCheckResourceAttrSet("auth0_resource_server.my_resource_server", "signing_alg"), resource.TestCheckResourceAttrSet("auth0_resource_server.my_resource_server", "token_lifetime_for_web"), ), @@ -34,38 +72,12 @@ func TestAccResourceServer(t *testing.T) { resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "token_lifetime_for_web", "3600"), resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "skip_consent_for_verifiable_first_party_clients", "true"), resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "enforce_policies", "true"), - resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "scopes.#", "2"), - resource.TestCheckTypeSetElemNestedAttrs( - "auth0_resource_server.my_resource_server", - "scopes.*", - map[string]string{ - "value": "create:foo", - "description": "Create foos", - }, - ), - resource.TestCheckTypeSetElemNestedAttrs( - "auth0_resource_server.my_resource_server", - "scopes.*", - map[string]string{ - "value": "create:bar", - "description": "Create bars", - }, - ), ), }, { Config: acctest.ParseTestName(testAccResourceServerConfigUpdate, t.Name()), Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "allow_offline_access", "false"), - resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "scopes.#", "2"), - resource.TestCheckTypeSetElemNestedAttrs( - "auth0_resource_server.my_resource_server", - "scopes.*", - map[string]string{ - "value": "create:bar", - "description": "Create bars for bar reasons", - }, - ), ), }, { @@ -73,7 +85,6 @@ func TestAccResourceServer(t *testing.T) { Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "identifier", fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", t.Name())), resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "name", fmt.Sprintf("Acceptance Test - %s", t.Name())), - resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "scopes.#", "0"), resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "allow_offline_access", "false"), resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "signing_alg", "RS256"), resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "token_lifetime", "7200"), @@ -85,62 +96,16 @@ func TestAccResourceServer(t *testing.T) { }) } -const testAccResourceServerConfigEmpty = ` -resource "auth0_resource_server" "my_resource_server" { - identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" -} -` - -const testAccResourceServerConfigCreate = ` -resource "auth0_resource_server" "my_resource_server" { - name = "Acceptance Test - {{.testName}}" - identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" - signing_alg = "RS256" - scopes { - value = "create:foo" - description = "Create foos" - } - scopes { - value = "create:bar" - description = "Create bars" - } - allow_offline_access = true - token_lifetime = 7200 - token_lifetime_for_web = 3600 - skip_consent_for_verifiable_first_party_clients = true - enforce_policies = true -} -` - -const testAccResourceServerConfigUpdate = ` -resource "auth0_resource_server" "my_resource_server" { - name = "Acceptance Test - {{.testName}}" - identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" - signing_alg = "RS256" - scopes { - value = "create:foo" - description = "Create foos" - } - scopes { - value = "create:bar" - description = "Create bars for bar reasons" - } - allow_offline_access = false # <--- set to false - token_lifetime = 7200 - token_lifetime_for_web = 3600 - skip_consent_for_verifiable_first_party_clients = true - enforce_policies = true -} -` - -const testAccResourceServerConfigEmptyAgain = ` -resource "auth0_resource_server" "my_resource_server" { - identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" - name = "Acceptance Test - {{.testName}}" +const testAccAuth0ManagementAPIResourceImport = ` +resource "auth0_resource_server" "auth0" { + name = "Auth0 Management API" + identifier = "https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/" + token_lifetime = 86400 + skip_consent_for_verifiable_first_party_clients = false } ` -func TestAccResourceServerAuth0APIManagement(t *testing.T) { +func TestAccResourceServerAuth0APIManagementImport(t *testing.T) { if os.Getenv("AUTH0_DOMAIN") != acctest.RecordingsDomain { t.Skip() } @@ -148,28 +113,14 @@ func TestAccResourceServerAuth0APIManagement(t *testing.T) { acctest.Test(t, resource.TestCase{ Steps: []resource.TestStep{ { - Config: ` -resource "auth0_resource_server" "auth0" { - name = "Auth0 Management API" - identifier = "https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/" - token_lifetime = 86400 - skip_consent_for_verifiable_first_party_clients = false -} -`, + Config: testAccAuth0ManagementAPIResourceImport, ResourceName: "auth0_resource_server.auth0", ImportState: true, ImportStateId: "xxxxxxxxxxxxxxxxxxxx", ImportStatePersist: true, }, { - Config: ` -resource "auth0_resource_server" "auth0" { - name = "Auth0 Management API" - identifier = "https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/" - token_lifetime = 86400 - skip_consent_for_verifiable_first_party_clients = false -} -`, + Config: testAccAuth0ManagementAPIResourceImport, Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_resource_server.auth0", "name", "Auth0 Management API"), resource.TestCheckResourceAttr("auth0_resource_server.auth0", "identifier", "https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/"), diff --git a/internal/auth0/role/data_source.go b/internal/auth0/role/data_source.go index f62015987..40500eb31 100644 --- a/internal/auth0/role/data_source.go +++ b/internal/auth0/role/data_source.go @@ -33,33 +33,124 @@ func dataSourceSchema() map[string]*schema.Schema { dataSourceSchema["name"].Description = "The name of the role. If not provided, `role_id` must be set." dataSourceSchema["name"].AtLeastOneOf = []string{"role_id", "name"} + dataSourceSchema["permissions"] = &schema.Schema{ + Type: schema.TypeSet, + Computed: true, + Description: "Configuration settings for permissions (scopes) attached to the role.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "name": { + Type: schema.TypeString, + Computed: true, + Description: "Name of the permission (scope) configured on the resource server (API).", + }, + "resource_server_identifier": { + Type: schema.TypeString, + Computed: true, + Description: "Unique identifier for the resource server (API).", + }, + "description": { + Type: schema.TypeString, + Computed: true, + Description: "Description of the permission.", + }, + "resource_server_name": { + Type: schema.TypeString, + Computed: true, + Description: "Name of resource server (API) that the permission is associated with.", + }, + }, + }, + } + return dataSourceSchema } func readRoleForDataSource(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { + api := meta.(*config.Config).GetAPI() + roleID := data.Get("role_id").(string) if roleID != "" { data.SetId(roleID) - return readRole(ctx, data, meta) + return readRoleByID(ctx, data, api, roleID) } - api := meta.(*config.Config).GetAPI() - name := data.Get("name").(string) + roleName := data.Get("name").(string) + return readRoleByName(ctx, data, api, roleName) +} + +func getAllRolePermissions( + ctx context.Context, + api *management.Management, + roleID string, +) ([]*management.Permission, error) { + var permissions []*management.Permission + var page int + for { + permissionList, err := api.Role.Permissions(ctx, roleID, management.Page(page), management.PerPage(100)) + if err != nil { + return nil, err + } + + permissions = append(permissions, permissionList.Permissions...) + + if !permissionList.HasNext() { + break + } + + page++ + } + + return permissions, nil +} + +func readRoleByID( + ctx context.Context, + data *schema.ResourceData, + api *management.Management, + roleID string, +) diag.Diagnostics { + role, err := api.Role.Read(ctx, roleID) + if err != nil { + return diag.FromErr(err) + } + + permissions, err := getAllRolePermissions(ctx, api, roleID) + if err != nil { + return diag.FromErr(err) + } + + return diag.FromErr(flattenRole(data, role, permissions)) +} + +func readRoleByName( + ctx context.Context, + data *schema.ResourceData, + api *management.Management, + roleName string, +) diag.Diagnostics { page := 0 for { roles, err := api.Role.List( + ctx, management.Page(page), management.PerPage(100), - management.Parameter("name_filter", name), + management.Parameter("name_filter", roleName), ) if err != nil { return diag.FromErr(err) } for _, role := range roles.Roles { - if role.GetName() == name { + if role.GetName() == roleName { data.SetId(role.GetID()) - return readRole(ctx, data, meta) + + permissions, err := getAllRolePermissions(ctx, api, role.GetID()) + if err != nil { + return diag.FromErr(err) + } + + return diag.FromErr(flattenRole(data, role, permissions)) } } @@ -70,5 +161,5 @@ func readRoleForDataSource(ctx context.Context, data *schema.ResourceData, meta page++ } - return diag.Errorf("No role found with \"name\" = %q", name) + return diag.Errorf("No role found with \"name\" = %q", roleName) } diff --git a/internal/auth0/role/data_source_test.go b/internal/auth0/role/data_source_test.go index 1c3f6256a..ea8368a28 100644 --- a/internal/auth0/role/data_source_test.go +++ b/internal/auth0/role/data_source_test.go @@ -15,41 +15,66 @@ const testAccGivenAResourceServer = ` resource "auth0_resource_server" "matrix" { name = "Role - Acceptance Test - {{.testName}}" identifier = "https://{{.testName}}.matrix.com/" +} + +resource "auth0_resource_server_scopes" "my_api_scopes" { + depends_on = [ auth0_resource_server.matrix ] - scopes { - value = "stop:bullets" - description = "Stop bullets" - } + resource_server_identifier = auth0_resource_server.matrix.identifier + + scopes { + name = "stop:bullets" + description = "Stop bullets" + } - scopes { - value = "bring:peace" - description = "Bring peace" - } + scopes { + name = "bring:peace" + description = "Bring peace" + } } resource "auth0_role" "the_one" { + depends_on = [ auth0_resource_server_scopes.my_api_scopes ] + name = "The One - Acceptance Test - {{.testName}}" description = "The One - Acceptance Test" +} + +resource "auth0_role_permissions" "role_permissions" { + depends_on = [ auth0_role.the_one ] - permissions { - name = "stop:bullets" + role_id = auth0_role.the_one.id + + permissions { resource_server_identifier = auth0_resource_server.matrix.identifier + name = "stop:bullets" } - permissions { - name = "bring:peace" + + permissions { resource_server_identifier = auth0_resource_server.matrix.identifier + name = "bring:peace" } } ` +const testAccDataSourceNonExistentRole = ` +data "auth0_role" "test" { + name = "this-role-does-not-exist" +} +` + const testAccDataSourceRoleByName = testAccGivenAResourceServer + ` data "auth0_role" "test" { + depends_on = [ auth0_role_permissions.role_permissions ] + name = auth0_role.the_one.name } ` const testAccDataSourceRoleByID = testAccGivenAResourceServer + ` data "auth0_role" "test" { + depends_on = [ auth0_role_permissions.role_permissions ] + role_id = auth0_role.the_one.id } ` @@ -66,34 +91,31 @@ func TestAccDataSourceRoleRequiredArguments(t *testing.T) { }) } -func TestAccDataSourceRoleByName(t *testing.T) { +func TestAccDataSourceRole(t *testing.T) { + testName := strings.ToLower(t.Name()) + acctest.Test(t, resource.TestCase{ - PreventPostDestroyRefresh: true, Steps: []resource.TestStep{ { - Config: acctest.ParseTestName(testAccDataSourceRoleByName, t.Name()), + Config: acctest.ParseTestName(testAccDataSourceNonExistentRole, testName), + ExpectError: regexp.MustCompile( + `No role found with "name" = "this-role-does-not-exist"`, + ), + }, + { + Config: acctest.ParseTestName(testAccDataSourceRoleByName, testName), Check: resource.ComposeTestCheckFunc( resource.TestCheckNoResourceAttr("data.auth0_role.test", "role_id"), - resource.TestCheckResourceAttr("data.auth0_role.test", "name", fmt.Sprintf("The One - Acceptance Test - %s", t.Name())), + resource.TestCheckResourceAttr("data.auth0_role.test", "name", fmt.Sprintf("The One - Acceptance Test - %s", testName)), resource.TestCheckResourceAttr("data.auth0_role.test", "description", "The One - Acceptance Test"), resource.TestCheckResourceAttr("data.auth0_role.test", "permissions.#", "2"), ), }, - }, - }) -} - -func TestAccDataSourceRoleByID(t *testing.T) { - testName := strings.ToLower(t.Name()) - - acctest.Test(t, resource.TestCase{ - PreventPostDestroyRefresh: true, - Steps: []resource.TestStep{ { Config: acctest.ParseTestName(testAccDataSourceRoleByID, testName), Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttrSet("data.auth0_role.test", "role_id"), - resource.TestCheckResourceAttr("data.auth0_role.test", "name", fmt.Sprintf("The One - Acceptance Test - %s", strings.ToLower(t.Name()))), + resource.TestCheckResourceAttr("data.auth0_role.test", "name", fmt.Sprintf("The One - Acceptance Test - %s", testName)), resource.TestCheckResourceAttr("data.auth0_role.test", "description", "The One - Acceptance Test"), resource.TestCheckResourceAttr("data.auth0_role.test", "permissions.#", "2"), ), diff --git a/internal/auth0/role/expand.go b/internal/auth0/role/expand.go new file mode 100644 index 000000000..99d717159 --- /dev/null +++ b/internal/auth0/role/expand.go @@ -0,0 +1,17 @@ +package role + +import ( + "github.com/auth0/go-auth0/management" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + + "github.com/auth0/terraform-provider-auth0/internal/value" +) + +func expandRole(data *schema.ResourceData) *management.Role { + cfg := data.GetRawConfig() + + return &management.Role{ + Name: value.String(cfg.GetAttr("name")), + Description: value.String(cfg.GetAttr("description")), + } +} diff --git a/internal/auth0/role/flatten.go b/internal/auth0/role/flatten.go new file mode 100644 index 000000000..c23462970 --- /dev/null +++ b/internal/auth0/role/flatten.go @@ -0,0 +1,30 @@ +package role + +import ( + "github.com/auth0/go-auth0/management" + "github.com/hashicorp/go-multierror" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" +) + +func flattenRole(data *schema.ResourceData, role *management.Role, permissions []*management.Permission) error { + result := multierror.Append( + data.Set("name", role.GetName()), + data.Set("description", role.GetDescription()), + data.Set("permissions", flattenRolePermissions(permissions)), + ) + + return result.ErrorOrNil() +} + +func flattenRolePermissions(permissions []*management.Permission) []interface{} { + var result []interface{} + for _, permission := range permissions { + result = append(result, map[string]interface{}{ + "name": permission.GetName(), + "description": permission.GetDescription(), + "resource_server_identifier": permission.GetResourceServerIdentifier(), + "resource_server_name": permission.GetResourceServerName(), + }) + } + return result +} diff --git a/internal/auth0/role/resource.go b/internal/auth0/role/resource.go index 16e5de294..783b3e693 100644 --- a/internal/auth0/role/resource.go +++ b/internal/auth0/role/resource.go @@ -4,14 +4,12 @@ import ( "context" "net/http" - "github.com/auth0/go-auth0" "github.com/auth0/go-auth0/management" "github.com/hashicorp/go-multierror" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/auth0/terraform-provider-auth0/internal/config" - "github.com/auth0/terraform-provider-auth0/internal/value" ) // NewResource will return a new auth0_role resource. @@ -31,50 +29,12 @@ func NewResource() *schema.Resource { "name": { Type: schema.TypeString, Required: true, - Description: "Name for this role.", + Description: "The name of the role.", }, "description": { Type: schema.TypeString, Optional: true, - Description: "Description of the role.", - }, - "permissions": { - Type: schema.TypeSet, - Optional: true, - Description: "Configuration settings for permissions (scopes) attached to the role. " + - "Managing permissions through the `permissions` attribute is deprecated and it will be removed in a future major version. " + - "Migrate to the `auth0_role_permission` or `auth0_role_permissions` resource to manage role permissions instead. " + - "Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#role-permissions) for more info.", - Deprecated: "Managing permissions through the `permissions` attribute is deprecated and it will be removed in a future major version. " + - "Migrate to the `auth0_role_permission` or `auth0_role_permissions` resource to manage role permissions instead. " + - "Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#role-permissions) for more info.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "name": { - Type: schema.TypeString, - Required: true, - Description: "Name of the permission (scope) configured on the resource server. " + - "If referencing a scope from an `auth0_resource_server` resource, " + - "use the `value` property, " + - "for example `auth0_resource_server.my_resource_server.scopes[0].value`.", - }, - "resource_server_identifier": { - Type: schema.TypeString, - Required: true, - Description: "Unique identifier for the resource server.", - }, - "description": { - Type: schema.TypeString, - Computed: true, - Description: "Description of the permission.", - }, - "resource_server_name": { - Type: schema.TypeString, - Computed: true, - Description: "Name of resource server that the permission is associated with.", - }, - }, - }, + Description: "The description of the role.", }, }, } @@ -84,30 +44,26 @@ func createRole(ctx context.Context, d *schema.ResourceData, m interface{}) diag api := m.(*config.Config).GetAPI() role := expandRole(d) - if err := api.Role.Create(role); err != nil { + + if err := api.Role.Create(ctx, role); err != nil { return diag.FromErr(err) } d.SetId(role.GetID()) - d.Partial(true) - if err := assignRolePermissions(d, m); err != nil { - return diag.FromErr(err) - } - d.Partial(false) - return readRole(ctx, d, m) } -func readRole(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readRole(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - role, err := api.Role.Read(d.Id()) + role, err := api.Role.Read(ctx, d.Id()) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { d.SetId("") return nil } + return diag.FromErr(err) } @@ -116,28 +72,6 @@ func readRole(_ context.Context, d *schema.ResourceData, m interface{}) diag.Dia d.Set("description", role.GetDescription()), ) - var permissions []*management.Permission - var page int - for { - permissionList, err := api.Role.Permissions(d.Id(), management.Page(page)) - if err != nil { - return diag.FromErr(err) - } - - permissions = append(permissions, permissionList.Permissions...) - - if !permissionList.HasNext() { - break - } - - page++ - } - - result = multierror.Append( - result, - d.Set("permissions", flattenRolePermissions(permissions)), - ) - return diag.FromErr(result.ErrorOrNil()) } @@ -145,90 +79,24 @@ func updateRole(ctx context.Context, d *schema.ResourceData, m interface{}) diag api := m.(*config.Config).GetAPI() role := expandRole(d) - if err := api.Role.Update(d.Id(), role); err != nil { - return diag.FromErr(err) - } - d.Partial(true) - if err := assignRolePermissions(d, m); err != nil { + if err := api.Role.Update(ctx, d.Id(), role); err != nil { return diag.FromErr(err) } - d.Partial(false) return readRole(ctx, d, m) } -func deleteRole(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteRole(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - if err := api.Role.Delete(d.Id()); err != nil { + if err := api.Role.Delete(ctx, d.Id()); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { - d.SetId("") return nil } - return diag.FromErr(err) - } - - d.SetId("") - return nil -} - -func expandRole(d *schema.ResourceData) *management.Role { - config := d.GetRawConfig() - - return &management.Role{ - Name: value.String(config.GetAttr("name")), - Description: value.String(config.GetAttr("description")), - } -} - -func assignRolePermissions(d *schema.ResourceData, m interface{}) error { - toAdd, toRemove := value.Difference(d, "permissions") - - var rmPermissions []*management.Permission - for _, rmPermission := range toRemove { - permission := rmPermission.(map[string]interface{}) - rmPermissions = append(rmPermissions, &management.Permission{ - Name: auth0.String(permission["name"].(string)), - ResourceServerIdentifier: auth0.String(permission["resource_server_identifier"].(string)), - }) - } - - var addPermissions []*management.Permission - for _, addPermission := range toAdd { - permission := addPermission.(map[string]interface{}) - addPermissions = append(addPermissions, &management.Permission{ - Name: auth0.String(permission["name"].(string)), - ResourceServerIdentifier: auth0.String(permission["resource_server_identifier"].(string)), - }) - } - - api := m.(*config.Config).GetAPI() - - if len(rmPermissions) > 0 { - if err := api.Role.RemovePermissions(d.Id(), rmPermissions); err != nil { - return err - } - } - if len(addPermissions) > 0 { - if err := api.Role.AssociatePermissions(d.Id(), addPermissions); err != nil { - return err - } + return diag.FromErr(err) } return nil } - -func flattenRolePermissions(permissions []*management.Permission) []interface{} { - var result []interface{} - for _, permission := range permissions { - result = append(result, map[string]interface{}{ - "name": permission.GetName(), - "description": permission.GetDescription(), - "resource_server_identifier": permission.GetResourceServerIdentifier(), - "resource_server_name": permission.GetResourceServerName(), - }) - } - return result -} diff --git a/internal/auth0/role/resource_permission.go b/internal/auth0/role/resource_permission.go index deb0ba635..276c868fd 100644 --- a/internal/auth0/role/resource_permission.go +++ b/internal/auth0/role/resource_permission.go @@ -50,7 +50,7 @@ func NewPermissionResource() *schema.Resource { ReadContext: readRolePermission, DeleteContext: deleteRolePermission, Importer: &schema.ResourceImporter{ - StateContext: internalSchema.ImportResourceGroupID(internalSchema.SeparatorDoubleColon, "role_id", "resource_server_identifier", "permission"), + StateContext: internalSchema.ImportResourceGroupID("role_id", "resource_server_identifier", "permission"), }, Description: "With this resource, you can manage role permissions (1-1).", } @@ -63,7 +63,7 @@ func createRolePermission(ctx context.Context, data *schema.ResourceData, meta i resourceServerID := data.Get("resource_server_identifier").(string) permissionName := data.Get("permission").(string) - if err := api.Role.AssociatePermissions(roleID, []*management.Permission{ + if err := api.Role.AssociatePermissions(ctx, roleID, []*management.Permission{ { ResourceServerIdentifier: &resourceServerID, Name: &permissionName, @@ -76,19 +76,19 @@ func createRolePermission(ctx context.Context, data *schema.ResourceData, meta i return diag.FromErr(err) } - data.SetId(roleID + internalSchema.SeparatorDoubleColon + resourceServerID + internalSchema.SeparatorDoubleColon + permissionName) + internalSchema.SetResourceGroupID(data, roleID, resourceServerID, permissionName) return readRolePermission(ctx, data, meta) } -func readRolePermission(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readRolePermission(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() roleID := data.Get("role_id").(string) permissionName := data.Get("permission").(string) resourceServerID := data.Get("resource_server_identifier").(string) - existingPermissions, err := api.Role.Permissions(roleID) + existingPermissions, err := api.Role.Permissions(ctx, roleID) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -113,7 +113,7 @@ func readRolePermission(_ context.Context, data *schema.ResourceData, meta inter return nil } -func deleteRolePermission(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteRolePermission(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() roleID := data.Get("role_id").(string) @@ -121,6 +121,7 @@ func deleteRolePermission(_ context.Context, data *schema.ResourceData, meta int resourceServerID := data.Get("resource_server_identifier").(string) if err := api.Role.RemovePermissions( + ctx, roleID, []*management.Permission{ { diff --git a/internal/auth0/role/resource_permissions.go b/internal/auth0/role/resource_permissions.go index aa21f8704..c12553b55 100644 --- a/internal/auth0/role/resource_permissions.go +++ b/internal/auth0/role/resource_permissions.go @@ -86,7 +86,7 @@ func upsertRolePermissions(ctx context.Context, data *schema.ResourceData, meta } if len(rmPermissions) > 0 { - if err := api.Role.RemovePermissions(roleID, rmPermissions); err != nil { + if err := api.Role.RemovePermissions(ctx, roleID, rmPermissions); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") return nil @@ -106,7 +106,7 @@ func upsertRolePermissions(ctx context.Context, data *schema.ResourceData, meta } if len(addPermissions) > 0 { - if err := api.Role.AssociatePermissions(roleID, addPermissions); err != nil { + if err := api.Role.AssociatePermissions(ctx, roleID, addPermissions); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") return nil @@ -121,27 +121,40 @@ func upsertRolePermissions(ctx context.Context, data *schema.ResourceData, meta return readRolePermissions(ctx, data, meta) } -func readRolePermissions(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readRolePermissions(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() - permissions, err := api.Role.Permissions(data.Id()) - if err != nil { - if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { - data.SetId("") - return nil + var permissions []*management.Permission + var page int + for { + permissionList, err := api.Role.Permissions(ctx, data.Id(), management.Page(page), management.PerPage(100)) + if err != nil { + if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { + data.SetId("") + return nil + } + + return diag.FromErr(err) } - return diag.FromErr(err) + + permissions = append(permissions, permissionList.Permissions...) + + if !permissionList.HasNext() { + break + } + + page++ } result := multierror.Append( data.Set("role_id", data.Id()), - data.Set("permissions", flattenRolePermissions(permissions.Permissions)), + data.Set("permissions", flattenRolePermissions(permissions)), ) return diag.FromErr(result.ErrorOrNil()) } -func deleteRolePermissions(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteRolePermissions(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() roleID := data.Get("role_id").(string) @@ -158,7 +171,7 @@ func deleteRolePermissions(_ context.Context, data *schema.ResourceData, meta in rmPermissions = append(rmPermissions, role) } - if err := api.Role.RemovePermissions(roleID, rmPermissions); err != nil { + if err := api.Role.RemovePermissions(ctx, roleID, rmPermissions); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { return nil } diff --git a/internal/auth0/role/resource_permissions_test.go b/internal/auth0/role/resource_permissions_test.go index 03e17b153..6b9456977 100644 --- a/internal/auth0/role/resource_permissions_test.go +++ b/internal/auth0/role/resource_permissions_test.go @@ -16,10 +16,6 @@ const testAccGivenAResourceServerWithTwoScopesAndARole = ` resource "auth0_resource_server" "resource_server" { name = "Acceptance Test - {{.testName}}" identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" - - lifecycle { - ignore_changes = [ scopes ] - } } resource "auth0_resource_server_scopes" "my_scopes" { @@ -43,10 +39,6 @@ resource "auth0_role" "role" { name = "Acceptance Test - {{.testName}}" description = "Acceptance Test Role - {{.testName}}" - - lifecycle { - ignore_changes = [ permissions ] - } } ` diff --git a/internal/auth0/role/resource_test.go b/internal/auth0/role/resource_test.go index 3332f84ae..04e15262a 100644 --- a/internal/auth0/role/resource_test.go +++ b/internal/auth0/role/resource_test.go @@ -9,6 +9,26 @@ import ( "github.com/auth0/terraform-provider-auth0/internal/acctest" ) +const testAccRoleEmpty = ` +resource "auth0_role" "the_one" { + name = "The One - Acceptance Test - {{.testName}}" +} +` + +const testAccRoleCreate = ` +resource "auth0_role" "the_one" { + name = "The One - Acceptance Test - {{.testName}}" + description = "The One - Acceptance Test" +} +` + +const testAccRoleUpdate = ` +resource "auth0_role" "the_one" { + name = "The One - Acceptance Test - {{.testName}}" + description = "The One who will bring peace - Acceptance Test" +} +` + func TestAccRole(t *testing.T) { acctest.Test(t, resource.TestCase{ Steps: []resource.TestStep{ @@ -17,7 +37,6 @@ func TestAccRole(t *testing.T) { Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_role.the_one", "name", fmt.Sprintf("The One - Acceptance Test - %s", t.Name())), resource.TestCheckResourceAttr("auth0_role.the_one", "description", ""), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.#", "0"), ), }, { @@ -25,209 +44,14 @@ func TestAccRole(t *testing.T) { Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_role.the_one", "name", fmt.Sprintf("The One - Acceptance Test - %s", t.Name())), resource.TestCheckResourceAttr("auth0_role.the_one", "description", "The One - Acceptance Test"), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.#", "1"), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.0.name", "stop:bullets"), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.0.description", "Stop bullets"), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.0.resource_server_identifier", fmt.Sprintf("https://%s.matrix.com/", t.Name())), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.0.resource_server_name", fmt.Sprintf("Role - Acceptance Test - %s", t.Name())), ), }, { Config: acctest.ParseTestName(testAccRoleUpdate, t.Name()), Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_role.the_one", "description", "The One who will bring peace - Acceptance Test"), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.#", "2"), - - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.0.name", "bring:peace"), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.0.description", "Bring peace"), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.0.resource_server_identifier", fmt.Sprintf("https://%s.matrix.com/", t.Name())), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.0.resource_server_name", fmt.Sprintf("Role - Acceptance Test - %s", t.Name())), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.1.name", "stop:bullets"), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.1.description", "Stop bullets"), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.1.resource_server_identifier", fmt.Sprintf("https://%s.matrix.com/", t.Name())), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.1.resource_server_name", fmt.Sprintf("Role - Acceptance Test - %s", t.Name())), - ), - }, - { - Config: acctest.ParseTestName(testAccRoleCreate, t.Name()), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_role.the_one", "name", fmt.Sprintf("The One - Acceptance Test - %s", t.Name())), - resource.TestCheckResourceAttr("auth0_role.the_one", "description", "The One - Acceptance Test"), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.#", "1"), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.0.name", "stop:bullets"), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.0.description", "Stop bullets"), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.0.resource_server_identifier", fmt.Sprintf("https://%s.matrix.com/", t.Name())), - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.0.resource_server_name", fmt.Sprintf("Role - Acceptance Test - %s", t.Name())), - ), - }, - { - Config: acctest.ParseTestName(testAccRoleEmptyAgain, t.Name()), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_role.the_one", "name", fmt.Sprintf("The One - Acceptance Test - %s", t.Name())), - resource.TestCheckResourceAttr("auth0_role.the_one", "description", " "), // Management API ignores empty strings for role descriptions. - resource.TestCheckResourceAttr("auth0_role.the_one", "permissions.#", "0"), - ), - }, - }, - }) -} - -const testAccRoleEmpty = ` -resource auth0_role the_one { - name = "The One - Acceptance Test - {{.testName}}" -} -` - -const testAccRoleAux = ` -resource auth0_resource_server matrix { - name = "Role - Acceptance Test - {{.testName}}" - identifier = "https://{{.testName}}.matrix.com/" - scopes { - value = "stop:bullets" - description = "Stop bullets" - } - scopes { - value = "bring:peace" - description = "Bring peace" - } -}` - -const testAccRoleCreate = testAccRoleAux + ` -resource auth0_role the_one { - name = "The One - Acceptance Test - {{.testName}}" - description = "The One - Acceptance Test" - permissions { - name = "stop:bullets" - resource_server_identifier = auth0_resource_server.matrix.identifier - } -} -` - -const testAccRoleUpdate = testAccRoleAux + ` -resource auth0_role the_one { - name = "The One - Acceptance Test - {{.testName}}" - description = "The One who will bring peace - Acceptance Test" - permissions { - name = "stop:bullets" - resource_server_identifier = auth0_resource_server.matrix.identifier - } - permissions { - name = "bring:peace" - resource_server_identifier = auth0_resource_server.matrix.identifier - } -} -` - -const testAccRoleEmptyAgain = ` -resource auth0_role the_one { - name = "The One - Acceptance Test - {{.testName}}" - description = " " -} -` - -func TestAccRoleResourcePermissions(t *testing.T) { - acctest.Test(t, resource.TestCase{ - Steps: []resource.TestStep{ - { - Config: acctest.ParseTestName(testAccRoleResourcePermissions, t.Name()), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_role.role", "name", fmt.Sprintf("The One - Acceptance Test - %s", t.Name())), - resource.TestCheckResourceAttr("auth0_role.role", "description", "The One - Acceptance Test"), - resource.TestCheckResourceAttr("auth0_role.role", "permissions.#", "58"), ), }, }, }) } - -const testAccRoleResourcePermissions = ` -locals { - permissions = { - "permission:1" = "Permission 1" - "permission:2" = "Permission 2" - "permission:3" = "Permission 3" - "permission:4" = "Permission 4" - "permission:5" = "Permission 5" - "permission:6" = "Permission 6" - "permission:7" = "Permission 7" - "permission:8" = "Permission 8" - "permission:9" = "Permission 9" - "permission:10" = "Permission 10" - "permission:11" = "Permission 11" - "permission:12" = "Permission 12" - "permission:13" = "Permission 13" - "permission:14" = "Permission 14" - "permission:15" = "Permission 15" - "permission:16" = "Permission 16" - "permission:17" = "Permission 17" - "permission:18" = "Permission 18" - "permission:19" = "Permission 19" - "permission:20" = "Permission 20" - "permission:21" = "Permission 21" - "permission:22" = "Permission 22" - "permission:23" = "Permission 23" - "permission:24" = "Permission 24" - "permission:25" = "Permission 25" - "permission:26" = "Permission 26" - "permission:27" = "Permission 27" - "permission:28" = "Permission 28" - "permission:29" = "Permission 29" - "permission:30" = "Permission 30" - "permission:31" = "Permission 31" - "permission:32" = "Permission 32" - "permission:33" = "Permission 33" - "permission:34" = "Permission 34" - "permission:35" = "Permission 35" - "permission:36" = "Permission 36" - "permission:37" = "Permission 37" - "permission:38" = "Permission 38" - "permission:39" = "Permission 39" - "permission:40" = "Permission 40" - "permission:41" = "Permission 41" - "permission:42" = "Permission 42" - "permission:43" = "Permission 43" - "permission:44" = "Permission 44" - "permission:45" = "Permission 45" - "permission:46" = "Permission 46" - "permission:47" = "Permission 47" - "permission:48" = "Permission 48" - "permission:49" = "Permission 49" - "permission:50" = "Permission 50" - "permission:51" = "Permission 51" - "permission:52" = "Permission 52" - "permission:53" = "Permission 53" - "permission:54" = "Permission 54" - "permission:55" = "Permission 55" - "permission:56" = "Permission 56" - "permission:57" = "Permission 57" - "permission:58" = "Permission 58" - } -} - -resource auth0_resource_server server { - name = "Role - Acceptance Test - {{.testName}}" - identifier = "https://{{.testName}}.matrix.com/" - - dynamic scopes { - for_each = local.permissions - iterator = permission - content { - value = permission.key - description = permission.value - } - } -} - -resource auth0_role role { - name = "The One - Acceptance Test - {{.testName}}" - description = "The One - Acceptance Test" - dynamic permissions { - for_each = local.permissions - iterator = permission - content { - name = permission.key - resource_server_identifier = auth0_resource_server.server.identifier - } - } - } -` diff --git a/internal/auth0/rule/resource.go b/internal/auth0/rule/resource.go index 15af0afb9..0496dd38e 100644 --- a/internal/auth0/rule/resource.go +++ b/internal/auth0/rule/resource.go @@ -71,7 +71,7 @@ func NewResource() *schema.Resource { func createRule(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { rule := expandRule(d.GetRawConfig()) api := m.(*config.Config).GetAPI() - if err := api.Rule.Create(rule); err != nil { + if err := api.Rule.Create(ctx, rule); err != nil { return diag.FromErr(err) } @@ -80,9 +80,9 @@ func createRule(ctx context.Context, d *schema.ResourceData, m interface{}) diag return readRule(ctx, d, m) } -func readRule(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readRule(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - rule, err := api.Rule.Read(d.Id()) + rule, err := api.Rule.Read(ctx, d.Id()) if err != nil { if mErr, ok := err.(management.Error); ok { if mErr.Status() == http.StatusNotFound { @@ -106,16 +106,16 @@ func readRule(_ context.Context, d *schema.ResourceData, m interface{}) diag.Dia func updateRule(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { rule := expandRule(d.GetRawConfig()) api := m.(*config.Config).GetAPI() - if err := api.Rule.Update(d.Id(), rule); err != nil { + if err := api.Rule.Update(ctx, d.Id(), rule); err != nil { return diag.FromErr(err) } return readRule(ctx, d, m) } -func deleteRule(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteRule(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - if err := api.Rule.Delete(d.Id()); err != nil { + if err := api.Rule.Delete(ctx, d.Id()); err != nil { if mErr, ok := err.(management.Error); ok { if mErr.Status() == http.StatusNotFound { d.SetId("") diff --git a/internal/auth0/rule/resource_config.go b/internal/auth0/rule/resource_config.go index 41cff5469..63bcbff7a 100644 --- a/internal/auth0/rule/resource_config.go +++ b/internal/auth0/rule/resource_config.go @@ -48,7 +48,7 @@ func createRuleConfig(ctx context.Context, d *schema.ResourceData, m interface{} key := auth0.StringValue(ruleConfig.Key) ruleConfig.Key = nil api := m.(*config.Config).GetAPI() - if err := api.RuleConfig.Upsert(key, ruleConfig); err != nil { + if err := api.RuleConfig.Upsert(ctx, key, ruleConfig); err != nil { return diag.FromErr(err) } @@ -57,9 +57,9 @@ func createRuleConfig(ctx context.Context, d *schema.ResourceData, m interface{} return readRuleConfig(ctx, d, m) } -func readRuleConfig(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readRuleConfig(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - ruleConfig, err := api.RuleConfig.Read(d.Id()) + ruleConfig, err := api.RuleConfig.Read(ctx, d.Id()) if err != nil { if mErr, ok := err.(management.Error); ok { if mErr.Status() == http.StatusNotFound { @@ -77,16 +77,16 @@ func updateRuleConfig(ctx context.Context, d *schema.ResourceData, m interface{} ruleConfig := expandRuleConfig(d.GetRawConfig()) ruleConfig.Key = nil api := m.(*config.Config).GetAPI() - if err := api.RuleConfig.Upsert(d.Id(), ruleConfig); err != nil { + if err := api.RuleConfig.Upsert(ctx, d.Id(), ruleConfig); err != nil { return diag.FromErr(err) } return readRuleConfig(ctx, d, m) } -func deleteRuleConfig(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteRuleConfig(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - if err := api.RuleConfig.Delete(d.Id()); err != nil { + if err := api.RuleConfig.Delete(ctx, d.Id()); err != nil { if mErr, ok := err.(management.Error); ok { if mErr.Status() == http.StatusNotFound { d.SetId("") diff --git a/internal/auth0/tenant/data_source.go b/internal/auth0/tenant/data_source.go index e9e7123db..b89ed1eaf 100644 --- a/internal/auth0/tenant/data_source.go +++ b/internal/auth0/tenant/data_source.go @@ -10,6 +10,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/id" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/auth0/terraform-provider-auth0/internal/auth0" "github.com/auth0/terraform-provider-auth0/internal/config" internalSchema "github.com/auth0/terraform-provider-auth0/internal/schema" ) @@ -59,5 +60,5 @@ func readTenantForDataSource(ctx context.Context, data *schema.ResourceData, met return diag.FromErr(result.ErrorOrNil()) } - return readTenant(ctx, data, meta) + return auth0.CheckFor404Error(ctx, readTenant, data, meta) } diff --git a/internal/auth0/tenant/data_source_test.go b/internal/auth0/tenant/data_source_test.go index 665aa6f0e..8caed7a37 100644 --- a/internal/auth0/tenant/data_source_test.go +++ b/internal/auth0/tenant/data_source_test.go @@ -26,7 +26,6 @@ resource "auth0_tenant" "my_tenant" { enabled_locales = ["en", "de", "fr"] flags { - universal_login = true disable_clickjack_protection_headers = true enable_public_signup_user_exists_error = true use_scope_descriptions_for_consent = true @@ -35,19 +34,6 @@ resource "auth0_tenant" "my_tenant" { disable_fields_map_fix = false } - universal_login { - colors { - primary = "#0059d6" - page_background = "#000000" - } - } - - error_page { - html = "Error Page" - show_log_link = false - url = "https://mycompany.org/error" - } - session_cookie { mode = "non-persistent" } @@ -68,9 +54,6 @@ func TestAccDataSourceTenant(t *testing.T) { resource.TestCheckResourceAttr("data.auth0_tenant.current", "management_api_identifier", fmt.Sprintf("https://%s/api/v2/", os.Getenv("AUTH0_DOMAIN"))), resource.TestCheckResourceAttr("data.auth0_tenant.current", "default_audience", ""), resource.TestCheckResourceAttr("data.auth0_tenant.current", "default_directory", ""), - resource.TestCheckResourceAttr("data.auth0_tenant.current", "error_page.0.html", "Error Page"), - resource.TestCheckResourceAttr("data.auth0_tenant.current", "error_page.0.show_log_link", "false"), - resource.TestCheckResourceAttr("data.auth0_tenant.current", "error_page.0.url", "https://mycompany.org/error"), resource.TestCheckResourceAttr("data.auth0_tenant.current", "friendly_name", "My Test Tenant"), resource.TestCheckResourceAttr("data.auth0_tenant.current", "picture_url", "https://mycompany.org/logo.png"), resource.TestCheckResourceAttr("data.auth0_tenant.current", "support_email", "support@mycompany.org"), @@ -82,12 +65,9 @@ func TestAccDataSourceTenant(t *testing.T) { resource.TestCheckResourceAttr("data.auth0_tenant.current", "enabled_locales.0", "en"), resource.TestCheckResourceAttr("data.auth0_tenant.current", "enabled_locales.1", "de"), resource.TestCheckResourceAttr("data.auth0_tenant.current", "enabled_locales.2", "fr"), - resource.TestCheckResourceAttr("data.auth0_tenant.current", "flags.0.universal_login", "true"), resource.TestCheckResourceAttr("data.auth0_tenant.current", "flags.0.disable_clickjack_protection_headers", "true"), resource.TestCheckResourceAttr("data.auth0_tenant.current", "flags.0.enable_public_signup_user_exists_error", "true"), resource.TestCheckResourceAttr("data.auth0_tenant.current", "flags.0.use_scope_descriptions_for_consent", "true"), - resource.TestCheckResourceAttr("data.auth0_tenant.current", "universal_login.0.colors.0.primary", "#0059d6"), - resource.TestCheckResourceAttr("data.auth0_tenant.current", "universal_login.0.colors.0.page_background", "#000000"), resource.TestCheckResourceAttr("data.auth0_tenant.current", "default_redirection_uri", "https://example.com/login"), resource.TestCheckResourceAttr("data.auth0_tenant.current", "session_cookie.0.mode", "non-persistent"), ), diff --git a/internal/auth0/tenant/expand.go b/internal/auth0/tenant/expand.go index af323350b..2a40ba488 100644 --- a/internal/auth0/tenant/expand.go +++ b/internal/auth0/tenant/expand.go @@ -26,11 +26,7 @@ func expandTenant(d *schema.ResourceData) *management.Tenant { SessionLifetime: &sessionLifetime, SandboxVersion: value.String(config.GetAttr("sandbox_version")), EnabledLocales: value.Strings(config.GetAttr("enabled_locales")), - ChangePassword: ExpandTenantChangePassword(config.GetAttr("change_password")), - GuardianMFAPage: ExpandTenantGuardianMFAPage(config.GetAttr("guardian_mfa_page")), - ErrorPage: ExpandTenantErrorPage(config.GetAttr("error_page")), Flags: expandTenantFlags(config.GetAttr("flags")), - UniversalLogin: expandTenantUniversalLogin(config.GetAttr("universal_login")), SessionCookie: expandTenantSessionCookie(config.GetAttr("session_cookie")), } @@ -41,58 +37,6 @@ func expandTenant(d *schema.ResourceData) *management.Tenant { return tenant } -// ExpandTenantChangePassword expands the change password page config. -func ExpandTenantChangePassword(config cty.Value) *management.TenantChangePassword { - var changePassword management.TenantChangePassword - - config.ForEachElement(func(_ cty.Value, d cty.Value) (stop bool) { - changePassword.Enabled = value.Bool(d.GetAttr("enabled")) - changePassword.HTML = value.String(d.GetAttr("html")) - return stop - }) - - if changePassword == (management.TenantChangePassword{}) { - return nil - } - - return &changePassword -} - -// ExpandTenantGuardianMFAPage expands the guardian mfa page config. -func ExpandTenantGuardianMFAPage(config cty.Value) *management.TenantGuardianMFAPage { - var mfa management.TenantGuardianMFAPage - - config.ForEachElement(func(_ cty.Value, d cty.Value) (stop bool) { - mfa.Enabled = value.Bool(d.GetAttr("enabled")) - mfa.HTML = value.String(d.GetAttr("html")) - return stop - }) - - if mfa == (management.TenantGuardianMFAPage{}) { - return nil - } - - return &mfa -} - -// ExpandTenantErrorPage expands the error page config. -func ExpandTenantErrorPage(config cty.Value) *management.TenantErrorPage { - var errorPage management.TenantErrorPage - - config.ForEachElement(func(_ cty.Value, d cty.Value) (stop bool) { - errorPage.HTML = value.String(d.GetAttr("html")) - errorPage.ShowLogLink = value.Bool(d.GetAttr("show_log_link")) - errorPage.URL = value.String(d.GetAttr("url")) - return stop - }) - - if errorPage == (management.TenantErrorPage{}) { - return nil - } - - return &errorPage -} - func expandTenantFlags(config cty.Value) *management.TenantFlags { var tenantFlags *management.TenantFlags @@ -103,7 +47,6 @@ func expandTenantFlags(config cty.Value) *management.TenantFlags { EnablePipeline2: value.Bool(flags.GetAttr("enable_pipeline2")), EnableDynamicClientRegistration: value.Bool(flags.GetAttr("enable_dynamic_client_registration")), EnableCustomDomainInEmails: value.Bool(flags.GetAttr("enable_custom_domain_in_emails")), - UniversalLogin: value.Bool(flags.GetAttr("universal_login")), EnableLegacyLogsSearchV2: value.Bool(flags.GetAttr("enable_legacy_logs_search_v2")), DisableClickjackProtectionHeaders: value.Bool(flags.GetAttr("disable_clickjack_protection_headers")), EnablePublicSignupUserExistsError: value.Bool(flags.GetAttr("enable_public_signup_user_exists_error")), @@ -129,29 +72,6 @@ func expandTenantFlags(config cty.Value) *management.TenantFlags { return tenantFlags } -func expandTenantUniversalLogin(config cty.Value) *management.TenantUniversalLogin { - var universalLogin management.TenantUniversalLogin - - config.ForEachElement(func(_ cty.Value, d cty.Value) (stop bool) { - colors := d.GetAttr("colors") - - colors.ForEachElement(func(_ cty.Value, color cty.Value) (stop bool) { - universalLogin.Colors = &management.TenantUniversalLoginColors{ - Primary: value.String(color.GetAttr("primary")), - PageBackground: value.String(color.GetAttr("page_background")), - } - return stop - }) - return stop - }) - - if universalLogin == (management.TenantUniversalLogin{}) { - return nil - } - - return &universalLogin -} - func expandTenantSessionCookie(config cty.Value) *management.TenantSessionCookie { var sessionCookie management.TenantSessionCookie diff --git a/internal/auth0/tenant/flatten.go b/internal/auth0/tenant/flatten.go index fcc8222ee..e02c9e52c 100644 --- a/internal/auth0/tenant/flatten.go +++ b/internal/auth0/tenant/flatten.go @@ -4,46 +4,6 @@ import ( "github.com/auth0/go-auth0/management" ) -// FlattenTenantChangePassword flattens the change password page data. -func FlattenTenantChangePassword(changePassword *management.TenantChangePassword) []interface{} { - if changePassword == nil { - return nil - } - - m := make(map[string]interface{}) - m["enabled"] = changePassword.Enabled - m["html"] = changePassword.HTML - - return []interface{}{m} -} - -// FlattenTenantGuardianMFAPage flattens the guardian mfa page data. -func FlattenTenantGuardianMFAPage(mfa *management.TenantGuardianMFAPage) []interface{} { - if mfa == nil { - return nil - } - - m := make(map[string]interface{}) - m["enabled"] = mfa.Enabled - m["html"] = mfa.HTML - - return []interface{}{m} -} - -// FlattenTenantErrorPage flattens the error page data. -func FlattenTenantErrorPage(errorPage *management.TenantErrorPage) []interface{} { - if errorPage == nil { - return nil - } - - m := make(map[string]interface{}) - m["html"] = errorPage.HTML - m["show_log_link"] = errorPage.ShowLogLink - m["url"] = errorPage.URL - - return []interface{}{m} -} - func flattenTenantFlags(flags *management.TenantFlags) []interface{} { if flags == nil { return nil @@ -55,7 +15,6 @@ func flattenTenantFlags(flags *management.TenantFlags) []interface{} { m["enable_pipeline2"] = flags.EnablePipeline2 m["enable_dynamic_client_registration"] = flags.EnableDynamicClientRegistration m["enable_custom_domain_in_emails"] = flags.EnableCustomDomainInEmails - m["universal_login"] = flags.UniversalLogin m["enable_legacy_logs_search_v2"] = flags.EnableLegacyLogsSearchV2 m["disable_clickjack_protection_headers"] = flags.DisableClickjackProtectionHeaders m["enable_public_signup_user_exists_error"] = flags.EnablePublicSignupUserExistsError @@ -77,25 +36,6 @@ func flattenTenantFlags(flags *management.TenantFlags) []interface{} { return []interface{}{m} } -func flattenTenantUniversalLogin(universalLogin *management.TenantUniversalLogin) []interface{} { - if universalLogin == nil { - return nil - } - if universalLogin.Colors == nil { - return nil - } - - m := make(map[string]interface{}) - m["colors"] = []interface{}{ - map[string]interface{}{ - "primary": universalLogin.Colors.Primary, - "page_background": universalLogin.Colors.PageBackground, - }, - } - - return []interface{}{m} -} - func flattenTenantSessionCookie(sessionCookie *management.TenantSessionCookie) []interface{} { m := make(map[string]interface{}) m["mode"] = sessionCookie.GetMode() diff --git a/internal/auth0/tenant/resource.go b/internal/auth0/tenant/resource.go index b955cfd47..55e18cc6e 100644 --- a/internal/auth0/tenant/resource.go +++ b/internal/auth0/tenant/resource.go @@ -28,60 +28,6 @@ func NewResource() *schema.Resource { Description: "With this resource, you can manage Auth0 tenants, including setting logos and support contact " + "information, setting error pages, and configuring default tenant behaviors.", Schema: map[string]*schema.Schema{ - "change_password": { - Type: schema.TypeList, - Optional: true, - MaxItems: 1, - Computed: true, - Description: "Configuration settings for change password page. This attribute is deprecated " + - "in favor of the `auth0_pages` resource and it will be removed in a future major " + - "version. Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-pages) for more info.", - Deprecated: "This attribute is deprecated in favor of the `auth0_pages` " + - "resource and it will be removed in a future major version. " + - "Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-pages) for more info.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "enabled": { - Type: schema.TypeBool, - Required: true, - Description: "Indicates whether to use the custom change password page.", - }, - "html": { - Type: schema.TypeString, - Required: true, - Description: "HTML format with supported Liquid syntax. " + - "Customized content of the change password page.", - }, - }, - }, - }, - "guardian_mfa_page": { - Type: schema.TypeList, - Optional: true, - MaxItems: 1, - Computed: true, - Description: "Configuration settings for the Guardian MFA page. This attribute is deprecated " + - "in favor of the `auth0_pages` resource and it will be removed in a future major " + - "version. Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-pages) for more info.", - Deprecated: "This attribute is deprecated in favor of the `auth0_pages` " + - "resource and it will be removed in a future major version. " + - "Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-pages) for more info.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "enabled": { - Type: schema.TypeBool, - Required: true, - Description: "Indicates whether to use the custom Guardian page.", - }, - "html": { - Type: schema.TypeString, - Required: true, - Description: "HTML format with supported Liquid syntax. " + - "Customized content of the Guardian page.", - }, - }, - }, - }, "default_audience": { Type: schema.TypeString, Optional: true, @@ -97,38 +43,6 @@ func NewResource() *schema.Resource { Description: "Name of the connection to be used for Password Grant exchanges. " + "Options include `auth0-adldap`, `ad`, `auth0`, `email`, `sms`, `waad`, and `adfs`.", }, - "error_page": { - Type: schema.TypeList, - Optional: true, - Computed: true, - MaxItems: 1, - Description: "Configuration settings for error pages. This attribute is deprecated in favor " + - "of the `auth0_pages` resource and it will be removed in a future major version. " + - "Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-pages) for more info.", - Deprecated: "This attribute is deprecated in favor of the `auth0_pages` " + - "resource and it will be removed in a future major version. " + - "Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-pages) for more info.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "html": { - Type: schema.TypeString, - Required: true, - Description: "HTML format with supported Liquid syntax. " + - "Customized content of the error page.", - }, - "show_log_link": { - Type: schema.TypeBool, - Required: true, - Description: "Indicates whether to show the link to logs as part of the default error page.", - }, - "url": { - Type: schema.TypeString, - Required: true, - Description: "URL to redirect to when an error occurs rather than showing the default error page.", - }, - }, - }, - }, "friendly_name": { Type: schema.TypeString, Optional: true, @@ -228,14 +142,6 @@ func NewResource() *schema.Resource { Computed: true, Description: "Indicates whether the tenant allows custom domains in emails.", }, - "universal_login": { - Type: schema.TypeBool, - Optional: true, - Computed: true, - Deprecated: "This attribute is deprecated. Use the `universal_login_experience` attribute" + - " on the `auth0_prompt` resource to toggle the new or classic experience instead.", - Description: "Indicates whether the New Universal Login Experience is enabled.", - }, "enable_legacy_logs_search_v2": { Type: schema.TypeBool, Optional: true, @@ -341,40 +247,6 @@ func NewResource() *schema.Resource { }, }, }, - "universal_login": { - Type: schema.TypeList, - Optional: true, - Computed: true, - MaxItems: 1, - Description: "Configuration settings for Universal Login. These configuration settings have been deprecated. Migrate to managing these settings through the `auth0_branding` resource. Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-universal-login) for more info.", - Deprecated: "These configuration settings have been deprecated. Migrate to managing these settings through the `auth0_branding` resource. Check the [MIGRATION_GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#tenant-universal-login) for more info.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "colors": { - Type: schema.TypeList, - Optional: true, - MaxItems: 1, - Description: "Configuration settings for Universal Login colors.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "primary": { - Type: schema.TypeString, - Optional: true, - Computed: true, - Description: "Primary button background color in hexadecimal.", - }, - "page_background": { - Type: schema.TypeString, - Optional: true, - Computed: true, - Description: "Background color of login pages in hexadecimal.", - }, - }, - }, - }, - }, - }, - }, "default_redirection_uri": { Type: schema.TypeString, Optional: true, @@ -411,9 +283,9 @@ func createTenant(ctx context.Context, d *schema.ResourceData, m interface{}) di return updateTenant(ctx, d, m) } -func readTenant(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readTenant(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - tenant, err := api.Tenant.Read() + tenant, err := api.Tenant.Read(ctx) if err != nil { if mErr, ok := err.(management.Error); ok { if mErr.Status() == http.StatusNotFound { @@ -425,8 +297,6 @@ func readTenant(_ context.Context, d *schema.ResourceData, m interface{}) diag.D } result := multierror.Append( - d.Set("change_password", FlattenTenantChangePassword(tenant.GetChangePassword())), - d.Set("guardian_mfa_page", FlattenTenantGuardianMFAPage(tenant.GetGuardianMFAPage())), d.Set("default_audience", tenant.GetDefaultAudience()), d.Set("default_directory", tenant.GetDefaultDirectory()), d.Set("default_redirection_uri", tenant.GetDefaultRedirectionURI()), @@ -439,9 +309,7 @@ func readTenant(_ context.Context, d *schema.ResourceData, m interface{}) diag.D d.Set("idle_session_lifetime", tenant.GetIdleSessionLifetime()), d.Set("sandbox_version", tenant.GetSandboxVersion()), d.Set("enabled_locales", tenant.GetEnabledLocales()), - d.Set("error_page", FlattenTenantErrorPage(tenant.GetErrorPage())), d.Set("flags", flattenTenantFlags(tenant.GetFlags())), - d.Set("universal_login", flattenTenantUniversalLogin(tenant.GetUniversalLogin())), d.Set("session_cookie", flattenTenantSessionCookie(tenant.GetSessionCookie())), ) @@ -451,7 +319,7 @@ func readTenant(_ context.Context, d *schema.ResourceData, m interface{}) diag.D func updateTenant(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { tenant := expandTenant(d) api := m.(*config.Config).GetAPI() - if err := api.Tenant.Update(tenant); err != nil { + if err := api.Tenant.Update(ctx, tenant); err != nil { return diag.FromErr(err) } diff --git a/internal/auth0/tenant/resource_test.go b/internal/auth0/tenant/resource_test.go index e1cbf5255..78c315769 100644 --- a/internal/auth0/tenant/resource_test.go +++ b/internal/auth0/tenant/resource_test.go @@ -37,17 +37,10 @@ func TestAccTenant(t *testing.T) { resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "enabled_locales.1", "de"), resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "enabled_locales.2", "fr"), resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "flags.#", "1"), - resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "flags.0.universal_login", "true"), resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "flags.0.disable_clickjack_protection_headers", "true"), resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "flags.0.enable_public_signup_user_exists_error", "true"), resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "flags.0.use_scope_descriptions_for_consent", "true"), resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "flags.0.mfa_show_factor_list_on_enrollment", "false"), - resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "error_page.#", "1"), - resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "error_page.0.html", "Error Page"), - resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "error_page.0.show_log_link", "false"), - resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "error_page.0.url", "https://mycompany.org/error"), - resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "universal_login.0.colors.0.primary", "#0059d6"), - resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "universal_login.0.colors.0.page_background", "#000000"), resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "default_redirection_uri", "https://example.com/login"), resource.TestCheckResourceAttr("auth0_tenant.my_tenant", "session_cookie.0.mode", "non-persistent"), ), @@ -100,7 +93,6 @@ resource "auth0_tenant" "my_tenant" { enabled_locales = ["en", "de", "fr"] flags { - universal_login = true disable_clickjack_protection_headers = true enable_public_signup_user_exists_error = true use_scope_descriptions_for_consent = true @@ -110,19 +102,6 @@ resource "auth0_tenant" "my_tenant" { mfa_show_factor_list_on_enrollment = false } - error_page { - html = "Error Page" - show_log_link = false - url = "https://mycompany.org/error" - } - - universal_login { - colors { - primary = "#0059d6" - page_background = "#000000" - } - } - session_cookie { mode = "non-persistent" } @@ -144,7 +123,6 @@ resource "auth0_tenant" "my_tenant" { enabled_locales = ["de", "fr"] flags { - universal_login = true enable_public_signup_user_exists_error = true disable_clickjack_protection_headers = false # <---- disable and test use_scope_descriptions_for_consent = false @@ -154,29 +132,6 @@ resource "auth0_tenant" "my_tenant" { mfa_show_factor_list_on_enrollment = true } - universal_login { - colors { - primary = "#0059d6" - page_background = "#000000" - } - } - - change_password { - enabled = true - html = "Change Password" - } - - guardian_mfa_page { - enabled = true - html = "MFA" - } - - error_page { - html = "Error Page" - show_log_link = false - url = "https://mycompany.org/error" - } - session_cookie { mode = "persistent" } diff --git a/internal/auth0/user/data_source.go b/internal/auth0/user/data_source.go index bea13b7ea..6a893779b 100644 --- a/internal/auth0/user/data_source.go +++ b/internal/auth0/user/data_source.go @@ -3,9 +3,11 @@ package user import ( "context" + "github.com/hashicorp/go-multierror" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/auth0/terraform-provider-auth0/internal/config" internalSchema "github.com/auth0/terraform-provider-auth0/internal/schema" ) @@ -21,21 +23,81 @@ func NewDataSource() *schema.Resource { func dataSourceSchema() map[string]*schema.Schema { dataSourceSchema := internalSchema.TransformResourceToDataSource(internalSchema.Clone(NewResource().Schema)) - internalSchema.SetExistingAttributesAsOptional(dataSourceSchema, "user_id") - dataSourceSchema["user_id"].Required = true - dataSourceSchema["user_id"].Computed = false - dataSourceSchema["user_id"].Optional = false + dataSourceSchema["user_id"] = &schema.Schema{ + Type: schema.TypeString, + Required: true, + Description: "ID of the user.", + } + + dataSourceSchema["permissions"] = &schema.Schema{ + Type: schema.TypeSet, + Computed: true, + Description: "List of API permissions granted to the user.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "name": { + Type: schema.TypeString, + Computed: true, + Description: "Name of the permission.", + }, + "description": { + Type: schema.TypeString, + Computed: true, + Description: "Description of the permission.", + }, + "resource_server_identifier": { + Type: schema.TypeString, + Computed: true, + Description: "Resource server identifier associated with the permission.", + }, + "resource_server_name": { + Type: schema.TypeString, + Computed: true, + Description: "Name of resource server that the permission is associated with.", + }, + }, + }, + } - dataSourceSchema["permissions"].Deprecated = "" - dataSourceSchema["permissions"].Description = "List of API permissions granted to the user." - dataSourceSchema["roles"].Deprecated = "" - dataSourceSchema["roles"].Description = "Set of IDs of roles assigned to the user." + dataSourceSchema["roles"] = &schema.Schema{ + Type: schema.TypeSet, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + Description: "Set of IDs of roles assigned to the user.", + } return dataSourceSchema } func readUserForDataSource(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { + api := meta.(*config.Config).GetAPI() + userID := data.Get("user_id").(string) - data.SetId(userID) - return readUser(ctx, data, meta) + + user, err := api.User.Read(ctx, userID) + if err != nil { + return diag.FromErr(err) + } + + data.SetId(user.GetID()) + + roles, err := api.User.Roles(ctx, user.GetID()) + if err != nil { + return diag.FromErr(err) + } + + permissions, err := api.User.Permissions(ctx, user.GetID()) + if err != nil { + return diag.FromErr(err) + } + + result := multierror.Append( + flattenUser(data, user), + data.Set("roles", flattenUserRoles(roles)), + data.Set("permissions", flattenUserPermissions(permissions)), + ) + + return diag.FromErr(result.ErrorOrNil()) } diff --git a/internal/auth0/user/data_source_test.go b/internal/auth0/user/data_source_test.go index a71ecc83c..748fb858e 100644 --- a/internal/auth0/user/data_source_test.go +++ b/internal/auth0/user/data_source_test.go @@ -2,6 +2,7 @@ package user_test import ( "fmt" + "regexp" "strings" "testing" @@ -10,8 +11,37 @@ import ( "github.com/auth0/terraform-provider-auth0/internal/acctest" ) +const testAccDataSourceUserDoesNotExist = ` +data "auth0_user" "user" { + user_id = "auth0|this-user-id-does-not-exist" +} +` + const testAccDataSourceUser = ` +resource "auth0_resource_server" "resource_server" { + name = "Acceptance Test - {{.testName}}" + identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" +} + +resource "auth0_resource_server_scopes" "my_scopes" { + depends_on = [ auth0_resource_server.resource_server ] + + resource_server_identifier = auth0_resource_server.resource_server.identifier + + scopes { + name = "read:foo" + description = "Can read Foo" + } + + scopes { + name = "create:foo" + description = "Can create Foo" + } +} + resource "auth0_role" "owner" { + depends_on = [ auth0_resource_server_scopes.my_scopes ] + name = "Test Owner {{.testName}}" description = "Owner {{.testName}}" } @@ -36,7 +66,6 @@ resource "auth0_user" "user" { family_name = "Lastname" nickname = "{{.testName}}" picture = "https://www.example.com/picture.jpg" - roles = [ auth0_role.owner.id, auth0_role.admin.id ] user_metadata = jsonencode({ "foo": "bar", "baz": "qux" @@ -47,10 +76,33 @@ resource "auth0_user" "user" { }) } -data "auth0_user" "test" { +resource "auth0_user_permissions" "user_permissions" { depends_on = [ auth0_user.user ] user_id = auth0_user.user.id + + permissions { + resource_server_identifier = auth0_resource_server.resource_server.identifier + name = "read:foo" + } + + permissions { + resource_server_identifier = auth0_resource_server.resource_server.identifier + name = "create:foo" + } +} + +resource "auth0_user_roles" "user_roles" { + depends_on = [ auth0_user_permissions.user_permissions ] + + user_id = auth0_user.user.id + roles = [ auth0_role.owner.id, auth0_role.admin.id ] +} + +data "auth0_user" "test" { + depends_on = [ auth0_user_roles.user_roles ] + + user_id = auth0_user.user.id } ` @@ -59,6 +111,10 @@ func TestAccDataSourceUser(t *testing.T) { acctest.Test(t, resource.TestCase{ Steps: []resource.TestStep{ + { + Config: acctest.ParseTestName(testAccDataSourceUserDoesNotExist, testName), + ExpectError: regexp.MustCompile(`Error: 404 Not Found: The user does not exist.`), + }, { Config: acctest.ParseTestName(testAccDataSourceUser, testName), Check: resource.ComposeTestCheckFunc( @@ -72,7 +128,7 @@ func TestAccDataSourceUser(t *testing.T) { resource.TestCheckResourceAttr("data.auth0_user.test", "nickname", testName), resource.TestCheckResourceAttr("data.auth0_user.test", "picture", "https://www.example.com/picture.jpg"), resource.TestCheckResourceAttr("data.auth0_user.test", "roles.#", "2"), - resource.TestCheckResourceAttr("data.auth0_user.test", "permissions.#", "0"), + resource.TestCheckResourceAttr("data.auth0_user.test", "permissions.#", "2"), resource.TestCheckResourceAttr("data.auth0_user.test", "user_metadata", `{"baz":"qux","foo":"bar"}`), resource.TestCheckResourceAttr("data.auth0_user.test", "app_metadata", `{"baz":"qux","foo":"bar"}`), ), diff --git a/internal/auth0/user/expand.go b/internal/auth0/user/expand.go new file mode 100644 index 000000000..f4c98c827 --- /dev/null +++ b/internal/auth0/user/expand.go @@ -0,0 +1,106 @@ +package user + +import ( + "github.com/auth0/go-auth0/management" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/structure" + + "github.com/auth0/terraform-provider-auth0/internal/value" +) + +func expandUser(d *schema.ResourceData) (*management.User, error) { + cfg := d.GetRawConfig() + + user := &management.User{} + + if d.IsNewResource() { + user.ID = value.String(cfg.GetAttr("user_id")) + } + if d.HasChange("email") { + user.Email = value.String(cfg.GetAttr("email")) + } + if d.HasChange("username") { + user.Username = value.String(cfg.GetAttr("username")) + } + if d.HasChange("password") { + user.Password = value.String(cfg.GetAttr("password")) + } + if d.HasChange("phone_number") { + user.PhoneNumber = value.String(cfg.GetAttr("phone_number")) + } + if d.HasChange("email_verified") { + user.EmailVerified = value.Bool(cfg.GetAttr("email_verified")) + } + if d.HasChange("verify_email") { + user.VerifyEmail = value.Bool(cfg.GetAttr("verify_email")) + } + if d.HasChange("phone_verified") { + user.PhoneVerified = value.Bool(cfg.GetAttr("phone_verified")) + } + if d.HasChange("given_name") { + user.GivenName = value.String(cfg.GetAttr("given_name")) + } + if d.HasChange("family_name") { + user.FamilyName = value.String(cfg.GetAttr("family_name")) + } + if d.HasChange("nickname") { + user.Nickname = value.String(cfg.GetAttr("nickname")) + } + if d.HasChange("name") { + user.Name = value.String(cfg.GetAttr("name")) + } + if d.HasChange("picture") { + user.Picture = value.String(cfg.GetAttr("picture")) + } + if d.HasChange("blocked") { + user.Blocked = value.Bool(cfg.GetAttr("blocked")) + } + if d.HasChange("connection_name") { + user.Connection = value.String(cfg.GetAttr("connection_name")) + } + if d.HasChange("user_metadata") { + userMetadata, err := expandMetadata(d, "user") + if err != nil { + return nil, err + } + user.UserMetadata = &userMetadata + } + if d.HasChange("app_metadata") { + appMetadata, err := expandMetadata(d, "app") + if err != nil { + return nil, err + } + user.AppMetadata = &appMetadata + } + + return user, nil +} + +func expandMetadata(d *schema.ResourceData, metadataType string) (map[string]interface{}, error) { + oldMetadata, newMetadata := d.GetChange(metadataType + "_metadata") + if oldMetadata == "" { + return value.MapFromJSON(d.GetRawConfig().GetAttr(metadataType + "_metadata")) + } + + if newMetadata == "" { + return map[string]interface{}{}, nil + } + + oldMap, err := structure.ExpandJsonFromString(oldMetadata.(string)) + if err != nil { + return map[string]interface{}{}, err + } + + newMap, err := structure.ExpandJsonFromString(newMetadata.(string)) + if err != nil { + return map[string]interface{}{}, err + } + + for key := range oldMap { + if _, ok := newMap[key]; !ok { + newMap[key] = nil + } + } + + return newMap, nil +} diff --git a/internal/auth0/user/flatten.go b/internal/auth0/user/flatten.go new file mode 100644 index 000000000..7dae85b88 --- /dev/null +++ b/internal/auth0/user/flatten.go @@ -0,0 +1,61 @@ +package user + +import ( + "github.com/auth0/go-auth0/management" + "github.com/hashicorp/go-multierror" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/structure" +) + +func flattenUser(data *schema.ResourceData, user *management.User) (err error) { + userMetadata, err := structure.FlattenJsonToString(user.GetUserMetadata()) + if err != nil { + return err + } + + appMetadata, err := structure.FlattenJsonToString(user.GetAppMetadata()) + if err != nil { + return err + } + + result := multierror.Append( + data.Set("user_id", user.GetID()), + data.Set("username", user.GetUsername()), + data.Set("name", user.GetName()), + data.Set("family_name", user.GetFamilyName()), + data.Set("given_name", user.GetGivenName()), + data.Set("nickname", user.GetNickname()), + data.Set("email", user.GetEmail()), + data.Set("email_verified", user.GetEmailVerified()), + data.Set("verify_email", user.GetVerifyEmail()), + data.Set("phone_number", user.GetPhoneNumber()), + data.Set("phone_verified", user.GetPhoneVerified()), + data.Set("blocked", user.GetBlocked()), + data.Set("picture", user.GetPicture()), + data.Set("user_metadata", userMetadata), + data.Set("app_metadata", appMetadata), + ) + + return result.ErrorOrNil() +} + +func flattenUserRoles(roleList *management.RoleList) []interface{} { + var roles []interface{} + for _, role := range roleList.Roles { + roles = append(roles, role.GetID()) + } + return roles +} + +func flattenUserPermissions(permissionList *management.PermissionList) []interface{} { + var permissions []interface{} + for _, permission := range permissionList.Permissions { + permissions = append(permissions, map[string]string{ + "name": permission.GetName(), + "resource_server_identifier": permission.GetResourceServerIdentifier(), + "description": permission.GetDescription(), + "resource_server_name": permission.GetResourceServerName(), + }) + } + return permissions +} diff --git a/internal/auth0/user/resource.go b/internal/auth0/user/resource.go index 48944cf43..6a645363d 100644 --- a/internal/auth0/user/resource.go +++ b/internal/auth0/user/resource.go @@ -148,114 +148,26 @@ func NewResource() *schema.Resource { "has disabled 'Sync user profile attributes at each login'. For more information, see: " + "[Configure Identity Provider Connection for User Profile Updates](https://auth0.com/docs/manage-users/user-accounts/user-profiles/configure-connection-sync-with-auth0).", }, - "roles": { - Type: schema.TypeSet, - Optional: true, - Elem: &schema.Schema{Type: schema.TypeString}, - Description: "Set of IDs of roles assigned to the user. " + - "Managing roles through this attribute is deprecated and it will be removed in a future major version. " + - "Migrate to the `auth0_user_roles` or the `auth0_user_role` resource to manage user roles instead. " + - "Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#user-roles) on how to do that.", - Deprecated: "Managing roles through this attribute is deprecated and it will be removed in a future major version. " + - "Migrate to the `auth0_user_roles` or the `auth0_user_role` resource to manage user roles instead. " + - "Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md#user-roles) on how to do that.", - }, - "permissions": { - Type: schema.TypeSet, - Computed: true, - Description: "List of API permissions granted to the user. " + - "Reading permissions through this attribute is deprecated and it will be removed in a future major version. " + - "Use the `auth0_user` data source instead.", - Deprecated: "Reading permissions through this attribute is deprecated and it will be removed in a future major version. " + - "Use the `auth0_user` data source instead.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "name": { - Type: schema.TypeString, - Computed: true, - Description: "Name of permission.", - }, - "description": { - Type: schema.TypeString, - Computed: true, - Description: "Description of the permission.", - }, - "resource_server_identifier": { - Type: schema.TypeString, - Computed: true, - Description: "Resource server identifier associated with the permission.", - }, - "resource_server_name": { - Type: schema.TypeString, - Computed: true, - Description: "Name of resource server that the permission is associated with.", - }, - }, - }, - }, }, } } -func readUser(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func readUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - user, err := api.User.Read(d.Id()) + user, err := api.User.Read(ctx, d.Id()) if err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { d.SetId("") return nil } - return diag.FromErr(err) - } - - result := multierror.Append( - d.Set("user_id", user.GetID()), - d.Set("username", user.GetUsername()), - d.Set("name", user.GetName()), - d.Set("family_name", user.GetFamilyName()), - d.Set("given_name", user.GetGivenName()), - d.Set("nickname", user.GetNickname()), - d.Set("email", user.GetEmail()), - d.Set("email_verified", user.GetEmailVerified()), - d.Set("verify_email", user.GetVerifyEmail()), - d.Set("phone_number", user.GetPhoneNumber()), - d.Set("phone_verified", user.GetPhoneVerified()), - d.Set("blocked", user.GetBlocked()), - d.Set("picture", user.GetPicture()), - ) - - var userMeta string - if user.UserMetadata != nil { - userMeta, err = structure.FlattenJsonToString(*user.UserMetadata) - if err != nil { - return diag.FromErr(err) - } - } - result = multierror.Append(result, d.Set("user_metadata", userMeta)) - - var appMeta string - if user.AppMetadata != nil { - appMeta, err = structure.FlattenJsonToString(*user.AppMetadata) - if err != nil { - return diag.FromErr(err) - } - } - result = multierror.Append(result, d.Set("app_metadata", appMeta)) - roleList, err := api.User.Roles(d.Id()) - if err != nil { return diag.FromErr(err) } - result = multierror.Append(result, d.Set("roles", flattenUserRoles(roleList))) - permissions, err := api.User.Permissions(user.GetID()) - if err != nil { - return diag.FromErr(err) - } - result = multierror.Append(result, d.Set("permissions", flattenUserPermissions(permissions))) + err = flattenUser(d, user) - return diag.FromErr(result.ErrorOrNil()) + return diag.FromErr(err) } func createUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { @@ -266,13 +178,13 @@ func createUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag return diag.FromErr(err) } - if err := api.User.Create(user); err != nil { + if err := api.User.Create(ctx, user); err != nil { return diag.FromErr(err) } d.SetId(user.GetID()) - if err = persistUserRoles(d, m); err != nil { + if err = persistUserRoles(ctx, d, m); err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { return readUser(ctx, d, m) } @@ -295,12 +207,12 @@ func updateUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag api := m.(*config.Config).GetAPI() if userHasChange(user) { - if err := api.User.Update(d.Id(), user); err != nil { + if err := api.User.Update(ctx, d.Id(), user); err != nil { return diag.FromErr(err) } } - if err = persistUserRoles(d, m); err != nil { + if err = persistUserRoles(ctx, d, m); err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { return readUser(ctx, d, m) } @@ -311,9 +223,9 @@ func updateUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag return readUser(ctx, d, m) } -func deleteUser(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func deleteUser(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := m.(*config.Config).GetAPI() - if err := api.User.Delete(d.Id()); err != nil { + if err := api.User.Delete(ctx, d.Id()); err != nil { if mErr, ok := err.(management.Error); ok { if mErr.Status() == http.StatusNotFound { d.SetId("") @@ -326,124 +238,6 @@ func deleteUser(_ context.Context, d *schema.ResourceData, m interface{}) diag.D return nil } -func expandUser(d *schema.ResourceData) (*management.User, error) { - config := d.GetRawConfig() - - user := &management.User{} - - if d.IsNewResource() { - user.ID = value.String(config.GetAttr("user_id")) - } - if d.HasChange("email") { - user.Email = value.String(config.GetAttr("email")) - } - if d.HasChange("username") { - user.Username = value.String(config.GetAttr("username")) - } - if d.HasChange("password") { - user.Password = value.String(config.GetAttr("password")) - } - if d.HasChange("phone_number") { - user.PhoneNumber = value.String(config.GetAttr("phone_number")) - } - if d.HasChange("email_verified") { - user.EmailVerified = value.Bool(config.GetAttr("email_verified")) - } - if d.HasChange("verify_email") { - user.VerifyEmail = value.Bool(config.GetAttr("verify_email")) - } - if d.HasChange("phone_verified") { - user.PhoneVerified = value.Bool(config.GetAttr("phone_verified")) - } - if d.HasChange("given_name") { - user.GivenName = value.String(config.GetAttr("given_name")) - } - if d.HasChange("family_name") { - user.FamilyName = value.String(config.GetAttr("family_name")) - } - if d.HasChange("nickname") { - user.Nickname = value.String(config.GetAttr("nickname")) - } - if d.HasChange("name") { - user.Name = value.String(config.GetAttr("name")) - } - if d.HasChange("picture") { - user.Picture = value.String(config.GetAttr("picture")) - } - if d.HasChange("blocked") { - user.Blocked = value.Bool(config.GetAttr("blocked")) - } - if d.HasChange("connection_name") { - user.Connection = value.String(config.GetAttr("connection_name")) - } - if d.HasChange("user_metadata") { - userMetadata, err := expandMetadata(d, "user") - if err != nil { - return nil, err - } - user.UserMetadata = &userMetadata - } - if d.HasChange("app_metadata") { - appMetadata, err := expandMetadata(d, "app") - if err != nil { - return nil, err - } - user.AppMetadata = &appMetadata - } - - return user, nil -} - -func expandMetadata(d *schema.ResourceData, metadataType string) (map[string]interface{}, error) { - oldMetadata, newMetadata := d.GetChange(metadataType + "_metadata") - if oldMetadata == "" { - return value.MapFromJSON(d.GetRawConfig().GetAttr(metadataType + "_metadata")) - } - - if newMetadata == "" { - return map[string]interface{}{}, nil - } - - oldMap, err := structure.ExpandJsonFromString(oldMetadata.(string)) - if err != nil { - return map[string]interface{}{}, err - } - - newMap, err := structure.ExpandJsonFromString(newMetadata.(string)) - if err != nil { - return map[string]interface{}{}, err - } - - for key := range oldMap { - if _, ok := newMap[key]; !ok { - newMap[key] = nil - } - } - - return newMap, nil -} - -func flattenUserRoles(roleList *management.RoleList) []interface{} { - var roles []interface{} - for _, role := range roleList.Roles { - roles = append(roles, role.GetID()) - } - return roles -} - -func flattenUserPermissions(permissionList *management.PermissionList) []interface{} { - var permissions []interface{} - for _, p := range permissionList.Permissions { - permissions = append(permissions, map[string]string{ - "name": p.GetName(), - "resource_server_identifier": p.GetResourceServerIdentifier(), - "description": p.GetDescription(), - "resource_server_name": p.GetResourceServerName(), - }) - } - return permissions -} - func validateUser(user *management.User) error { validations := []validateUserFunc{ validateNoUsernameAndPasswordSimultaneously(), @@ -488,21 +282,21 @@ func validateNoPasswordAndEmailVerifiedSimultaneously() validateUserFunc { } } -func persistUserRoles(d *schema.ResourceData, meta interface{}) error { +func persistUserRoles(ctx context.Context, d *schema.ResourceData, meta interface{}) error { if !d.HasChange("roles") { return nil } rolesToAdd, rolesToRemove := value.Difference(d, "roles") - if err := removeUserRoles(meta, d.Id(), rolesToRemove); err != nil { + if err := removeUserRoles(ctx, meta, d.Id(), rolesToRemove); err != nil { return err } - return assignUserRoles(meta, d.Id(), rolesToAdd) + return assignUserRoles(ctx, meta, d.Id(), rolesToAdd) } -func removeUserRoles(meta interface{}, userID string, userRolesToRemove []interface{}) error { +func removeUserRoles(ctx context.Context, meta interface{}, userID string, userRolesToRemove []interface{}) error { if len(userRolesToRemove) == 0 { return nil } @@ -515,10 +309,10 @@ func removeUserRoles(meta interface{}, userID string, userRolesToRemove []interf api := meta.(*config.Config).GetAPI() - return api.User.RemoveRoles(userID, rmRoles) + return api.User.RemoveRoles(ctx, userID, rmRoles) } -func assignUserRoles(meta interface{}, userID string, userRolesToAdd []interface{}) error { +func assignUserRoles(ctx context.Context, meta interface{}, userID string, userRolesToAdd []interface{}) error { if len(userRolesToAdd) == 0 { return nil } @@ -532,7 +326,7 @@ func assignUserRoles(meta interface{}, userID string, userRolesToAdd []interface api := meta.(*config.Config).GetAPI() - return api.User.AssignRoles(userID, addRoles) + return api.User.AssignRoles(ctx, userID, addRoles) } func userHasChange(u *management.User) bool { diff --git a/internal/auth0/user/resource_permission.go b/internal/auth0/user/resource_permission.go index 3e2c440d6..c9bea22c6 100644 --- a/internal/auth0/user/resource_permission.go +++ b/internal/auth0/user/resource_permission.go @@ -50,7 +50,7 @@ func NewPermissionResource() *schema.Resource { ReadContext: readUserPermission, DeleteContext: deleteUserPermission, Importer: &schema.ResourceImporter{ - StateContext: internalSchema.ImportResourceGroupID(internalSchema.SeparatorDoubleColon, "user_id", "resource_server_identifier", "permission"), + StateContext: internalSchema.ImportResourceGroupID("user_id", "resource_server_identifier", "permission"), }, Description: "With this resource, you can manage user permissions.", } @@ -63,7 +63,7 @@ func createUserPermission(ctx context.Context, data *schema.ResourceData, meta i resourceServerID := data.Get("resource_server_identifier").(string) permissionName := data.Get("permission").(string) - if err := api.User.AssignPermissions(userID, []*management.Permission{ + if err := api.User.AssignPermissions(ctx, userID, []*management.Permission{ { ResourceServerIdentifier: &resourceServerID, Name: &permissionName, @@ -76,19 +76,19 @@ func createUserPermission(ctx context.Context, data *schema.ResourceData, meta i return diag.FromErr(err) } - data.SetId(userID + internalSchema.SeparatorDoubleColon + resourceServerID + internalSchema.SeparatorDoubleColon + permissionName) + internalSchema.SetResourceGroupID(data, userID, resourceServerID, permissionName) return readUserPermission(ctx, data, meta) } -func readUserPermission(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readUserPermission(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() userID := data.Get("user_id").(string) permissionName := data.Get("permission").(string) resourceServerID := data.Get("resource_server_identifier").(string) - existingPermissions, err := api.User.Permissions(userID) + existingPermissions, err := api.User.Permissions(ctx, userID) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -113,7 +113,7 @@ func readUserPermission(_ context.Context, data *schema.ResourceData, meta inter return nil } -func deleteUserPermission(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteUserPermission(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() userID := data.Get("user_id").(string) @@ -121,6 +121,7 @@ func deleteUserPermission(_ context.Context, data *schema.ResourceData, meta int resourceServerID := data.Get("resource_server_identifier").(string) if err := api.User.RemovePermissions( + ctx, userID, []*management.Permission{ { diff --git a/internal/auth0/user/resource_permissions.go b/internal/auth0/user/resource_permissions.go index 8099423b8..e0423ba49 100644 --- a/internal/auth0/user/resource_permissions.go +++ b/internal/auth0/user/resource_permissions.go @@ -86,7 +86,7 @@ func upsertUserPermissions(ctx context.Context, data *schema.ResourceData, meta } if len(rmPermissions) > 0 { - if err := api.User.RemovePermissions(userID, rmPermissions); err != nil { + if err := api.User.RemovePermissions(ctx, userID, rmPermissions); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") return nil @@ -106,7 +106,7 @@ func upsertUserPermissions(ctx context.Context, data *schema.ResourceData, meta } if len(addPermissions) > 0 { - if err := api.User.AssignPermissions(userID, addPermissions); err != nil { + if err := api.User.AssignPermissions(ctx, userID, addPermissions); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") return nil @@ -121,10 +121,10 @@ func upsertUserPermissions(ctx context.Context, data *schema.ResourceData, meta return readUserPermissions(ctx, data, meta) } -func readUserPermissions(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readUserPermissions(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() - permissions, err := api.User.Permissions(data.Id()) + permissions, err := api.User.Permissions(ctx, data.Id()) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -142,7 +142,7 @@ func readUserPermissions(_ context.Context, data *schema.ResourceData, meta inte return diag.FromErr(result.ErrorOrNil()) } -func deleteUserPermissions(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteUserPermissions(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() userID := data.Get("user_id").(string) @@ -158,7 +158,7 @@ func deleteUserPermissions(_ context.Context, data *schema.ResourceData, meta in }) } - if err := api.User.RemovePermissions(userID, rmPermissions); err != nil { + if err := api.User.RemovePermissions(ctx, userID, rmPermissions); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { return nil } diff --git a/internal/auth0/user/resource_permissions_test.go b/internal/auth0/user/resource_permissions_test.go index b0a94715e..5dde26d26 100644 --- a/internal/auth0/user/resource_permissions_test.go +++ b/internal/auth0/user/resource_permissions_test.go @@ -16,10 +16,6 @@ const testAccGivenAResourceServerWithTwoScopesAndAUser = ` resource "auth0_resource_server" "resource_server" { name = "Acceptance Test - {{.testName}}" identifier = "https://uat.api.terraform-provider-auth0.com/{{.testName}}" - - lifecycle { - ignore_changes = [ scopes ] - } } resource "auth0_resource_server_scopes" "my_scopes" { diff --git a/internal/auth0/user/resource_role.go b/internal/auth0/user/resource_role.go index b114c33bc..59daf02c3 100644 --- a/internal/auth0/user/resource_role.go +++ b/internal/auth0/user/resource_role.go @@ -47,7 +47,7 @@ func NewRoleResource() *schema.Resource { ReadContext: readUserRole, DeleteContext: deleteUserRole, Importer: &schema.ResourceImporter{ - StateContext: internalSchema.ImportResourceGroupID(internalSchema.SeparatorDoubleColon, "user_id", "role_id"), + StateContext: internalSchema.ImportResourceGroupID("user_id", "role_id"), }, Description: "With this resource, you can manage assigned roles for a user.", } @@ -59,7 +59,7 @@ func createUserRole(ctx context.Context, data *schema.ResourceData, meta interfa userID := data.Get("user_id").(string) roleID := data.Get("role_id").(string) - if err := api.User.AssignRoles(userID, []*management.Role{{ID: &roleID}}); err != nil { + if err := api.User.AssignRoles(ctx, userID, []*management.Role{{ID: &roleID}}); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { return nil } @@ -67,17 +67,17 @@ func createUserRole(ctx context.Context, data *schema.ResourceData, meta interfa return diag.FromErr(err) } - data.SetId(userID + internalSchema.SeparatorDoubleColon + roleID) + internalSchema.SetResourceGroupID(data, userID, roleID) return readUserRole(ctx, data, meta) } -func readUserRole(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readUserRole(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() userID := data.Get("user_id").(string) - rolesList, err := api.User.Roles(userID) + rolesList, err := api.User.Roles(ctx, userID) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -103,13 +103,13 @@ func readUserRole(_ context.Context, data *schema.ResourceData, meta interface{} return nil } -func deleteUserRole(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteUserRole(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() userID := data.Get("user_id").(string) roleID := data.Get("role_id").(string) - if err := api.User.RemoveRoles(userID, []*management.Role{{ID: &roleID}}); err != nil { + if err := api.User.RemoveRoles(ctx, userID, []*management.Role{{ID: &roleID}}); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { return nil } diff --git a/internal/auth0/user/resource_roles.go b/internal/auth0/user/resource_roles.go index 2e9750192..3cd74c5a8 100644 --- a/internal/auth0/user/resource_roles.go +++ b/internal/auth0/user/resource_roles.go @@ -48,7 +48,7 @@ func upsertUserRoles(ctx context.Context, data *schema.ResourceData, meta interf userID := data.Get("user_id").(string) data.SetId(userID) - if err := persistUserRoles(data, meta); err != nil { + if err := persistUserRoles(ctx, data, meta); err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { data.SetId("") return nil @@ -60,10 +60,10 @@ func upsertUserRoles(ctx context.Context, data *schema.ResourceData, meta interf return readUserRoles(ctx, data, meta) } -func readUserRoles(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func readUserRoles(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() - rolesList, err := api.User.Roles(data.Id()) + rolesList, err := api.User.Roles(ctx, data.Id()) if err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { data.SetId("") @@ -86,7 +86,7 @@ func readUserRoles(_ context.Context, data *schema.ResourceData, meta interface{ return diag.FromErr(result.ErrorOrNil()) } -func deleteUserRoles(_ context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { +func deleteUserRoles(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() userID := data.Id() @@ -98,7 +98,7 @@ func deleteUserRoles(_ context.Context, data *schema.ResourceData, meta interfac rmRoles = append(rmRoles, role) } - if err := api.User.RemoveRoles(userID, rmRoles); err != nil { + if err := api.User.RemoveRoles(ctx, userID, rmRoles); err != nil { if err, ok := err.(management.Error); ok && err.Status() == http.StatusNotFound { return nil } diff --git a/internal/auth0/user/resource_roles_test.go b/internal/auth0/user/resource_roles_test.go index 5c476d2c6..11dcf1558 100644 --- a/internal/auth0/user/resource_roles_test.go +++ b/internal/auth0/user/resource_roles_test.go @@ -31,10 +31,6 @@ resource "auth0_user" "user" { email = "{{.testName}}@acceptance.test.com" password = "passpass$12$12" username = "{{.testName}}" - - lifecycle { - ignore_changes = [roles] - } } ` diff --git a/internal/auth0/user/resource_test.go b/internal/auth0/user/resource_test.go index b2227041b..2896d8947 100644 --- a/internal/auth0/user/resource_test.go +++ b/internal/auth0/user/resource_test.go @@ -48,22 +48,8 @@ resource "auth0_user" "user" { } ` -const testAccUserUpdateWithRolesAndMetadata = ` -resource "auth0_role" "owner" { - name = "Test Owner {{.testName}}" - description = "Owner {{.testName}}" -} - -resource "auth0_role" "admin" { - depends_on = [ auth0_role.owner ] - - name = "Test Admin {{.testName}}" - description = "Administrator {{.testName}}" -} - +const testAccUserUpdateWithMetadataWithTwoElements = ` resource "auth0_user" "user" { - depends_on = [ auth0_role.admin ] - connection_name = "Username-Password-Authentication" username = "{{.testName}}" email = "{{.testName}}@acceptance.test.com" @@ -73,7 +59,6 @@ resource "auth0_user" "user" { family_name = "Lastname" nickname = "{{.testName}}" picture = "https://www.example.com/picture.jpg" - roles = [ auth0_role.owner.id, auth0_role.admin.id ] user_metadata = jsonencode({ "foo": "bar", "baz": "qux" @@ -85,15 +70,8 @@ resource "auth0_user" "user" { } ` -const testAccUserUpdateRemovingOneRoleAndUpdatingMetadata = ` -resource "auth0_role" "admin" { - name = "Test Admin {{.testName}}" - description = "Administrator {{.testName}}" -} - +const testAccUserUpdateMetadataByRemovingOneElement = ` resource "auth0_user" "user" { - depends_on = [ auth0_role.admin ] - connection_name = "Username-Password-Authentication" username = "{{.testName}}" email = "{{.testName}}@acceptance.test.com" @@ -103,7 +81,6 @@ resource "auth0_user" "user" { family_name = "Lastname" nickname = "{{.testName}}" picture = "https://www.example.com/picture.jpg" - roles = [ auth0_role.admin.id ] user_metadata = jsonencode({ "foo": "bars", }) @@ -113,7 +90,7 @@ resource "auth0_user" "user" { } ` -const testAccUserUpdateRemovingAllRolesAndUpdatingMetadata = ` +const testAccUserUpdatingMetadataBySettingToEmpty = ` resource "auth0_user" "user" { connection_name = "Username-Password-Authentication" username = "{{.testName}}" @@ -124,14 +101,8 @@ resource "auth0_user" "user" { family_name = "Lastname" nickname = "{{.testName}}" picture = "https://www.example.com/picture.jpg" - user_metadata = jsonencode({ - "foo": "barss", - "foo2": "bar2", - }) - app_metadata = jsonencode({ - "foo": "barss", - "foo2": "bar2", - }) + user_metadata = "" + app_metadata = "" } ` @@ -176,41 +147,32 @@ func TestAccUser(t *testing.T) { resource.TestCheckResourceAttr("auth0_user.user", "picture", "https://www.example.com/picture.jpg"), resource.TestCheckResourceAttr("auth0_user.user", "user_metadata", ""), resource.TestCheckResourceAttr("auth0_user.user", "app_metadata", ""), - resource.TestCheckResourceAttr("auth0_user.user", "roles.#", "0"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.#", "0"), ), }, { - Config: acctest.ParseTestName(testAccUserUpdateWithRolesAndMetadata, testName), + Config: acctest.ParseTestName(testAccUserUpdateWithMetadataWithTwoElements, testName), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "roles.#", "2"), - resource.TestCheckResourceAttr("auth0_role.owner", "name", fmt.Sprintf("Test Owner %s", testName)), - resource.TestCheckResourceAttr("auth0_role.admin", "name", fmt.Sprintf("Test Admin %s", testName)), resource.TestCheckResourceAttr("auth0_user.user", "user_metadata", `{"baz":"qux","foo":"bar"}`), resource.TestCheckResourceAttr("auth0_user.user", "app_metadata", `{"baz":"qux","foo":"bar"}`), ), }, { - Config: acctest.ParseTestName(testAccUserUpdateRemovingOneRoleAndUpdatingMetadata, testName), + Config: acctest.ParseTestName(testAccUserUpdateMetadataByRemovingOneElement, testName), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "roles.#", "1"), resource.TestCheckResourceAttr("auth0_user.user", "user_metadata", `{"foo":"bars"}`), resource.TestCheckResourceAttr("auth0_user.user", "app_metadata", `{"foo":"bars"}`), ), }, { - Config: acctest.ParseTestName(testAccUserUpdateRemovingAllRolesAndUpdatingMetadata, testName), + Config: acctest.ParseTestName(testAccUserUpdatingMetadataBySettingToEmpty, testName), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "roles.#", "0"), - resource.TestCheckResourceAttr("auth0_user.user", "user_metadata", `{"foo":"barss","foo2":"bar2"}`), - resource.TestCheckResourceAttr("auth0_user.user", "app_metadata", `{"foo":"barss","foo2":"bar2"}`), + resource.TestCheckResourceAttr("auth0_user.user", "user_metadata", ""), + resource.TestCheckResourceAttr("auth0_user.user", "app_metadata", ""), ), }, { Config: acctest.ParseTestName(testAccUserUpdateRemovingMetadata, testName), Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_user.user", "roles.#", "0"), - resource.TestCheckResourceAttr("auth0_user.user", "permissions.#", "0"), resource.TestCheckResourceAttr("auth0_user.user", "user_metadata", ""), resource.TestCheckResourceAttr("auth0_user.user", "app_metadata", ""), ), diff --git a/internal/config/config.go b/internal/config/config.go index 50263cb09..6b2a80643 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -3,6 +3,7 @@ package config import ( "context" "fmt" + "net/http" "github.com/auth0/go-auth0" "github.com/auth0/go-auth0/management" @@ -59,6 +60,7 @@ func ConfigureProvider(terraformVersion *string) schema.ConfigureContextFunc { management.WithDebug(debug), management.WithUserAgent(userAgent(terraformVersion)), management.WithAuth0ClientEnvEntry(providerName, version), + management.WithRetries(3, []int{http.StatusTooManyRequests, http.StatusInternalServerError}), ) if err != nil { return nil, diag.FromErr(err) @@ -87,17 +89,20 @@ func userAgent(terraformVersion *string) string { // authenticationOption computes the desired authentication option for the *management.Management client. func authenticationOption(clientID, clientSecret, apiToken, audience string) management.Option { + ctx := context.Background() + if apiToken != "" { return management.WithStaticToken(apiToken) } if audience != "" { return management.WithClientCredentialsAndAudience( + ctx, clientID, clientSecret, audience, ) } - return management.WithClientCredentials(clientID, clientSecret) + return management.WithClientCredentials(ctx, clientID, clientSecret) } diff --git a/internal/provider/provider.go b/internal/provider/provider.go index bed3fcdfa..c9b4c01a5 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -97,7 +97,6 @@ func New() *schema.Provider { "auth0_client": client.NewResource(), "auth0_client_credentials": client.NewCredentialsResource(), "auth0_client_grant": client.NewGrantResource(), - "auth0_global_client": client.NewGlobalResource(), "auth0_connection": connection.NewResource(), "auth0_connection_client": connection.NewClientResource(), "auth0_connection_clients": connection.NewClientsResource(), @@ -138,10 +137,10 @@ func New() *schema.Provider { "auth0_branding": branding.NewDataSource(), "auth0_branding_theme": branding.NewThemeDataSource(), "auth0_client": client.NewDataSource(), - "auth0_global_client": client.NewGlobalDataSource(), "auth0_connection": connection.NewDataSource(), "auth0_custom_domain": customdomain.NewDataSource(), "auth0_organization": organization.NewDataSource(), + "auth0_pages": page.NewDataSource(), "auth0_resource_server": resourceserver.NewDataSource(), "auth0_role": role.NewDataSource(), "auth0_tenant": tenant.NewDataSource(), diff --git a/internal/schema/importer.go b/internal/schema/importer.go index 91eca5033..5522676e2 100644 --- a/internal/schema/importer.go +++ b/internal/schema/importer.go @@ -9,19 +9,13 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" ) -const ( - // SeparatorColon used for imports that use ":". - SeparatorColon = ":" - - // SeparatorDoubleColon used for imports that use "::". - SeparatorDoubleColon = "::" -) +const separator = "::" var errEmptyID = fmt.Errorf("ID cannot be empty") // ImportResourceGroupID deconstructs the given ID when terraform import // runs, so the attribute groups can be set within the terraform state. -func ImportResourceGroupID(separator string, resourceGroup ...string) schema.StateContextFunc { +func ImportResourceGroupID(resourceGroup ...string) schema.StateContextFunc { return func(_ context.Context, data *schema.ResourceData, _ interface{}) ([]*schema.ResourceData, error) { givenRawID := data.Id() if givenRawID == "" { @@ -29,12 +23,12 @@ func ImportResourceGroupID(separator string, resourceGroup ...string) schema.Sta } if !strings.Contains(givenRawID, separator) { - return nil, errInvalidID(separator, resourceGroup...) + return nil, errInvalidID(resourceGroup...) } idGroup := strings.Split(givenRawID, separator) if len(idGroup) != len(resourceGroup) { - return nil, errInvalidID(separator, resourceGroup...) + return nil, errInvalidID(resourceGroup...) } var result *multierror.Error @@ -46,7 +40,13 @@ func ImportResourceGroupID(separator string, resourceGroup ...string) schema.Sta } } -func errInvalidID(separator string, resourceGroup ...string) error { +// SetResourceGroupID sets the ID of the resource when the ID is a combination of +// multiple resource IDs. If the value is blank, then the resource is destroyed. +func SetResourceGroupID(data *schema.ResourceData, resourceGroup ...string) { + data.SetId(strings.Join(resourceGroup, separator)) +} + +func errInvalidID(resourceGroup ...string) error { var formattedErrorMessage []string for _, s := range resourceGroup { formattedErrorMessage = append(formattedErrorMessage, "<"+s+">") diff --git a/internal/schema/importer_test.go b/internal/schema/importer_test.go index 7e1173cae..c3147e014 100644 --- a/internal/schema/importer_test.go +++ b/internal/schema/importer_test.go @@ -13,41 +13,36 @@ func TestImportResourceGroupID(t *testing.T) { var testCases = []struct { testName string givenID string - givenSeparator string expectedAttributes map[int]map[string]string expectedError error }{ { - testName: "it correctly parses the resource ID (org:conn)", - givenID: "org_1234:conn_5678", - givenSeparator: ":", + testName: "it correctly parses the resource ID (org::conn)", + givenID: "org_1234::conn_5678", expectedAttributes: map[int]map[string]string{ 1: {"organization_id": "org_1234"}, 2: {"connection_id": "conn_5678"}, }, }, { - testName: "it correctly parses the resource ID (org:user)", - givenID: "org_1234:auth0|62d82", - givenSeparator: ":", + testName: "it correctly parses the resource ID (org::user)", + givenID: "org_1234::auth0|62d82", expectedAttributes: map[int]map[string]string{ 1: {"organization_id": "org_1234"}, 2: {"user_id": "auth0|62d82"}, }, }, { - testName: "it correctly parses the resource ID (conn:client)", - givenID: "conn_5678::client_1234", - givenSeparator: "::", + testName: "it correctly parses the resource ID (conn::client)", + givenID: "conn_5678::client_1234", expectedAttributes: map[int]map[string]string{ 1: {"connection_id": "conn_5678"}, 2: {"client_id": "client_1234"}, }, }, { - testName: "it correctly parses the resource ID (org:member:role)", - givenID: "org_5678:user_1234:role_5341", - givenSeparator: ":", + testName: "it correctly parses the resource ID (org::member::role)", + givenID: "org_5678::user_1234::role_5341", expectedAttributes: map[int]map[string]string{ 1: {"organization_id": "org_5678"}, 2: {"user_id": "user_1234"}, @@ -55,9 +50,8 @@ func TestImportResourceGroupID(t *testing.T) { }, }, { - testName: "it correctly parses the resource ID (user:api:permission)", - givenID: "user_5678::https://api::read:books", - givenSeparator: "::", + testName: "it correctly parses the resource ID (user::api::permission)", + givenID: "user_5678::https://api::read:books", expectedAttributes: map[int]map[string]string{ 1: {"user_id": "user_5678"}, 2: {"resource_server_identifier": "https://api"}, @@ -70,24 +64,22 @@ func TestImportResourceGroupID(t *testing.T) { expectedError: fmt.Errorf("ID cannot be empty"), }, { - testName: "it fails when the given ID does not have \":\" as a separator", - givenID: "org_1234conn_5678", - givenSeparator: ":", + testName: "it fails when the given ID does not have \"::\" as a separator", + givenID: "org_1234conn_5678", expectedAttributes: map[int]map[string]string{ 1: {"organization_id": ""}, 2: {"connection_id": ""}, }, - expectedError: fmt.Errorf("ID must be formatted as :"), + expectedError: fmt.Errorf("ID must be formatted as ::"), }, { - testName: "it fails when the given ID has too many separators", - givenID: "org_1234:conn_5678:", - givenSeparator: ":", + testName: "it fails when the given ID has too many separators", + givenID: "org_1234::conn_5678::", expectedAttributes: map[int]map[string]string{ 1: {"organization_id": ""}, 2: {"connection_id": ""}, }, - expectedError: fmt.Errorf("ID must be formatted as :"), + expectedError: fmt.Errorf("ID must be formatted as ::"), }, } @@ -109,7 +101,7 @@ func TestImportResourceGroupID(t *testing.T) { data := schema.TestResourceDataRaw(t, testSchema, nil) data.SetId(testCase.givenID) - importFunc := ImportResourceGroupID(testCase.givenSeparator, resourceKeys...) + importFunc := ImportResourceGroupID(resourceKeys...) actualData, err := importFunc(context.Background(), data, nil) if testCase.expectedError != nil { diff --git a/test/data/recordings/TestAccAction_FailedBuild.yaml b/test/data/recordings/TestAccAction_FailedBuild.yaml index 3ed4a8856..eb362fa2f 100644 --- a/test/data/recordings/TestAccAction_FailedBuild.yaml +++ b/test/data/recordings/TestAccAction_FailedBuild.yaml @@ -1,182 +1,254 @@ --- version: 2 interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 278 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"code":"exports.onContinuePostLogin = async (event, api) =\u003e {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18"} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: false - body: '{"id":"a0d81042-7ed3-4e78-b647-438ffe45ecfe","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2022-08-30T08:56:49.272839364Z","updated_at":"2022-08-30T08:56:49.286750680Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18","status":"pending","secrets":[],"all_changes_deployed":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 1ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a0d81042-7ed3-4e78-b647-438ffe45ecfe - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"a0d81042-7ed3-4e78-b647-438ffe45ecfe","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2022-08-30T08:56:49.272839364Z","updated_at":"2022-08-30T08:56:49.286750680Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18","status":"building","secrets":[],"all_changes_deployed":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a0d81042-7ed3-4e78-b647-438ffe45ecfe - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"a0d81042-7ed3-4e78-b647-438ffe45ecfe","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2022-08-30T08:56:49.272839364Z","updated_at":"2022-08-30T08:56:49.286750680Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18","status":"building","secrets":[],"all_changes_deployed":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a0d81042-7ed3-4e78-b647-438ffe45ecfe - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"a0d81042-7ed3-4e78-b647-438ffe45ecfe","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2022-08-30T08:56:49.272839364Z","updated_at":"2022-08-30T08:56:49.286750680Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18","status":"failed","secrets":[],"all_changes_deployed":false}' - 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: 0 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a0d81042-7ed3-4e78-b647-438ffe45ecfe - 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: 299 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"code":"exports.onContinuePostLogin = async (event, api) =\u003e {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18-actions","secrets":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 477 + uncompressed: false + body: '{"id":"faa76f9f-4ee0-4411-8a92-43255e49a727","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-12T16:37:14.793829402Z","updated_at":"2023-07-12T16:37:14.824637448Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18-actions","status":"pending","secrets":[],"all_changes_deployed":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 175.6235ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/faa76f9f-4ee0-4411-8a92-43255e49a727 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"faa76f9f-4ee0-4411-8a92-43255e49a727","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-12T16:37:14.793829402Z","updated_at":"2023-07-12T16:37:14.824637448Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18-actions","status":"building","secrets":[],"all_changes_deployed":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 157.227292ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/faa76f9f-4ee0-4411-8a92-43255e49a727 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"faa76f9f-4ee0-4411-8a92-43255e49a727","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-12T16:37:14.793829402Z","updated_at":"2023-07-12T16:37:14.824637448Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18-actions","status":"building","secrets":[],"all_changes_deployed":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 120.96425ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/faa76f9f-4ee0-4411-8a92-43255e49a727 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"faa76f9f-4ee0-4411-8a92-43255e49a727","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-12T16:37:14.793829402Z","updated_at":"2023-07-12T16:37:14.824637448Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18-actions","status":"building","secrets":[],"all_changes_deployed":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 121.095625ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/faa76f9f-4ee0-4411-8a92-43255e49a727 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"faa76f9f-4ee0-4411-8a92-43255e49a727","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-12T16:37:14.793829402Z","updated_at":"2023-07-12T16:37:14.824637448Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18-actions","status":"building","secrets":[],"all_changes_deployed":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 121.073459ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/faa76f9f-4ee0-4411-8a92-43255e49a727 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"faa76f9f-4ee0-4411-8a92-43255e49a727","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-12T16:37:14.793829402Z","updated_at":"2023-07-12T16:37:14.824637448Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18-actions","status":"failed","secrets":[],"all_changes_deployed":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 123.17475ms + - 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-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/faa76f9f-4ee0-4411-8a92-43255e49a727 + 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: 153.905833ms diff --git a/test/data/recordings/TestAccClientAddons.yaml b/test/data/recordings/TestAccClientAddons.yaml new file mode 100644 index 000000000..e96ac8ebb --- /dev/null +++ b/test/data/recordings/TestAccClientAddons.yaml @@ -0,0 +1,3458 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 532 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{"principal":"arn:aws:iam::010616021751:saml-provider/idpname","role":"arn:aws:iam::010616021751:role/foo","lifetime_in_seconds":32000},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{"principal":"arn:aws:iam::010616021751:saml-provider/idpname","role":"arn:aws:iam::010616021751:role/foo","lifetime_in_seconds":32000},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 435.883958ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{"principal":"arn:aws:iam::010616021751:saml-provider/idpname","role":"arn:aws:iam::010616021751:role/foo","lifetime_in_seconds":32000},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 193.678875ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{"principal":"arn:aws:iam::010616021751:saml-provider/idpname","role":"arn:aws:iam::010616021751:role/foo","lifetime_in_seconds":32000},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 215.324333ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{"principal":"arn:aws:iam::010616021751:saml-provider/idpname","role":"arn:aws:iam::010616021751:role/foo","lifetime_in_seconds":32000},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 126.6295ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 772 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{"accountName":"acmeorg","storageAccessKey":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa==","containerName":"my-container","blobName":"my-blob","expiration":10,"signedIdentifier":"id123","blob_read":true,"blob_write":true,"blob_delete":true,"container_read":true,"container_write":true,"container_delete":true,"container_list":true},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{"accountName":"acmeorg","storageAccessKey":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa==","containerName":"my-container","blobName":"my-blob","expiration":10,"signedIdentifier":"id123","blob_read":true,"blob_write":true,"blob_delete":true,"container_read":true,"container_write":true,"container_delete":true,"container_list":true},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 212.953959ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{"accountName":"acmeorg","storageAccessKey":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa==","containerName":"my-container","blobName":"my-blob","expiration":10,"signedIdentifier":"id123","blob_read":true,"blob_write":true,"blob_delete":true,"container_read":true,"container_write":true,"container_delete":true,"container_list":true},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 93.723375ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{"accountName":"acmeorg","storageAccessKey":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa==","containerName":"my-container","blobName":"my-blob","expiration":10,"signedIdentifier":"id123","blob_read":true,"blob_write":true,"blob_delete":true,"container_read":true,"container_write":true,"container_delete":true,"container_list":true},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 168.213167ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{"accountName":"acmeorg","storageAccessKey":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa==","containerName":"my-container","blobName":"my-blob","expiration":10,"signedIdentifier":"id123","blob_read":true,"blob_write":true,"blob_delete":true,"container_read":true,"container_write":true,"container_delete":true,"container_list":true},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 95.040625ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 503 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{"namespace":"acmeorg","sasKeyName":"my-policy","sasKey":"my-key","entityPath":"my-queue","expiration":10},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{"namespace":"acmeorg","sasKeyName":"my-policy","sasKey":"my-key","entityPath":"my-queue","expiration":10},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 203.878875ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{"namespace":"acmeorg","sasKeyName":"my-policy","sasKey":"my-key","entityPath":"my-queue","expiration":10},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 214.315625ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{"namespace":"acmeorg","sasKeyName":"my-policy","sasKey":"my-key","entityPath":"my-queue","expiration":10},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 111.182792ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{"namespace":"acmeorg","sasKeyName":"my-policy","sasKey":"my-key","entityPath":"my-queue","expiration":10},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 98.949625ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 435 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 214.245959ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 114.633417ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 123.644208ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 136.049625ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 437 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 199.611333ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 97.942125ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 98.315291ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 104.528209ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 426 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 201.428166ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 322.11375ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 214.44425ms + - id: 23 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 92.531625ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 433 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{"org_slug":"acmeorg","base_url":""},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{"org_slug":"acmeorg","base_url":""},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 103.984084ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{"org_slug":"acmeorg","base_url":""},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 106.514083ms + - id: 26 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{"org_slug":"acmeorg","base_url":""},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 102.490583ms + - id: 27 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{"org_slug":"acmeorg","base_url":""},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 88.97025ms + - id: 28 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 417 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{"domain":"acmeorg"},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{"domain":"acmeorg"},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 208.624209ms + - id: 29 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{"domain":"acmeorg"},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 102.969541ms + - id: 30 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{"domain":"acmeorg"},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 241.516458ms + - id: 31 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{"domain":"acmeorg"},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 299.532333ms + - id: 32 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 417 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{"domain":"acmeorg"},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{"domain":"acmeorg"},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 103.32ms + - id: 33 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{"domain":"acmeorg"},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 204.789375ms + - id: 34 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{"domain":"acmeorg"},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 226.902083ms + - id: 35 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{"domain":"acmeorg"},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 116.0085ms + - id: 36 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 538 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{"secret":"secret","private_key_id":"private-key-id","private_key":"private-key","client_email":"service-account","lifetime_in_seconds":7200},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{"secret":"secret","private_key_id":"private-key-id","private_key":"private-key","client_email":"service-account","lifetime_in_seconds":7200},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 96.332916ms + - id: 37 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{"secret":"secret","private_key_id":"private-key-id","private_key":"private-key","client_email":"service-account","lifetime_in_seconds":7200},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 101.46ms + - id: 38 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{"secret":"secret","private_key_id":"private-key-id","private_key":"private-key","client_email":"service-account","lifetime_in_seconds":7200},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 304.696875ms + - id: 39 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{"secret":"secret","private_key_id":"private-key-id","private_key":"private-key","client_email":"service-account","lifetime_in_seconds":7200},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 116.918042ms + - id: 40 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 417 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{"account":"123456"},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{"account":"123456"},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 95.985417ms + - id: 41 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{"account":"123456"},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 106.625042ms + - id: 42 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{"account":"123456"},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 215.163667ms + - id: 43 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{"account":"123456"},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 97.84125ms + - id: 44 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 465 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{"domain":"acmeorg","connection":"Username-Password-Authentication"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{"domain":"acmeorg","connection":"Username-Password-Authentication"},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 210.691083ms + - id: 45 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{"domain":"acmeorg","connection":"Username-Password-Authentication"},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 90.298625ms + - id: 46 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{"domain":"acmeorg","connection":"Username-Password-Authentication"},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 106.473333ms + - id: 47 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{"domain":"acmeorg","connection":"Username-Password-Authentication"},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 121.713125ms + - id: 48 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 687 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{"entity_id":"https://acme-org.com"},"salesforce_api":{"clientid":"client-id","principal":"principal","communityName":"community-name","community_url_section":"community-url-section"},"salesforce_sandbox_api":{"clientid":"client-id","principal":"principal","communityName":"community-name","community_url_section":"community-url-section"},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{"entity_id":"https://acme-org.com"},"salesforce_api":{"clientid":"client-id","principal":"principal","communityName":"community-name","community_url_section":"community-url-section"},"salesforce_sandbox_api":{"clientid":"client-id","principal":"principal","communityName":"community-name","community_url_section":"community-url-section"},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 208.509167ms + - id: 49 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{"entity_id":"https://acme-org.com"},"salesforce_api":{"clientid":"client-id","principal":"principal","communityName":"community-name","community_url_section":"community-url-section"},"salesforce_sandbox_api":{"clientid":"client-id","principal":"principal","communityName":"community-name","community_url_section":"community-url-section"},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 194.790042ms + - id: 50 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{"entity_id":"https://acme-org.com"},"salesforce_api":{"clientid":"client-id","principal":"principal","communityName":"community-name","community_url_section":"community-url-section"},"salesforce_sandbox_api":{"clientid":"client-id","principal":"principal","communityName":"community-name","community_url_section":"community-url-section"},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 118.478708ms + - id: 51 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{"entity_id":"https://acme-org.com"},"salesforce_api":{"clientid":"client-id","principal":"principal","communityName":"community-name","community_url_section":"community-url-section"},"salesforce_sandbox_api":{"clientid":"client-id","principal":"principal","communityName":"community-name","community_url_section":"community-url-section"},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 164.158708ms + - id: 52 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 520 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 101.427083ms + - id: 53 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 100.157542ms + - id: 54 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 101.6675ms + - id: 55 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 94.62ms + - id: 56 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 614 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{"clientid":"client-id","usernameAttribute":"email","tokenEndpointUrl":"https://example.com","scope":"use:api","servicePassword":"123456","nameIdentifierFormat":"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{"clientid":"client-id","usernameAttribute":"email","tokenEndpointUrl":"https://example.com","scope":"use:api","servicePassword":"123456","nameIdentifierFormat":"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 101.828042ms + - id: 57 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{"clientid":"client-id","usernameAttribute":"email","tokenEndpointUrl":"https://example.com","scope":"use:api","servicePassword":"123456","nameIdentifierFormat":"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 94.127541ms + - id: 58 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{"clientid":"client-id","usernameAttribute":"email","tokenEndpointUrl":"https://example.com","scope":"use:api","servicePassword":"123456","nameIdentifierFormat":"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 107.1265ms + - id: 59 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{"clientid":"client-id","usernameAttribute":"email","tokenEndpointUrl":"https://example.com","scope":"use:api","servicePassword":"123456","nameIdentifierFormat":"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 1.641725834s + - id: 60 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 472 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{"url":"https://example.com:123","external_url":["https://example.com/v2"]},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{"url":"https://example.com:123","external_url":["https://example.com/v2"]},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 103.392666ms + - id: 61 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{"url":"https://example.com:123","external_url":["https://example.com/v2"]},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 125.413083ms + - id: 62 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{"url":"https://example.com:123","external_url":["https://example.com/v2"]},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 221.598333ms + - id: 63 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{"url":"https://example.com:123","external_url":["https://example.com/v2"]},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 208.445ms + - id: 64 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 429 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{"acsurl":"https://example.com"},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{"acsurl":"https://example.com"},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 100.812167ms + - id: 65 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{"acsurl":"https://example.com"},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 91.139875ms + - id: 66 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{"acsurl":"https://example.com"},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 205.033333ms + - id: 67 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{"acsurl":"https://example.com"},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 98.365417ms + - id: 68 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 423 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{"masterkey":"master-key"},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{"masterkey":"master-key"},"zendesk":{},"zoom":{}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 200.920167ms + - id: 69 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{"masterkey":"master-key"},"zendesk":{},"zoom":{}},"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: 86.638417ms + - id: 70 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{"masterkey":"master-key"},"zendesk":{},"zoom":{}},"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: 100.137708ms + - id: 71 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{"masterkey":"master-key"},"zendesk":{},"zoom":{}},"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: 91.146ms + - id: 72 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 422 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{"accountName":"acmeorg"},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{"accountName":"acmeorg"},"zoom":{}},"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: 91.008125ms + - id: 73 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{"accountName":"acmeorg"},"zoom":{}},"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: 206.490875ms + - id: 74 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{"accountName":"acmeorg"},"zoom":{}},"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: 178.755458ms + - id: 75 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{"accountName":"acmeorg"},"zoom":{}},"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: 891.531917ms + - id: 76 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 418 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{"account":"acmeorg"}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{"account":"acmeorg"}},"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: 123.675ms + - id: 77 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{"account":"acmeorg"}},"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: 94.431958ms + - id: 78 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{"account":"acmeorg"}},"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: 631.626167ms + - id: 79 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{"account":"acmeorg"}},"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: 205.472083ms + - id: 80 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 432 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{"name":"my-sso","version":"0.1.0"},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{"name":"my-sso","version":"0.1.0"},"wams":{},"zendesk":{},"zoom":{}},"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 1.426625542s + - id: 81 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{"name":"my-sso","version":"0.1.0"},"wams":{},"zendesk":{},"zoom":{}},"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: 105.810458ms + - id: 82 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{"name":"my-sso","version":"0.1.0"},"wams":{},"zendesk":{},"zoom":{}},"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: 91.914958ms + - id: 83 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{"name":"my-sso","version":"0.1.0"},"wams":{},"zendesk":{},"zoom":{}},"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: 204.173041ms + - id: 84 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 1549 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{"mappings":{"email":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress","name":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"},"audience":"https://tableau-server-test.domain.eu.com/audience-different","recipient":"https://tableau-server-test.domain.eu.com/recipient-different","create_upn_claim":false,"map_unknown_claims_as_is":false,"passthrough_claims_with_no_mapping":false,"map_identities":false,"signature_algorithm":"rsa-sha256","digest_algorithm":"sha256","issuer":"https://tableau-server-test.domain.eu.com/api/v1","destination":"https://tableau-server-test.domain.eu.com/destination","lifetime_in_seconds":3600,"sign_response":false,"name_identifier_format":"urn:oasis:names:tc:SAML:2.0:attrname-format:basic","name_identifier_probes":["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],"authn_context_class_ref":"context","typed_attributes":false,"include_attribute_name_format":false,"binding":"binding","signing_cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","logout":{"callback":"https://example.com/callback","slo_enabled":true}},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{"mappings":{"email":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress","name":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"},"audience":"https://tableau-server-test.domain.eu.com/audience-different","recipient":"https://tableau-server-test.domain.eu.com/recipient-different","create_upn_claim":false,"map_unknown_claims_as_is":false,"passthrough_claims_with_no_mapping":false,"map_identities":false,"signature_algorithm":"rsa-sha256","digest_algorithm":"sha256","issuer":"https://tableau-server-test.domain.eu.com/api/v1","destination":"https://tableau-server-test.domain.eu.com/destination","lifetime_in_seconds":3600,"sign_response":false,"name_identifier_format":"urn:oasis:names:tc:SAML:2.0:attrname-format:basic","name_identifier_probes":["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],"authn_context_class_ref":"context","typed_attributes":false,"include_attribute_name_format":false,"binding":"binding","signing_cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","logout":{"callback":"https://example.com/callback","slo_enabled":true}},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 105.994166ms + - id: 85 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{"mappings":{"email":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress","name":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"},"audience":"https://tableau-server-test.domain.eu.com/audience-different","recipient":"https://tableau-server-test.domain.eu.com/recipient-different","create_upn_claim":false,"map_unknown_claims_as_is":false,"passthrough_claims_with_no_mapping":false,"map_identities":false,"signature_algorithm":"rsa-sha256","digest_algorithm":"sha256","issuer":"https://tableau-server-test.domain.eu.com/api/v1","destination":"https://tableau-server-test.domain.eu.com/destination","lifetime_in_seconds":3600,"sign_response":false,"name_identifier_format":"urn:oasis:names:tc:SAML:2.0:attrname-format:basic","name_identifier_probes":["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],"authn_context_class_ref":"context","typed_attributes":false,"include_attribute_name_format":false,"binding":"binding","signing_cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","logout":{"callback":"https://example.com/callback","slo_enabled":true}},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 926.617875ms + - id: 86 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{"mappings":{"email":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress","name":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"},"audience":"https://tableau-server-test.domain.eu.com/audience-different","recipient":"https://tableau-server-test.domain.eu.com/recipient-different","create_upn_claim":false,"map_unknown_claims_as_is":false,"passthrough_claims_with_no_mapping":false,"map_identities":false,"signature_algorithm":"rsa-sha256","digest_algorithm":"sha256","issuer":"https://tableau-server-test.domain.eu.com/api/v1","destination":"https://tableau-server-test.domain.eu.com/destination","lifetime_in_seconds":3600,"sign_response":false,"name_identifier_format":"urn:oasis:names:tc:SAML:2.0:attrname-format:basic","name_identifier_probes":["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],"authn_context_class_ref":"context","typed_attributes":false,"include_attribute_name_format":false,"binding":"binding","signing_cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","logout":{"callback":"https://example.com/callback","slo_enabled":true}},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 185.897209ms + - id: 87 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{"mappings":{"email":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress","name":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"},"audience":"https://tableau-server-test.domain.eu.com/audience-different","recipient":"https://tableau-server-test.domain.eu.com/recipient-different","create_upn_claim":false,"map_unknown_claims_as_is":false,"passthrough_claims_with_no_mapping":false,"map_identities":false,"signature_algorithm":"rsa-sha256","digest_algorithm":"sha256","issuer":"https://tableau-server-test.domain.eu.com/api/v1","destination":"https://tableau-server-test.domain.eu.com/destination","lifetime_in_seconds":3600,"sign_response":false,"name_identifier_format":"urn:oasis:names:tc:SAML:2.0:attrname-format:basic","name_identifier_probes":["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],"authn_context_class_ref":"context","typed_attributes":false,"include_attribute_name_format":false,"binding":"binding","signing_cert":"-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n","logout":{"callback":"https://example.com/callback","slo_enabled":true}},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 115.319166ms + - id: 88 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 399 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 92.805708ms + - id: 89 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 97.853958ms + - id: 90 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 101.504416ms + - id: 91 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"zendesk":{},"zoom":{}},"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: 87.374584ms + - id: 92 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 459 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - SSO Integration - TestAccClientAddons","app_type":"sso_integration","addons":{"aws":{},"azure_blob":{},"azure_sb":{},"box":{},"cloudbees":{},"concur":{},"dropbox":{},"echosign":{},"egnyte":{},"firebase":{},"newrelic":{},"office365":{},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"springcm":{},"sso_integration":{},"wams":{},"wsfed":{},"zendesk":{},"zoom":{}}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"box":{},"cloudbees":{},"concur":{},"dropbox":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"wsfed":{},"zendesk":{},"zoom":{}},"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: 220.708292ms + - id: 93 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"box":{},"cloudbees":{},"concur":{},"dropbox":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"wsfed":{},"zendesk":{},"zoom":{}},"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: 154.46825ms + - id: 94 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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 - SSO Integration - TestAccClientAddons","client_id":"q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c","client_secret":"[REDACTED]","app_type":"sso_integration","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,"addons":{"aws":{},"azure_blob":{},"azure_sb":{},"box":{},"cloudbees":{},"concur":{},"dropbox":{},"echosign":{},"egnyte":{},"firebase":{},"layer":{"providerId":"provider-id","keyId":"key-id","privateKey":"private-key","principal":"principal","expiration":10},"mscrm":{"url":"https://example.com"},"newrelic":{},"office365":{},"rms":{"url":"https://example.com"},"salesforce":{},"salesforce_api":{},"salesforce_sandbox_api":{},"samlp":{},"sap_api":{},"sharepoint":{},"sentry":{},"slack":{"team":"acmeorg"},"springcm":{},"sso_integration":{},"wams":{},"wsfed":{},"zendesk":{},"zoom":{}},"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: 89.362625ms + - id: 95 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/q9G3Jy5K6Klv7l5IrzJW2jvDQcWnh92c + 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: 303.318792ms diff --git a/test/data/recordings/TestAccClientGrant.yaml b/test/data/recordings/TestAccClientGrant.yaml index 4cea9d5c9..7c1e07479 100644 --- a/test/data/recordings/TestAccClientGrant.yaml +++ b/test/data/recordings/TestAccClientGrant.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 267 + content_length: 154 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]} + {"name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers method: POST response: @@ -28,15 +28,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 458 + content_length: 345 uncompressed: false - body: '{"id":"640f37dbe1152eb55d71dd95","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 96.741917ms + duration: 185.39775ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/640f37dbe1152eb55d71dd95 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aec8e24dc5f5f2bc5cc645 method: GET response: proto: HTTP/2.0 @@ -66,14 +66,122 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"640f37dbe1152eb55d71dd95","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.839834ms + duration: 98.287042ms - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.600625ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 110.541416ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.101459ms + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -91,7 +199,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients method: POST response: @@ -102,14 +210,14 @@ interactions: trailer: {} content_length: -1 uncompressed: false - body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 324.0775ms - - id: 3 + duration: 1.028427458s + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -127,8 +235,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C7vDICQRlIxjlaELvVTT1QxZIQYLUo68 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/xVcefmvLrmt14JVd0v5fOHFrToYpPsje method: GET response: proto: HTTP/2.0 @@ -138,14 +246,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","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: 98.137083ms - - id: 4 + duration: 120.963042ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -163,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?audience=https%3A%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant&client_id=C7vDICQRlIxjlaELvVTT1QxZIQYLUo68&include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?audience=https%3A%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant&client_id=xVcefmvLrmt14JVd0v5fOHFrToYpPsje&include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -180,8 +288,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.079334ms - - id: 5 + duration: 96.917375ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -193,13 +301,13 @@ interactions: remote_addr: "" request_uri: "" body: | - {"client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]} + {"client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants method: POST response: @@ -210,14 +318,14 @@ interactions: trailer: {} content_length: 176 uncompressed: false - body: '{"id":"cgr_T1WStRv9XYWsUnps","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}' + body: '{"id":"cgr_MdTL9m4MQj8oKTAR","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 129.235416ms - - id: 6 + duration: 105.278333ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -235,7 +343,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?include_totals=true&page=0&per_page=50 method: GET response: @@ -246,14 +354,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":6,"start":0,"limit":50,"client_grants":[{"id":"cgr_0mFL9uyHCIFOGsZ4","client_id":"Ez8NiFj9yhKBK2bRcR28rKYVEJPU2kjb","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_DrgPYSBkPAEFt6Yb","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":[]},{"id":"cgr_EjTJshin5ruIvPqh","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_F4BqCN0e5Grfa2Nj","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:actions_log_sessions","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_T1WStRv9XYWsUnps","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]},{"id":"cgr_ZK11IyPr7cZLYwqC","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]}]}' + body: '{"total":2,"start":0,"limit":50,"client_grants":[{"id":"cgr_7ofD1U6Dfp1iAyzJ","client_id":"w1336KJwTZOudMX62U6xdeSTak3X2XpV","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials"]},{"id":"cgr_MdTL9m4MQj8oKTAR","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.989916ms - - id: 7 + duration: 256.923542ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -271,8 +379,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/640f37dbe1152eb55d71dd95 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/xVcefmvLrmt14JVd0v5fOHFrToYpPsje method: GET response: proto: HTTP/2.0 @@ -282,14 +390,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"640f37dbe1152eb55d71dd95","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","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: 84.414375ms - - id: 8 + duration: 95.754084ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -307,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C7vDICQRlIxjlaELvVTT1QxZIQYLUo68 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aec8e24dc5f5f2bc5cc645 method: GET response: proto: HTTP/2.0 @@ -318,14 +426,50 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.42975ms - - id: 9 + duration: 98.174875ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 127.065042ms + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -343,7 +487,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?include_totals=true&page=0&per_page=50 method: GET response: @@ -354,14 +498,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":6,"start":0,"limit":50,"client_grants":[{"id":"cgr_0mFL9uyHCIFOGsZ4","client_id":"Ez8NiFj9yhKBK2bRcR28rKYVEJPU2kjb","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_DrgPYSBkPAEFt6Yb","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":[]},{"id":"cgr_EjTJshin5ruIvPqh","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_F4BqCN0e5Grfa2Nj","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:actions_log_sessions","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_T1WStRv9XYWsUnps","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]},{"id":"cgr_ZK11IyPr7cZLYwqC","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]}]}' + body: '{"total":2,"start":0,"limit":50,"client_grants":[{"id":"cgr_7ofD1U6Dfp1iAyzJ","client_id":"w1336KJwTZOudMX62U6xdeSTak3X2XpV","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials"]},{"id":"cgr_MdTL9m4MQj8oKTAR","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.945375ms - - id: 10 + duration: 91.834083ms + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -379,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/640f37dbe1152eb55d71dd95 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aec8e24dc5f5f2bc5cc645 method: GET response: proto: HTTP/2.0 @@ -390,14 +534,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"640f37dbe1152eb55d71dd95","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.142084ms - - id: 11 + duration: 88.718875ms + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -415,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C7vDICQRlIxjlaELvVTT1QxZIQYLUo68 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/xVcefmvLrmt14JVd0v5fOHFrToYpPsje method: GET response: proto: HTTP/2.0 @@ -426,14 +570,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","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: 116.163916ms - - id: 12 + duration: 103.127041ms + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -451,7 +595,43 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 100.60675ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?include_totals=true&page=0&per_page=50 method: GET response: @@ -462,14 +642,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":6,"start":0,"limit":50,"client_grants":[{"id":"cgr_0mFL9uyHCIFOGsZ4","client_id":"Ez8NiFj9yhKBK2bRcR28rKYVEJPU2kjb","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_DrgPYSBkPAEFt6Yb","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":[]},{"id":"cgr_EjTJshin5ruIvPqh","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_F4BqCN0e5Grfa2Nj","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:actions_log_sessions","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_T1WStRv9XYWsUnps","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]},{"id":"cgr_ZK11IyPr7cZLYwqC","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]}]}' + body: '{"total":2,"start":0,"limit":50,"client_grants":[{"id":"cgr_7ofD1U6Dfp1iAyzJ","client_id":"w1336KJwTZOudMX62U6xdeSTak3X2XpV","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials"]},{"id":"cgr_MdTL9m4MQj8oKTAR","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.773042ms - - id: 13 + duration: 119.08675ms + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -487,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants/cgr_T1WStRv9XYWsUnps + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants/cgr_MdTL9m4MQj8oKTAR method: PATCH response: proto: HTTP/2.0 @@ -498,14 +678,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"cgr_T1WStRv9XYWsUnps","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":["create:foo"]}' + body: '{"id":"cgr_MdTL9m4MQj8oKTAR","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":["create:foo"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.141334ms - - id: 14 + duration: 90.001416ms + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -523,7 +703,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?include_totals=true&page=0&per_page=50 method: GET response: @@ -534,14 +714,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":6,"start":0,"limit":50,"client_grants":[{"id":"cgr_0mFL9uyHCIFOGsZ4","client_id":"Ez8NiFj9yhKBK2bRcR28rKYVEJPU2kjb","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_DrgPYSBkPAEFt6Yb","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":[]},{"id":"cgr_EjTJshin5ruIvPqh","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_F4BqCN0e5Grfa2Nj","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:actions_log_sessions","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_T1WStRv9XYWsUnps","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":["create:foo"]},{"id":"cgr_ZK11IyPr7cZLYwqC","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]}]}' + body: '{"total":2,"start":0,"limit":50,"client_grants":[{"id":"cgr_7ofD1U6Dfp1iAyzJ","client_id":"w1336KJwTZOudMX62U6xdeSTak3X2XpV","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials"]},{"id":"cgr_MdTL9m4MQj8oKTAR","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":["create:foo"]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.027625ms - - id: 15 + duration: 106.773375ms + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -559,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/640f37dbe1152eb55d71dd95 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aec8e24dc5f5f2bc5cc645 method: GET response: proto: HTTP/2.0 @@ -570,14 +750,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"640f37dbe1152eb55d71dd95","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.6295ms - - id: 16 + duration: 118.0515ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -595,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C7vDICQRlIxjlaELvVTT1QxZIQYLUo68 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/xVcefmvLrmt14JVd0v5fOHFrToYpPsje method: GET response: proto: HTTP/2.0 @@ -606,14 +786,50 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","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: 114.50425ms - - id: 17 + duration: 117.948125ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 95.016ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -631,7 +847,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?include_totals=true&page=0&per_page=50 method: GET response: @@ -642,14 +858,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":6,"start":0,"limit":50,"client_grants":[{"id":"cgr_0mFL9uyHCIFOGsZ4","client_id":"Ez8NiFj9yhKBK2bRcR28rKYVEJPU2kjb","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_DrgPYSBkPAEFt6Yb","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":[]},{"id":"cgr_EjTJshin5ruIvPqh","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_F4BqCN0e5Grfa2Nj","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:actions_log_sessions","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_T1WStRv9XYWsUnps","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":["create:foo"]},{"id":"cgr_ZK11IyPr7cZLYwqC","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]}]}' + body: '{"total":2,"start":0,"limit":50,"client_grants":[{"id":"cgr_7ofD1U6Dfp1iAyzJ","client_id":"w1336KJwTZOudMX62U6xdeSTak3X2XpV","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials"]},{"id":"cgr_MdTL9m4MQj8oKTAR","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":["create:foo"]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.294458ms - - id: 18 + duration: 122.596959ms + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -667,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C7vDICQRlIxjlaELvVTT1QxZIQYLUo68 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/xVcefmvLrmt14JVd0v5fOHFrToYpPsje method: GET response: proto: HTTP/2.0 @@ -678,14 +894,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","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: 86.949709ms - - id: 19 + duration: 95.015417ms + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -703,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/640f37dbe1152eb55d71dd95 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aec8e24dc5f5f2bc5cc645 method: GET response: proto: HTTP/2.0 @@ -714,14 +930,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"640f37dbe1152eb55d71dd95","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.046458ms - - id: 20 + duration: 156.517833ms + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -739,7 +955,43 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.04825ms + - id: 27 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?include_totals=true&page=0&per_page=50 method: GET response: @@ -750,14 +1002,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":6,"start":0,"limit":50,"client_grants":[{"id":"cgr_0mFL9uyHCIFOGsZ4","client_id":"Ez8NiFj9yhKBK2bRcR28rKYVEJPU2kjb","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_DrgPYSBkPAEFt6Yb","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":[]},{"id":"cgr_EjTJshin5ruIvPqh","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_F4BqCN0e5Grfa2Nj","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:actions_log_sessions","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_T1WStRv9XYWsUnps","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":["create:foo"]},{"id":"cgr_ZK11IyPr7cZLYwqC","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]}]}' + body: '{"total":2,"start":0,"limit":50,"client_grants":[{"id":"cgr_7ofD1U6Dfp1iAyzJ","client_id":"w1336KJwTZOudMX62U6xdeSTak3X2XpV","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials"]},{"id":"cgr_MdTL9m4MQj8oKTAR","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":["create:foo"]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.110583ms - - id: 21 + duration: 104.261416ms + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -775,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants/cgr_T1WStRv9XYWsUnps + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants/cgr_MdTL9m4MQj8oKTAR method: PATCH response: proto: HTTP/2.0 @@ -786,14 +1038,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"cgr_T1WStRv9XYWsUnps","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}' + body: '{"id":"cgr_MdTL9m4MQj8oKTAR","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 177.699625ms - - id: 22 + duration: 103.306125ms + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -811,7 +1063,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?include_totals=true&page=0&per_page=50 method: GET response: @@ -822,14 +1074,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":6,"start":0,"limit":50,"client_grants":[{"id":"cgr_0mFL9uyHCIFOGsZ4","client_id":"Ez8NiFj9yhKBK2bRcR28rKYVEJPU2kjb","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_DrgPYSBkPAEFt6Yb","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":[]},{"id":"cgr_EjTJshin5ruIvPqh","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_F4BqCN0e5Grfa2Nj","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:actions_log_sessions","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_T1WStRv9XYWsUnps","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]},{"id":"cgr_ZK11IyPr7cZLYwqC","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]}]}' + body: '{"total":2,"start":0,"limit":50,"client_grants":[{"id":"cgr_7ofD1U6Dfp1iAyzJ","client_id":"w1336KJwTZOudMX62U6xdeSTak3X2XpV","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials"]},{"id":"cgr_MdTL9m4MQj8oKTAR","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 179.889083ms - - id: 23 + duration: 92.88025ms + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -847,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/640f37dbe1152eb55d71dd95 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aec8e24dc5f5f2bc5cc645 method: GET response: proto: HTTP/2.0 @@ -858,14 +1110,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"640f37dbe1152eb55d71dd95","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.175792ms - - id: 24 + duration: 116.840708ms + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -883,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C7vDICQRlIxjlaELvVTT1QxZIQYLUo68 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/xVcefmvLrmt14JVd0v5fOHFrToYpPsje method: GET response: proto: HTTP/2.0 @@ -894,14 +1146,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","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: 91.29225ms - - id: 25 + duration: 100.959583ms + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -919,7 +1171,43 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 111.32675ms + - id: 33 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?include_totals=true&page=0&per_page=50 method: GET response: @@ -930,14 +1218,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":6,"start":0,"limit":50,"client_grants":[{"id":"cgr_0mFL9uyHCIFOGsZ4","client_id":"Ez8NiFj9yhKBK2bRcR28rKYVEJPU2kjb","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_DrgPYSBkPAEFt6Yb","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":[]},{"id":"cgr_EjTJshin5ruIvPqh","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_F4BqCN0e5Grfa2Nj","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:actions_log_sessions","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_T1WStRv9XYWsUnps","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]},{"id":"cgr_ZK11IyPr7cZLYwqC","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]}]}' + body: '{"total":2,"start":0,"limit":50,"client_grants":[{"id":"cgr_7ofD1U6Dfp1iAyzJ","client_id":"w1336KJwTZOudMX62U6xdeSTak3X2XpV","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials"]},{"id":"cgr_MdTL9m4MQj8oKTAR","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.370875ms - - id: 26 + duration: 93.65075ms + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -955,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/640f37dbe1152eb55d71dd95 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/xVcefmvLrmt14JVd0v5fOHFrToYpPsje method: GET response: proto: HTTP/2.0 @@ -966,14 +1254,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"640f37dbe1152eb55d71dd95","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","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: 121.304084ms - - id: 27 + duration: 115.478084ms + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -991,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C7vDICQRlIxjlaELvVTT1QxZIQYLUo68 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aec8e24dc5f5f2bc5cc645 method: GET response: proto: HTTP/2.0 @@ -1002,14 +1290,50 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.231458ms - - id: 28 + duration: 147.425042ms + - id: 36 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.449042ms + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -1027,7 +1351,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?include_totals=true&page=0&per_page=50 method: GET response: @@ -1038,14 +1362,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":6,"start":0,"limit":50,"client_grants":[{"id":"cgr_0mFL9uyHCIFOGsZ4","client_id":"Ez8NiFj9yhKBK2bRcR28rKYVEJPU2kjb","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_DrgPYSBkPAEFt6Yb","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":[]},{"id":"cgr_EjTJshin5ruIvPqh","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_F4BqCN0e5Grfa2Nj","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:actions_log_sessions","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_T1WStRv9XYWsUnps","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]},{"id":"cgr_ZK11IyPr7cZLYwqC","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]}]}' + body: '{"total":2,"start":0,"limit":50,"client_grants":[{"id":"cgr_7ofD1U6Dfp1iAyzJ","client_id":"w1336KJwTZOudMX62U6xdeSTak3X2XpV","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials"]},{"id":"cgr_MdTL9m4MQj8oKTAR","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.445667ms - - id: 29 + duration: 109.382041ms + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -1062,8 +1386,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants/cgr_T1WStRv9XYWsUnps + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants/cgr_MdTL9m4MQj8oKTAR method: DELETE response: proto: HTTP/2.0 @@ -1079,8 +1403,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 113.526ms - - id: 30 + duration: 131.895917ms + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -1098,7 +1422,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients method: POST response: @@ -1109,14 +1433,14 @@ interactions: trailer: {} content_length: -1 uncompressed: false - body: '{"name":"Acceptance Test - Client Grant Alt - TestAccClientGrant","client_id":"wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"name":"Acceptance Test - Client Grant Alt - TestAccClientGrant","client_id":"1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 230.349ms - - id: 31 + duration: 462.285875ms + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,8 +1458,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk method: GET response: proto: HTTP/2.0 @@ -1145,14 +1469,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance Test - Client Grant Alt - TestAccClientGrant","client_id":"wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"name":"Acceptance Test - Client Grant Alt - TestAccClientGrant","client_id":"1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk","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: 100.979041ms - - id: 32 + duration: 97.221292ms + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -1170,8 +1494,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?audience=https%3A%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant&client_id=wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq&include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?audience=https%3A%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant&client_id=1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk&include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1187,8 +1511,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.922ms - - id: 33 + duration: 101.703417ms + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -1200,13 +1524,13 @@ interactions: remote_addr: "" request_uri: "" body: | - {"client_id":"wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]} + {"client_id":"1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants method: POST response: @@ -1217,14 +1541,14 @@ interactions: trailer: {} content_length: 176 uncompressed: false - body: '{"id":"cgr_zw1V26ZZYGMlzWsl","client_id":"wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}' + body: '{"id":"cgr_npur2XFzTHAqiNdr","client_id":"1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 112.860083ms - - id: 34 + duration: 92.87725ms + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -1242,7 +1566,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?include_totals=true&page=0&per_page=50 method: GET response: @@ -1253,14 +1577,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":6,"start":0,"limit":50,"client_grants":[{"id":"cgr_0mFL9uyHCIFOGsZ4","client_id":"Ez8NiFj9yhKBK2bRcR28rKYVEJPU2kjb","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_DrgPYSBkPAEFt6Yb","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":[]},{"id":"cgr_EjTJshin5ruIvPqh","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_F4BqCN0e5Grfa2Nj","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:actions_log_sessions","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_ZK11IyPr7cZLYwqC","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_zw1V26ZZYGMlzWsl","client_id":"wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' + body: '{"total":2,"start":0,"limit":50,"client_grants":[{"id":"cgr_7ofD1U6Dfp1iAyzJ","client_id":"w1336KJwTZOudMX62U6xdeSTak3X2XpV","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials"]},{"id":"cgr_npur2XFzTHAqiNdr","client_id":"1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.186875ms - - id: 35 + duration: 96.119542ms + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -1278,8 +1602,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aec8e24dc5f5f2bc5cc645 method: GET response: proto: HTTP/2.0 @@ -1289,14 +1613,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance Test - Client Grant Alt - TestAccClientGrant","client_id":"wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.82025ms - - id: 36 + duration: 94.679458ms + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -1314,8 +1638,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C7vDICQRlIxjlaELvVTT1QxZIQYLUo68 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/xVcefmvLrmt14JVd0v5fOHFrToYpPsje method: GET response: proto: HTTP/2.0 @@ -1325,14 +1649,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","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: 117.022667ms - - id: 37 + duration: 103.036375ms + - id: 46 request: proto: HTTP/1.1 proto_major: 1 @@ -1350,8 +1674,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/640f37dbe1152eb55d71dd95 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant method: GET response: proto: HTTP/2.0 @@ -1361,14 +1685,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"640f37dbe1152eb55d71dd95","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.270583ms - - id: 38 + duration: 94.714959ms + - id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -1386,7 +1710,43 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"Acceptance Test - Client Grant Alt - TestAccClientGrant","client_id":"1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 166.869958ms + - id: 48 + 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/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?include_totals=true&page=0&per_page=50 method: GET response: @@ -1397,14 +1757,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":6,"start":0,"limit":50,"client_grants":[{"id":"cgr_0mFL9uyHCIFOGsZ4","client_id":"Ez8NiFj9yhKBK2bRcR28rKYVEJPU2kjb","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_DrgPYSBkPAEFt6Yb","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":[]},{"id":"cgr_EjTJshin5ruIvPqh","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_F4BqCN0e5Grfa2Nj","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:actions_log_sessions","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_ZK11IyPr7cZLYwqC","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_zw1V26ZZYGMlzWsl","client_id":"wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' + body: '{"total":2,"start":0,"limit":50,"client_grants":[{"id":"cgr_7ofD1U6Dfp1iAyzJ","client_id":"w1336KJwTZOudMX62U6xdeSTak3X2XpV","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials"]},{"id":"cgr_npur2XFzTHAqiNdr","client_id":"1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.393ms - - id: 39 + duration: 94.496542ms + - id: 49 request: proto: HTTP/1.1 proto_major: 1 @@ -1422,8 +1782,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/640f37dbe1152eb55d71dd95 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aec8e24dc5f5f2bc5cc645 method: GET response: proto: HTTP/2.0 @@ -1433,14 +1793,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"640f37dbe1152eb55d71dd95","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 82.284125ms - - id: 40 + duration: 96.053333ms + - id: 50 request: proto: HTTP/1.1 proto_major: 1 @@ -1458,8 +1818,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/xVcefmvLrmt14JVd0v5fOHFrToYpPsje method: GET response: proto: HTTP/2.0 @@ -1469,14 +1829,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance Test - Client Grant Alt - TestAccClientGrant","client_id":"wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","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: 88.02125ms - - id: 41 + duration: 96.190583ms + - id: 51 request: proto: HTTP/1.1 proto_major: 1 @@ -1494,8 +1854,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C7vDICQRlIxjlaELvVTT1QxZIQYLUo68 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant method: GET response: proto: HTTP/2.0 @@ -1505,14 +1865,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.065458ms - - id: 42 + duration: 92.025291ms + - id: 52 request: proto: HTTP/1.1 proto_major: 1 @@ -1530,7 +1890,43 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"Acceptance Test - Client Grant Alt - TestAccClientGrant","client_id":"1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk","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: 129.079375ms + - id: 53 + 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/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?include_totals=true&page=0&per_page=50 method: GET response: @@ -1541,14 +1937,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":6,"start":0,"limit":50,"client_grants":[{"id":"cgr_0mFL9uyHCIFOGsZ4","client_id":"Ez8NiFj9yhKBK2bRcR28rKYVEJPU2kjb","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_DrgPYSBkPAEFt6Yb","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":[]},{"id":"cgr_EjTJshin5ruIvPqh","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_F4BqCN0e5Grfa2Nj","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:actions_log_sessions","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_ZK11IyPr7cZLYwqC","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_zw1V26ZZYGMlzWsl","client_id":"wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' + body: '{"total":2,"start":0,"limit":50,"client_grants":[{"id":"cgr_7ofD1U6Dfp1iAyzJ","client_id":"w1336KJwTZOudMX62U6xdeSTak3X2XpV","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials"]},{"id":"cgr_npur2XFzTHAqiNdr","client_id":"1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.638166ms - - id: 43 + duration: 334.315583ms + - id: 54 request: proto: HTTP/1.1 proto_major: 1 @@ -1566,8 +1962,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?audience=https%3A%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant&client_id=wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq&include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?audience=https%3A%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant&client_id=1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk&include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1577,14 +1973,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":1,"start":0,"limit":50,"client_grants":[{"id":"cgr_zw1V26ZZYGMlzWsl","client_id":"wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' + body: '{"total":1,"start":0,"limit":50,"client_grants":[{"id":"cgr_npur2XFzTHAqiNdr","client_id":"1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.645375ms - - id: 44 + duration: 104.143083ms + - id: 55 request: proto: HTTP/1.1 proto_major: 1 @@ -1602,7 +1998,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?include_totals=true&page=0&per_page=50 method: GET response: @@ -1613,14 +2009,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":6,"start":0,"limit":50,"client_grants":[{"id":"cgr_0mFL9uyHCIFOGsZ4","client_id":"Ez8NiFj9yhKBK2bRcR28rKYVEJPU2kjb","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_DrgPYSBkPAEFt6Yb","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":[]},{"id":"cgr_EjTJshin5ruIvPqh","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_F4BqCN0e5Grfa2Nj","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:actions_log_sessions","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_ZK11IyPr7cZLYwqC","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_zw1V26ZZYGMlzWsl","client_id":"wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' + body: '{"total":2,"start":0,"limit":50,"client_grants":[{"id":"cgr_7ofD1U6Dfp1iAyzJ","client_id":"w1336KJwTZOudMX62U6xdeSTak3X2XpV","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials"]},{"id":"cgr_npur2XFzTHAqiNdr","client_id":"1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.431083ms - - id: 45 + duration: 98.627959ms + - id: 56 request: proto: HTTP/1.1 proto_major: 1 @@ -1638,8 +2034,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/640f37dbe1152eb55d71dd95 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aec8e24dc5f5f2bc5cc645 method: GET response: proto: HTTP/2.0 @@ -1649,14 +2045,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"640f37dbe1152eb55d71dd95","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.318292ms - - id: 46 + duration: 90.279709ms + - id: 57 request: proto: HTTP/1.1 proto_major: 1 @@ -1674,8 +2070,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/xVcefmvLrmt14JVd0v5fOHFrToYpPsje method: GET response: proto: HTTP/2.0 @@ -1685,14 +2081,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance Test - Client Grant Alt - TestAccClientGrant","client_id":"wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"xVcefmvLrmt14JVd0v5fOHFrToYpPsje","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: 98.47425ms - - id: 47 + duration: 106.972375ms + - id: 58 request: proto: HTTP/1.1 proto_major: 1 @@ -1710,8 +2106,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C7vDICQRlIxjlaELvVTT1QxZIQYLUo68 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant method: GET response: proto: HTTP/2.0 @@ -1721,14 +2117,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"name":"Acceptance Test - Client Grant - TestAccClientGrant","client_id":"C7vDICQRlIxjlaELvVTT1QxZIQYLUo68","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.003333ms - - id: 48 + duration: 93.439875ms + - id: 59 request: proto: HTTP/1.1 proto_major: 1 @@ -1746,7 +2142,43 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"Acceptance Test - Client Grant Alt - TestAccClientGrant","client_id":"1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk","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: 106.907875ms + - id: 60 + 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/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?include_totals=true&page=0&per_page=50 method: GET response: @@ -1757,14 +2189,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":6,"start":0,"limit":50,"client_grants":[{"id":"cgr_0mFL9uyHCIFOGsZ4","client_id":"Ez8NiFj9yhKBK2bRcR28rKYVEJPU2kjb","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_DrgPYSBkPAEFt6Yb","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":[]},{"id":"cgr_EjTJshin5ruIvPqh","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_F4BqCN0e5Grfa2Nj","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:actions_log_sessions","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_ZK11IyPr7cZLYwqC","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_zw1V26ZZYGMlzWsl","client_id":"wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' + body: '{"total":2,"start":0,"limit":50,"client_grants":[{"id":"cgr_7ofD1U6Dfp1iAyzJ","client_id":"w1336KJwTZOudMX62U6xdeSTak3X2XpV","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials"]},{"id":"cgr_npur2XFzTHAqiNdr","client_id":"1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 131.919875ms - - id: 49 + duration: 97.030917ms + - id: 61 request: proto: HTTP/1.1 proto_major: 1 @@ -1782,7 +2214,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants?include_totals=true&page=0&per_page=50 method: GET response: @@ -1793,14 +2225,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":6,"start":0,"limit":50,"client_grants":[{"id":"cgr_0mFL9uyHCIFOGsZ4","client_id":"Ez8NiFj9yhKBK2bRcR28rKYVEJPU2kjb","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_DrgPYSBkPAEFt6Yb","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":[]},{"id":"cgr_EjTJshin5ruIvPqh","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods"]},{"id":"cgr_F4BqCN0e5Grfa2Nj","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:actions_log_sessions","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_ZK11IyPr7cZLYwqC","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations"]},{"id":"cgr_zw1V26ZZYGMlzWsl","client_id":"wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' + body: '{"total":2,"start":0,"limit":50,"client_grants":[{"id":"cgr_7ofD1U6Dfp1iAyzJ","client_id":"w1336KJwTZOudMX62U6xdeSTak3X2XpV","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:organizations_summary","create:actions_log_sessions","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials"]},{"id":"cgr_npur2XFzTHAqiNdr","client_id":"1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk","audience":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","scope":[]}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.864ms - - id: 50 + duration: 103.544125ms + - id: 62 request: proto: HTTP/1.1 proto_major: 1 @@ -1817,8 +2249,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/C7vDICQRlIxjlaELvVTT1QxZIQYLUo68 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants/cgr_npur2XFzTHAqiNdr method: DELETE response: proto: HTTP/2.0 @@ -1834,8 +2266,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 114.948834ms - - id: 51 + duration: 92.589458ms + - id: 63 request: proto: HTTP/1.1 proto_major: 1 @@ -1852,8 +2284,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants/cgr_zw1V26ZZYGMlzWsl + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants/cgr_npur2XFzTHAqiNdr method: DELETE response: proto: HTTP/2.0 @@ -1869,8 +2301,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 123.849958ms - - id: 52 + duration: 103.593167ms + - id: 64 request: proto: HTTP/1.1 proto_major: 1 @@ -1887,8 +2319,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/client-grants/cgr_zw1V26ZZYGMlzWsl + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/xVcefmvLrmt14JVd0v5fOHFrToYpPsje method: DELETE response: proto: HTTP/2.0 @@ -1904,8 +2336,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 127.071625ms - - id: 53 + duration: 207.805208ms + - id: 65 request: proto: HTTP/1.1 proto_major: 1 @@ -1922,8 +2354,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/wVy4vECD3PPIqDUK4FhDJGYkfqM8Qadq + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/1BDFNJrT4j1QdJ3xw13AdRsdJFijQMPk method: DELETE response: proto: HTTP/2.0 @@ -1939,8 +2371,44 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 149.553042ms - - id: 54 + duration: 111.734041ms + - id: 66 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 14 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"scopes":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.tf.terraform-provider-auth0.com%2Fclient-grant%2FTestAccClientGrant + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aec8e24dc5f5f2bc5cc645","name":"Acceptance Test - Client Grant - TestAccClientGrant","identifier":"https://uat.tf.terraform-provider-auth0.com/client-grant/TestAccClientGrant","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 150.011291ms + - id: 67 request: proto: HTTP/1.1 proto_major: 1 @@ -1957,8 +2425,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/640f37dbe1152eb55d71dd95 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aec8e24dc5f5f2bc5cc645 method: DELETE response: proto: HTTP/2.0 @@ -1974,4 +2442,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 165.898083ms + duration: 172.693167ms diff --git a/test/data/recordings/TestAccClientRotateSecret.yaml b/test/data/recordings/TestAccClientRotateSecret.yaml deleted file mode 100644 index 094d21642..000000000 --- a/test/data/recordings/TestAccClientRotateSecret.yaml +++ /dev/null @@ -1,326 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 71 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance Test - Rotate Secret - TestAccClientRotateSecret"} - 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 - Rotate Secret - TestAccClientRotateSecret","client_id":"LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 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/LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE - 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 - Rotate Secret - TestAccClientRotateSecret","client_id":"LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 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/LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE - 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 - Rotate Secret - TestAccClientRotateSecret","client_id":"LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 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/LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE - 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 - Rotate Secret - TestAccClientRotateSecret","client_id":"LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 71 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance Test - Rotate Secret - TestAccClientRotateSecret"} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE - 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 - Rotate Secret - TestAccClientRotateSecret","client_id":"LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 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/LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE/rotate-secret - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"name":"Acceptance Test - Rotate Secret - TestAccClientRotateSecret","client_id":"LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 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/LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE - 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 - Rotate Secret - TestAccClientRotateSecret","client_id":"LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 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/LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE - 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 - Rotate Secret - TestAccClientRotateSecret","client_id":"LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - 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-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/LIweeonLFjQV4Arh26DY1Yl8ZcvLAQKE - 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 diff --git a/test/data/recordings/TestAccDataClientById.yaml b/test/data/recordings/TestAccDataClientById.yaml index 8e64339db..70f9aaf1d 100644 --- a/test/data/recordings/TestAccDataClientById.yaml +++ b/test/data/recordings/TestAccDataClientById.yaml @@ -1,290 +1,290 @@ --- version: 2 interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 80 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance Test - TestAccDataClientById","app_type":"non_interactive"} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: false - body: '{"name":"Acceptance Test - TestAccDataClientById","client_id":"UGKXtXtBHKHdtseHkakqT7yNDT5116IC","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 1ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UGKXtXtBHKHdtseHkakqT7yNDT5116IC - 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 - TestAccDataClientById","client_id":"UGKXtXtBHKHdtseHkakqT7yNDT5116IC","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 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/UGKXtXtBHKHdtseHkakqT7yNDT5116IC - 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 - TestAccDataClientById","client_id":"UGKXtXtBHKHdtseHkakqT7yNDT5116IC","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 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/UGKXtXtBHKHdtseHkakqT7yNDT5116IC - 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 - TestAccDataClientById","client_id":"UGKXtXtBHKHdtseHkakqT7yNDT5116IC","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 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/UGKXtXtBHKHdtseHkakqT7yNDT5116IC - 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 - TestAccDataClientById","client_id":"UGKXtXtBHKHdtseHkakqT7yNDT5116IC","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 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/UGKXtXtBHKHdtseHkakqT7yNDT5116IC - 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 - TestAccDataClientById","client_id":"UGKXtXtBHKHdtseHkakqT7yNDT5116IC","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 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/UGKXtXtBHKHdtseHkakqT7yNDT5116IC - 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 - TestAccDataClientById","client_id":"UGKXtXtBHKHdtseHkakqT7yNDT5116IC","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/UGKXtXtBHKHdtseHkakqT7yNDT5116IC - 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: 134 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - TestAccDataClientById","description":"Description for TestAccDataClientById","app_type":"non_interactive"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.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 - TestAccDataClientById","description":"Description for TestAccDataClientById","client_id":"WJUnvgH68cAmDqzLuPWiMEng03myhQZV","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","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 499.839458ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/WJUnvgH68cAmDqzLuPWiMEng03myhQZV + 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 - TestAccDataClientById","description":"Description for TestAccDataClientById","client_id":"WJUnvgH68cAmDqzLuPWiMEng03myhQZV","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","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: 127.359542ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/WJUnvgH68cAmDqzLuPWiMEng03myhQZV + 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 - TestAccDataClientById","description":"Description for TestAccDataClientById","client_id":"WJUnvgH68cAmDqzLuPWiMEng03myhQZV","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","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: 120.5995ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/WJUnvgH68cAmDqzLuPWiMEng03myhQZV + 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 - TestAccDataClientById","description":"Description for TestAccDataClientById","client_id":"WJUnvgH68cAmDqzLuPWiMEng03myhQZV","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","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 150.539709ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/WJUnvgH68cAmDqzLuPWiMEng03myhQZV + 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 - TestAccDataClientById","description":"Description for TestAccDataClientById","client_id":"WJUnvgH68cAmDqzLuPWiMEng03myhQZV","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","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: 122.617625ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/WJUnvgH68cAmDqzLuPWiMEng03myhQZV + 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 - TestAccDataClientById","description":"Description for TestAccDataClientById","client_id":"WJUnvgH68cAmDqzLuPWiMEng03myhQZV","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","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: 113.496333ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/WJUnvgH68cAmDqzLuPWiMEng03myhQZV + 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 - TestAccDataClientById","description":"Description for TestAccDataClientById","client_id":"WJUnvgH68cAmDqzLuPWiMEng03myhQZV","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","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: 70.562667ms + - 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.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/WJUnvgH68cAmDqzLuPWiMEng03myhQZV + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Type: + - application/json; charset=utf-8 + status: 204 No Content + code: 204 + duration: 200.948542ms diff --git a/test/data/recordings/TestAccDataClientByName.yaml b/test/data/recordings/TestAccDataClientByName.yaml index d23f7a0c9..e741fbefa 100644 --- a/test/data/recordings/TestAccDataClientByName.yaml +++ b/test/data/recordings/TestAccDataClientByName.yaml @@ -1,434 +1,398 @@ --- version: 2 interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 82 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance Test - TestAccDataClientByName","app_type":"non_interactive"} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: false - body: '{"name":"Acceptance Test - TestAccDataClientByName","client_id":"keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 1ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T - 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 - TestAccDataClientByName","client_id":"keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 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?fields=client_id%2Cname&include_fields=true&include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"total":8,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","name":"Default App","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO"},{"tenant":"terraform-provider-auth0-dev","name":"API Explorer Application","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid"},{"tenant":"terraform-provider-auth0-dev","name":"Terraform Provider Auth0","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF"},{"tenant":"terraform-provider-auth0-dev","name":"Deploy CLI","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj"},{"tenant":"terraform-provider-auth0-dev","name":"Native App ","client_id":"8IgJbmEeGNsF7A4GXnYaiO6hScFYMjAv"},{"tenant":"terraform-provider-auth0-dev","name":"My App","client_id":"oZGzW6Pcxf3rZdzSUPv8NlPA7ij7MlM1"},{"tenant":"terraform-provider-auth0-dev","name":"Acceptance Test - TestAccDataClientByName","client_id":"keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T"},{"tenant":"terraform-provider-auth0-dev","name":"All Applications","client_id":"vugiCcTHg2cZOhKIA8bwDVw3cwLZYzaf"}]}' - 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/keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T - 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 - TestAccDataClientByName","client_id":"keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 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?fields=client_id%2Cname&include_fields=true&include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"total":8,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","name":"Default App","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO"},{"tenant":"terraform-provider-auth0-dev","name":"API Explorer Application","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid"},{"tenant":"terraform-provider-auth0-dev","name":"Terraform Provider Auth0","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF"},{"tenant":"terraform-provider-auth0-dev","name":"Deploy CLI","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj"},{"tenant":"terraform-provider-auth0-dev","name":"Native App ","client_id":"8IgJbmEeGNsF7A4GXnYaiO6hScFYMjAv"},{"tenant":"terraform-provider-auth0-dev","name":"My App","client_id":"oZGzW6Pcxf3rZdzSUPv8NlPA7ij7MlM1"},{"tenant":"terraform-provider-auth0-dev","name":"Acceptance Test - TestAccDataClientByName","client_id":"keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T"},{"tenant":"terraform-provider-auth0-dev","name":"All Applications","client_id":"vugiCcTHg2cZOhKIA8bwDVw3cwLZYzaf"}]}' - 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/keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T - 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 - TestAccDataClientByName","client_id":"keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 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/keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T - 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 - TestAccDataClientByName","client_id":"keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 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?fields=client_id%2Cname&include_fields=true&include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"total":8,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","name":"Default App","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO"},{"tenant":"terraform-provider-auth0-dev","name":"API Explorer Application","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid"},{"tenant":"terraform-provider-auth0-dev","name":"Terraform Provider Auth0","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF"},{"tenant":"terraform-provider-auth0-dev","name":"Deploy CLI","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj"},{"tenant":"terraform-provider-auth0-dev","name":"Native App ","client_id":"8IgJbmEeGNsF7A4GXnYaiO6hScFYMjAv"},{"tenant":"terraform-provider-auth0-dev","name":"My App","client_id":"oZGzW6Pcxf3rZdzSUPv8NlPA7ij7MlM1"},{"tenant":"terraform-provider-auth0-dev","name":"Acceptance Test - TestAccDataClientByName","client_id":"keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T"},{"tenant":"terraform-provider-auth0-dev","name":"All Applications","client_id":"vugiCcTHg2cZOhKIA8bwDVw3cwLZYzaf"}]}' - 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: 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/keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T - 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 - TestAccDataClientByName","client_id":"keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 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?fields=client_id%2Cname&include_fields=true&include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"total":8,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","name":"Default App","client_id":"Z3FKRhWMsXg7iwljDHcNtAkUnCRXYttO"},{"tenant":"terraform-provider-auth0-dev","name":"API Explorer Application","client_id":"O6L9dP0GnD10qe4NVE6K67PiDEHxZEid"},{"tenant":"terraform-provider-auth0-dev","name":"Terraform Provider Auth0","client_id":"3tjbn4dFI04fpHKnVlGs1GYDzQKIEmbF"},{"tenant":"terraform-provider-auth0-dev","name":"Deploy CLI","client_id":"uRWKdiFmUEC3Kohfpq4HKjgKe26ynMSj"},{"tenant":"terraform-provider-auth0-dev","name":"Native App ","client_id":"8IgJbmEeGNsF7A4GXnYaiO6hScFYMjAv"},{"tenant":"terraform-provider-auth0-dev","name":"My App","client_id":"oZGzW6Pcxf3rZdzSUPv8NlPA7ij7MlM1"},{"tenant":"terraform-provider-auth0-dev","name":"Acceptance Test - TestAccDataClientByName","client_id":"keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T"},{"tenant":"terraform-provider-auth0-dev","name":"All Applications","client_id":"vugiCcTHg2cZOhKIA8bwDVw3cwLZYzaf"}]}' - 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/keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T - 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 - TestAccDataClientByName","client_id":"keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T","client_secret":"[REDACTED]","app_type":"non_interactive","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"jwt_configuration":{"secret_encoded":false,"lifetime_in_seconds":36000},"signing_keys":[{"cert":"[REDACTED]"}],"sso_disabled":false,"cross_origin_auth":false,"grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 1ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 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/keZfSCwk5E7ce0UrJYAeaVjwNXOgS50T - 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: 138 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - TestAccDataClientByName","description":"Description for TestAccDataClientByName","app_type":"non_interactive"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.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 - TestAccDataClientByName","description":"Description for TestAccDataClientByName","client_id":"AZzzka40lXfIC8w2oYfV7FJIHGNvVQOa","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","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 771.736583ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AZzzka40lXfIC8w2oYfV7FJIHGNvVQOa + 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 - TestAccDataClientByName","description":"Description for TestAccDataClientByName","client_id":"AZzzka40lXfIC8w2oYfV7FJIHGNvVQOa","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","client_credentials"],"custom_login_page_on":true,"refresh_token":{"rotation_type":"non-rotating","expiration_type":"non-expiring","leeway":0,"token_lifetime":2592000,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"idle_token_lifetime":1296000}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 132.974541ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AZzzka40lXfIC8w2oYfV7FJIHGNvVQOa + 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 - TestAccDataClientByName","description":"Description for TestAccDataClientByName","client_id":"AZzzka40lXfIC8w2oYfV7FJIHGNvVQOa","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","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: 145.348375ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AZzzka40lXfIC8w2oYfV7FJIHGNvVQOa + 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 - TestAccDataClientByName","description":"Description for TestAccDataClientByName","client_id":"AZzzka40lXfIC8w2oYfV7FJIHGNvVQOa","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","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: 135.014416ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?include_totals=true&page=0&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":11,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Deploy CLI","cross_origin_auth":false,"is_first_party":true,"oidc_conformant":true,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"sso_disabled":false,"callbacks":["http://localhost:8484"],"allowed_clients":[],"client_metadata":{"foo1":"foo1","foo2":"foo2","foo10":"foo10","foo3":"foo3","foo4":"foo4","foo5":"foo5","foo6":"foo6","foo7":"foo7","foo8":"foo8","foo9":"foo9"},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"addons":{"box":{}},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"3glBfiBX6R8pZGPIaI89F6u5McZ5zoHU","callback_url_template":false,"client_secret":"RCZauAFDxjRhgRAH05Gu2Ud3M4aMmxTdCJv0bVFHonwHv0Wl","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"client_aliases":[],"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Will''s SPA","allowed_clients":[],"allowed_logout_urls":["http://localhost:3000"],"callbacks":["localhost:3030/logout"],"is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":true,"refresh_token":{"expiration_type":"expiring","leeway":0,"infinite_token_lifetime":false,"infinite_idle_token_lifetime":false,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"rotating"},"client_metadata":{},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"addons":{"salesforce_api":{"clientid":"consumer-key","principal":"principal-property"},"sap_api":{"tokenEndpointUrl":"https://sap-odata-server-token.com/endpoint","clientid":"consumer-key","servicePassword":"service-password","scope":"sap-scope","usernameAttribute":"username-attribute"},"wams":{"masterkey":"master-key"},"firebase":{"private_key_id":"private-key-id","client_email":"client-email@email.com","private_key":"dfasdf43tqewr542q3tgdfvasdgfa"},"wsfed":{}},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"allowed_origins":["http://localhost:3000"],"client_id":"4cIvNhDgw262ZA4BEhkQSfaWxp1kyIZm","callback_url_template":false,"client_secret":"d_5g46vEmu7vQWpkl0IjpeQ5PlO-wlme87OC_ERECJaPgqlByMX-g3Y4qVJ3TdkX","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"client_aliases":["realm"],"token_endpoint_auth_method":"none","app_type":"spa","grant_types":["authorization_code","implicit","refresh_token"],"web_origins":["http://localhost:3000"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"TF Provider","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"hvxA5ojdxUwg2msFimeJRTaQtBza9OKi","callback_url_template":false,"client_secret":"hkARc-rerE8nxai9ZbmrqkL-FTRf-xt-Y1anui1GaJCq4K9naJexxQeOf05xkFzM","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Zoom","callbacks":["https://https://willveder.zoom.us.zoom.us/saml/SSO"],"addons":{"zoom":{"account":"https://willveder.zoom.us"}},"is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"FgT0042n6DH4pNEwVA50HuDeqzbFK8i0","callback_url_template":false,"client_secret":"m-wYCAVdiNdAjMHapG6ymFQClZ5DjEM6awFENXG2Y2EGEQrwWtk7QYJUa1q9F-C9","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"zoom","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"API Explorer Application","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"oqLwZCh5ca5l8PchzATFnLhy4OI7ufxE","callback_url_template":false,"client_secret":"rgC_JTcQxUbB3WbudQdOFRYa3_RsL6x85jb9VsqNc1_3-SAdAov7gpDFBHCQvYMM","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Aha!","callbacks":["http://localhost:3000"],"addons":{"samlp":{"mappings":{"email":"EmailAddress","given_name":"FirstName","family_name":"LastName"}},"sso_integration":{"name":"aha"}},"is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"bhVI3hx64w8lTtGFtYwqUcg3cnK0QCkl","callback_url_template":false,"client_secret":"qYWccBVw0zHoeCuq_SCUdb7t0ubqPr2VitrsQe1-rkeQNo6G2O08yDAMZuICn61m","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"sso_integration","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Separate API (Test Application)","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"bIFWLrNWLqtz4BePTOttbopFwzxIRQPl","callback_url_template":false,"client_secret":"65uVZiG2yoW60omOfP9cSdyMUdWr-TGE2kLMVwIMziP866WYJN6m-rwDllc4qQLD","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Auth0 CLI","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"BZRIum1HFFj1xhNSsZRV00xxN5KQ0Q10","callback_url_template":false,"client_secret":"i6RzTiHWcM3Bxasu1Hbe6ajD7PXrG36KbctxA63SGWWFEeTL9tJQRv9Uu3pd7TCo","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Acceptance Test - TestAccDataClientById","description":"Description for TestAccDataClientById","is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"g6p6uCGxHoHAXTzbEO5dWrcLjM2aKKP5","callback_url_template":false,"client_secret":"MZAvkgNII6OxEkhW9XNJcXyyYVV_-6iv4tMQ2XyWp74oO2BWMz6bBv3ekSTjzM_n","jwt_configuration":{"lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"non_interactive","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Acceptance Test - TestAccDataClientByName","description":"Description for TestAccDataClientByName","is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"AZzzka40lXfIC8w2oYfV7FJIHGNvVQOa","callback_url_template":false,"client_secret":"fSgNkInDYQXG0ivvJvIOPtffDhnhdJF8aGMvyRp2KkCGZOrFqkOrnwW446nsCPgF","jwt_configuration":{"lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"non_interactive","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":true,"callbacks":[],"is_first_party":true,"name":"All Applications","refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"owners":["mr|google-apps|will.vedder@auth0.com"],"custom_login_page":"My Custom Login Page","cross_origin_auth":false,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"sso":false,"sso_disabled":false,"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"6CgQCnLIWsi-Lg7F_204fwjUeRcXMhPnUjCRe4K2fij9D3AxgbmaEOl1mprCtFpA","jwt_configuration":{},"custom_login_page_on":false}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 126.921875ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?include_totals=true&page=0&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":11,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Deploy CLI","cross_origin_auth":false,"is_first_party":true,"oidc_conformant":true,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"sso_disabled":false,"callbacks":["http://localhost:8484"],"allowed_clients":[],"client_metadata":{"foo1":"foo1","foo2":"foo2","foo10":"foo10","foo3":"foo3","foo4":"foo4","foo5":"foo5","foo6":"foo6","foo7":"foo7","foo8":"foo8","foo9":"foo9"},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"addons":{"box":{}},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"3glBfiBX6R8pZGPIaI89F6u5McZ5zoHU","callback_url_template":false,"client_secret":"RCZauAFDxjRhgRAH05Gu2Ud3M4aMmxTdCJv0bVFHonwHv0Wl","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"client_aliases":[],"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Will''s SPA","allowed_clients":[],"allowed_logout_urls":["http://localhost:3000"],"callbacks":["localhost:3030/logout"],"is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":true,"refresh_token":{"expiration_type":"expiring","leeway":0,"infinite_token_lifetime":false,"infinite_idle_token_lifetime":false,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"rotating"},"client_metadata":{},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"addons":{"salesforce_api":{"clientid":"consumer-key","principal":"principal-property"},"sap_api":{"tokenEndpointUrl":"https://sap-odata-server-token.com/endpoint","clientid":"consumer-key","servicePassword":"service-password","scope":"sap-scope","usernameAttribute":"username-attribute"},"wams":{"masterkey":"master-key"},"firebase":{"private_key_id":"private-key-id","client_email":"client-email@email.com","private_key":"dfasdf43tqewr542q3tgdfvasdgfa"},"wsfed":{}},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"allowed_origins":["http://localhost:3000"],"client_id":"4cIvNhDgw262ZA4BEhkQSfaWxp1kyIZm","callback_url_template":false,"client_secret":"d_5g46vEmu7vQWpkl0IjpeQ5PlO-wlme87OC_ERECJaPgqlByMX-g3Y4qVJ3TdkX","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"client_aliases":["realm"],"token_endpoint_auth_method":"none","app_type":"spa","grant_types":["authorization_code","implicit","refresh_token"],"web_origins":["http://localhost:3000"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"TF Provider","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"hvxA5ojdxUwg2msFimeJRTaQtBza9OKi","callback_url_template":false,"client_secret":"hkARc-rerE8nxai9ZbmrqkL-FTRf-xt-Y1anui1GaJCq4K9naJexxQeOf05xkFzM","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Zoom","callbacks":["https://https://willveder.zoom.us.zoom.us/saml/SSO"],"addons":{"zoom":{"account":"https://willveder.zoom.us"}},"is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"FgT0042n6DH4pNEwVA50HuDeqzbFK8i0","callback_url_template":false,"client_secret":"m-wYCAVdiNdAjMHapG6ymFQClZ5DjEM6awFENXG2Y2EGEQrwWtk7QYJUa1q9F-C9","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"zoom","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"API Explorer Application","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"oqLwZCh5ca5l8PchzATFnLhy4OI7ufxE","callback_url_template":false,"client_secret":"rgC_JTcQxUbB3WbudQdOFRYa3_RsL6x85jb9VsqNc1_3-SAdAov7gpDFBHCQvYMM","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Aha!","callbacks":["http://localhost:3000"],"addons":{"samlp":{"mappings":{"email":"EmailAddress","given_name":"FirstName","family_name":"LastName"}},"sso_integration":{"name":"aha"}},"is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"bhVI3hx64w8lTtGFtYwqUcg3cnK0QCkl","callback_url_template":false,"client_secret":"qYWccBVw0zHoeCuq_SCUdb7t0ubqPr2VitrsQe1-rkeQNo6G2O08yDAMZuICn61m","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"sso_integration","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Separate API (Test Application)","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"bIFWLrNWLqtz4BePTOttbopFwzxIRQPl","callback_url_template":false,"client_secret":"65uVZiG2yoW60omOfP9cSdyMUdWr-TGE2kLMVwIMziP866WYJN6m-rwDllc4qQLD","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Auth0 CLI","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"BZRIum1HFFj1xhNSsZRV00xxN5KQ0Q10","callback_url_template":false,"client_secret":"i6RzTiHWcM3Bxasu1Hbe6ajD7PXrG36KbctxA63SGWWFEeTL9tJQRv9Uu3pd7TCo","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Acceptance Test - TestAccDataClientById","description":"Description for TestAccDataClientById","is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"g6p6uCGxHoHAXTzbEO5dWrcLjM2aKKP5","callback_url_template":false,"client_secret":"MZAvkgNII6OxEkhW9XNJcXyyYVV_-6iv4tMQ2XyWp74oO2BWMz6bBv3ekSTjzM_n","jwt_configuration":{"lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"non_interactive","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Acceptance Test - TestAccDataClientByName","description":"Description for TestAccDataClientByName","is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"AZzzka40lXfIC8w2oYfV7FJIHGNvVQOa","callback_url_template":false,"client_secret":"fSgNkInDYQXG0ivvJvIOPtffDhnhdJF8aGMvyRp2KkCGZOrFqkOrnwW446nsCPgF","jwt_configuration":{"lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"non_interactive","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":true,"callbacks":[],"is_first_party":true,"name":"All Applications","refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"owners":["mr|google-apps|will.vedder@auth0.com"],"custom_login_page":"My Custom Login Page","cross_origin_auth":false,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"sso":false,"sso_disabled":false,"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"6CgQCnLIWsi-Lg7F_204fwjUeRcXMhPnUjCRe4K2fij9D3AxgbmaEOl1mprCtFpA","jwt_configuration":{},"custom_login_page_on":false}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 124.521542ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?include_totals=true&page=0&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":11,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Deploy CLI","cross_origin_auth":false,"is_first_party":true,"oidc_conformant":true,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"sso_disabled":false,"callbacks":["http://localhost:8484"],"allowed_clients":[],"client_metadata":{"foo1":"foo1","foo2":"foo2","foo10":"foo10","foo3":"foo3","foo4":"foo4","foo5":"foo5","foo6":"foo6","foo7":"foo7","foo8":"foo8","foo9":"foo9"},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"addons":{"box":{}},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"3glBfiBX6R8pZGPIaI89F6u5McZ5zoHU","callback_url_template":false,"client_secret":"RCZauAFDxjRhgRAH05Gu2Ud3M4aMmxTdCJv0bVFHonwHv0Wl","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"client_aliases":[],"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Will''s SPA","allowed_clients":[],"allowed_logout_urls":["http://localhost:3000"],"callbacks":["localhost:3030/logout"],"is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":true,"refresh_token":{"expiration_type":"expiring","leeway":0,"infinite_token_lifetime":false,"infinite_idle_token_lifetime":false,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"rotating"},"client_metadata":{},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"addons":{"salesforce_api":{"clientid":"consumer-key","principal":"principal-property"},"sap_api":{"tokenEndpointUrl":"https://sap-odata-server-token.com/endpoint","clientid":"consumer-key","servicePassword":"service-password","scope":"sap-scope","usernameAttribute":"username-attribute"},"wams":{"masterkey":"master-key"},"firebase":{"private_key_id":"private-key-id","client_email":"client-email@email.com","private_key":"dfasdf43tqewr542q3tgdfvasdgfa"},"wsfed":{}},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"allowed_origins":["http://localhost:3000"],"client_id":"4cIvNhDgw262ZA4BEhkQSfaWxp1kyIZm","callback_url_template":false,"client_secret":"d_5g46vEmu7vQWpkl0IjpeQ5PlO-wlme87OC_ERECJaPgqlByMX-g3Y4qVJ3TdkX","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"client_aliases":["realm"],"token_endpoint_auth_method":"none","app_type":"spa","grant_types":["authorization_code","implicit","refresh_token"],"web_origins":["http://localhost:3000"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"TF Provider","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"hvxA5ojdxUwg2msFimeJRTaQtBza9OKi","callback_url_template":false,"client_secret":"hkARc-rerE8nxai9ZbmrqkL-FTRf-xt-Y1anui1GaJCq4K9naJexxQeOf05xkFzM","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Zoom","callbacks":["https://https://willveder.zoom.us.zoom.us/saml/SSO"],"addons":{"zoom":{"account":"https://willveder.zoom.us"}},"is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"FgT0042n6DH4pNEwVA50HuDeqzbFK8i0","callback_url_template":false,"client_secret":"m-wYCAVdiNdAjMHapG6ymFQClZ5DjEM6awFENXG2Y2EGEQrwWtk7QYJUa1q9F-C9","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"zoom","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"API Explorer Application","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"oqLwZCh5ca5l8PchzATFnLhy4OI7ufxE","callback_url_template":false,"client_secret":"rgC_JTcQxUbB3WbudQdOFRYa3_RsL6x85jb9VsqNc1_3-SAdAov7gpDFBHCQvYMM","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Aha!","callbacks":["http://localhost:3000"],"addons":{"samlp":{"mappings":{"email":"EmailAddress","given_name":"FirstName","family_name":"LastName"}},"sso_integration":{"name":"aha"}},"is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"bhVI3hx64w8lTtGFtYwqUcg3cnK0QCkl","callback_url_template":false,"client_secret":"qYWccBVw0zHoeCuq_SCUdb7t0ubqPr2VitrsQe1-rkeQNo6G2O08yDAMZuICn61m","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"sso_integration","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Separate API (Test Application)","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"bIFWLrNWLqtz4BePTOttbopFwzxIRQPl","callback_url_template":false,"client_secret":"65uVZiG2yoW60omOfP9cSdyMUdWr-TGE2kLMVwIMziP866WYJN6m-rwDllc4qQLD","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Auth0 CLI","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"BZRIum1HFFj1xhNSsZRV00xxN5KQ0Q10","callback_url_template":false,"client_secret":"i6RzTiHWcM3Bxasu1Hbe6ajD7PXrG36KbctxA63SGWWFEeTL9tJQRv9Uu3pd7TCo","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Acceptance Test - TestAccDataClientById","description":"Description for TestAccDataClientById","is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"g6p6uCGxHoHAXTzbEO5dWrcLjM2aKKP5","callback_url_template":false,"client_secret":"MZAvkgNII6OxEkhW9XNJcXyyYVV_-6iv4tMQ2XyWp74oO2BWMz6bBv3ekSTjzM_n","jwt_configuration":{"lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"non_interactive","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Acceptance Test - TestAccDataClientByName","description":"Description for TestAccDataClientByName","is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"AZzzka40lXfIC8w2oYfV7FJIHGNvVQOa","callback_url_template":false,"client_secret":"fSgNkInDYQXG0ivvJvIOPtffDhnhdJF8aGMvyRp2KkCGZOrFqkOrnwW446nsCPgF","jwt_configuration":{"lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"non_interactive","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":true,"callbacks":[],"is_first_party":true,"name":"All Applications","refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"owners":["mr|google-apps|will.vedder@auth0.com"],"custom_login_page":"My Custom Login Page","cross_origin_auth":false,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"sso":false,"sso_disabled":false,"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"6CgQCnLIWsi-Lg7F_204fwjUeRcXMhPnUjCRe4K2fij9D3AxgbmaEOl1mprCtFpA","jwt_configuration":{},"custom_login_page_on":false}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 80.463292ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AZzzka40lXfIC8w2oYfV7FJIHGNvVQOa + 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 - TestAccDataClientByName","description":"Description for TestAccDataClientByName","client_id":"AZzzka40lXfIC8w2oYfV7FJIHGNvVQOa","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","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: 109.08175ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?include_totals=true&page=0&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":11,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Deploy CLI","cross_origin_auth":false,"is_first_party":true,"oidc_conformant":true,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"sso_disabled":false,"callbacks":["http://localhost:8484"],"allowed_clients":[],"client_metadata":{"foo1":"foo1","foo2":"foo2","foo10":"foo10","foo3":"foo3","foo4":"foo4","foo5":"foo5","foo6":"foo6","foo7":"foo7","foo8":"foo8","foo9":"foo9"},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"addons":{"box":{}},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"3glBfiBX6R8pZGPIaI89F6u5McZ5zoHU","callback_url_template":false,"client_secret":"RCZauAFDxjRhgRAH05Gu2Ud3M4aMmxTdCJv0bVFHonwHv0Wl","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"client_aliases":[],"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Will''s SPA","allowed_clients":[],"allowed_logout_urls":["http://localhost:3000"],"callbacks":["localhost:3030/logout"],"is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":true,"refresh_token":{"expiration_type":"expiring","leeway":0,"infinite_token_lifetime":false,"infinite_idle_token_lifetime":false,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"rotating"},"client_metadata":{},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"addons":{"salesforce_api":{"clientid":"consumer-key","principal":"principal-property"},"sap_api":{"tokenEndpointUrl":"https://sap-odata-server-token.com/endpoint","clientid":"consumer-key","servicePassword":"service-password","scope":"sap-scope","usernameAttribute":"username-attribute"},"wams":{"masterkey":"master-key"},"firebase":{"private_key_id":"private-key-id","client_email":"client-email@email.com","private_key":"dfasdf43tqewr542q3tgdfvasdgfa"},"wsfed":{}},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"allowed_origins":["http://localhost:3000"],"client_id":"4cIvNhDgw262ZA4BEhkQSfaWxp1kyIZm","callback_url_template":false,"client_secret":"d_5g46vEmu7vQWpkl0IjpeQ5PlO-wlme87OC_ERECJaPgqlByMX-g3Y4qVJ3TdkX","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"client_aliases":["realm"],"token_endpoint_auth_method":"none","app_type":"spa","grant_types":["authorization_code","implicit","refresh_token"],"web_origins":["http://localhost:3000"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"TF Provider","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"hvxA5ojdxUwg2msFimeJRTaQtBza9OKi","callback_url_template":false,"client_secret":"hkARc-rerE8nxai9ZbmrqkL-FTRf-xt-Y1anui1GaJCq4K9naJexxQeOf05xkFzM","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Zoom","callbacks":["https://https://willveder.zoom.us.zoom.us/saml/SSO"],"addons":{"zoom":{"account":"https://willveder.zoom.us"}},"is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"FgT0042n6DH4pNEwVA50HuDeqzbFK8i0","callback_url_template":false,"client_secret":"m-wYCAVdiNdAjMHapG6ymFQClZ5DjEM6awFENXG2Y2EGEQrwWtk7QYJUa1q9F-C9","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"zoom","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"API Explorer Application","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"oqLwZCh5ca5l8PchzATFnLhy4OI7ufxE","callback_url_template":false,"client_secret":"rgC_JTcQxUbB3WbudQdOFRYa3_RsL6x85jb9VsqNc1_3-SAdAov7gpDFBHCQvYMM","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Aha!","callbacks":["http://localhost:3000"],"addons":{"samlp":{"mappings":{"email":"EmailAddress","given_name":"FirstName","family_name":"LastName"}},"sso_integration":{"name":"aha"}},"is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"bhVI3hx64w8lTtGFtYwqUcg3cnK0QCkl","callback_url_template":false,"client_secret":"qYWccBVw0zHoeCuq_SCUdb7t0ubqPr2VitrsQe1-rkeQNo6G2O08yDAMZuICn61m","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"sso_integration","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Separate API (Test Application)","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"bIFWLrNWLqtz4BePTOttbopFwzxIRQPl","callback_url_template":false,"client_secret":"65uVZiG2yoW60omOfP9cSdyMUdWr-TGE2kLMVwIMziP866WYJN6m-rwDllc4qQLD","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Auth0 CLI","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"BZRIum1HFFj1xhNSsZRV00xxN5KQ0Q10","callback_url_template":false,"client_secret":"i6RzTiHWcM3Bxasu1Hbe6ajD7PXrG36KbctxA63SGWWFEeTL9tJQRv9Uu3pd7TCo","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Acceptance Test - TestAccDataClientById","description":"Description for TestAccDataClientById","is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"g6p6uCGxHoHAXTzbEO5dWrcLjM2aKKP5","callback_url_template":false,"client_secret":"MZAvkgNII6OxEkhW9XNJcXyyYVV_-6iv4tMQ2XyWp74oO2BWMz6bBv3ekSTjzM_n","jwt_configuration":{"lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"non_interactive","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Acceptance Test - TestAccDataClientByName","description":"Description for TestAccDataClientByName","is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"AZzzka40lXfIC8w2oYfV7FJIHGNvVQOa","callback_url_template":false,"client_secret":"fSgNkInDYQXG0ivvJvIOPtffDhnhdJF8aGMvyRp2KkCGZOrFqkOrnwW446nsCPgF","jwt_configuration":{"lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"non_interactive","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":true,"callbacks":[],"is_first_party":true,"name":"All Applications","refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"owners":["mr|google-apps|will.vedder@auth0.com"],"custom_login_page":"My Custom Login Page","cross_origin_auth":false,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"sso":false,"sso_disabled":false,"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"6CgQCnLIWsi-Lg7F_204fwjUeRcXMhPnUjCRe4K2fij9D3AxgbmaEOl1mprCtFpA","jwt_configuration":{},"custom_login_page_on":false}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 145.801417ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?include_totals=true&page=0&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":11,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Deploy CLI","cross_origin_auth":false,"is_first_party":true,"oidc_conformant":true,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"sso_disabled":false,"callbacks":["http://localhost:8484"],"allowed_clients":[],"client_metadata":{"foo1":"foo1","foo2":"foo2","foo10":"foo10","foo3":"foo3","foo4":"foo4","foo5":"foo5","foo6":"foo6","foo7":"foo7","foo8":"foo8","foo9":"foo9"},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"addons":{"box":{}},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"3glBfiBX6R8pZGPIaI89F6u5McZ5zoHU","callback_url_template":false,"client_secret":"RCZauAFDxjRhgRAH05Gu2Ud3M4aMmxTdCJv0bVFHonwHv0Wl","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"client_aliases":[],"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Will''s SPA","allowed_clients":[],"allowed_logout_urls":["http://localhost:3000"],"callbacks":["localhost:3030/logout"],"is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":true,"refresh_token":{"expiration_type":"expiring","leeway":0,"infinite_token_lifetime":false,"infinite_idle_token_lifetime":false,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"rotating"},"client_metadata":{},"native_social_login":{"apple":{"enabled":false},"facebook":{"enabled":false}},"addons":{"salesforce_api":{"clientid":"consumer-key","principal":"principal-property"},"sap_api":{"tokenEndpointUrl":"https://sap-odata-server-token.com/endpoint","clientid":"consumer-key","servicePassword":"service-password","scope":"sap-scope","usernameAttribute":"username-attribute"},"wams":{"masterkey":"master-key"},"firebase":{"private_key_id":"private-key-id","client_email":"client-email@email.com","private_key":"dfasdf43tqewr542q3tgdfvasdgfa"},"wsfed":{}},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"allowed_origins":["http://localhost:3000"],"client_id":"4cIvNhDgw262ZA4BEhkQSfaWxp1kyIZm","callback_url_template":false,"client_secret":"d_5g46vEmu7vQWpkl0IjpeQ5PlO-wlme87OC_ERECJaPgqlByMX-g3Y4qVJ3TdkX","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"client_aliases":["realm"],"token_endpoint_auth_method":"none","app_type":"spa","grant_types":["authorization_code","implicit","refresh_token"],"web_origins":["http://localhost:3000"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"TF Provider","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"hvxA5ojdxUwg2msFimeJRTaQtBza9OKi","callback_url_template":false,"client_secret":"hkARc-rerE8nxai9ZbmrqkL-FTRf-xt-Y1anui1GaJCq4K9naJexxQeOf05xkFzM","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Zoom","callbacks":["https://https://willveder.zoom.us.zoom.us/saml/SSO"],"addons":{"zoom":{"account":"https://willveder.zoom.us"}},"is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"FgT0042n6DH4pNEwVA50HuDeqzbFK8i0","callback_url_template":false,"client_secret":"m-wYCAVdiNdAjMHapG6ymFQClZ5DjEM6awFENXG2Y2EGEQrwWtk7QYJUa1q9F-C9","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"zoom","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"API Explorer Application","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"oqLwZCh5ca5l8PchzATFnLhy4OI7ufxE","callback_url_template":false,"client_secret":"rgC_JTcQxUbB3WbudQdOFRYa3_RsL6x85jb9VsqNc1_3-SAdAov7gpDFBHCQvYMM","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Aha!","callbacks":["http://localhost:3000"],"addons":{"samlp":{"mappings":{"email":"EmailAddress","given_name":"FirstName","family_name":"LastName"}},"sso_integration":{"name":"aha"}},"is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"bhVI3hx64w8lTtGFtYwqUcg3cnK0QCkl","callback_url_template":false,"client_secret":"qYWccBVw0zHoeCuq_SCUdb7t0ubqPr2VitrsQe1-rkeQNo6G2O08yDAMZuICn61m","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"sso_integration","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Separate API (Test Application)","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"bIFWLrNWLqtz4BePTOttbopFwzxIRQPl","callback_url_template":false,"client_secret":"65uVZiG2yoW60omOfP9cSdyMUdWr-TGE2kLMVwIMziP866WYJN6m-rwDllc4qQLD","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Auth0 CLI","is_first_party":true,"oidc_conformant":true,"sso_disabled":false,"cross_origin_auth":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":31557600,"idle_token_lifetime":2592000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"BZRIum1HFFj1xhNSsZRV00xxN5KQ0Q10","callback_url_template":false,"client_secret":"i6RzTiHWcM3Bxasu1Hbe6ajD7PXrG36KbctxA63SGWWFEeTL9tJQRv9Uu3pd7TCo","jwt_configuration":{"alg":"RS256","lifetime_in_seconds":36000,"secret_encoded":false},"token_endpoint_auth_method":"client_secret_post","app_type":"non_interactive","grant_types":["client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Acceptance Test - TestAccDataClientById","description":"Description for TestAccDataClientById","is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"g6p6uCGxHoHAXTzbEO5dWrcLjM2aKKP5","callback_url_template":false,"client_secret":"MZAvkgNII6OxEkhW9XNJcXyyYVV_-6iv4tMQ2XyWp74oO2BWMz6bBv3ekSTjzM_n","jwt_configuration":{"lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"non_interactive","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":false,"is_token_endpoint_ip_header_trusted":false,"name":"Acceptance Test - TestAccDataClientByName","description":"Description for TestAccDataClientByName","is_first_party":true,"sso_disabled":false,"cross_origin_auth":false,"oidc_conformant":false,"refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"AZzzka40lXfIC8w2oYfV7FJIHGNvVQOa","callback_url_template":false,"client_secret":"fSgNkInDYQXG0ivvJvIOPtffDhnhdJF8aGMvyRp2KkCGZOrFqkOrnwW446nsCPgF","jwt_configuration":{"lifetime_in_seconds":36000,"secret_encoded":false},"app_type":"non_interactive","grant_types":["authorization_code","implicit","refresh_token","client_credentials"],"custom_login_page_on":true},{"tenant":"terraform-provider-auth0-dev","global":true,"callbacks":[],"is_first_party":true,"name":"All Applications","refresh_token":{"expiration_type":"non-expiring","leeway":0,"infinite_token_lifetime":true,"infinite_idle_token_lifetime":true,"token_lifetime":2592000,"idle_token_lifetime":1296000,"rotation_type":"non-rotating"},"owners":["mr|google-apps|will.vedder@auth0.com"],"custom_login_page":"My Custom Login Page","cross_origin_auth":false,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"sso":false,"sso_disabled":false,"signing_keys":[{"cert":"-----BEGIN CERTIFICATE-----\r\nMIIDCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNV\r\nBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0z\r\nNTA5MjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNv\r\nbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl8\r\n9frp/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnX\r\nLJIJwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVCh\r\ndZXQGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFq\r\nU+sKylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDK\r\nCPmrsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7R\r\nCyECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUv\r\nbQ8O7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDR\r\nwaZlC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0\r\ngdwQTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5Bb\r\ndaZ5f9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt14\r\n96YLJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJd\r\nII/IwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP\r\n/fB13TQZq16FOzSI4qO7\r\n-----END CERTIFICATE-----","pkcs7":"-----BEGIN PKCS7-----\r\nMIIDOgYJKoZIhvcNAQcCoIIDKzCCAycCAQExADALBgkqhkiG9w0BBwGgggMPMIID\r\nCzCCAfOgAwIBAgIJN6QeCjVXPn2uMA0GCSqGSIb3DQEBCwUAMCMxITAfBgNVBAMT\r\nGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTAeFw0yMjAxMTEyMjI5MTBaFw0zNTA5\r\nMjAyMjI5MTBaMCMxITAfBgNVBAMTGHdpbGwtdmVkZGVyLnVzLmF1dGgwLmNvbTCC\r\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANgraUmmusnz5rPVLRl89frp\r\n/A/ge2Yh7K5QRwzqPsiJVUwOH+kCTc7LM2nX3ZxenF3XNbjJ2eoIh+6ofWnXLJIJ\r\nwsRN+V3hAPyHCxakhKDbbO5darxxldk1OMlZL987KhLgWM2V6i3pkXzqeVChdZXQ\r\nGdyy2llw4+I4N0f4mWGguupuqDn5gMixdtCg4dC1grzD3EtnyQ6hJ4gCDQFqU+sK\r\nylR1cO6Q/SrkoK5hskgxlo8er7BB+Osz/OhtwdXoY+4BSNG4d9csabM4awDKCPmr\r\nsawbONbZ9iNXDgXOgMGFyyEM5nXoZfE7pUXRQXHJXOnrjuQgBBoN2481tF7RCyEC\r\nAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUE4mEWiN3qVUvbQ8O\r\n7UvUkce854UwDgYDVR0PAQH/BAQDAgKEMA0GCSqGSIb3DQEBCwUAA4IBAQDRwaZl\r\nC92gAYCde7/86q0N4tw9yCsbVaYY08+l088151qdH2Pe+xT5RuOnNgdPkrn0gdwQ\r\nTLIYASYusZOBaxBP+OM7ggo75b7Sqflup91Ibkg9bwfmA3qBkEg6iEZse5BbdaZ5\r\nf9ctFhTRo9Rz4qzNaO5WQrjtklfIzGI+kpR17Txmzt61Jb6xBYriY0UWjt1496YL\r\nJFjhENmebrVFrAslb7p9mKkd8IJ2GNlM2K/Nsa9t8dFfGZPydQZ7vDduDkJdII/I\r\nwqURjWLfwFp3vP1hAktfHg4jsi2lBqQSOxk+4gCxzBXO4Ab2wi9Ix9MVRRVP/fB1\r\n3TQZq16FOzSI4qO7MQA=\r\n-----END PKCS7-----\r\n","subject":"deprecated"}],"client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"6CgQCnLIWsi-Lg7F_204fwjUeRcXMhPnUjCRe4K2fij9D3AxgbmaEOl1mprCtFpA","jwt_configuration":{},"custom_login_page_on":false}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 133.104292ms + - 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.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AZzzka40lXfIC8w2oYfV7FJIHGNvVQOa + 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: 186.238333ms diff --git a/test/data/recordings/TestAccDataSourceClientNonexistentID.yaml b/test/data/recordings/TestAccDataSourceClientNonexistentID.yaml new file mode 100644 index 000000000..49cc90c5c --- /dev/null +++ b/test/data/recordings/TestAccDataSourceClientNonexistentID.yaml @@ -0,0 +1,39 @@ +--- +version: 2 +interactions: + - id: 0 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/this-client-does-not-exist + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"statusCode":404,"error":"Not Found","message":"The client does not exist","errorCode":"inexistent_client"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 404 Not Found + code: 404 + duration: 117.082667ms diff --git a/test/data/recordings/TestAccDataSourceConnectionNonexistentID.yaml b/test/data/recordings/TestAccDataSourceConnectionNonexistentID.yaml new file mode 100644 index 000000000..3c6cea0f4 --- /dev/null +++ b/test/data/recordings/TestAccDataSourceConnectionNonexistentID.yaml @@ -0,0 +1,39 @@ +--- +version: 2 +interactions: + - id: 0 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_xxxxxxxxxxxxxxxx + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"statusCode":404,"error":"Not Found","message":"The connection does not exist","errorCode":"inexistent_connection"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 404 Not Found + code: 404 + duration: 69.484125ms diff --git a/test/data/recordings/TestAccDataSourceOrganizationByName.yaml b/test/data/recordings/TestAccDataSourceOrganization.yaml similarity index 64% rename from test/data/recordings/TestAccDataSourceOrganizationByName.yaml rename to test/data/recordings/TestAccDataSourceOrganization.yaml index da1f35f2a..b12b987f3 100644 --- a/test/data/recordings/TestAccDataSourceOrganizationByName.yaml +++ b/test/data/recordings/TestAccDataSourceOrganization.yaml @@ -2,42 +2,6 @@ version: 2 interactions: - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 179 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"connection":"Username-Password-Authentication","email":"testaccdatasourceorganizationbyname@auth0.com","username":"testaccdatasourceorganizationbyname","password":"MyPass123$"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 629 - uncompressed: false - body: '{"created_at":"2023-06-20T13:34:01.235Z","email":"testaccdatasourceorganizationbyname@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491aac9877f08093c048e5e","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyname@auth0.com","nickname":"testaccdatasourceorganizationbyname","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:34:01.235Z","user_id":"auth0|6491aac9877f08093c048e5e","username":"testaccdatasourceorganizationbyname"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 233.78725ms - - id: 1 request: proto: HTTP/1.1 proto_major: 1 @@ -55,8 +19,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aac9877f08093c048e5e + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_XXXXXXXXXXXXXXXX method: GET response: proto: HTTP/2.0 @@ -66,50 +30,50 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:34:01.235Z","email":"testaccdatasourceorganizationbyname@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491aac9877f08093c048e5e","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyname@auth0.com","nickname":"testaccdatasourceorganizationbyname","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:34:01.235Z","user_id":"auth0|6491aac9877f08093c048e5e","username":"testaccdatasourceorganizationbyname"}' + body: '{"statusCode":404,"error":"Not Found","message":"No organization found by that id or name"}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.031917ms - - id: 2 + status: 404 Not Found + code: 404 + duration: 107.653125ms + - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 167 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"connection":"Username-Password-Authentication","email":"testaccdatasourceorganization@auth0.com","username":"testaccdatasourceorganization","password":"MyPass123$"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aac9877f08093c048e5e/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 605 + uncompressed: false + body: '{"created_at":"2023-07-13T17:39:37.161Z","email":"testaccdatasourceorganization@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036d9d97f02a515f94580","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganization@auth0.com","nickname":"testaccdatasourceorganization","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:37.161Z","user_id":"auth0|64b036d9d97f02a515f94580","username":"testaccdatasourceorganization"}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 157.606875ms - - id: 3 + status: 201 Created + code: 201 + duration: 704.952458ms + - id: 2 request: proto: HTTP/1.1 proto_major: 1 @@ -127,8 +91,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aac9877f08093c048e5e/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036d9d97f02a515f94580 method: GET response: proto: HTTP/2.0 @@ -138,32 +102,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:39:37.161Z","email":"testaccdatasourceorganization@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036d9d97f02a515f94580","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganization@auth0.com","nickname":"testaccdatasourceorganization","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:37.161Z","user_id":"auth0|64b036d9d97f02a515f94580","username":"testaccdatasourceorganization"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 192.417917ms - - id: 4 + duration: 101.365959ms + - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 93 + content_length: 87 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"} + {"name":"Acceptance-Test-Connection-testaccdatasourceorganization","strategy":"auth0"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections method: POST response: @@ -172,16 +136,16 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 385 + content_length: 373 uncompressed: false - body: '{"id":"con_3xtHZIbv8BCc17qr","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyname"]}' + body: '{"id":"con_2ctFPENwjtJreWIR","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganization","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganization"]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 165.987625ms - - id: 5 + duration: 142.957666ms + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -199,8 +163,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_3xtHZIbv8BCc17qr + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_2ctFPENwjtJreWIR method: GET response: proto: HTTP/2.0 @@ -210,32 +174,32 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_3xtHZIbv8BCc17qr","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyname"]}' + body: '{"id":"con_2ctFPENwjtJreWIR","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganization","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganization"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.198ms - - id: 6 + duration: 90.139208ms + - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 115 + content_length: 103 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"} + {"name":"test-testaccdatasourceorganization","display_name":"Acme Inc. testaccdatasourceorganization"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations method: POST response: @@ -244,16 +208,16 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 142 + content_length: 130 uncompressed: false - body: '{"name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname","id":"org_39mt2TraeDe4WxuJ"}' + body: '{"name":"test-testaccdatasourceorganization","display_name":"Acme Inc. testaccdatasourceorganization","id":"org_SLNa2b47mCNzgGpx"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 110.144458ms - - id: 7 + duration: 115.240792ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -271,8 +235,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx method: GET response: proto: HTTP/2.0 @@ -282,14 +246,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_39mt2TraeDe4WxuJ","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}' + body: '{"id":"org_SLNa2b47mCNzgGpx","name":"test-testaccdatasourceorganization","display_name":"Acme Inc. testaccdatasourceorganization"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.723958ms - - id: 8 + duration: 101.298625ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -301,14 +265,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"connection_id":"con_3xtHZIbv8BCc17qr","assign_membership_on_login":false} + {"connection_id":"con_2ctFPENwjtJreWIR","assign_membership_on_login":false} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/enabled_connections + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/enabled_connections method: POST response: proto: HTTP/2.0 @@ -316,16 +280,16 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 181 + content_length: 175 uncompressed: false - body: '{"connection_id":"con_3xtHZIbv8BCc17qr","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}' + body: '{"connection_id":"con_2ctFPENwjtJreWIR","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganization","strategy":"auth0"}}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 127.435417ms - - id: 9 + duration: 112.199959ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -343,8 +307,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/enabled_connections/con_3xtHZIbv8BCc17qr + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/enabled_connections/con_2ctFPENwjtJreWIR method: GET response: proto: HTTP/2.0 @@ -354,14 +318,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"connection_id":"con_3xtHZIbv8BCc17qr","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}' + body: '{"connection_id":"con_2ctFPENwjtJreWIR","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganization","strategy":"auth0"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.851667ms - - id: 10 + duration: 104.236042ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -373,14 +337,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"members":["auth0|6491aac9877f08093c048e5e"]} + {"members":["auth0|64b036d9d97f02a515f94580"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/members + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/members method: POST response: proto: HTTP/2.0 @@ -396,7 +360,43 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 129.639292ms + duration: 126.97625ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/members?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"members":[{"user_id":"auth0|64b036d9d97f02a515f94580","email":"testaccdatasourceorganization@auth0.com","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganization@auth0.com"}],"start":0,"limit":50,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 102.997542ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/members/auth0%7C6491aac9877f08093c048e5e/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"organizations":[{"id":"org_SLNa2b47mCNzgGpx","name":"test-testaccdatasourceorganization","display_name":"Acme Inc. testaccdatasourceorganization"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.529625ms + duration: 136.479917ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aac9877f08093c048e5e + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:34:01.235Z","email":"testaccdatasourceorganizationbyname@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491aac9877f08093c048e5e","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyname@auth0.com","nickname":"testaccdatasourceorganizationbyname","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:34:01.235Z","user_id":"auth0|6491aac9877f08093c048e5e","username":"testaccdatasourceorganizationbyname"}' + body: '{"enabled_connections":[{"connection_id":"con_2ctFPENwjtJreWIR","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganization","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.766417ms + duration: 103.648917ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aac9877f08093c048e5e/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b036d9d97f02a515f94580","email":"testaccdatasourceorganization@auth0.com","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganization@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 150.645041ms + duration: 141.294584ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aac9877f08093c048e5e/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"organizations":[{"id":"org_SLNa2b47mCNzgGpx","name":"test-testaccdatasourceorganization","display_name":"Acme Inc. testaccdatasourceorganization"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.231584ms + duration: 105.195042ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_3xtHZIbv8BCc17qr + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_3xtHZIbv8BCc17qr","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyname"]}' + body: '{"enabled_connections":[{"connection_id":"con_2ctFPENwjtJreWIR","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganization","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.323292ms + duration: 111.59075ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_39mt2TraeDe4WxuJ","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}' + body: '{"members":[{"user_id":"auth0|64b036d9d97f02a515f94580","email":"testaccdatasourceorganization@auth0.com","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganization@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.498792ms + duration: 98.243959ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/enabled_connections/con_3xtHZIbv8BCc17qr + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036d9d97f02a515f94580 method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"connection_id":"con_3xtHZIbv8BCc17qr","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}' + body: '{"created_at":"2023-07-13T17:39:37.161Z","email":"testaccdatasourceorganization@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036d9d97f02a515f94580","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganization@auth0.com","nickname":"testaccdatasourceorganization","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:37.161Z","user_id":"auth0|64b036d9d97f02a515f94580","username":"testaccdatasourceorganization"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.326167ms + duration: 88.993875ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/members/auth0%7C6491aac9877f08093c048e5e/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_2ctFPENwjtJreWIR method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"con_2ctFPENwjtJreWIR","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganization","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganization"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.0515ms + duration: 144.419083ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aac9877f08093c048e5e + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:34:01.235Z","email":"testaccdatasourceorganizationbyname@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491aac9877f08093c048e5e","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyname@auth0.com","nickname":"testaccdatasourceorganizationbyname","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:34:01.235Z","user_id":"auth0|6491aac9877f08093c048e5e","username":"testaccdatasourceorganizationbyname"}' + body: '{"id":"org_SLNa2b47mCNzgGpx","name":"test-testaccdatasourceorganization","display_name":"Acme Inc. testaccdatasourceorganization"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.641916ms + duration: 93.399292ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/enabled_connections/con_2ctFPENwjtJreWIR method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"organizations":[{"id":"org_39mt2TraeDe4WxuJ","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}],"start":0,"limit":100,"total":1}' + body: '{"connection_id":"con_2ctFPENwjtJreWIR","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganization","strategy":"auth0"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 163.511208ms + duration: 118.365959ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aac9877f08093c048e5e/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b036d9d97f02a515f94580","email":"testaccdatasourceorganization@auth0.com","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganization@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 152.188333ms + duration: 108.610583ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[{"connection_id":"con_3xtHZIbv8BCc17qr","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' + body: '{"organizations":[{"id":"org_SLNa2b47mCNzgGpx","name":"test-testaccdatasourceorganization","display_name":"Acme Inc. testaccdatasourceorganization"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.878084ms + duration: 95.588625ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aac9877f08093c048e5e/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[{"connection_id":"con_2ctFPENwjtJreWIR","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganization","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.138833ms + duration: 141.868875ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491aac9877f08093c048e5e","email":"testaccdatasourceorganizationbyname@auth0.com","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyname@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"members":[{"user_id":"auth0|64b036d9d97f02a515f94580","email":"testaccdatasourceorganization@auth0.com","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganization@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 138.541458ms + duration: 155.961791ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_3xtHZIbv8BCc17qr + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_3xtHZIbv8BCc17qr","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyname"]}' + body: '{"organizations":[{"id":"org_SLNa2b47mCNzgGpx","name":"test-testaccdatasourceorganization","display_name":"Acme Inc. testaccdatasourceorganization"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.19475ms + duration: 277.949ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_39mt2TraeDe4WxuJ","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}' + body: '{"enabled_connections":[{"connection_id":"con_2ctFPENwjtJreWIR","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganization","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.813292ms + duration: 101.192791ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/enabled_connections/con_3xtHZIbv8BCc17qr + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"connection_id":"con_3xtHZIbv8BCc17qr","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}' + body: '{"members":[{"user_id":"auth0|64b036d9d97f02a515f94580","email":"testaccdatasourceorganization@auth0.com","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganization@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.775375ms + duration: 154.113708ms - id: 28 request: proto: HTTP/1.1 @@ -1027,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/members/auth0%7C6491aac9877f08093c048e5e/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036d9d97f02a515f94580 method: GET response: proto: HTTP/2.0 @@ -1038,13 +1038,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:39:37.161Z","email":"testaccdatasourceorganization@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036d9d97f02a515f94580","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganization@auth0.com","nickname":"testaccdatasourceorganization","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:37.161Z","user_id":"auth0|64b036d9d97f02a515f94580","username":"testaccdatasourceorganization"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.476334ms + duration: 129.53175ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_2ctFPENwjtJreWIR method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"organizations":[{"id":"org_39mt2TraeDe4WxuJ","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}],"start":0,"limit":100,"total":1}' + body: '{"id":"con_2ctFPENwjtJreWIR","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganization","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganization"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 154.093541ms + duration: 96.525125ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[{"connection_id":"con_3xtHZIbv8BCc17qr","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' + body: '{"id":"org_SLNa2b47mCNzgGpx","name":"test-testaccdatasourceorganization","display_name":"Acme Inc. testaccdatasourceorganization"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.492041ms + duration: 143.874709ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/enabled_connections/con_2ctFPENwjtJreWIR method: GET response: proto: HTTP/2.0 @@ -1146,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491aac9877f08093c048e5e","email":"testaccdatasourceorganizationbyname@auth0.com","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyname@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"connection_id":"con_2ctFPENwjtJreWIR","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganization","strategy":"auth0"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.588375ms + duration: 101.260375ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"organizations":[{"id":"org_39mt2TraeDe4WxuJ","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}],"start":0,"limit":100,"total":1}' + body: '{"members":[{"user_id":"auth0|64b036d9d97f02a515f94580","email":"testaccdatasourceorganization@auth0.com","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganization@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 157.256875ms + duration: 103.477041ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx method: GET response: proto: HTTP/2.0 @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[{"connection_id":"con_3xtHZIbv8BCc17qr","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' + body: '{"id":"org_SLNa2b47mCNzgGpx","name":"test-testaccdatasourceorganization","display_name":"Acme Inc. testaccdatasourceorganization"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.84175ms + duration: 196.270167ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1254,13 +1254,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491aac9877f08093c048e5e","email":"testaccdatasourceorganizationbyname@auth0.com","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyname@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"enabled_connections":[{"connection_id":"con_2ctFPENwjtJreWIR","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganization","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.16475ms + duration: 105.962167ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aac9877f08093c048e5e + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1290,13 +1290,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:34:01.235Z","email":"testaccdatasourceorganizationbyname@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491aac9877f08093c048e5e","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyname@auth0.com","nickname":"testaccdatasourceorganizationbyname","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:34:01.235Z","user_id":"auth0|6491aac9877f08093c048e5e","username":"testaccdatasourceorganizationbyname"}' + body: '{"members":[{"user_id":"auth0|64b036d9d97f02a515f94580","email":"testaccdatasourceorganization@auth0.com","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganization@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.650833ms + duration: 104.015334ms - id: 36 request: proto: HTTP/1.1 @@ -1315,8 +1315,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx method: GET response: proto: HTTP/2.0 @@ -1326,13 +1326,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"organizations":[{"id":"org_39mt2TraeDe4WxuJ","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}],"start":0,"limit":100,"total":1}' + body: '{"id":"org_SLNa2b47mCNzgGpx","name":"test-testaccdatasourceorganization","display_name":"Acme Inc. testaccdatasourceorganization"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.652458ms + duration: 93.477458ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aac9877f08093c048e5e/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[{"connection_id":"con_2ctFPENwjtJreWIR","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganization","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.486958ms + duration: 101.794416ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[{"connection_id":"con_3xtHZIbv8BCc17qr","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' + body: '{"members":[{"user_id":"auth0|64b036d9d97f02a515f94580","email":"testaccdatasourceorganization@auth0.com","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganization@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.490208ms + duration: 100.054375ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aac9877f08093c048e5e/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx method: GET response: proto: HTTP/2.0 @@ -1434,13 +1434,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_SLNa2b47mCNzgGpx","name":"test-testaccdatasourceorganization","display_name":"Acme Inc. testaccdatasourceorganization"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.919292ms + duration: 100.02175ms - id: 40 request: proto: HTTP/1.1 @@ -1459,8 +1459,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1470,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491aac9877f08093c048e5e","email":"testaccdatasourceorganizationbyname@auth0.com","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyname@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"enabled_connections":[{"connection_id":"con_2ctFPENwjtJreWIR","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganization","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.201541ms + duration: 108.339375ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_3xtHZIbv8BCc17qr + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_3xtHZIbv8BCc17qr","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyname"]}' + body: '{"members":[{"user_id":"auth0|64b036d9d97f02a515f94580","email":"testaccdatasourceorganization@auth0.com","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganization@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.95375ms + duration: 104.785917ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036d9d97f02a515f94580 method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_39mt2TraeDe4WxuJ","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}' + body: '{"created_at":"2023-07-13T17:39:37.161Z","email":"testaccdatasourceorganization@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036d9d97f02a515f94580","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganization@auth0.com","nickname":"testaccdatasourceorganization","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:37.161Z","user_id":"auth0|64b036d9d97f02a515f94580","username":"testaccdatasourceorganization"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.318625ms + duration: 120.694875ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/enabled_connections/con_3xtHZIbv8BCc17qr + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_2ctFPENwjtJreWIR method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"connection_id":"con_3xtHZIbv8BCc17qr","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}' + body: '{"id":"con_2ctFPENwjtJreWIR","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganization","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganization"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.92475ms + duration: 212.848708ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/members/auth0%7C6491aac9877f08093c048e5e/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_SLNa2b47mCNzgGpx","name":"test-testaccdatasourceorganization","display_name":"Acme Inc. testaccdatasourceorganization"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.155166ms + duration: 92.660666ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/enabled_connections/con_2ctFPENwjtJreWIR method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"organizations":[{"id":"org_39mt2TraeDe4WxuJ","name":"test-testaccdatasourceorganizationbyname","display_name":"Acme Inc. testaccdatasourceorganizationbyname"}],"start":0,"limit":100,"total":1}' + body: '{"connection_id":"con_2ctFPENwjtJreWIR","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganization","strategy":"auth0"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.903834ms + duration: 106.459625ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[{"connection_id":"con_3xtHZIbv8BCc17qr","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyname","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' + body: '{"members":[{"user_id":"auth0|64b036d9d97f02a515f94580","email":"testaccdatasourceorganization@auth0.com","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganization@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.913333ms + duration: 126.703292ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx method: GET response: proto: HTTP/2.0 @@ -1722,14 +1722,194 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491aac9877f08093c048e5e","email":"testaccdatasourceorganizationbyname@auth0.com","picture":"https://s.gravatar.com/avatar/9029769644b7251be0f155adf2cde2f0?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyname@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"id":"org_SLNa2b47mCNzgGpx","name":"test-testaccdatasourceorganization","display_name":"Acme Inc. testaccdatasourceorganization"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.974375ms + duration: 107.66075ms - id: 48 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/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":[{"connection_id":"con_2ctFPENwjtJreWIR","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganization","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 105.077667ms + - id: 49 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/members?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: '{"members":[{"user_id":"auth0|64b036d9d97f02a515f94580","email":"testaccdatasourceorganization@auth0.com","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganization@auth0.com"}],"start":0,"limit":100,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 116.380125ms + - id: 50 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"org_SLNa2b47mCNzgGpx","name":"test-testaccdatasourceorganization","display_name":"Acme Inc. testaccdatasourceorganization"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 182.384667ms + - id: 51 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/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":[{"connection_id":"con_2ctFPENwjtJreWIR","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganization","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 116.898625ms + - id: 52 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/members?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: '{"members":[{"user_id":"auth0|64b036d9d97f02a515f94580","email":"testaccdatasourceorganization@auth0.com","picture":"https://s.gravatar.com/avatar/892f0bf2c3c9895065f505b28cba3106?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganization@auth0.com"}],"start":0,"limit":100,"total":1}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 120.867958ms + - id: 53 request: proto: HTTP/1.1 proto_major: 1 @@ -1741,14 +1921,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"members":["auth0|6491aac9877f08093c048e5e"]} + {"members":["auth0|64b036d9d97f02a515f94580"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/members + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/members method: DELETE response: proto: HTTP/2.0 @@ -1764,8 +1944,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 117.188417ms - - id: 49 + duration: 103.897792ms + - id: 54 request: proto: HTTP/1.1 proto_major: 1 @@ -1782,8 +1962,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ/enabled_connections/con_3xtHZIbv8BCc17qr + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx/enabled_connections/con_2ctFPENwjtJreWIR method: DELETE response: proto: HTTP/2.0 @@ -1799,8 +1979,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 132.336291ms - - id: 50 + duration: 113.365125ms + - id: 55 request: proto: HTTP/1.1 proto_major: 1 @@ -1817,8 +1997,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_39mt2TraeDe4WxuJ + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_SLNa2b47mCNzgGpx method: DELETE response: proto: HTTP/2.0 @@ -1834,8 +2014,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 100.718166ms - - id: 51 + duration: 99.94625ms + - id: 56 request: proto: HTTP/1.1 proto_major: 1 @@ -1852,8 +2032,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_3xtHZIbv8BCc17qr + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_2ctFPENwjtJreWIR method: DELETE response: proto: HTTP/2.0 @@ -1863,14 +2043,14 @@ interactions: trailer: {} content_length: 41 uncompressed: false - body: '{"deleted_at":"2023-06-20T13:34:08.795Z"}' + body: '{"deleted_at":"2023-07-13T17:39:47.025Z"}' headers: Content-Type: - application/json; charset=utf-8 status: 202 Accepted code: 202 - duration: 158.050209ms - - id: 52 + duration: 136.946583ms + - id: 57 request: proto: HTTP/1.1 proto_major: 1 @@ -1887,8 +2067,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aac9877f08093c048e5e + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036d9d97f02a515f94580 method: DELETE response: proto: HTTP/2.0 @@ -1904,4 +2084,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 298.102417ms + duration: 357.317125ms diff --git a/test/data/recordings/TestAccDataSourceOrganizationNonexistentID.yaml b/test/data/recordings/TestAccDataSourceOrganizationNonexistentID.yaml new file mode 100644 index 000000000..623c36208 --- /dev/null +++ b/test/data/recordings/TestAccDataSourceOrganizationNonexistentID.yaml @@ -0,0 +1,39 @@ +--- +version: 2 +interactions: + - id: 0 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_XXXXXXXXXXXXXXXX + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"statusCode":404,"error":"Not Found","message":"No organization found by that id or name"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 404 Not Found + code: 404 + duration: 108.996333ms diff --git a/test/data/recordings/TestAccDataSourcePages.yaml b/test/data/recordings/TestAccDataSourcePages.yaml new file mode 100644 index 000000000..e9657e7cd --- /dev/null +++ b/test/data/recordings/TestAccDataSourcePages.yaml @@ -0,0 +1,867 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 161.598958ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 139 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","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: 163.112042ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 433 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"change_password":{"enabled":true,"html":"\u003chtml\u003e\u003cbody\u003eMy Custom Reset Password Page\u003c/body\u003e\u003c/html\u003e"},"guardian_mfa_page":{"enabled":true,"html":"\u003chtml\u003e\u003cbody\u003eMy Custom MFA Page\u003c/body\u003e\u003c/html\u003e"},"error_page":{"html":"\u003chtml\u003e\u003cbody\u003eMy Custom Error Page\u003c/body\u003e\u003c/html\u003e","show_log_link":true,"url":"https://example.com"}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":true,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"My Custom Error Page","show_log_link":true,"url":"https://example.com"},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":true},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true},"is_custom_template_set":true},"session_cookie":{"mode":"non-persistent"}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 296.82875ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 93.959167ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","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: 149.655917ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":true,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"My Custom Error Page","show_log_link":true,"url":"https://example.com"},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":true},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16","12"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 141.207167ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 150.741083ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","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: 147.470584ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":true,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"My Custom Error Page","show_log_link":true,"url":"https://example.com"},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":true},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16","12"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 154.299709ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 139.001583ms + - 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/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","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: 151.17825ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":true,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"My Custom Error Page","show_log_link":true,"url":"https://example.com"},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":true},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16","12"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 132.569084ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 143.173125ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","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: 84.281333ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":true,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"My Custom Error Page","show_log_link":true,"url":"https://example.com"},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":true},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16","12"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 153.5935ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 146.04675ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","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: 62.882792ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":true,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"My Custom Error Page","show_log_link":true,"url":"https://example.com"},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":true},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16","12"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 147.167208ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 141.580792ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":true,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","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: 135.080291ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":true,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"My Custom Error Page","show_log_link":true,"url":"https://example.com"},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":true},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true}},"session_cookie":{"mode":"non-persistent"},"sandbox_versions_available":["18","16","12"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 134.204333ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients?fields=client_id&include_fields=true&include_totals=true&is_global=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"total":1,"start":0,"limit":50,"clients":[{"tenant":"terraform-provider-auth0-dev","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 84.235958ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 31 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"custom_login_page_on":false} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/clients/AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"name":"All Applications","client_id":"AgEuCtc7HMsJUuULVtmJbnKiIb9cOiwV","client_secret":"[REDACTED]","is_first_party":true,"is_token_endpoint_ip_header_trusted":false,"oidc_conformant":false,"callbacks":[],"jwt_configuration":{},"signing_keys":[{"cert":"[REDACTED]"}],"sso":false,"sso_disabled":false,"custom_login_page_on":false,"custom_login_page":"\u003chtml\u003e\u003cbody\u003eMy Custom Login Page\u003c/body\u003e\u003c/html\u003e","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: 141.251333ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 132 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"change_password":{"enabled":false},"guardian_mfa_page":{"enabled":false},"error_page":{"html":"","show_log_link":false,"url":""}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0-SDK/0.17.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"allowed_logout_urls":["https://travel0.com/logout","https:localhost:3000/logout"],"change_password":{"enabled":false,"html":"My Custom Reset Password Page"},"default_audience":"","default_directory":"","enabled_locales":["en","eu-ES","bs","bg","ca-ES","zh-CN","zh-TW","hr","cs","da","nl","et","fi","fr-CA","fr","gl-ES","de","el","hi","hu","is","id","it","ja","ko","lv","lt","no","nb","nn","pl","pt","pt-PT","ro","ru","sr","sk","sl","es","sv","th","tr","uk","vi","cy"],"error_page":{"html":"","show_log_link":false,"url":""},"flags":{"allow_changing_enable_sso":false,"allow_legacy_delegation_grant_types":false,"allow_legacy_ro_grant_types":false,"allow_legacy_tokeninfo_endpoint":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"change_pwd_flow_v1":false,"disable_impersonation":true,"disable_management_api_sms_obfuscation":false,"enable_adfs_waad_email_verification":false,"enable_apis_section":false,"enable_client_connections":false,"enable_custom_domain_in_emails":false,"enable_dynamic_client_registration":false,"enable_idtoken_api2":false,"enable_legacy_logs_search_v2":false,"enable_legacy_profile":false,"enable_public_signup_user_exists_error":false,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"new_universal_login_experience_enabled":false,"non_oidc_conformant_updated_at":false,"universal_login":false,"use_scope_descriptions_for_consent":false,"no_disclose_enterprise_connections":false,"revoke_refresh_token_grant":false,"dashboard_log_streams_next":false,"disable_fields_map_fix":false,"disable_clickjack_protection_headers":false,"enable_pipeline2":false},"friendly_name":"Will''s Kingdom","guardian_mfa_page":{"html":"My Custom MFA Page","enabled":false},"idle_session_lifetime":1,"picture_url":"https://example.com/logo-updated-2.png","sandbox_version":"12","session_lifetime":3.0166666666666666,"support_email":"support@mycompany.org","support_url":"https://mycompany.org/support","sessions":{"oidc_logout_prompt_enabled":false},"universal_login":{"colors":{"primary":"#2A2E35","page_background":"#FF4F40"},"passwordless":{"allow_magiclink_verify_without_session":true},"is_custom_template_set":true},"session_cookie":{"mode":"non-persistent"}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 313.55525ms diff --git a/test/data/recordings/TestAccDataResourceServerAuth0APIManagement.yaml b/test/data/recordings/TestAccDataSourceResourceServer.yaml similarity index 57% rename from test/data/recordings/TestAccDataResourceServerAuth0APIManagement.yaml rename to test/data/recordings/TestAccDataSourceResourceServer.yaml index b523d35f6..67f141962 100644 --- a/test/data/recordings/TestAccDataResourceServerAuth0APIManagement.yaml +++ b/test/data/recordings/TestAccDataSourceResourceServer.yaml @@ -19,8 +19,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/112233445566777899011232 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/this-resource-server-does-not-exist method: GET response: proto: HTTP/2.0 @@ -30,14 +30,626 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"112233445566777899011232","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Actions Log Sessions","value":"create:actions_log_sessions"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"}],"is_system":true}' + body: '{"statusCode":404,"error":"Not Found","message":"The resource server does not exist","errorCode":"inexistent_resource_server"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 404 Not Found + code: 404 + duration: 104.456792ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 334 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","signing_alg":"RS256","allow_offline_access":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":true} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 365 + uncompressed: false + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 102.382833ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea85ee1bc3eacba0afb18 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 204.768792ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 219.655125ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 103.648333ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 104.717875ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fuat.api.terraform-provider-auth0.com%252FTestAccDataSourceResourceServer + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 104.214959ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fuat.api.terraform-provider-auth0.com%252FTestAccDataSourceResourceServer + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.646208ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea85ee1bc3eacba0afb18 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.722542ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 105.079ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fuat.api.terraform-provider-auth0.com%252FTestAccDataSourceResourceServer + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 85.193584ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fuat.api.terraform-provider-auth0.com%252FTestAccDataSourceResourceServer + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 94.359584ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea85ee1bc3eacba0afb18 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 99.373708ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 88.097667ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea85ee1bc3eacba0afb18 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 101.365208ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea85ee1bc3eacba0afb18 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 108.648834ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea85ee1bc3eacba0afb18 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 90.994667ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea85ee1bc3eacba0afb18 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.63625ms - - id: 1 + duration: 116.013625ms + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -55,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/112233445566777899011232 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer method: GET response: proto: HTTP/2.0 @@ -66,14 +678,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"112233445566777899011232","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Actions Log Sessions","value":"create:actions_log_sessions"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"}],"is_system":true}' + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.995875ms - - id: 2 + duration: 102.652583ms + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -91,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/112233445566777899011232 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea85ee1bc3eacba0afb18 method: GET response: proto: HTTP/2.0 @@ -102,14 +714,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"112233445566777899011232","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Actions Log Sessions","value":"create:actions_log_sessions"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"}],"is_system":true}' + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.099041ms - - id: 3 + duration: 94.779875ms + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -127,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/112233445566777899011232 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea85ee1bc3eacba0afb18 method: GET response: proto: HTTP/2.0 @@ -138,14 +750,301 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"112233445566777899011232","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Actions Log Sessions","value":"create:actions_log_sessions"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"}],"is_system":true}' + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 220.166958ms - - id: 4 + duration: 95.69ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fterraform-provider-auth0-dev.eu.auth0.com%252Fapi%252Fv2%252F + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648ae5ed23565d920eff640d","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Actions Log Sessions","value":"create:actions_log_sessions"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"},{"value":"read:client_credentials","description":"Read Client Credentials"},{"value":"create:client_credentials","description":"Create Client Credentials"},{"value":"update:client_credentials","description":"Update Client Credentials"},{"value":"delete:client_credentials","description":"delete Client Credentials"}],"is_system":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 89.452667ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 99.134458ms + - id: 23 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea85ee1bc3eacba0afb18 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 105.163417ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fterraform-provider-auth0-dev.eu.auth0.com%252Fapi%252Fv2%252F + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648ae5ed23565d920eff640d","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Actions Log Sessions","value":"create:actions_log_sessions"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"},{"value":"read:client_credentials","description":"Read Client Credentials"},{"value":"create:client_credentials","description":"Create Client Credentials"},{"value":"update:client_credentials","description":"Update Client Credentials"},{"value":"delete:client_credentials","description":"delete Client Credentials"}],"is_system":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 106.462041ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 14 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"scopes":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aea85ee1bc3eacba0afb18","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[],"enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 165.017125ms + - 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.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea85ee1bc3eacba0afb18 + 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: 183.708375ms + - id: 27 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fterraform-provider-auth0-dev.eu.auth0.com%252Fapi%252Fv2%252F + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648ae5ed23565d920eff640d","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Actions Log Sessions","value":"create:actions_log_sessions"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"},{"value":"read:client_credentials","description":"Read Client Credentials"},{"value":"create:client_credentials","description":"Create Client Credentials"},{"value":"update:client_credentials","description":"Update Client Credentials"},{"value":"delete:client_credentials","description":"delete Client Credentials"}],"is_system":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.700875ms + - id: 28 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fterraform-provider-auth0-dev.eu.auth0.com%252Fapi%252Fv2%252F + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"648ae5ed23565d920eff640d","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Actions Log Sessions","value":"create:actions_log_sessions"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"},{"value":"read:client_credentials","description":"Read Client Credentials"},{"value":"create:client_credentials","description":"Create Client Credentials"},{"value":"update:client_credentials","description":"Update Client Credentials"},{"value":"delete:client_credentials","description":"delete Client Credentials"}],"is_system":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 89.484042ms + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -163,8 +1062,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.16.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/112233445566777899011232 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fterraform-provider-auth0-dev.eu.auth0.com%252Fapi%252Fv2%252F method: GET response: proto: HTTP/2.0 @@ -174,10 +1073,10 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"112233445566777899011232","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Actions Log Sessions","value":"create:actions_log_sessions"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"}],"is_system":true}' + body: '{"id":"648ae5ed23565d920eff640d","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Actions Log Sessions","value":"create:actions_log_sessions"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"},{"value":"read:client_credentials","description":"Read Client Credentials"},{"value":"create:client_credentials","description":"Create Client Credentials"},{"value":"update:client_credentials","description":"Update Client Credentials"},{"value":"delete:client_credentials","description":"delete Client Credentials"}],"is_system":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.319167ms + duration: 162.597792ms diff --git a/test/data/recordings/TestAccDataSourceResourceServerByID.yaml b/test/data/recordings/TestAccDataSourceResourceServerByID.yaml deleted file mode 100644 index ac44f0f9b..000000000 --- a/test/data/recordings/TestAccDataSourceResourceServerByID.yaml +++ /dev/null @@ -1,398 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 455 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance Test - TestAccDataSourceResourceServerByID","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByID","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"signing_alg":"RS256","allow_offline_access":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":true} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 486 - uncompressed: false - body: '{"id":"63e65106f2ccdaf2620a2b6d","name":"Acceptance Test - TestAccDataSourceResourceServerByID","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByID","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 118.416042ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63e65106f2ccdaf2620a2b6d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e65106f2ccdaf2620a2b6d","name":"Acceptance Test - TestAccDataSourceResourceServerByID","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByID","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 92.763959ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63e65106f2ccdaf2620a2b6d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e65106f2ccdaf2620a2b6d","name":"Acceptance Test - TestAccDataSourceResourceServerByID","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByID","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 176.214667ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63e65106f2ccdaf2620a2b6d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e65106f2ccdaf2620a2b6d","name":"Acceptance Test - TestAccDataSourceResourceServerByID","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByID","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.226875ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63e65106f2ccdaf2620a2b6d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e65106f2ccdaf2620a2b6d","name":"Acceptance Test - TestAccDataSourceResourceServerByID","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByID","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 130.810291ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63e65106f2ccdaf2620a2b6d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e65106f2ccdaf2620a2b6d","name":"Acceptance Test - TestAccDataSourceResourceServerByID","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByID","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 83.360125ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63e65106f2ccdaf2620a2b6d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e65106f2ccdaf2620a2b6d","name":"Acceptance Test - TestAccDataSourceResourceServerByID","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByID","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 120.207625ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63e65106f2ccdaf2620a2b6d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e65106f2ccdaf2620a2b6d","name":"Acceptance Test - TestAccDataSourceResourceServerByID","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByID","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.840333ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63e65106f2ccdaf2620a2b6d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e65106f2ccdaf2620a2b6d","name":"Acceptance Test - TestAccDataSourceResourceServerByID","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByID","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.766333ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63e65106f2ccdaf2620a2b6d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e65106f2ccdaf2620a2b6d","name":"Acceptance Test - TestAccDataSourceResourceServerByID","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByID","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 241.439792ms - - 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-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63e65106f2ccdaf2620a2b6d - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 226.137417ms diff --git a/test/data/recordings/TestAccDataSourceResourceServerByIdentifier.yaml b/test/data/recordings/TestAccDataSourceResourceServerByIdentifier.yaml deleted file mode 100644 index b1851e826..000000000 --- a/test/data/recordings/TestAccDataSourceResourceServerByIdentifier.yaml +++ /dev/null @@ -1,398 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 471 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance Test - TestAccDataSourceResourceServerByIdentifier","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByIdentifier","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"signing_alg":"RS256","allow_offline_access":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":true} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 502 - uncompressed: false - body: '{"id":"63e650fad502eb7800cdd851","name":"Acceptance Test - TestAccDataSourceResourceServerByIdentifier","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByIdentifier","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 161.119375ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63e650fad502eb7800cdd851 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e650fad502eb7800cdd851","name":"Acceptance Test - TestAccDataSourceResourceServerByIdentifier","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByIdentifier","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.625292ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63e650fad502eb7800cdd851 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e650fad502eb7800cdd851","name":"Acceptance Test - TestAccDataSourceResourceServerByIdentifier","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByIdentifier","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.203125ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63e650fad502eb7800cdd851 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e650fad502eb7800cdd851","name":"Acceptance Test - TestAccDataSourceResourceServerByIdentifier","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByIdentifier","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 208.376375ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fuat.api.terraform-provider-auth0.com%252FTestAccDataSourceResourceServerByIdentifier - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e650fad502eb7800cdd851","name":"Acceptance Test - TestAccDataSourceResourceServerByIdentifier","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByIdentifier","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.122083ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fuat.api.terraform-provider-auth0.com%252FTestAccDataSourceResourceServerByIdentifier - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e650fad502eb7800cdd851","name":"Acceptance Test - TestAccDataSourceResourceServerByIdentifier","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByIdentifier","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.31475ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fuat.api.terraform-provider-auth0.com%252FTestAccDataSourceResourceServerByIdentifier - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e650fad502eb7800cdd851","name":"Acceptance Test - TestAccDataSourceResourceServerByIdentifier","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByIdentifier","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.884125ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63e650fad502eb7800cdd851 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e650fad502eb7800cdd851","name":"Acceptance Test - TestAccDataSourceResourceServerByIdentifier","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByIdentifier","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 88.417542ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fuat.api.terraform-provider-auth0.com%252FTestAccDataSourceResourceServerByIdentifier - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e650fad502eb7800cdd851","name":"Acceptance Test - TestAccDataSourceResourceServerByIdentifier","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByIdentifier","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.318333ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fuat.api.terraform-provider-auth0.com%252FTestAccDataSourceResourceServerByIdentifier - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63e650fad502eb7800cdd851","name":"Acceptance Test - TestAccDataSourceResourceServerByIdentifier","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServerByIdentifier","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 147.950792ms - - 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-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63e650fad502eb7800cdd851 - 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: 309.117625ms diff --git a/test/data/recordings/TestAccDataSourceOrganizationByID.yaml b/test/data/recordings/TestAccDataSourceRole.yaml similarity index 57% rename from test/data/recordings/TestAccDataSourceOrganizationByID.yaml rename to test/data/recordings/TestAccDataSourceRole.yaml index b37a3a387..38ef68543 100644 --- a/test/data/recordings/TestAccDataSourceOrganizationByID.yaml +++ b/test/data/recordings/TestAccDataSourceRole.yaml @@ -6,73 +6,73 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 175 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"connection":"Username-Password-Authentication","email":"testaccdatasourceorganizationbyid@auth0.com","username":"testaccdatasourceorganizationbyid","password":"MyPass123$"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles?include_totals=true&name_filter=this-role-does-not-exist&page=0&per_page=100 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 621 - uncompressed: false - body: '{"created_at":"2023-06-20T13:34:23.117Z","email":"testaccdatasourceorganizationbyid@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491aadf508b461afc4f11c6","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyid@auth0.com","nickname":"testaccdatasourceorganizationbyid","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:34:23.117Z","user_id":"auth0|6491aadf508b461afc4f11c6","username":"testaccdatasourceorganizationbyid"}' + content_length: -1 + uncompressed: true + body: '{"roles":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 217.689417ms + status: 200 OK + code: 200 + duration: 100.026583ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 115 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"name":"Role - Acceptance Test - testaccdatasourcerole","identifier":"https://testaccdatasourcerole.matrix.com/"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aadf508b461afc4f11c6 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-20T13:34:23.117Z","email":"testaccdatasourceorganizationbyid@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491aadf508b461afc4f11c6","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyid@auth0.com","nickname":"testaccdatasourceorganizationbyid","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:34:23.117Z","user_id":"auth0|6491aadf508b461afc4f11c6","username":"testaccdatasourceorganizationbyid"}' + content_length: 306 + uncompressed: false + body: '{"id":"64af4980384ccb6ed4d1ea80","name":"Role - Acceptance Test - testaccdatasourcerole","identifier":"https://testaccdatasourcerole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.653167ms + status: 201 Created + code: 201 + duration: 90.872875ms - id: 2 request: proto: HTTP/1.1 @@ -91,8 +91,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aadf508b461afc4f11c6/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4980384ccb6ed4d1ea80 method: GET response: proto: HTTP/2.0 @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64af4980384ccb6ed4d1ea80","name":"Role - Acceptance Test - testaccdatasourcerole","identifier":"https://testaccdatasourcerole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.953917ms + duration: 89.865291ms - id: 3 request: proto: HTTP/1.1 @@ -127,8 +127,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aadf508b461afc4f11c6/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Ftestaccdatasourcerole.matrix.com%2F method: GET response: proto: HTTP/2.0 @@ -138,49 +138,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64af4980384ccb6ed4d1ea80","name":"Role - Acceptance Test - testaccdatasourcerole","identifier":"https://testaccdatasourcerole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.420417ms + duration: 90.182542ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 91 + content_length: 119 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"} + {"scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Ftestaccdatasourcerole.matrix.com%2F + method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 381 - uncompressed: false - body: '{"id":"con_K3DLaCHMvrFtDWiM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyid"]}' + content_length: -1 + uncompressed: true + body: '{"id":"64af4980384ccb6ed4d1ea80","name":"Role - Acceptance Test - testaccdatasourcerole","identifier":"https://testaccdatasourcerole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 220.188541ms + status: 200 OK + code: 200 + duration: 104.454416ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K3DLaCHMvrFtDWiM + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Ftestaccdatasourcerole.matrix.com%2F method: GET response: proto: HTTP/2.0 @@ -210,33 +210,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_K3DLaCHMvrFtDWiM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyid"]}' + body: '{"id":"64af4980384ccb6ed4d1ea80","name":"Role - Acceptance Test - testaccdatasourcerole","identifier":"https://testaccdatasourcerole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.545333ms + duration: 87.332041ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 111 + content_length: 103 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"} + {"name":"The One - Acceptance Test - testaccdatasourcerole","description":"The One - Acceptance Test"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: proto: HTTP/2.0 @@ -244,15 +244,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 138 - uncompressed: false - body: '{"name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid","id":"org_AFbJBtx8EnTO6FfS"}' + content_length: -1 + uncompressed: true + body: '{"id":"rol_sNRQRhR4XUR4d1rf","name":"The One - Acceptance Test - testaccdatasourcerole","description":"The One - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 120.244875ms + status: 200 OK + code: 200 + duration: 105.292417ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf method: GET response: proto: HTTP/2.0 @@ -282,33 +282,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_AFbJBtx8EnTO6FfS","name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"}' + body: '{"id":"rol_sNRQRhR4XUR4d1rf","name":"The One - Acceptance Test - testaccdatasourcerole","description":"The One - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.59375ms + duration: 94.164542ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 76 + content_length: 233 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"connection_id":"con_K3DLaCHMvrFtDWiM","assign_membership_on_login":false} + {"permissions":[{"resource_server_identifier":"https://testaccdatasourcerole.matrix.com/","permission_name":"stop:bullets"},{"resource_server_identifier":"https://testaccdatasourcerole.matrix.com/","permission_name":"bring:peace"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/enabled_connections + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf/permissions method: POST response: proto: HTTP/2.0 @@ -316,15 +316,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 179 + content_length: 2 uncompressed: false - body: '{"connection_id":"con_K3DLaCHMvrFtDWiM","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}' + body: '{}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 132.732333ms + duration: 92.770541ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/enabled_connections/con_K3DLaCHMvrFtDWiM + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -354,49 +354,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"connection_id":"con_K3DLaCHMvrFtDWiM","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}' + body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.052875ms + duration: 106.103583ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 47 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"members":["auth0|6491aadf508b461afc4f11c6"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/members - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles?include_totals=true&name_filter=The+One+-+Acceptance+Test+-+testaccdatasourcerole&page=0&per_page=100 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"roles":[{"id":"rol_sNRQRhR4XUR4d1rf","name":"The One - Acceptance Test - testaccdatasourcerole","description":"The One - Acceptance Test"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 104.449125ms + status: 200 OK + code: 200 + duration: 93.24075ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/members/auth0%7C6491aadf508b461afc4f11c6/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.827709ms + duration: 91.03825ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aadf508b461afc4f11c6 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles?include_totals=true&name_filter=The+One+-+Acceptance+Test+-+testaccdatasourcerole&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:34:23.117Z","email":"testaccdatasourceorganizationbyid@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491aadf508b461afc4f11c6","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyid@auth0.com","nickname":"testaccdatasourceorganizationbyid","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:34:23.117Z","user_id":"auth0|6491aadf508b461afc4f11c6","username":"testaccdatasourceorganizationbyid"}' + body: '{"roles":[{"id":"rol_sNRQRhR4XUR4d1rf","name":"The One - Acceptance Test - testaccdatasourcerole","description":"The One - Acceptance Test"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.11375ms + duration: 100.194125ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aadf508b461afc4f11c6/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.76525ms + duration: 118.330417ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aadf508b461afc4f11c6/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4980384ccb6ed4d1ea80 method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64af4980384ccb6ed4d1ea80","name":"Role - Acceptance Test - testaccdatasourcerole","identifier":"https://testaccdatasourcerole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.190542ms + duration: 91.00725ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K3DLaCHMvrFtDWiM + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Ftestaccdatasourcerole.matrix.com%2F method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_K3DLaCHMvrFtDWiM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyid"]}' + body: '{"id":"64af4980384ccb6ed4d1ea80","name":"Role - Acceptance Test - testaccdatasourcerole","identifier":"https://testaccdatasourcerole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.267375ms + duration: 115.939ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_AFbJBtx8EnTO6FfS","name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"}' + body: '{"id":"rol_sNRQRhR4XUR4d1rf","name":"The One - Acceptance Test - testaccdatasourcerole","description":"The One - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.11375ms + duration: 99.192708ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/enabled_connections/con_K3DLaCHMvrFtDWiM + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"connection_id":"con_K3DLaCHMvrFtDWiM","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}' + body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.627667ms + duration: 101.132583ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/members/auth0%7C6491aadf508b461afc4f11c6/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles?include_totals=true&name_filter=The+One+-+Acceptance+Test+-+testaccdatasourcerole&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_sNRQRhR4XUR4d1rf","name":"The One - Acceptance Test - testaccdatasourcerole","description":"The One - Acceptance Test"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 127.916333ms + duration: 98.34725ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aadf508b461afc4f11c6 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:34:23.117Z","email":"testaccdatasourceorganizationbyid@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491aadf508b461afc4f11c6","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyid@auth0.com","nickname":"testaccdatasourceorganizationbyid","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:34:23.117Z","user_id":"auth0|6491aadf508b461afc4f11c6","username":"testaccdatasourceorganizationbyid"}' + body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.039833ms + duration: 88.475334ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aadf508b461afc4f11c6/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles?include_totals=true&name_filter=The+One+-+Acceptance+Test+-+testaccdatasourcerole&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_sNRQRhR4XUR4d1rf","name":"The One - Acceptance Test - testaccdatasourcerole","description":"The One - Acceptance Test"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.140958ms + duration: 101.076833ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aadf508b461afc4f11c6/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.866375ms + duration: 113.406ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K3DLaCHMvrFtDWiM + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4980384ccb6ed4d1ea80 method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_K3DLaCHMvrFtDWiM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyid"]}' + body: '{"id":"64af4980384ccb6ed4d1ea80","name":"Role - Acceptance Test - testaccdatasourcerole","identifier":"https://testaccdatasourcerole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.426667ms + duration: 85.985583ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Ftestaccdatasourcerole.matrix.com%2F method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_AFbJBtx8EnTO6FfS","name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"}' + body: '{"id":"64af4980384ccb6ed4d1ea80","name":"Role - Acceptance Test - testaccdatasourcerole","identifier":"https://testaccdatasourcerole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.931917ms + duration: 88.879791ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf method: GET response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_AFbJBtx8EnTO6FfS","name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"}' + body: '{"id":"rol_sNRQRhR4XUR4d1rf","name":"The One - Acceptance Test - testaccdatasourcerole","description":"The One - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.7285ms + duration: 91.429917ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/enabled_connections/con_K3DLaCHMvrFtDWiM + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"connection_id":"con_K3DLaCHMvrFtDWiM","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}' + body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.827667ms + duration: 356.771792ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[{"connection_id":"con_K3DLaCHMvrFtDWiM","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' + body: '{"id":"rol_sNRQRhR4XUR4d1rf","name":"The One - Acceptance Test - testaccdatasourcerole","description":"The One - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.001875ms + duration: 185.199958ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/members/auth0%7C6491aadf508b461afc4f11c6/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.185792ms + duration: 101.625458ms - id: 28 request: proto: HTTP/1.1 @@ -1027,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf method: GET response: proto: HTTP/2.0 @@ -1038,13 +1038,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491aadf508b461afc4f11c6","email":"testaccdatasourceorganizationbyid@auth0.com","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyid@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"id":"rol_sNRQRhR4XUR4d1rf","name":"The One - Acceptance Test - testaccdatasourcerole","description":"The One - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.376709ms + duration: 147.164208ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_AFbJBtx8EnTO6FfS","name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"}' + body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.875083ms + duration: 97.818958ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[{"connection_id":"con_K3DLaCHMvrFtDWiM","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' + body: '{"id":"rol_sNRQRhR4XUR4d1rf","name":"The One - Acceptance Test - testaccdatasourcerole","description":"The One - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.733916ms + duration: 90.553458ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1146,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491aadf508b461afc4f11c6","email":"testaccdatasourceorganizationbyid@auth0.com","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyid@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.431833ms + duration: 104.571584ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4980384ccb6ed4d1ea80 method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_AFbJBtx8EnTO6FfS","name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"}' + body: '{"id":"64af4980384ccb6ed4d1ea80","name":"Role - Acceptance Test - testaccdatasourcerole","identifier":"https://testaccdatasourcerole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.721666ms + duration: 194.9195ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Ftestaccdatasourcerole.matrix.com%2F method: GET response: proto: HTTP/2.0 @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[{"connection_id":"con_K3DLaCHMvrFtDWiM","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' + body: '{"id":"64af4980384ccb6ed4d1ea80","name":"Role - Acceptance Test - testaccdatasourcerole","identifier":"https://testaccdatasourcerole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.355375ms + duration: 85.502542ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf method: GET response: proto: HTTP/2.0 @@ -1254,13 +1254,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491aadf508b461afc4f11c6","email":"testaccdatasourceorganizationbyid@auth0.com","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyid@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"id":"rol_sNRQRhR4XUR4d1rf","name":"The One - Acceptance Test - testaccdatasourcerole","description":"The One - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.423458ms + duration: 102.9435ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aadf508b461afc4f11c6 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1290,13 +1290,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:34:23.117Z","email":"testaccdatasourceorganizationbyid@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491aadf508b461afc4f11c6","provider":"auth0","isSocial":false}],"name":"testaccdatasourceorganizationbyid@auth0.com","nickname":"testaccdatasourceorganizationbyid","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:34:23.117Z","user_id":"auth0|6491aadf508b461afc4f11c6","username":"testaccdatasourceorganizationbyid"}' + body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.769708ms + duration: 95.630375ms - id: 36 request: proto: HTTP/1.1 @@ -1315,8 +1315,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aadf508b461afc4f11c6/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf method: GET response: proto: HTTP/2.0 @@ -1326,13 +1326,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_sNRQRhR4XUR4d1rf","name":"The One - Acceptance Test - testaccdatasourcerole","description":"The One - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.63475ms + duration: 99.28075ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aadf508b461afc4f11c6/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.246458ms + duration: 91.938042ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K3DLaCHMvrFtDWiM + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_K3DLaCHMvrFtDWiM","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"good","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","is_domain_connection":false,"enabled_clients":[],"realms":["Acceptance-Test-Connection-testaccdatasourceorganizationbyid"]}' + body: '{"id":"rol_sNRQRhR4XUR4d1rf","name":"The One - Acceptance Test - testaccdatasourcerole","description":"The One - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.013209ms + duration: 87.159375ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1434,106 +1434,106 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_AFbJBtx8EnTO6FfS","name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"}' + body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerole","resource_server_identifier":"https://testaccdatasourcerole.matrix.com/"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.923125ms + duration: 94.446333ms - id: 40 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 233 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://testaccdatasourcerole.matrix.com/","permission_name":"stop:bullets"},{"resource_server_identifier":"https://testaccdatasourcerole.matrix.com/","permission_name":"bring:peace"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/enabled_connections/con_K3DLaCHMvrFtDWiM - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"connection_id":"con_K3DLaCHMvrFtDWiM","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.794708ms + status: 204 No Content + code: 204 + duration: 98.75825ms - id: 41 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 3 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_sNRQRhR4XUR4d1rf + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_AFbJBtx8EnTO6FfS","name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.350916ms + duration: 99.414583ms - id: 42 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 14 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"scopes":[]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/enabled_connections?include_totals=true&page=0&per_page=100 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Ftestaccdatasourcerole.matrix.com%2F + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -1542,335 +1542,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[{"connection_id":"con_K3DLaCHMvrFtDWiM","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' + body: '{"id":"64af4980384ccb6ed4d1ea80","name":"Role - Acceptance Test - testaccdatasourcerole","identifier":"https://testaccdatasourcerole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.721542ms + duration: 339.151666ms - id: 43 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/members/auth0%7C6491aadf508b461afc4f11c6/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.575917ms - - id: 44 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/members?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: '{"members":[{"user_id":"auth0|6491aadf508b461afc4f11c6","email":"testaccdatasourceorganizationbyid@auth0.com","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyid@auth0.com"}],"start":0,"limit":100,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 117.485916ms - - id: 45 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_AFbJBtx8EnTO6FfS","name":"test-testaccdatasourceorganizationbyid","display_name":"Acme Inc. testaccdatasourceorganizationbyid"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 164.540083ms - - id: 46 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/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":[{"connection_id":"con_K3DLaCHMvrFtDWiM","assign_membership_on_login":false,"connection":{"name":"Acceptance-Test-Connection-testaccdatasourceorganizationbyid","strategy":"auth0"}}],"start":0,"limit":1,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.782125ms - - id: 47 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/members?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: '{"members":[{"user_id":"auth0|6491aadf508b461afc4f11c6","email":"testaccdatasourceorganizationbyid@auth0.com","picture":"https://s.gravatar.com/avatar/3ccaa541bd568b8bfffee31e332eb2aa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccdatasourceorganizationbyid@auth0.com"}],"start":0,"limit":100,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.536166ms - - id: 48 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 47 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"members":["auth0|6491aadf508b461afc4f11c6"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/members - 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: 103.53725ms - - id: 49 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS/enabled_connections/con_K3DLaCHMvrFtDWiM - 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: 92.038667ms - - id: 50 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_AFbJBtx8EnTO6FfS - 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: 129.812958ms - - id: 51 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/connections/con_K3DLaCHMvrFtDWiM - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 41 - uncompressed: false - body: '{"deleted_at":"2023-06-20T13:34:30.838Z"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 202 Accepted - code: 202 - duration: 168.037041ms - - id: 52 request: proto: HTTP/1.1 proto_major: 1 @@ -1887,8 +1566,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491aadf508b461afc4f11c6 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4980384ccb6ed4d1ea80 method: DELETE response: proto: HTTP/2.0 @@ -1904,4 +1583,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 252.087ms + duration: 192.608458ms diff --git a/test/data/recordings/TestAccDataSourceRoleByID.yaml b/test/data/recordings/TestAccDataSourceRoleByID.yaml deleted file mode 100644 index 38c702192..000000000 --- a/test/data/recordings/TestAccDataSourceRoleByID.yaml +++ /dev/null @@ -1,686 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 240 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Role - Acceptance Test - testaccdatasourcerolebyid","identifier":"https://testaccdatasourcerolebyid.matrix.com/","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 431 - uncompressed: false - body: '{"id":"63ea39737d9fc714017ffb2a","name":"Role - Acceptance Test - testaccdatasourcerolebyid","identifier":"https://testaccdatasourcerolebyid.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 125.438583ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63ea39737d9fc714017ffb2a - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63ea39737d9fc714017ffb2a","name":"Role - Acceptance Test - testaccdatasourcerolebyid","identifier":"https://testaccdatasourcerolebyid.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.329583ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 107 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"The One - Acceptance Test - testaccdatasourcerolebyid","description":"The One - Acceptance Test"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7wUDpNNFuyz228UF","name":"The One - Acceptance Test - testaccdatasourcerolebyid","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 85.138292ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 241 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://testaccdatasourcerolebyid.matrix.com/","permission_name":"bring:peace"},{"resource_server_identifier":"https://testaccdatasourcerolebyid.matrix.com/","permission_name":"stop:bullets"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7wUDpNNFuyz228UF/permissions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: '{}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 103.499417ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7wUDpNNFuyz228UF - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7wUDpNNFuyz228UF","name":"The One - Acceptance Test - testaccdatasourcerolebyid","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 122.320209ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7wUDpNNFuyz228UF/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerolebyid","resource_server_identifier":"https://testaccdatasourcerolebyid.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerolebyid","resource_server_identifier":"https://testaccdatasourcerolebyid.matrix.com/"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 126.797291ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7wUDpNNFuyz228UF - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7wUDpNNFuyz228UF","name":"The One - Acceptance Test - testaccdatasourcerolebyid","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.69325ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7wUDpNNFuyz228UF/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerolebyid","resource_server_identifier":"https://testaccdatasourcerolebyid.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerolebyid","resource_server_identifier":"https://testaccdatasourcerolebyid.matrix.com/"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.463584ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7wUDpNNFuyz228UF - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7wUDpNNFuyz228UF","name":"The One - Acceptance Test - testaccdatasourcerolebyid","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.238583ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7wUDpNNFuyz228UF/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerolebyid","resource_server_identifier":"https://testaccdatasourcerolebyid.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerolebyid","resource_server_identifier":"https://testaccdatasourcerolebyid.matrix.com/"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 91.438583ms - - 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/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63ea39737d9fc714017ffb2a - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63ea39737d9fc714017ffb2a","name":"Role - Acceptance Test - testaccdatasourcerolebyid","identifier":"https://testaccdatasourcerolebyid.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 90.304834ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7wUDpNNFuyz228UF - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7wUDpNNFuyz228UF","name":"The One - Acceptance Test - testaccdatasourcerolebyid","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.885583ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7wUDpNNFuyz228UF/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerolebyid","resource_server_identifier":"https://testaccdatasourcerolebyid.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerolebyid","resource_server_identifier":"https://testaccdatasourcerolebyid.matrix.com/"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.256041ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7wUDpNNFuyz228UF - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7wUDpNNFuyz228UF","name":"The One - Acceptance Test - testaccdatasourcerolebyid","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 91.937875ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7wUDpNNFuyz228UF/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerolebyid","resource_server_identifier":"https://testaccdatasourcerolebyid.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerolebyid","resource_server_identifier":"https://testaccdatasourcerolebyid.matrix.com/"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.397542ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7wUDpNNFuyz228UF - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7wUDpNNFuyz228UF","name":"The One - Acceptance Test - testaccdatasourcerolebyid","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.707125ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7wUDpNNFuyz228UF/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - testaccdatasourcerolebyid","resource_server_identifier":"https://testaccdatasourcerolebyid.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - testaccdatasourcerolebyid","resource_server_identifier":"https://testaccdatasourcerolebyid.matrix.com/"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.490666ms - - id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 3 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7wUDpNNFuyz228UF - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: '{}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.8435ms - - 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-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63ea39737d9fc714017ffb2a - 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: 185.182334ms diff --git a/test/data/recordings/TestAccDataSourceRoleByName.yaml b/test/data/recordings/TestAccDataSourceRoleByName.yaml deleted file mode 100644 index bd6858de5..000000000 --- a/test/data/recordings/TestAccDataSourceRoleByName.yaml +++ /dev/null @@ -1,830 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - 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":"Role - Acceptance Test - TestAccDataSourceRoleByName","identifier":"https://TestAccDataSourceRoleByName.matrix.com/","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 435 - uncompressed: false - body: '{"id":"63ea398216352a1bd3f2ec4d","name":"Role - Acceptance Test - TestAccDataSourceRoleByName","identifier":"https://TestAccDataSourceRoleByName.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 103.618084ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63ea398216352a1bd3f2ec4d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63ea398216352a1bd3f2ec4d","name":"Role - Acceptance Test - TestAccDataSourceRoleByName","identifier":"https://TestAccDataSourceRoleByName.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.741917ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 109 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"The One - Acceptance Test - TestAccDataSourceRoleByName","description":"The One - Acceptance Test"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_e31v4GoHwSuDHb2x","name":"The One - Acceptance Test - TestAccDataSourceRoleByName","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.570625ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 245 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://TestAccDataSourceRoleByName.matrix.com/","permission_name":"bring:peace"},{"resource_server_identifier":"https://TestAccDataSourceRoleByName.matrix.com/","permission_name":"stop:bullets"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_e31v4GoHwSuDHb2x/permissions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: '{}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 100.62325ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_e31v4GoHwSuDHb2x - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_e31v4GoHwSuDHb2x","name":"The One - Acceptance Test - TestAccDataSourceRoleByName","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 89.729916ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_e31v4GoHwSuDHb2x/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - TestAccDataSourceRoleByName","resource_server_identifier":"https://TestAccDataSourceRoleByName.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - TestAccDataSourceRoleByName","resource_server_identifier":"https://TestAccDataSourceRoleByName.matrix.com/"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 108.100875ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles?include_totals=true&name_filter=The+One+-+Acceptance+Test+-+TestAccDataSourceRoleByName&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: '{"roles":[{"id":"rol_e31v4GoHwSuDHb2x","name":"The One - Acceptance Test - TestAccDataSourceRoleByName","description":"The One - Acceptance Test"}],"start":0,"limit":100,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 107.435208ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_e31v4GoHwSuDHb2x - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_e31v4GoHwSuDHb2x","name":"The One - Acceptance Test - TestAccDataSourceRoleByName","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 88.861708ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_e31v4GoHwSuDHb2x/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - TestAccDataSourceRoleByName","resource_server_identifier":"https://TestAccDataSourceRoleByName.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - TestAccDataSourceRoleByName","resource_server_identifier":"https://TestAccDataSourceRoleByName.matrix.com/"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.717416ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles?include_totals=true&name_filter=The+One+-+Acceptance+Test+-+TestAccDataSourceRoleByName&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: '{"roles":[{"id":"rol_e31v4GoHwSuDHb2x","name":"The One - Acceptance Test - TestAccDataSourceRoleByName","description":"The One - Acceptance Test"}],"start":0,"limit":100,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.83075ms - - 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/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_e31v4GoHwSuDHb2x - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_e31v4GoHwSuDHb2x","name":"The One - Acceptance Test - TestAccDataSourceRoleByName","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.140333ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_e31v4GoHwSuDHb2x/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - TestAccDataSourceRoleByName","resource_server_identifier":"https://TestAccDataSourceRoleByName.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - TestAccDataSourceRoleByName","resource_server_identifier":"https://TestAccDataSourceRoleByName.matrix.com/"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.143833ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63ea398216352a1bd3f2ec4d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63ea398216352a1bd3f2ec4d","name":"Role - Acceptance Test - TestAccDataSourceRoleByName","identifier":"https://TestAccDataSourceRoleByName.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 169.192292ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_e31v4GoHwSuDHb2x - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_e31v4GoHwSuDHb2x","name":"The One - Acceptance Test - TestAccDataSourceRoleByName","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 145.653833ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_e31v4GoHwSuDHb2x/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - TestAccDataSourceRoleByName","resource_server_identifier":"https://TestAccDataSourceRoleByName.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - TestAccDataSourceRoleByName","resource_server_identifier":"https://TestAccDataSourceRoleByName.matrix.com/"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.294958ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles?include_totals=true&name_filter=The+One+-+Acceptance+Test+-+TestAccDataSourceRoleByName&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: '{"roles":[{"id":"rol_e31v4GoHwSuDHb2x","name":"The One - Acceptance Test - TestAccDataSourceRoleByName","description":"The One - Acceptance Test"}],"start":0,"limit":100,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.775ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_e31v4GoHwSuDHb2x - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_e31v4GoHwSuDHb2x","name":"The One - Acceptance Test - TestAccDataSourceRoleByName","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.698125ms - - id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_e31v4GoHwSuDHb2x/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - TestAccDataSourceRoleByName","resource_server_identifier":"https://TestAccDataSourceRoleByName.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - TestAccDataSourceRoleByName","resource_server_identifier":"https://TestAccDataSourceRoleByName.matrix.com/"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 132.76425ms - - id: 18 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles?include_totals=true&name_filter=The+One+-+Acceptance+Test+-+TestAccDataSourceRoleByName&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: '{"roles":[{"id":"rol_e31v4GoHwSuDHb2x","name":"The One - Acceptance Test - TestAccDataSourceRoleByName","description":"The One - Acceptance Test"}],"start":0,"limit":100,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.298583ms - - id: 19 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_e31v4GoHwSuDHb2x - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_e31v4GoHwSuDHb2x","name":"The One - Acceptance Test - TestAccDataSourceRoleByName","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.956542ms - - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_e31v4GoHwSuDHb2x/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - TestAccDataSourceRoleByName","resource_server_identifier":"https://TestAccDataSourceRoleByName.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - TestAccDataSourceRoleByName","resource_server_identifier":"https://TestAccDataSourceRoleByName.matrix.com/"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.855584ms - - id: 21 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 3 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_e31v4GoHwSuDHb2x - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: '{}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.338708ms - - id: 22 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.15.1 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63ea398216352a1bd3f2ec4d - 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: 161.7845ms diff --git a/test/data/recordings/TestAccDataSourceUser.yaml b/test/data/recordings/TestAccDataSourceUser.yaml index a92787c21..d65da3062 100644 --- a/test/data/recordings/TestAccDataSourceUser.yaml +++ b/test/data/recordings/TestAccDataSourceUser.yaml @@ -2,6 +2,222 @@ version: 2 interactions: - id: 0 + 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Cthis-user-id-does-not-exist + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"statusCode":404,"error":"Not Found","message":"The user does not exist.","errorCode":"inexistent_user"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 404 Not Found + code: 404 + duration: 110.256208ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 145 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","scopes":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 336 + uncompressed: false + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 111.886ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad56d033b8a3b2d6f030cc + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 99.224958ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccdatasourceuser + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 155.4405ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccdatasourceuser + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 110.790208ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccdatasourceuser + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 94.488917ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -19,7 +235,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -30,14 +246,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}' + body: '{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.249875ms - - id: 1 + duration: 103.854708ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -55,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EV2cCPua0lA9NHML + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ErEXdPRseKxfTUdl method: GET response: proto: HTTP/2.0 @@ -66,14 +282,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}' + body: '{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.05225ms - - id: 2 + duration: 94.339375ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -91,8 +307,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EV2cCPua0lA9NHML/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ErEXdPRseKxfTUdl/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -108,8 +324,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.979583ms - - id: 3 + duration: 99.333958ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -127,7 +343,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -138,14 +354,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"}' + body: '{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.870791ms - - id: 4 + duration: 160.449667ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -163,8 +379,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_bq4c52gV3gH41ZoS + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_bEofgIaLEp8cY3mm method: GET response: proto: HTTP/2.0 @@ -174,14 +390,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"}' + body: '{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.251666ms - - id: 5 + duration: 92.342958ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -199,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_bq4c52gV3gH41ZoS/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_bEofgIaLEp8cY3mm/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -216,8 +432,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.07725ms - - id: 6 + duration: 101.981625ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -235,7 +451,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -246,14 +462,122 @@ interactions: trailer: {} content_length: 610 uncompressed: false - body: '{"created_at":"2023-06-20T13:36:08.682Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-20T13:36:08.682Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"created_at":"2023-07-11T13:19:13.878Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T13:19:13.878Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 228.176375ms - - id: 7 + duration: 305.033917ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-11T13:19:13.878Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T13:19:13.878Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 102.283708ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 278 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","permission_name":"create:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","permission_name":"read:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 2 + uncompressed: false + body: '{}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 121.93725ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 117.695084ms + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -265,13 +589,13 @@ interactions: remote_addr: "" request_uri: "" body: | - {"roles":["rol_bq4c52gV3gH41ZoS","rol_EV2cCPua0lA9NHML"]} + {"roles":["rol_ErEXdPRseKxfTUdl","rol_bEofgIaLEp8cY3mm"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles method: POST response: @@ -288,8 +612,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 109.741458ms - - id: 8 + duration: 131.771375ms + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -307,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -318,14 +642,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:08.682Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-20T13:36:08.682Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"roles":[{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.676291ms - - id: 9 + duration: 144.674417ms + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -343,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser method: GET response: proto: HTTP/2.0 @@ -354,14 +678,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T13:19:13.878Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T13:19:13.878Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.780375ms - - id: 10 + duration: 136.310209ms + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -379,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -390,14 +714,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 149.133833ms - - id: 11 + duration: 110.571458ms + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -415,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -426,14 +750,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:08.682Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-20T13:36:08.682Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.377709ms - - id: 12 + duration: 102.272ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -451,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser method: GET response: proto: HTTP/2.0 @@ -462,14 +786,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T13:19:13.878Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T13:19:13.878Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 133.908958ms - - id: 13 + duration: 106.569375ms + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -487,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -498,14 +822,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 133.891333ms - - id: 14 + duration: 103.569541ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -523,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -534,14 +858,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:08.682Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-20T13:36:08.682Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.250333ms - - id: 15 + duration: 100.756084ms + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -559,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad56d033b8a3b2d6f030cc method: GET response: proto: HTTP/2.0 @@ -570,14 +894,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.390417ms - - id: 16 + duration: 96.918459ms + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -595,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccdatasourceuser method: GET response: proto: HTTP/2.0 @@ -606,14 +930,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 151.825125ms - - id: 17 + duration: 91.028208ms + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -631,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EV2cCPua0lA9NHML + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ErEXdPRseKxfTUdl method: GET response: proto: HTTP/2.0 @@ -642,14 +966,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}' + body: '{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.760917ms - - id: 18 + duration: 97.91775ms + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -667,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EV2cCPua0lA9NHML/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ErEXdPRseKxfTUdl/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -684,8 +1008,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 134.023208ms - - id: 19 + duration: 108.6985ms + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -703,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_bq4c52gV3gH41ZoS + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_bEofgIaLEp8cY3mm method: GET response: proto: HTTP/2.0 @@ -714,14 +1038,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"}' + body: '{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.733708ms - - id: 20 + duration: 117.150584ms + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -739,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_bq4c52gV3gH41ZoS/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_bEofgIaLEp8cY3mm/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -756,8 +1080,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.505583ms - - id: 21 + duration: 112.708208ms + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -775,7 +1099,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser method: GET response: @@ -786,14 +1110,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:08.682Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-20T13:36:08.682Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"created_at":"2023-07-11T13:19:13.878Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T13:19:13.878Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.218167ms - - id: 22 + duration: 105.960083ms + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -811,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -822,14 +1146,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.974917ms - - id: 23 + duration: 109.967875ms + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -847,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -858,14 +1182,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.564667ms - - id: 24 + duration: 110.721791ms + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -883,7 +1207,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser method: GET response: @@ -894,14 +1218,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:08.682Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-20T13:36:08.682Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"created_at":"2023-07-11T13:19:13.878Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T13:19:13.878Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.751ms - - id: 25 + duration: 109.011375ms + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -919,7 +1243,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 method: GET response: @@ -930,14 +1254,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.11925ms - - id: 26 + duration: 170.138417ms + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -955,7 +1279,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 method: GET response: @@ -966,14 +1290,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.949958ms - - id: 27 + duration: 110.603875ms + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -991,7 +1315,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser method: GET response: @@ -1002,14 +1326,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:08.682Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-20T13:36:08.682Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"created_at":"2023-07-11T13:19:13.878Z","email":"testaccdatasourceuser@acceptance.test.com","email_verified":false,"family_name":"Lastname","given_name":"Firstname","identities":[{"user_id":"testaccdatasourceuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccdatasourceuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T13:19:13.878Z","user_id":"auth0|testaccdatasourceuser","user_metadata":{"baz":"qux","foo":"bar"},"username":"testaccdatasourceuser","app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.990209ms - - id: 28 + duration: 92.526334ms + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -1027,7 +1351,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles?include_totals=true&per_page=50 method: GET response: @@ -1038,14 +1362,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_bq4c52gV3gH41ZoS","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_EV2cCPua0lA9NHML","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_bEofgIaLEp8cY3mm","name":"Test Admin testaccdatasourceuser","description":"Administrator testaccdatasourceuser"},{"id":"rol_ErEXdPRseKxfTUdl","name":"Test Owner testaccdatasourceuser","description":"Owner testaccdatasourceuser"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.886792ms - - id: 29 + duration: 100.974084ms + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -1063,7 +1387,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions?include_totals=true&per_page=50 method: GET response: @@ -1074,14 +1398,86 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccdatasourceuser","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.95425ms - - id: 30 + duration: 112.204125ms + - id: 39 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 58 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"roles":["rol_ErEXdPRseKxfTUdl","rol_bEofgIaLEp8cY3mm"]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/roles + 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: 101.14225ms + - id: 40 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 278 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","permission_name":"create:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","permission_name":"read:foo"}]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser/permissions + 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: 101.313667ms + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -1098,7 +1494,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccdatasourceuser method: DELETE response: @@ -1115,8 +1511,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 373.449833ms - - id: 31 + duration: 326.154333ms + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,8 +1530,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_bq4c52gV3gH41ZoS + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_bEofgIaLEp8cY3mm method: DELETE response: proto: HTTP/2.0 @@ -1151,8 +1547,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.77825ms - - id: 32 + duration: 134.075667ms + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -1170,8 +1566,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EV2cCPua0lA9NHML + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ErEXdPRseKxfTUdl method: DELETE response: proto: HTTP/2.0 @@ -1187,4 +1583,75 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.92375ms + duration: 98.964ms + - id: 44 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 14 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"scopes":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccdatasourceuser + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64ad56d033b8a3b2d6f030cc","name":"Acceptance Test - testaccdatasourceuser","identifier":"https://uat.api.terraform-provider-auth0.com/testaccdatasourceuser","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 196.227875ms + - id: 45 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad56d033b8a3b2d6f030cc + 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: 167.046875ms diff --git a/test/data/recordings/TestAccOrganizationMember.yaml b/test/data/recordings/TestAccOrganizationMember.yaml index c936b4a15..201419eb5 100644 --- a/test/data/recordings/TestAccOrganizationMember.yaml +++ b/test/data/recordings/TestAccOrganizationMember.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: 594 uncompressed: false - body: '{"created_at":"2023-06-20T13:36:33.846Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab61b9a8a80a47e57736","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:33.846Z","user_id":"auth0|6491ab61b9a8a80a47e57736","username":"testaccorganizationmember11"}' + body: '{"created_at":"2023-07-13T17:34:44.164Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b488430795f236bfdd","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.164Z","user_id":"auth0|64b035b488430795f236bfdd","username":"testaccorganizationmember11"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 222.302333ms + duration: 289.141208ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b488430795f236bfdd method: GET response: proto: HTTP/2.0 @@ -66,49 +66,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:33.846Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab61b9a8a80a47e57736","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:33.846Z","user_id":"auth0|6491ab61b9a8a80a47e57736","username":"testaccorganizationmember11"}' + body: '{"created_at":"2023-07-13T17:34:44.164Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b488430795f236bfdd","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.164Z","user_id":"auth0|64b035b488430795f236bfdd","username":"testaccorganizationmember11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.379666ms + duration: 167.899542ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 162 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"connection":"Username-Password-Authentication","email":"testaccorganizationmember2@auth0.com","username":"testaccorganizationmember22","password":"MyPass123$"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 594 + uncompressed: false + body: '{"created_at":"2023-07-13T17:34:44.613Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b4d97f02a515f94571","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.613Z","user_id":"auth0|64b035b4d97f02a515f94571","username":"testaccorganizationmember22"}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 152.008542ms + status: 201 Created + code: 201 + duration: 300.462125ms - id: 3 request: proto: HTTP/1.1 @@ -127,8 +127,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b4d97f02a515f94571 method: GET response: proto: HTTP/2.0 @@ -138,33 +138,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:34:44.613Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b4d97f02a515f94571","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.613Z","user_id":"auth0|64b035b4d97f02a515f94571","username":"testaccorganizationmember22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 140.655ms + duration: 112.234708ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 162 + content_length: 89 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"connection":"Username-Password-Authentication","email":"testaccorganizationmember2@auth0.com","username":"testaccorganizationmember22","password":"MyPass123$"} + {"name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations method: POST response: proto: HTTP/2.0 @@ -172,15 +172,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 594 + content_length: 116 uncompressed: false - body: '{"created_at":"2023-06-20T13:36:34.451Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab6265dc1ff60fd41a48","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:34.451Z","user_id":"auth0|6491ab6265dc1ff60fd41a48","username":"testaccorganizationmember22"}' + body: '{"name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember","id":"org_qFN6rm3B5X5GZQ1R"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 208.78575ms + duration: 145.214792ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -210,49 +210,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:34.451Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab6265dc1ff60fd41a48","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:34.451Z","user_id":"auth0|6491ab6265dc1ff60fd41a48","username":"testaccorganizationmember22"}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.922125ms + duration: 149.401916ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b035b488430795f236bfdd"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 87.379417ms + status: 204 No Content + code: 204 + duration: 111.053417ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -282,49 +282,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.8325ms + duration: 114.178583ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 89 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 116 - uncompressed: false - body: '{"name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember","id":"org_I6Iewy53owoIxGC0"}' + content_length: -1 + uncompressed: true + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 149.90675ms + status: 200 OK + code: 200 + duration: 97.726625ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -354,49 +354,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.75ms + duration: 93.95675ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 47 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"members":["auth0|6491ab61b9a8a80a47e57736"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?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: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"members":[{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 107.296375ms + status: 200 OK + code: 200 + duration: 213.436167ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.726167ms + duration: 100.797875ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 143.030084ms + duration: 208.392959ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 143.990125ms + duration: 118.760875ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b488430795f236bfdd method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"created_at":"2023-07-13T17:34:44.164Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b488430795f236bfdd","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.164Z","user_id":"auth0|64b035b488430795f236bfdd","username":"testaccorganizationmember11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.616417ms + duration: 103.702042ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b4d97f02a515f94571 method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"created_at":"2023-07-13T17:34:44.613Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b4d97f02a515f94571","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.613Z","user_id":"auth0|64b035b4d97f02a515f94571","username":"testaccorganizationmember22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.741042ms + duration: 101.531333ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.065ms + duration: 93.385375ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"members":[{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.777333ms + duration: 159.100583ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:33.846Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab61b9a8a80a47e57736","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:33.846Z","user_id":"auth0|6491ab61b9a8a80a47e57736","username":"testaccorganizationmember11"}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.854375ms + duration: 94.33125ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.042666ms + duration: 110.278375ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.011083ms + duration: 105.351459ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:34.451Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab6265dc1ff60fd41a48","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:34.451Z","user_id":"auth0|6491ab6265dc1ff60fd41a48","username":"testaccorganizationmember22"}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.289334ms + duration: 129.910667ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.299125ms + duration: 98.013792ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.378291ms + duration: 118.93525ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b488430795f236bfdd method: GET response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"created_at":"2023-07-13T17:34:44.164Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b488430795f236bfdd","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.164Z","user_id":"auth0|64b035b488430795f236bfdd","username":"testaccorganizationmember11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.890459ms + duration: 139.523125ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b4d97f02a515f94571 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:34:44.613Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b4d97f02a515f94571","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.613Z","user_id":"auth0|64b035b4d97f02a515f94571","username":"testaccorganizationmember22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.550834ms + duration: 101.498625ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.523792ms + duration: 104.231042ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1002,49 +1002,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.193292ms + duration: 106.886625ms - id: 28 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b035b4d97f02a515f94571"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&page=0&per_page=100 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"members":[{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":1}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.117208ms + status: 204 No Content + code: 204 + duration: 173.998917ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.745709ms + duration: 109.387459ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.54775ms + duration: 212.067667ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1146,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.115625ms + duration: 97.845042ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:33.846Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab61b9a8a80a47e57736","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:33.846Z","user_id":"auth0|6491ab61b9a8a80a47e57736","username":"testaccorganizationmember11"}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.723708ms + duration: 103.7575ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.364166ms + duration: 92.016166ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1254,13 +1254,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.539333ms + duration: 93.152208ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1290,13 +1290,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:34.451Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab6265dc1ff60fd41a48","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:34.451Z","user_id":"auth0|6491ab6265dc1ff60fd41a48","username":"testaccorganizationmember22"}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.743375ms + duration: 93.722875ms - id: 36 request: proto: HTTP/1.1 @@ -1315,8 +1315,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b488430795f236bfdd method: GET response: proto: HTTP/2.0 @@ -1326,13 +1326,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:34:44.164Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b488430795f236bfdd","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.164Z","user_id":"auth0|64b035b488430795f236bfdd","username":"testaccorganizationmember11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.193583ms + duration: 91.998792ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b4d97f02a515f94571 method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:34:44.613Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b4d97f02a515f94571","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.613Z","user_id":"auth0|64b035b4d97f02a515f94571","username":"testaccorganizationmember22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.629625ms + duration: 349.036667ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.986ms + duration: 107.823375ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1434,49 +1434,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.826792ms + duration: 112.385334ms - id: 40 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 47 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"members":["auth0|6491ab6265dc1ff60fd41a48"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 98.710375ms + status: 200 OK + code: 200 + duration: 101.411833ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.246041ms + duration: 99.237416ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.663375ms + duration: 124.943625ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.571833ms + duration: 130.70825ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.867208ms + duration: 110.334875ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.791167ms + duration: 105.744959ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 186.720584ms + duration: 105.310042ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b488430795f236bfdd method: GET response: proto: HTTP/2.0 @@ -1722,13 +1722,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' + body: '{"created_at":"2023-07-13T17:34:44.164Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b488430795f236bfdd","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.164Z","user_id":"auth0|64b035b488430795f236bfdd","username":"testaccorganizationmember11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.010666ms + duration: 94.196375ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1758,13 +1758,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:33.846Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab61b9a8a80a47e57736","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:33.846Z","user_id":"auth0|6491ab61b9a8a80a47e57736","username":"testaccorganizationmember11"}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.955875ms + duration: 106.285667ms - id: 49 request: proto: HTTP/1.1 @@ -1783,8 +1783,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.079208ms + duration: 111.037792ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b4d97f02a515f94571 method: GET response: proto: HTTP/2.0 @@ -1830,13 +1830,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:34:44.613Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b4d97f02a515f94571","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.613Z","user_id":"auth0|64b035b4d97f02a515f94571","username":"testaccorganizationmember22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.031542ms + duration: 108.221334ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:34.451Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab6265dc1ff60fd41a48","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:34.451Z","user_id":"auth0|6491ab6265dc1ff60fd41a48","username":"testaccorganizationmember22"}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.862167ms + duration: 93.185084ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.162792ms + duration: 761.663333ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.85775ms + duration: 157.401417ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1974,13 +1974,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.215084ms + duration: 112.955666ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.576042ms + duration: 100.128042ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.28425ms + duration: 122.039292ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2082,85 +2082,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.58275ms + duration: 125.512709ms - id: 58 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b035b4d97f02a515f94571"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/enabled_connections?include_totals=true&page=0&per_page=100 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members + method: DELETE 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}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.957834ms + status: 204 No Content + code: 204 + duration: 114.875666ms - id: 59 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b035b488430795f236bfdd"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&page=0&per_page=100 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.181959ms + status: 204 No Content + code: 204 + duration: 89.169583ms - id: 60 request: proto: HTTP/1.1 @@ -2179,8 +2179,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -2190,13 +2190,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 127.234375ms + duration: 96.2155ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2232,7 +2232,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.010417ms + duration: 146.429917ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.135833ms + duration: 115.396916ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b488430795f236bfdd method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:33.846Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab61b9a8a80a47e57736","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:33.846Z","user_id":"auth0|6491ab61b9a8a80a47e57736","username":"testaccorganizationmember11"}' + body: '{"created_at":"2023-07-13T17:34:44.164Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b488430795f236bfdd","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.164Z","user_id":"auth0|64b035b488430795f236bfdd","username":"testaccorganizationmember11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.826708ms + duration: 94.937791ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b4d97f02a515f94571 method: GET response: proto: HTTP/2.0 @@ -2334,13 +2334,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:34:44.613Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b4d97f02a515f94571","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.613Z","user_id":"auth0|64b035b4d97f02a515f94571","username":"testaccorganizationmember22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.130667ms + duration: 107.86125ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -2370,13 +2370,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.305625ms + duration: 1.640587875s - id: 66 request: proto: HTTP/1.1 @@ -2395,8 +2395,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -2406,13 +2406,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.514333ms + duration: 113.0825ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2442,13 +2442,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.628667ms + duration: 110.3605ms - id: 68 request: proto: HTTP/1.1 @@ -2467,8 +2467,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2478,13 +2478,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:34.451Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab6265dc1ff60fd41a48","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:34.451Z","user_id":"auth0|6491ab6265dc1ff60fd41a48","username":"testaccorganizationmember22"}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.154959ms + duration: 106.37ms - id: 69 request: proto: HTTP/1.1 @@ -2503,8 +2503,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -2514,13 +2514,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.883625ms + duration: 112.053375ms - id: 70 request: proto: HTTP/1.1 @@ -2539,8 +2539,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2550,13 +2550,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.705542ms + duration: 101.745667ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2586,13 +2586,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.213708ms + duration: 156.64875ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b488430795f236bfdd method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"created_at":"2023-07-13T17:34:44.164Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b488430795f236bfdd","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.164Z","user_id":"auth0|64b035b488430795f236bfdd","username":"testaccorganizationmember11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.787958ms + duration: 146.33675ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b4d97f02a515f94571 method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"created_at":"2023-07-13T17:34:44.613Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b4d97f02a515f94571","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.613Z","user_id":"auth0|64b035b4d97f02a515f94571","username":"testaccorganizationmember22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.889875ms + duration: 114.68875ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.900959ms + duration: 101.054667ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.6145ms + duration: 94.489792ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2772,7 +2772,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.396667ms + duration: 96.2325ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2802,85 +2802,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.41075ms + duration: 101.97375ms - id: 78 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 47 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"members":["auth0|6491ab6265dc1ff60fd41a48"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 99.500375ms + status: 200 OK + code: 200 + duration: 113.204292ms - id: 79 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 47 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"members":["auth0|6491ab61b9a8a80a47e57736"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/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: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 101.554625ms + status: 200 OK + code: 200 + duration: 102.18375ms - id: 80 request: proto: HTTP/1.1 @@ -2899,8 +2899,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2910,13 +2910,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.360041ms + duration: 130.281625ms - id: 81 request: proto: HTTP/1.1 @@ -2935,8 +2935,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b488430795f236bfdd method: GET response: proto: HTTP/2.0 @@ -2946,13 +2946,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"created_at":"2023-07-13T17:34:44.164Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b488430795f236bfdd","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.164Z","user_id":"auth0|64b035b488430795f236bfdd","username":"testaccorganizationmember11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.806958ms + duration: 90.310375ms - id: 82 request: proto: HTTP/1.1 @@ -2971,8 +2971,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b4d97f02a515f94571 method: GET response: proto: HTTP/2.0 @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[],"start":0,"limit":100,"total":0}' + body: '{"created_at":"2023-07-13T17:34:44.613Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b4d97f02a515f94571","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.613Z","user_id":"auth0|64b035b4d97f02a515f94571","username":"testaccorganizationmember22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.606959ms + duration: 104.209917ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:33.846Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab61b9a8a80a47e57736","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:33.846Z","user_id":"auth0|6491ab61b9a8a80a47e57736","username":"testaccorganizationmember11"}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.204625ms + duration: 97.4365ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3054,49 +3054,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.803042ms + duration: 123.261ms - id: 85 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 80 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b035b488430795f236bfdd","auth0|64b035b4d97f02a515f94571"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.854125ms + status: 204 No Content + code: 204 + duration: 115.183917ms - id: 86 request: proto: HTTP/1.1 @@ -3115,8 +3115,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3126,13 +3126,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:34.451Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab6265dc1ff60fd41a48","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:34.451Z","user_id":"auth0|6491ab6265dc1ff60fd41a48","username":"testaccorganizationmember22"}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.70475ms + duration: 815.356583ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b488430795f236bfdd method: GET response: proto: HTTP/2.0 @@ -3162,13 +3162,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:34:44.164Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b488430795f236bfdd","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.164Z","user_id":"auth0|64b035b488430795f236bfdd","username":"testaccorganizationmember11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.805708ms + duration: 104.751917ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b4d97f02a515f94571 method: GET response: proto: HTTP/2.0 @@ -3198,13 +3198,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:34:44.613Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b4d97f02a515f94571","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.613Z","user_id":"auth0|64b035b4d97f02a515f94571","username":"testaccorganizationmember22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.559959ms + duration: 101.354542ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -3234,13 +3234,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.171834ms + duration: 163.934292ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.137959ms + duration: 111.476417ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3306,13 +3306,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.376917ms + duration: 109.41425ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -3342,13 +3342,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[],"start":0,"limit":100,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.11275ms + duration: 87.873ms - id: 93 request: proto: HTTP/1.1 @@ -3367,8 +3367,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3378,13 +3378,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.756917ms + duration: 97.556667ms - id: 94 request: proto: HTTP/1.1 @@ -3403,8 +3403,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3414,13 +3414,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.271875ms + duration: 123.538459ms - id: 95 request: proto: HTTP/1.1 @@ -3439,8 +3439,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -3450,13 +3450,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[],"start":0,"limit":100,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.158708ms + duration: 130.549166ms - id: 96 request: proto: HTTP/1.1 @@ -3475,8 +3475,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3486,13 +3486,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:33.846Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab61b9a8a80a47e57736","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:33.846Z","user_id":"auth0|6491ab61b9a8a80a47e57736","username":"testaccorganizationmember11"}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.100417ms + duration: 134.166875ms - id: 97 request: proto: HTTP/1.1 @@ -3511,8 +3511,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3522,13 +3522,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 252.113458ms + duration: 119.287875ms - id: 98 request: proto: HTTP/1.1 @@ -3547,8 +3547,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3558,13 +3558,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.366209ms + duration: 105.746416ms - id: 99 request: proto: HTTP/1.1 @@ -3583,8 +3583,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b488430795f236bfdd method: GET response: proto: HTTP/2.0 @@ -3594,13 +3594,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:34.451Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab6265dc1ff60fd41a48","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:34.451Z","user_id":"auth0|6491ab6265dc1ff60fd41a48","username":"testaccorganizationmember22"}' + body: '{"created_at":"2023-07-13T17:34:44.164Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b488430795f236bfdd","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.164Z","user_id":"auth0|64b035b488430795f236bfdd","username":"testaccorganizationmember11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.876ms + duration: 98.297542ms - id: 100 request: proto: HTTP/1.1 @@ -3619,8 +3619,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b4d97f02a515f94571 method: GET response: proto: HTTP/2.0 @@ -3630,13 +3630,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:34:44.613Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b4d97f02a515f94571","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.613Z","user_id":"auth0|64b035b4d97f02a515f94571","username":"testaccorganizationmember22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.886375ms + duration: 143.999917ms - id: 101 request: proto: HTTP/1.1 @@ -3655,8 +3655,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -3666,13 +3666,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.422416ms + duration: 96.113084ms - id: 102 request: proto: HTTP/1.1 @@ -3691,8 +3691,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3702,13 +3702,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.290333ms + duration: 107.579708ms - id: 103 request: proto: HTTP/1.1 @@ -3727,8 +3727,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3738,13 +3738,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 193.403166ms + duration: 149.405375ms - id: 104 request: proto: HTTP/1.1 @@ -3763,8 +3763,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -3774,13 +3774,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.434708ms + duration: 111.702583ms - id: 105 request: proto: HTTP/1.1 @@ -3799,8 +3799,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3810,13 +3810,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[],"start":0,"limit":100,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.670791ms + duration: 120.131208ms - id: 106 request: proto: HTTP/1.1 @@ -3835,8 +3835,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3846,13 +3846,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 146.092291ms + duration: 106.768458ms - id: 107 request: proto: HTTP/1.1 @@ -3871,8 +3871,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3882,13 +3882,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.120208ms + duration: 107.482125ms - id: 108 request: proto: HTTP/1.1 @@ -3907,8 +3907,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -3918,13 +3918,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[],"start":0,"limit":100,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.884458ms + duration: 104.705209ms - id: 109 request: proto: HTTP/1.1 @@ -3943,8 +3943,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3954,13 +3954,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:33.846Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab61b9a8a80a47e57736","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:33.846Z","user_id":"auth0|6491ab61b9a8a80a47e57736","username":"testaccorganizationmember11"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.869375ms + duration: 107.649792ms - id: 110 request: proto: HTTP/1.1 @@ -3979,8 +3979,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3990,13 +3990,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.858417ms + duration: 102.188041ms - id: 111 request: proto: HTTP/1.1 @@ -4015,8 +4015,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -4026,13 +4026,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.237375ms + duration: 97.141125ms - id: 112 request: proto: HTTP/1.1 @@ -4051,8 +4051,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4062,13 +4062,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:34.451Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab6265dc1ff60fd41a48","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:34.451Z","user_id":"auth0|6491ab6265dc1ff60fd41a48","username":"testaccorganizationmember22"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.845625ms + duration: 94.679958ms - id: 113 request: proto: HTTP/1.1 @@ -4087,8 +4087,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4098,13 +4098,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 152.985916ms + duration: 195.958167ms - id: 114 request: proto: HTTP/1.1 @@ -4123,8 +4123,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b488430795f236bfdd method: GET response: proto: HTTP/2.0 @@ -4134,13 +4134,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:34:44.164Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b488430795f236bfdd","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.164Z","user_id":"auth0|64b035b488430795f236bfdd","username":"testaccorganizationmember11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.195708ms + duration: 97.689708ms - id: 115 request: proto: HTTP/1.1 @@ -4159,8 +4159,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b4d97f02a515f94571 method: GET response: proto: HTTP/2.0 @@ -4170,13 +4170,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"created_at":"2023-07-13T17:34:44.613Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035b4d97f02a515f94571","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:34:44.613Z","user_id":"auth0|64b035b4d97f02a515f94571","username":"testaccorganizationmember22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.827916ms + duration: 93.156792ms - id: 116 request: proto: HTTP/1.1 @@ -4195,8 +4195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -4206,49 +4206,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.63075ms + duration: 102.545834ms - id: 117 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 80 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"members":["auth0|6491ab61b9a8a80a47e57736","auth0|6491ab6265dc1ff60fd41a48"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 116.413875ms + status: 200 OK + code: 200 + duration: 107.123917ms - id: 118 request: proto: HTTP/1.1 @@ -4267,8 +4267,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4278,13 +4278,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 148.632083ms + duration: 101.4095ms - id: 119 request: proto: HTTP/1.1 @@ -4303,8 +4303,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -4314,13 +4314,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:33.846Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab61b9a8a80a47e57736","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:33.846Z","user_id":"auth0|6491ab61b9a8a80a47e57736","username":"testaccorganizationmember11"}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.923ms + duration: 94.272166ms - id: 120 request: proto: HTTP/1.1 @@ -4339,8 +4339,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4350,13 +4350,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.989666ms + duration: 129.625625ms - id: 121 request: proto: HTTP/1.1 @@ -4375,8 +4375,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4386,13 +4386,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.332584ms + duration: 104.114125ms - id: 122 request: proto: HTTP/1.1 @@ -4411,8 +4411,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4422,13 +4422,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:36:34.451Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab6265dc1ff60fd41a48","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:34.451Z","user_id":"auth0|6491ab6265dc1ff60fd41a48","username":"testaccorganizationmember22"}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 200.01625ms + duration: 109.67775ms - id: 123 request: proto: HTTP/1.1 @@ -4447,8 +4447,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: GET response: proto: HTTP/2.0 @@ -4458,13 +4458,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_qFN6rm3B5X5GZQ1R","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.852291ms + duration: 93.722667ms - id: 124 request: proto: HTTP/1.1 @@ -4483,8 +4483,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4494,13 +4494,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.726ms + duration: 123.933042ms - id: 125 request: proto: HTTP/1.1 @@ -4519,8 +4519,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4530,1690 +4530,106 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' + body: '{"members":[{"user_id":"auth0|64b035b4d97f02a515f94571","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|64b035b488430795f236bfdd","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.428584ms + duration: 114.938083ms - id: 126 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b035b4d97f02a515f94571"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.352916ms + status: 204 No Content + code: 204 + duration: 103.618292ms - id: 127 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b035b488430795f236bfdd"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.494083ms + status: 204 No Content + code: 204 + duration: 214.368875ms - id: 128 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 80 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b035b488430795f236bfdd","auth0|64b035b4d97f02a515f94571"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 353.684167ms - - id: 129 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/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: 96.503333ms - - id: 130 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?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: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 117.685375ms - - id: 131 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.553334ms - - id: 132 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.855375ms - - id: 133 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/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: 97.401916ms - - id: 134 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?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: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 121.797625ms - - id: 135 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-20T13:36:33.846Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab61b9a8a80a47e57736","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:33.846Z","user_id":"auth0|6491ab61b9a8a80a47e57736","username":"testaccorganizationmember11"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 84.243042ms - - id: 136 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.505375ms - - id: 137 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 123.933209ms - - id: 138 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-20T13:36:34.451Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab6265dc1ff60fd41a48","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:34.451Z","user_id":"auth0|6491ab6265dc1ff60fd41a48","username":"testaccorganizationmember22"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.553208ms - - id: 139 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.980542ms - - id: 140 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 118.090708ms - - id: 141 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 115.133334ms - - id: 142 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 108.028083ms - - id: 143 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.638333ms - - id: 144 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 92.550416ms - - id: 145 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.345875ms - - id: 146 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/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: 121.153042ms - - id: 147 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?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: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 125.779541ms - - id: 148 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.259125ms - - id: 149 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/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: 113.47ms - - id: 150 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?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: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.616833ms - - id: 151 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.980416ms - - id: 152 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/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: 112.401583ms - - id: 153 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?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: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.853292ms - - id: 154 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-20T13:36:33.846Z","email":"testaccorganizationmember1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab61b9a8a80a47e57736","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember1@auth0.com","nickname":"testaccorganizationmember1","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:33.846Z","user_id":"auth0|6491ab61b9a8a80a47e57736","username":"testaccorganizationmember11"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.067917ms - - id: 155 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 93.041459ms - - id: 156 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 121.375125ms - - id: 157 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-20T13:36:34.451Z","email":"testaccorganizationmember2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab6265dc1ff60fd41a48","provider":"auth0","isSocial":false}],"name":"testaccorganizationmember2@auth0.com","nickname":"testaccorganizationmember2","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:36:34.451Z","user_id":"auth0|6491ab6265dc1ff60fd41a48","username":"testaccorganizationmember22"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 93.809375ms - - id: 158 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.390334ms - - id: 159 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.921708ms - - id: 160 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.21475ms - - id: 161 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 106.195542ms - - id: 162 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members/auth0%7C6491ab61b9a8a80a47e57736/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 121.714084ms - - id: 163 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members/auth0%7C6491ab6265dc1ff60fd41a48/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.303541ms - - id: 164 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.606584ms - - id: 165 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/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: 90.840208ms - - id: 166 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?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: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.775416ms - - id: 167 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_I6Iewy53owoIxGC0","name":"some-org-testaccorganizationmember","display_name":"testaccorganizationmember"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.286417ms - - id: 168 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/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: 98.748083ms - - id: 169 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members?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: '{"members":[{"user_id":"auth0|6491ab6265dc1ff60fd41a48","email":"testaccorganizationmember2@auth0.com","picture":"https://s.gravatar.com/avatar/d2b4354eb17fcfc80dd6b1c648b1b505?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember2@auth0.com"},{"user_id":"auth0|6491ab61b9a8a80a47e57736","email":"testaccorganizationmember1@auth0.com","picture":"https://s.gravatar.com/avatar/a3ca1ab654eee614bf23d07037dc77c6?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmember1@auth0.com"}],"start":0,"limit":100,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 114.231958ms - - id: 170 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 47 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"members":["auth0|6491ab6265dc1ff60fd41a48"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members - 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: 111.755709ms - - id: 171 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 47 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"members":["auth0|6491ab61b9a8a80a47e57736"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members - 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: 123.171833ms - - id: 172 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 80 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"members":["auth0|6491ab61b9a8a80a47e57736","auth0|6491ab6265dc1ff60fd41a48"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0/members - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R/members + method: DELETE response: proto: HTTP/2.0 proto_major: 2 @@ -6228,8 +4644,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 105.96375ms - - id: 173 + duration: 98.425583ms + - id: 129 request: proto: HTTP/1.1 proto_major: 1 @@ -6246,8 +4662,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_I6Iewy53owoIxGC0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_qFN6rm3B5X5GZQ1R method: DELETE response: proto: HTTP/2.0 @@ -6263,8 +4679,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 115.59325ms - - id: 174 + duration: 110.492542ms + - id: 130 request: proto: HTTP/1.1 proto_major: 1 @@ -6281,8 +4697,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab6265dc1ff60fd41a48 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b4d97f02a515f94571 method: DELETE response: proto: HTTP/2.0 @@ -6298,8 +4714,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 319.428333ms - - id: 175 + duration: 2.140656667s + - id: 131 request: proto: HTTP/1.1 proto_major: 1 @@ -6316,8 +4732,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab61b9a8a80a47e57736 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035b488430795f236bfdd method: DELETE response: proto: HTTP/2.0 @@ -6333,4 +4749,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 216.603375ms + duration: 243.425208ms diff --git a/test/data/recordings/TestAccOrganizationMemberRole.yaml b/test/data/recordings/TestAccOrganizationMemberRole.yaml index e1f319c68..839cbbd88 100644 --- a/test/data/recordings/TestAccOrganizationMemberRole.yaml +++ b/test/data/recordings/TestAccOrganizationMemberRole.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}' + body: '{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.596333ms + duration: 189.919333ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_kOKX100Uh6quYV0m method: GET response: proto: HTTP/2.0 @@ -66,34 +66,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}' + body: '{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.723667ms + duration: 149.660583ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 55 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"name":"Test Writer - testaccorganizationmemberrole"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu/permissions?include_totals=true&page=0&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -102,34 +102,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.654042ms + duration: 101.885458ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 55 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Test Writer - testaccorganizationmemberrole"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_6KohdHkaQqrD0Iqp + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -138,49 +138,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}' + body: '{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.854583ms + duration: 94.439458ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 167 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"connection":"Username-Password-Authentication","email":"testaccorganizationmemberrole@auth0.com","username":"testaccorganizationmemberrole","password":"MyPass123$"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}' + content_length: 605 + uncompressed: false + body: '{"created_at":"2023-07-13T17:39:57.615Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036edc19c206d4b7d9a9e","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:57.615Z","user_id":"auth0|64b036edc19c206d4b7d9a9e","username":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.845792ms + status: 201 Created + code: 201 + duration: 221.882417ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036edc19c206d4b7d9a9e method: GET response: proto: HTTP/2.0 @@ -210,33 +210,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:39:57.615Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036edc19c206d4b7d9a9e","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:57.615Z","user_id":"auth0|64b036edc19c206d4b7d9a9e","username":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.248083ms + duration: 102.282083ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 167 + content_length: 97 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"connection":"Username-Password-Authentication","email":"testaccorganizationmemberrole@auth0.com","username":"testaccorganizationmemberrole","password":"MyPass123$"} + {"name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations method: POST response: proto: HTTP/2.0 @@ -244,15 +244,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 605 + content_length: 124 uncompressed: false - body: '{"created_at":"2023-06-20T13:37:18.929Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab8e508b461afc4f11e1","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:37:18.929Z","user_id":"auth0|6491ab8e508b461afc4f11e1","username":"testaccorganizationmemberrole"}' + body: '{"name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole","id":"org_bCrxNznGivQbDP5a"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 221.338375ms + duration: 102.376709ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a method: GET response: proto: HTTP/2.0 @@ -282,49 +282,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:37:18.929Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab8e508b461afc4f11e1","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:37:18.929Z","user_id":"auth0|6491ab8e508b461afc4f11e1","username":"testaccorganizationmemberrole"}' + body: '{"id":"org_bCrxNznGivQbDP5a","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.469125ms + duration: 143.53425ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b036edc19c206d4b7d9a9e"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 198.765167ms + status: 204 No Content + code: 204 + duration: 110.424583ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -354,33 +354,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b036edc19c206d4b7d9a9e","email":"testaccorganizationmemberrole@auth0.com","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberrole@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.448292ms + duration: 115.415ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 97 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"} + {"roles":["rol_kOKX100Uh6quYV0m"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles method: POST response: proto: HTTP/2.0 @@ -388,15 +388,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 124 + content_length: 0 uncompressed: false - body: '{"name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole","id":"org_bhNuMMNCr6qWfsNI"}' + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 137.728791ms + status: 204 No Content + code: 204 + duration: 113.408541ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -426,49 +426,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_bhNuMMNCr6qWfsNI","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' + body: '{"roles":[{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 145.494916ms + duration: 125.832083ms - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 47 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"members":["auth0|6491ab8e508b461afc4f11e1"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_kOKX100Uh6quYV0m + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 121.057667ms + status: 200 OK + code: 200 + duration: 98.136667ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_6KohdHkaQqrD0Iqp method: GET response: proto: HTTP/2.0 @@ -498,49 +498,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.842875ms + duration: 119.849167ms - id: 14 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_jHvWMyF54eBm5SZu"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036edc19c206d4b7d9a9e + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-13T17:39:57.615Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036edc19c206d4b7d9a9e","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:57.615Z","user_id":"auth0|64b036edc19c206d4b7d9a9e","username":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 148.011291ms + status: 200 OK + code: 200 + duration: 91.061167ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":1}' + body: '{"id":"org_bCrxNznGivQbDP5a","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.593834ms + duration: 122.500458ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}' + body: '{"members":[{"user_id":"auth0|64b036edc19c206d4b7d9a9e","email":"testaccorganizationmemberrole@auth0.com","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberrole@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.114041ms + duration: 100.625834ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.360125ms + duration: 117.015125ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_kOKX100Uh6quYV0m method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}' + body: '{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 127.014042ms + duration: 90.956666ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_6KohdHkaQqrD0Iqp method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.431958ms + duration: 207.633333ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036edc19c206d4b7d9a9e method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:37:18.929Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab8e508b461afc4f11e1","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:37:18.929Z","user_id":"auth0|6491ab8e508b461afc4f11e1","username":"testaccorganizationmemberrole"}' + body: '{"created_at":"2023-07-13T17:39:57.615Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036edc19c206d4b7d9a9e","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:57.615Z","user_id":"auth0|64b036edc19c206d4b7d9a9e","username":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.764834ms + duration: 99.227542ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_bCrxNznGivQbDP5a","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.796541ms + duration: 98.510458ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b036edc19c206d4b7d9a9e","email":"testaccorganizationmemberrole@auth0.com","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberrole@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.126333ms + duration: 102.05775ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -858,49 +858,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_bhNuMMNCr6qWfsNI","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' + body: '{"roles":[{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.500333ms + duration: 98.231584ms - id: 24 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_6KohdHkaQqrD0Iqp"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":1}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.980458ms + status: 204 No Content + code: 204 + duration: 118.123292ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.248834ms + duration: 135.666458ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_kOKX100Uh6quYV0m method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}' + body: '{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.05475ms + duration: 128.131875ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_6KohdHkaQqrD0Iqp method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 134.61325ms + duration: 193.190708ms - id: 28 request: proto: HTTP/1.1 @@ -1027,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036edc19c206d4b7d9a9e method: GET response: proto: HTTP/2.0 @@ -1038,13 +1038,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}' + body: '{"created_at":"2023-07-13T17:39:57.615Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036edc19c206d4b7d9a9e","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:57.615Z","user_id":"auth0|64b036edc19c206d4b7d9a9e","username":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.048791ms + duration: 94.34025ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_bCrxNznGivQbDP5a","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.661792ms + duration: 123.077584ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:37:18.929Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab8e508b461afc4f11e1","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:37:18.929Z","user_id":"auth0|6491ab8e508b461afc4f11e1","username":"testaccorganizationmemberrole"}' + body: '{"members":[{"user_id":"auth0|64b036edc19c206d4b7d9a9e","email":"testaccorganizationmemberrole@auth0.com","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberrole@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.589625ms + duration: 118.261667ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1146,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.444375ms + duration: 154.547916ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.372125ms + duration: 125.396375ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_kOKX100Uh6quYV0m method: GET response: proto: HTTP/2.0 @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_bhNuMMNCr6qWfsNI","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' + body: '{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.530333ms + duration: 107.738375ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1254,13 +1254,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.917542ms + duration: 115.156042ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1290,49 +1290,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.434166ms + duration: 115.125084ms - id: 36 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_7Td95YC5H2qrKYVD"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_6KohdHkaQqrD0Iqp + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 114.511292ms + status: 200 OK + code: 200 + duration: 104.979ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036edc19c206d4b7d9a9e method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-13T17:39:57.615Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036edc19c206d4b7d9a9e","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:57.615Z","user_id":"auth0|64b036edc19c206d4b7d9a9e","username":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.146292ms + duration: 99.981958ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}' + body: '{"id":"org_bCrxNznGivQbDP5a","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.452458ms + duration: 93.361417ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1434,85 +1434,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b036edc19c206d4b7d9a9e","email":"testaccorganizationmemberrole@auth0.com","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberrole@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.164084ms + duration: 103.85ms - id: 40 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_6KohdHkaQqrD0Iqp"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 90.076083ms + status: 204 No Content + code: 204 + duration: 126.240542ms - id: 41 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_kOKX100Uh6quYV0m"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD/permissions?include_totals=true&page=0&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.475792ms + status: 204 No Content + code: 204 + duration: 135.550125ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_kOKX100Uh6quYV0m method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:37:18.929Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab8e508b461afc4f11e1","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:37:18.929Z","user_id":"auth0|6491ab8e508b461afc4f11e1","username":"testaccorganizationmemberrole"}' + body: '{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.264541ms + duration: 102.4695ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_6KohdHkaQqrD0Iqp method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 160.088166ms + duration: 115.708167ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036edc19c206d4b7d9a9e method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:39:57.615Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036edc19c206d4b7d9a9e","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:57.615Z","user_id":"auth0|64b036edc19c206d4b7d9a9e","username":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 405.435167ms + duration: 143.5045ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_bhNuMMNCr6qWfsNI","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' + body: '{"id":"org_bCrxNznGivQbDP5a","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.203625ms + duration: 108.062041ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' + body: '{"members":[{"user_id":"auth0|64b036edc19c206d4b7d9a9e","email":"testaccorganizationmemberrole@auth0.com","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberrole@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.91725ms + duration: 109.751875ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1722,13 +1722,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.917666ms + duration: 162.321667ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_kOKX100Uh6quYV0m method: GET response: proto: HTTP/2.0 @@ -1758,13 +1758,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.623333ms + duration: 134.011625ms - id: 49 request: proto: HTTP/1.1 @@ -1783,8 +1783,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_6KohdHkaQqrD0Iqp method: GET response: proto: HTTP/2.0 @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}' + body: '{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 153.520625ms + duration: 183.323167ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036edc19c206d4b7d9a9e method: GET response: proto: HTTP/2.0 @@ -1830,13 +1830,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-13T17:39:57.615Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036edc19c206d4b7d9a9e","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:57.615Z","user_id":"auth0|64b036edc19c206d4b7d9a9e","username":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 164.856042ms + duration: 95.610875ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a method: GET response: proto: HTTP/2.0 @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' + body: '{"id":"org_bCrxNznGivQbDP5a","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 165.231875ms + duration: 97.312083ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b036edc19c206d4b7d9a9e","email":"testaccorganizationmemberrole@auth0.com","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberrole@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.009667ms + duration: 114.627875ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.609875ms + duration: 112.406417ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_kOKX100Uh6quYV0m method: GET response: proto: HTTP/2.0 @@ -1974,13 +1974,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.65ms + duration: 212.106792ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_6KohdHkaQqrD0Iqp method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:37:18.929Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab8e508b461afc4f11e1","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:37:18.929Z","user_id":"auth0|6491ab8e508b461afc4f11e1","username":"testaccorganizationmemberrole"}' + body: '{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.232ms + duration: 92.960458ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036edc19c206d4b7d9a9e method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:39:57.615Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036edc19c206d4b7d9a9e","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:57.615Z","user_id":"auth0|64b036edc19c206d4b7d9a9e","username":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.209ms + duration: 97.777083ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a method: GET response: proto: HTTP/2.0 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_bCrxNznGivQbDP5a","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 152.618542ms + duration: 105.105292ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_bhNuMMNCr6qWfsNI","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' + body: '{"members":[{"user_id":"auth0|64b036edc19c206d4b7d9a9e","email":"testaccorganizationmemberrole@auth0.com","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberrole@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.80125ms + duration: 290.534375ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2154,85 +2154,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.449417ms + duration: 298.154291ms - id: 60 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_7Td95YC5H2qrKYVD"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_kOKX100Uh6quYV0m + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 109.054ms + status: 200 OK + code: 200 + duration: 95.345917ms - id: 61 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_jHvWMyF54eBm5SZu"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_6KohdHkaQqrD0Iqp + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 99.765333ms + status: 200 OK + code: 200 + duration: 141.90875ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036edc19c206d4b7d9a9e method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}' + body: '{"created_at":"2023-07-13T17:39:57.615Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036edc19c206d4b7d9a9e","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:57.615Z","user_id":"auth0|64b036edc19c206d4b7d9a9e","username":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.081625ms + duration: 91.326375ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_bCrxNznGivQbDP5a","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 141.427583ms + duration: 115.698459ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2334,13 +2334,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}' + body: '{"members":[{"user_id":"auth0|64b036edc19c206d4b7d9a9e","email":"testaccorganizationmemberrole@auth0.com","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberrole@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.669792ms + duration: 116.473292ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2370,49 +2370,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.973042ms + duration: 136.297ms - id: 66 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 58 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_6KohdHkaQqrD0Iqp","rol_kOKX100Uh6quYV0m"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-20T13:37:18.929Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab8e508b461afc4f11e1","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:37:18.929Z","user_id":"auth0|6491ab8e508b461afc4f11e1","username":"testaccorganizationmemberrole"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.451584ms + status: 204 No Content + code: 204 + duration: 111.987291ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2442,13 +2442,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null},{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.131375ms + duration: 117.1155ms - id: 68 request: proto: HTTP/1.1 @@ -2467,8 +2467,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_kOKX100Uh6quYV0m method: GET response: proto: HTTP/2.0 @@ -2478,13 +2478,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.240333ms + duration: 95.835459ms - id: 69 request: proto: HTTP/1.1 @@ -2503,8 +2503,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_6KohdHkaQqrD0Iqp method: GET response: proto: HTTP/2.0 @@ -2514,13 +2514,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_bhNuMMNCr6qWfsNI","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' + body: '{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.551334ms + duration: 99.093ms - id: 70 request: proto: HTTP/1.1 @@ -2539,8 +2539,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036edc19c206d4b7d9a9e method: GET response: proto: HTTP/2.0 @@ -2550,13 +2550,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:39:57.615Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036edc19c206d4b7d9a9e","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:57.615Z","user_id":"auth0|64b036edc19c206d4b7d9a9e","username":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 132.477875ms + duration: 93.261208ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a method: GET response: proto: HTTP/2.0 @@ -2586,13 +2586,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_bCrxNznGivQbDP5a","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.509667ms + duration: 103.730333ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}' + body: '{"members":[{"user_id":"auth0|64b036edc19c206d4b7d9a9e","email":"testaccorganizationmemberrole@auth0.com","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberrole@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.125791ms + duration: 110.355208ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null},{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.039958ms + duration: 135.708042ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}' + body: '{"roles":[{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null},{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.441ms + duration: 114.564917ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null},{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.781542ms + duration: 98.2335ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_kOKX100Uh6quYV0m method: GET response: proto: HTTP/2.0 @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:37:18.929Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab8e508b461afc4f11e1","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:37:18.929Z","user_id":"auth0|6491ab8e508b461afc4f11e1","username":"testaccorganizationmemberrole"}' + body: '{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.612708ms + duration: 97.842417ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_6KohdHkaQqrD0Iqp method: GET response: proto: HTTP/2.0 @@ -2802,13 +2802,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.230375ms + duration: 120.904084ms - id: 78 request: proto: HTTP/1.1 @@ -2827,8 +2827,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036edc19c206d4b7d9a9e method: GET response: proto: HTTP/2.0 @@ -2838,13 +2838,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:39:57.615Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036edc19c206d4b7d9a9e","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:57.615Z","user_id":"auth0|64b036edc19c206d4b7d9a9e","username":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.739041ms + duration: 95.246959ms - id: 79 request: proto: HTTP/1.1 @@ -2863,8 +2863,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a method: GET response: proto: HTTP/2.0 @@ -2874,13 +2874,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_bhNuMMNCr6qWfsNI","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' + body: '{"id":"org_bCrxNznGivQbDP5a","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.124625ms + duration: 115.705875ms - id: 80 request: proto: HTTP/1.1 @@ -2899,8 +2899,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2910,13 +2910,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b036edc19c206d4b7d9a9e","email":"testaccorganizationmemberrole@auth0.com","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberrole@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.264209ms + duration: 102.108666ms - id: 81 request: proto: HTTP/1.1 @@ -2935,8 +2935,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2946,13 +2946,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null},{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.517542ms + duration: 103.680417ms - id: 82 request: proto: HTTP/1.1 @@ -2971,8 +2971,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}' + body: '{"roles":[{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null},{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.797333ms + duration: 102.499208ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null},{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.051166ms + duration: 113.834041ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_kOKX100Uh6quYV0m method: GET response: proto: HTTP/2.0 @@ -3054,13 +3054,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}' + body: '{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.855625ms + duration: 97.619792ms - id: 85 request: proto: HTTP/1.1 @@ -3079,8 +3079,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_6KohdHkaQqrD0Iqp method: GET response: proto: HTTP/2.0 @@ -3090,13 +3090,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.973333ms + duration: 104.67ms - id: 86 request: proto: HTTP/1.1 @@ -3115,8 +3115,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036edc19c206d4b7d9a9e method: GET response: proto: HTTP/2.0 @@ -3126,13 +3126,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:37:18.929Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab8e508b461afc4f11e1","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:37:18.929Z","user_id":"auth0|6491ab8e508b461afc4f11e1","username":"testaccorganizationmemberrole"}' + body: '{"created_at":"2023-07-13T17:39:57.615Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b036edc19c206d4b7d9a9e","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:39:57.615Z","user_id":"auth0|64b036edc19c206d4b7d9a9e","username":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.353875ms + duration: 105.895583ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a method: GET response: proto: HTTP/2.0 @@ -3162,13 +3162,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_bCrxNznGivQbDP5a","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.604417ms + duration: 98.193917ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3198,13 +3198,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b036edc19c206d4b7d9a9e","email":"testaccorganizationmemberrole@auth0.com","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberrole@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.114666ms + duration: 107.1075ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3234,13 +3234,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_bhNuMMNCr6qWfsNI","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' + body: '{"roles":[{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null},{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.053ms + duration: 216.654041ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null},{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 145.563125ms + duration: 101.231917ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3306,1870 +3306,142 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_6KohdHkaQqrD0Iqp","name":"Test Writer - testaccorganizationmemberrole","description":null},{"id":"rol_kOKX100Uh6quYV0m","name":"Test Reader - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.764166ms + duration: 132.763167ms - id: 92 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_6KohdHkaQqrD0Iqp"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 107.368416ms + status: 204 No Content + code: 204 + duration: 113.524667ms - id: 93 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_kOKX100Uh6quYV0m"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu/permissions?include_totals=true&page=0&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 114.021125ms + status: 204 No Content + code: 204 + duration: 126.12525ms - id: 94 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 58 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_6KohdHkaQqrD0Iqp","rol_kOKX100Uh6quYV0m"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members/auth0%7C64b036edc19c206d4b7d9a9e/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.038542ms + status: 204 No Content + code: 204 + duration: 120.202834ms - id: 95 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b036edc19c206d4b7d9a9e"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.111292ms - - id: 96 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-20T13:37:18.929Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab8e508b461afc4f11e1","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:37:18.929Z","user_id":"auth0|6491ab8e508b461afc4f11e1","username":"testaccorganizationmemberrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 93.96675ms - - id: 97 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 117.6555ms - - id: 98 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.795042ms - - id: 99 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_bhNuMMNCr6qWfsNI","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.671916ms - - id: 100 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.838209ms - - id: 101 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 134.082417ms - - id: 102 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 58 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_jHvWMyF54eBm5SZu","rol_7Td95YC5H2qrKYVD"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles - method: POST - 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: 112.270125ms - - id: 103 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.583625ms - - id: 104 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.163208ms - - id: 105 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.013125ms - - id: 106 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.729709ms - - id: 107 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 127.332666ms - - id: 108 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-20T13:37:18.929Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab8e508b461afc4f11e1","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:37:18.929Z","user_id":"auth0|6491ab8e508b461afc4f11e1","username":"testaccorganizationmemberrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 93.803375ms - - id: 109 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.049791ms - - id: 110 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.0595ms - - id: 111 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_bhNuMMNCr6qWfsNI","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.060416ms - - id: 112 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.360583ms - - id: 113 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 118.679583ms - - id: 114 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 119.533792ms - - id: 115 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 119.173459ms - - id: 116 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.473458ms - - id: 117 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.39775ms - - id: 118 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 121.231917ms - - id: 119 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.802292ms - - id: 120 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-20T13:37:18.929Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab8e508b461afc4f11e1","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:37:18.929Z","user_id":"auth0|6491ab8e508b461afc4f11e1","username":"testaccorganizationmemberrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 115.899792ms - - id: 121 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.7245ms - - id: 122 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 107.146958ms - - id: 123 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_bhNuMMNCr6qWfsNI","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.018083ms - - id: 124 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.382042ms - - id: 125 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.4605ms - - id: 126 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.918667ms - - id: 127 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.281833ms - - id: 128 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.260417ms - - id: 129 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.208125ms - - id: 130 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 91.204459ms - - id: 131 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 122.278ms - - id: 132 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-20T13:37:18.929Z","email":"testaccorganizationmemberrole@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491ab8e508b461afc4f11e1","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberrole@auth0.com","nickname":"testaccorganizationmemberrole","picture":"https://s.gravatar.com/avatar/2f292cb29015c947ee6a3701a1871127?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:37:18.929Z","user_id":"auth0|6491ab8e508b461afc4f11e1","username":"testaccorganizationmemberrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.91ms - - id: 133 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.430166ms - - id: 134 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.976708ms - - id: 135 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_bhNuMMNCr6qWfsNI","name":"some-org-testaccorganizationmemberrole","display_name":"testaccorganizationmemberrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.809875ms - - id: 136 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 130.527333ms - - id: 137 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 106.874083ms - - id: 138 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 115.42075ms - - id: 139 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_jHvWMyF54eBm5SZu","name":"Test Reader - testaccorganizationmemberrole","description":null},{"id":"rol_7Td95YC5H2qrKYVD","name":"Test Writer - testaccorganizationmemberrole","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 110.886792ms - - id: 140 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 35 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_7Td95YC5H2qrKYVD"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles - 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: 272.702584ms - - id: 141 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 35 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_jHvWMyF54eBm5SZu"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 108.435709ms - - id: 142 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 58 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_jHvWMyF54eBm5SZu","rol_7Td95YC5H2qrKYVD"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members/auth0%7C6491ab8e508b461afc4f11e1/roles - 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: 113.59225ms - - id: 143 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 47 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"members":["auth0|6491ab8e508b461afc4f11e1"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI/members - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a/members + method: DELETE response: proto: HTTP/2.0 proto_major: 2 @@ -5184,8 +3456,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 132.1385ms - - id: 144 + duration: 95.47325ms + - id: 96 request: proto: HTTP/1.1 proto_major: 1 @@ -5202,8 +3474,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bhNuMMNCr6qWfsNI + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_bCrxNznGivQbDP5a method: DELETE response: proto: HTTP/2.0 @@ -5219,8 +3491,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 106.6055ms - - id: 145 + duration: 100.810666ms + - id: 97 request: proto: HTTP/1.1 proto_major: 1 @@ -5237,8 +3509,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491ab8e508b461afc4f11e1 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b036edc19c206d4b7d9a9e method: DELETE response: proto: HTTP/2.0 @@ -5254,8 +3526,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 390.8365ms - - id: 146 + duration: 322.251458ms + - id: 98 request: proto: HTTP/1.1 proto_major: 1 @@ -5273,8 +3545,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7Td95YC5H2qrKYVD + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_6KohdHkaQqrD0Iqp method: DELETE response: proto: HTTP/2.0 @@ -5290,8 +3562,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.876584ms - - id: 147 + duration: 107.770041ms + - id: 99 request: proto: HTTP/1.1 proto_major: 1 @@ -5309,8 +3581,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_jHvWMyF54eBm5SZu + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_kOKX100Uh6quYV0m method: DELETE response: proto: HTTP/2.0 @@ -5326,4 +3598,4 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.215916ms + duration: 285.839125ms diff --git a/test/data/recordings/TestAccOrganizationMemberRoles.yaml b/test/data/recordings/TestAccOrganizationMemberRoles.yaml index fef31168d..63b021871 100644 --- a/test/data/recordings/TestAccOrganizationMemberRoles.yaml +++ b/test/data/recordings/TestAccOrganizationMemberRoles.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}' + body: '{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 130.640875ms + duration: 101.026833ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_NvMPbcuOdDuw24Pu method: GET response: proto: HTTP/2.0 @@ -66,34 +66,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}' + body: '{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.430375ms + duration: 103.353125ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 56 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"name":"Test Writer - testaccorganizationmemberroles"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd/permissions?include_totals=true&page=0&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -102,34 +102,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.175458ms + duration: 105.2795ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 56 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Test Writer - testaccorganizationmemberroles"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_fL4ocr6vfrsqbSwc + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -138,49 +138,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}' + body: '{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 147.020917ms + duration: 94.53475ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 169 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"connection":"Username-Password-Authentication","email":"testaccorganizationmemberroles@auth0.com","username":"testaccorganizationmemberroles","password":"MyPass123$"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}' + content_length: 609 + uncompressed: false + body: '{"created_at":"2023-07-13T17:35:18.674Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035d6c19c206d4b7d9a89","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:35:18.674Z","user_id":"auth0|64b035d6c19c206d4b7d9a89","username":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.380292ms + status: 201 Created + code: 201 + duration: 315.51525ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035d6c19c206d4b7d9a89 method: GET response: proto: HTTP/2.0 @@ -210,33 +210,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:35:18.674Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035d6c19c206d4b7d9a89","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:35:18.674Z","user_id":"auth0|64b035d6c19c206d4b7d9a89","username":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.226167ms + duration: 108.962334ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 169 + content_length: 99 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"connection":"Username-Password-Authentication","email":"testaccorganizationmemberroles@auth0.com","username":"testaccorganizationmemberroles","password":"MyPass123$"} + {"name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations method: POST response: proto: HTTP/2.0 @@ -244,15 +244,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 609 + content_length: 126 uncompressed: false - body: '{"created_at":"2023-06-20T13:38:20.535Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491abcc20e9a839adbf8d52","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:38:20.536Z","user_id":"auth0|6491abcc20e9a839adbf8d52","username":"testaccorganizationmemberroles"}' + body: '{"name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles","id":"org_oEmI2hFzMsi0lKXW"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 312.229583ms + duration: 121.010916ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW method: GET response: proto: HTTP/2.0 @@ -282,49 +282,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:38:20.535Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491abcc20e9a839adbf8d52","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:38:20.536Z","user_id":"auth0|6491abcc20e9a839adbf8d52","username":"testaccorganizationmemberroles"}' + body: '{"id":"org_oEmI2hFzMsi0lKXW","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 133.045708ms + duration: 105.497625ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b035d6c19c206d4b7d9a89"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 150.6905ms + status: 204 No Content + code: 204 + duration: 104.283334ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -354,33 +354,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035d6c19c206d4b7d9a89","email":"testaccorganizationmemberroles@auth0.com","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberroles@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.197583ms + duration: 122.839833ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 99 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"} + {"roles":["rol_NvMPbcuOdDuw24Pu"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles method: POST response: proto: HTTP/2.0 @@ -388,15 +388,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 126 + content_length: 0 uncompressed: false - body: '{"name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles","id":"org_eRSp2Vbkd1r2uYju"}' + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 140.750959ms + status: 204 No Content + code: 204 + duration: 107.581583ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -426,49 +426,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_eRSp2Vbkd1r2uYju","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 162.610625ms + duration: 109.44125ms - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 47 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"members":["auth0|6491abcc20e9a839adbf8d52"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_NvMPbcuOdDuw24Pu + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 124.918625ms + status: 200 OK + code: 200 + duration: 93.87725ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_fL4ocr6vfrsqbSwc method: GET response: proto: HTTP/2.0 @@ -498,49 +498,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 140.919375ms + duration: 93.785875ms - id: 14 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_19tUh6pfAv9jMBnd"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035d6c19c206d4b7d9a89 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-13T17:35:18.674Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035d6c19c206d4b7d9a89","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:35:18.674Z","user_id":"auth0|64b035d6c19c206d4b7d9a89","username":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 167.881167ms + status: 200 OK + code: 200 + duration: 95.216208ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' + body: '{"id":"org_oEmI2hFzMsi0lKXW","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.887959ms + duration: 152.974291ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}' + body: '{"members":[{"user_id":"auth0|64b035d6c19c206d4b7d9a89","email":"testaccorganizationmemberroles@auth0.com","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberroles@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.13ms + duration: 120.47275ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.785333ms + duration: 123.300334ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_NvMPbcuOdDuw24Pu method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}' + body: '{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.5ms + duration: 92.819167ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_fL4ocr6vfrsqbSwc method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.36475ms + duration: 98.602917ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035d6c19c206d4b7d9a89 method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:38:20.535Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491abcc20e9a839adbf8d52","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:38:20.536Z","user_id":"auth0|6491abcc20e9a839adbf8d52","username":"testaccorganizationmemberroles"}' + body: '{"created_at":"2023-07-13T17:35:18.674Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035d6c19c206d4b7d9a89","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:35:18.674Z","user_id":"auth0|64b035d6c19c206d4b7d9a89","username":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.686625ms + duration: 94.37375ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_oEmI2hFzMsi0lKXW","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 173.612042ms + duration: 98.551917ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035d6c19c206d4b7d9a89","email":"testaccorganizationmemberroles@auth0.com","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberroles@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.53025ms + duration: 97.993917ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -858,49 +858,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_eRSp2Vbkd1r2uYju","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 127.923709ms + duration: 157.384708ms - id: 24 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_fL4ocr6vfrsqbSwc"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 110.162ms + status: 204 No Content + code: 204 + duration: 237.303959ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 175.151042ms + duration: 116.054792ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_NvMPbcuOdDuw24Pu method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}' + body: '{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.635292ms + duration: 96.624375ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_fL4ocr6vfrsqbSwc method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.237667ms + duration: 95.719583ms - id: 28 request: proto: HTTP/1.1 @@ -1027,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035d6c19c206d4b7d9a89 method: GET response: proto: HTTP/2.0 @@ -1038,13 +1038,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}' + body: '{"created_at":"2023-07-13T17:35:18.674Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035d6c19c206d4b7d9a89","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:35:18.674Z","user_id":"auth0|64b035d6c19c206d4b7d9a89","username":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.181458ms + duration: 97.453333ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_oEmI2hFzMsi0lKXW","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.260375ms + duration: 104.9465ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:38:20.535Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491abcc20e9a839adbf8d52","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:38:20.536Z","user_id":"auth0|6491abcc20e9a839adbf8d52","username":"testaccorganizationmemberroles"}' + body: '{"members":[{"user_id":"auth0|64b035d6c19c206d4b7d9a89","email":"testaccorganizationmemberroles@auth0.com","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberroles@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.922167ms + duration: 108.286375ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1146,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.478167ms + duration: 101.769583ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_NvMPbcuOdDuw24Pu method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.54675ms + duration: 101.755958ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_fL4ocr6vfrsqbSwc method: GET response: proto: HTTP/2.0 @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_eRSp2Vbkd1r2uYju","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' + body: '{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.028709ms + duration: 89.721542ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035d6c19c206d4b7d9a89 method: GET response: proto: HTTP/2.0 @@ -1254,13 +1254,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-13T17:35:18.674Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035d6c19c206d4b7d9a89","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:35:18.674Z","user_id":"auth0|64b035d6c19c206d4b7d9a89","username":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.652541ms + duration: 143.670458ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW method: GET response: proto: HTTP/2.0 @@ -1290,49 +1290,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' + body: '{"id":"org_oEmI2hFzMsi0lKXW","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.287667ms + duration: 91.146666ms - id: 36 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_M3nr8ABTucbXoOOW"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"members":[{"user_id":"auth0|64b035d6c19c206d4b7d9a89","email":"testaccorganizationmemberroles@auth0.com","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberroles@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 127.311958ms + status: 200 OK + code: 200 + duration: 104.895083ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1362,49 +1362,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.423834ms + duration: 107.658125ms - id: 38 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_NvMPbcuOdDuw24Pu"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 123.425709ms + status: 204 No Content + code: 204 + duration: 103.684459ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1434,13 +1434,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.729875ms + duration: 101.736791ms - id: 40 request: proto: HTTP/1.1 @@ -1459,8 +1459,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_NvMPbcuOdDuw24Pu method: GET response: proto: HTTP/2.0 @@ -1470,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}' + body: '{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.475458ms + duration: 96.783084ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_fL4ocr6vfrsqbSwc method: GET response: proto: HTTP/2.0 @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.520167ms + duration: 110.930125ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035d6c19c206d4b7d9a89 method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:38:20.535Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491abcc20e9a839adbf8d52","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:38:20.536Z","user_id":"auth0|6491abcc20e9a839adbf8d52","username":"testaccorganizationmemberroles"}' + body: '{"created_at":"2023-07-13T17:35:18.674Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035d6c19c206d4b7d9a89","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:35:18.674Z","user_id":"auth0|64b035d6c19c206d4b7d9a89","username":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.124583ms + duration: 96.555875ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_oEmI2hFzMsi0lKXW","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.952375ms + duration: 117.297333ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035d6c19c206d4b7d9a89","email":"testaccorganizationmemberroles@auth0.com","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberroles@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.50025ms + duration: 136.272708ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_eRSp2Vbkd1r2uYju","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' + body: '{"roles":[{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.252209ms + duration: 159.5895ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_NvMPbcuOdDuw24Pu method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.1015ms + duration: 92.6465ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_fL4ocr6vfrsqbSwc method: GET response: proto: HTTP/2.0 @@ -1722,13 +1722,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.440875ms + duration: 87.94875ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035d6c19c206d4b7d9a89 method: GET response: proto: HTTP/2.0 @@ -1758,13 +1758,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}' + body: '{"created_at":"2023-07-13T17:35:18.674Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035d6c19c206d4b7d9a89","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:35:18.674Z","user_id":"auth0|64b035d6c19c206d4b7d9a89","username":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.371416ms + duration: 100.185ms - id: 49 request: proto: HTTP/1.1 @@ -1783,8 +1783,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW method: GET response: proto: HTTP/2.0 @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_oEmI2hFzMsi0lKXW","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.744667ms + duration: 91.455792ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1830,13 +1830,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}' + body: '{"members":[{"user_id":"auth0|64b035d6c19c206d4b7d9a89","email":"testaccorganizationmemberroles@auth0.com","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberroles@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.159834ms + duration: 96.2575ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1866,49 +1866,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.586666ms + duration: 96.506625ms - id: 52 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_fL4ocr6vfrsqbSwc"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-20T13:38:20.535Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491abcc20e9a839adbf8d52","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:38:20.536Z","user_id":"auth0|6491abcc20e9a839adbf8d52","username":"testaccorganizationmemberroles"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 91.294417ms + status: 204 No Content + code: 204 + duration: 108.63375ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1944,7 +1944,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.12575ms + duration: 109.640625ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_NvMPbcuOdDuw24Pu method: GET response: proto: HTTP/2.0 @@ -1974,13 +1974,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 184.800875ms + duration: 104.072166ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_fL4ocr6vfrsqbSwc method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_eRSp2Vbkd1r2uYju","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' + body: '{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.679792ms + duration: 103.156375ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035d6c19c206d4b7d9a89 method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-13T17:35:18.674Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035d6c19c206d4b7d9a89","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:35:18.674Z","user_id":"auth0|64b035d6c19c206d4b7d9a89","username":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 166.748291ms + duration: 85.663542ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW method: GET response: proto: HTTP/2.0 @@ -2082,49 +2082,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' + body: '{"id":"org_oEmI2hFzMsi0lKXW","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 133.842042ms + duration: 121.886167ms - id: 58 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_19tUh6pfAv9jMBnd"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"members":[{"user_id":"auth0|64b035d6c19c206d4b7d9a89","email":"testaccorganizationmemberroles@auth0.com","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberroles@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 124.37925ms + status: 200 OK + code: 200 + duration: 103.135375ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2154,13 +2154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 141.645333ms + duration: 108.77325ms - id: 60 request: proto: HTTP/1.1 @@ -2179,8 +2179,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_NvMPbcuOdDuw24Pu method: GET response: proto: HTTP/2.0 @@ -2190,13 +2190,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}' + body: '{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.665667ms + duration: 105.278708ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2226,13 +2226,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.67425ms + duration: 135.642833ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_fL4ocr6vfrsqbSwc method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}' + body: '{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.792125ms + duration: 146.878ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035d6c19c206d4b7d9a89 method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:35:18.674Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035d6c19c206d4b7d9a89","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:35:18.674Z","user_id":"auth0|64b035d6c19c206d4b7d9a89","username":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.293042ms + duration: 95.524375ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW method: GET response: proto: HTTP/2.0 @@ -2334,13 +2334,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:38:20.535Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491abcc20e9a839adbf8d52","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:38:20.536Z","user_id":"auth0|6491abcc20e9a839adbf8d52","username":"testaccorganizationmemberroles"}' + body: '{"id":"org_oEmI2hFzMsi0lKXW","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.177542ms + duration: 141.547958ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2370,49 +2370,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035d6c19c206d4b7d9a89","email":"testaccorganizationmemberroles@auth0.com","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberroles@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 754.22425ms + duration: 101.382ms - id: 66 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_NvMPbcuOdDuw24Pu"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 121.966042ms + status: 204 No Content + code: 204 + duration: 110.211459ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2442,49 +2442,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_eRSp2Vbkd1r2uYju","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.073792ms + duration: 100.410375ms - id: 68 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_fL4ocr6vfrsqbSwc"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 117.802125ms + status: 204 No Content + code: 204 + duration: 99.224833ms - id: 69 request: proto: HTTP/1.1 @@ -2503,8 +2503,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2514,13 +2514,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 235.204709ms + duration: 105.887167ms - id: 70 request: proto: HTTP/1.1 @@ -2539,8 +2539,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_NvMPbcuOdDuw24Pu method: GET response: proto: HTTP/2.0 @@ -2550,13 +2550,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}' + body: '{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 188.74725ms + duration: 100.28425ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_fL4ocr6vfrsqbSwc method: GET response: proto: HTTP/2.0 @@ -2586,13 +2586,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.722917ms + duration: 111.560917ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035d6c19c206d4b7d9a89 method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}' + body: '{"created_at":"2023-07-13T17:35:18.674Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035d6c19c206d4b7d9a89","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:35:18.674Z","user_id":"auth0|64b035d6c19c206d4b7d9a89","username":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.803167ms + duration: 146.992958ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_oEmI2hFzMsi0lKXW","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 134.748625ms + duration: 97.456333ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:38:20.535Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491abcc20e9a839adbf8d52","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:38:20.536Z","user_id":"auth0|6491abcc20e9a839adbf8d52","username":"testaccorganizationmemberroles"}' + body: '{"members":[{"user_id":"auth0|64b035d6c19c206d4b7d9a89","email":"testaccorganizationmemberroles@auth0.com","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberroles@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.611375ms + duration: 116.4815ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.175875ms + duration: 100.243333ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.351ms + duration: 106.043708ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2802,13 +2802,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_eRSp2Vbkd1r2uYju","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.523042ms + duration: 101.6395ms - id: 78 request: proto: HTTP/1.1 @@ -2827,8 +2827,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_NvMPbcuOdDuw24Pu method: GET response: proto: HTTP/2.0 @@ -2838,13 +2838,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.290333ms + duration: 97.075291ms - id: 79 request: proto: HTTP/1.1 @@ -2863,8 +2863,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_fL4ocr6vfrsqbSwc method: GET response: proto: HTTP/2.0 @@ -2874,49 +2874,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.007167ms + duration: 109.322ms - id: 80 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_M3nr8ABTucbXoOOW"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035d6c19c206d4b7d9a89 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-13T17:35:18.674Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035d6c19c206d4b7d9a89","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:35:18.674Z","user_id":"auth0|64b035d6c19c206d4b7d9a89","username":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 112.46575ms + status: 200 OK + code: 200 + duration: 89.713ms - id: 81 request: proto: HTTP/1.1 @@ -2935,8 +2935,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW method: GET response: proto: HTTP/2.0 @@ -2946,13 +2946,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_oEmI2hFzMsi0lKXW","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.504666ms + duration: 92.749959ms - id: 82 request: proto: HTTP/1.1 @@ -2971,8 +2971,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}' + body: '{"members":[{"user_id":"auth0|64b035d6c19c206d4b7d9a89","email":"testaccorganizationmemberroles@auth0.com","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberroles@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 149.544167ms + duration: 272.704875ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.254209ms + duration: 107.924042ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3054,13 +3054,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.690875ms + duration: 96.667667ms - id: 85 request: proto: HTTP/1.1 @@ -3079,8 +3079,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3090,13 +3090,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.296334ms + duration: 119.400375ms - id: 86 request: proto: HTTP/1.1 @@ -3115,8 +3115,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_NvMPbcuOdDuw24Pu method: GET response: proto: HTTP/2.0 @@ -3126,13 +3126,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-20T13:38:20.535Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491abcc20e9a839adbf8d52","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:38:20.536Z","user_id":"auth0|6491abcc20e9a839adbf8d52","username":"testaccorganizationmemberroles"}' + body: '{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.603042ms + duration: 96.768041ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_fL4ocr6vfrsqbSwc method: GET response: proto: HTTP/2.0 @@ -3162,13 +3162,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.633291ms + duration: 88.928083ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035d6c19c206d4b7d9a89 method: GET response: proto: HTTP/2.0 @@ -3198,13 +3198,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:35:18.674Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b035d6c19c206d4b7d9a89","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:35:18.674Z","user_id":"auth0|64b035d6c19c206d4b7d9a89","username":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 169.218334ms + duration: 90.204375ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW method: GET response: proto: HTTP/2.0 @@ -3234,13 +3234,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_eRSp2Vbkd1r2uYju","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' + body: '{"id":"org_oEmI2hFzMsi0lKXW","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.72275ms + duration: 91.520084ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b035d6c19c206d4b7d9a89","email":"testaccorganizationmemberroles@auth0.com","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmemberroles@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.745708ms + duration: 103.15925ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3306,13 +3306,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.944458ms + duration: 105.71625ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3342,13 +3342,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.693916ms + duration: 106.931541ms - id: 93 request: proto: HTTP/1.1 @@ -3367,8 +3367,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3378,1850 +3378,122 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_NvMPbcuOdDuw24Pu","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_fL4ocr6vfrsqbSwc","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.509334ms + duration: 114.026791ms - id: 94 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 58 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_NvMPbcuOdDuw24Pu","rol_fL4ocr6vfrsqbSwc"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd/permissions?include_totals=true&page=0&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 108.082125ms + status: 204 No Content + code: 204 + duration: 111.394375ms - id: 95 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_fL4ocr6vfrsqbSwc"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 117.773583ms + status: 204 No Content + code: 204 + duration: 111.264917ms - id: 96 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_NvMPbcuOdDuw24Pu"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW/permissions?include_totals=true&page=0&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members/auth0%7C64b035d6c19c206d4b7d9a89/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 139.133125ms - - id: 97 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-20T13:38:20.535Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491abcc20e9a839adbf8d52","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:38:20.536Z","user_id":"auth0|6491abcc20e9a839adbf8d52","username":"testaccorganizationmemberroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 120.981625ms - - id: 98 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 141.366667ms - - id: 99 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 120.851667ms - - id: 100 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_eRSp2Vbkd1r2uYju","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 140.122125ms - - id: 101 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 252.179916ms - - id: 102 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 35 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_19tUh6pfAv9jMBnd"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles - method: POST - 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: 125.524292ms - - id: 103 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 126.039959ms - - id: 104 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 35 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_M3nr8ABTucbXoOOW"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles - method: POST - 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: 118.632583ms - - id: 105 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.161167ms - - id: 106 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.74225ms - - id: 107 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 121.487083ms - - id: 108 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 123.730334ms - - id: 109 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.257083ms - - id: 110 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-20T13:38:20.535Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491abcc20e9a839adbf8d52","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:38:20.536Z","user_id":"auth0|6491abcc20e9a839adbf8d52","username":"testaccorganizationmemberroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.677625ms - - id: 111 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.831208ms - - id: 112 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.172833ms - - id: 113 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_eRSp2Vbkd1r2uYju","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 106.536958ms - - id: 114 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 118.809417ms - - id: 115 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.127625ms - - id: 116 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 127.009042ms - - id: 117 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 121.381875ms - - id: 118 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 106.512875ms - - id: 119 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.838041ms - - id: 120 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.935208ms - - id: 121 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.665459ms - - id: 122 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-20T13:38:20.535Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491abcc20e9a839adbf8d52","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:38:20.536Z","user_id":"auth0|6491abcc20e9a839adbf8d52","username":"testaccorganizationmemberroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 126.649ms - - id: 123 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 139.839667ms - - id: 124 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 176.32275ms - - id: 125 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_eRSp2Vbkd1r2uYju","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.961ms - - id: 126 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 133.903458ms - - id: 127 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 141.42575ms - - id: 128 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.760041ms - - id: 129 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 118.114541ms - - id: 130 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.420375ms - - id: 131 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 120.378959ms - - id: 132 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 137.675375ms - - id: 133 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.134375ms - - id: 134 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-20T13:38:20.535Z","email":"testaccorganizationmemberroles@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6491abcc20e9a839adbf8d52","provider":"auth0","isSocial":false}],"name":"testaccorganizationmemberroles@auth0.com","nickname":"testaccorganizationmemberroles","picture":"https://s.gravatar.com/avatar/53048e95790ce1a9876aed96af03fbf1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-20T13:38:20.536Z","user_id":"auth0|6491abcc20e9a839adbf8d52","username":"testaccorganizationmemberroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 233.3145ms - - id: 135 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.33675ms - - id: 136 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 107.320583ms - - id: 137 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_eRSp2Vbkd1r2uYju","name":"some-org-testaccorganizationmemberroles","display_name":"testaccorganizationmemberroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.901292ms - - id: 138 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 115.269334ms - - id: 139 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 144.237708ms - - id: 140 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 121.447709ms - - id: 141 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_19tUh6pfAv9jMBnd","name":"Test Reader - testaccorganizationmemberroles","description":null},{"id":"rol_M3nr8ABTucbXoOOW","name":"Test Writer - testaccorganizationmemberroles","description":null}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 115.815833ms - - id: 142 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 58 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_19tUh6pfAv9jMBnd","rol_M3nr8ABTucbXoOOW"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles - 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: 121.944875ms - - id: 143 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 35 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_M3nr8ABTucbXoOOW"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles - 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: 116.633667ms - - id: 144 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 35 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_19tUh6pfAv9jMBnd"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members/auth0%7C6491abcc20e9a839adbf8d52/roles - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 106.279458ms - - id: 145 + duration: 105.109875ms + - id: 97 request: proto: HTTP/1.1 proto_major: 1 @@ -5233,14 +3505,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"members":["auth0|6491abcc20e9a839adbf8d52"]} + {"members":["auth0|64b035d6c19c206d4b7d9a89"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju/members + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW/members method: DELETE response: proto: HTTP/2.0 @@ -5256,8 +3528,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 124.419375ms - - id: 146 + duration: 106.467166ms + - id: 98 request: proto: HTTP/1.1 proto_major: 1 @@ -5274,8 +3546,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_eRSp2Vbkd1r2uYju + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_oEmI2hFzMsi0lKXW method: DELETE response: proto: HTTP/2.0 @@ -5291,8 +3563,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 120.717792ms - - id: 147 + duration: 105.857125ms + - id: 99 request: proto: HTTP/1.1 proto_major: 1 @@ -5309,8 +3581,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6491abcc20e9a839adbf8d52 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b035d6c19c206d4b7d9a89 method: DELETE response: proto: HTTP/2.0 @@ -5326,8 +3598,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 210.504083ms - - id: 148 + duration: 205.095958ms + - id: 100 request: proto: HTTP/1.1 proto_major: 1 @@ -5345,8 +3617,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_M3nr8ABTucbXoOOW + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_fL4ocr6vfrsqbSwc method: DELETE response: proto: HTTP/2.0 @@ -5362,8 +3634,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.047458ms - - id: 149 + duration: 110.985417ms + - id: 101 request: proto: HTTP/1.1 proto_major: 1 @@ -5381,8 +3653,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_19tUh6pfAv9jMBnd + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_NvMPbcuOdDuw24Pu method: DELETE response: proto: HTTP/2.0 @@ -5398,4 +3670,4 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.564125ms + duration: 100.499833ms diff --git a/test/data/recordings/TestAccOrganizationMembers.yaml b/test/data/recordings/TestAccOrganizationMembers.yaml index 9e27c55ea..824ff62e9 100644 --- a/test/data/recordings/TestAccOrganizationMembers.yaml +++ b/test/data/recordings/TestAccOrganizationMembers.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: 598 uncompressed: false - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 340.577958ms + duration: 233.589458ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -66,49 +66,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.34775ms + duration: 164.315708ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 164 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"connection":"Username-Password-Authentication","email":"testaccorganizationmembers2@auth0.com","username":"testaccorganizationmembers22","password":"MyPass123$"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 598 + uncompressed: false + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.208125ms + status: 201 Created + code: 201 + duration: 227.733458ms - id: 3 request: proto: HTTP/1.1 @@ -127,8 +127,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -138,33 +138,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.225458ms + duration: 91.56525ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 164 + content_length: 91 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"connection":"Username-Password-Authentication","email":"testaccorganizationmembers2@auth0.com","username":"testaccorganizationmembers22","password":"MyPass123$"} + {"name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations method: POST response: proto: HTTP/2.0 @@ -172,15 +172,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 598 + content_length: 118 uncompressed: false - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers","id":"org_NMP0NZEpkdXp0Y96"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 211.038875ms + duration: 107.165084ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -210,49 +210,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.526417ms + duration: 117.63375ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b037046a989b5106307d20"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.648541ms + status: 204 No Content + code: 204 + duration: 102.657667ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -282,49 +282,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.156666ms + duration: 138.056583ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 91 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 118 - uncompressed: false - body: '{"name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers","id":"org_7vS2tx2jyFK8M7TR"}' + content_length: -1 + uncompressed: true + body: '{"members":[{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 109.021041ms + status: 200 OK + code: 200 + duration: 162.197542ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -354,49 +354,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"members":[{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.479875ms + duration: 116.06475ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 47 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"members":["auth0|6492ed7865dc1ff60fd431c9"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 127.564042ms + status: 200 OK + code: 200 + duration: 139.799083ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.46325ms + duration: 92.386542ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -462,49 +462,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":1}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 406.930917ms + duration: 97.234708ms - id: 13 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b037046a989b5106307d20"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.499417ms + status: 204 No Content + code: 204 + duration: 100.73525ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.07425ms + duration: 94.27475ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.322875ms + duration: 89.87875ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.43225ms + duration: 115.929084ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.760458ms + duration: 91.70925ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.535ms + duration: 81.850542ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.071542ms + duration: 93.452917ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -750,49 +750,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"members":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.523167ms + duration: 130.118583ms - id: 21 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 47 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"members":["auth0|6492ed7865dc1ff60fd431c9"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"members":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 110.5025ms + status: 200 OK + code: 200 + duration: 243.532708ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 82.847292ms + duration: 91.050292ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.26275ms + duration: 91.594917ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.541ms + duration: 92.217542ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.701416ms + duration: 105.503833ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.09975ms + duration: 102.552041ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.021083ms + duration: 114.732ms - id: 28 request: proto: HTTP/1.1 @@ -1027,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -1038,13 +1038,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.683125ms + duration: 97.319625ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.544ms + duration: 95.279917ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.243667ms + duration: 101.948375ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1146,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.622167ms + duration: 95.29775ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.753917ms + duration: 87.314833ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.925084ms + duration: 104.8145ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1254,13 +1254,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.261667ms + duration: 94.3435ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -1290,13 +1290,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.483334ms + duration: 133.771916ms - id: 36 request: proto: HTTP/1.1 @@ -1315,8 +1315,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1326,13 +1326,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.171292ms + duration: 155.189209ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[],"start":0,"limit":50,"total":0}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.194666ms + duration: 106.522791ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.664708ms + duration: 128.8365ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -1434,13 +1434,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.833958ms + duration: 94.287ms - id: 40 request: proto: HTTP/1.1 @@ -1459,8 +1459,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -1470,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[],"start":0,"limit":100,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.339583ms + duration: 95.140833ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1506,49 +1506,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"members":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.652666ms + duration: 105.561833ms - id: 42 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b037046a989b5106307d20"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members + method: POST 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}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.1435ms + status: 204 No Content + code: 204 + duration: 96.959958ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[],"start":0,"limit":100,"total":0}' + body: '{"members":[{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.726041ms + duration: 105.0085ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.3ms + duration: 86.254542ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.475208ms + duration: 112.847875ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.95675ms + duration: 108.304583ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -1722,13 +1722,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.414792ms + duration: 89.247875ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1758,13 +1758,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.848875ms + duration: 95.099458ms - id: 49 request: proto: HTTP/1.1 @@ -1783,8 +1783,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.22575ms + duration: 99.310792ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -1830,13 +1830,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.459625ms + duration: 99.305417ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 198.936459ms + duration: 113.272959ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.876792ms + duration: 87.524458ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"members":[{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.012ms + duration: 156.907417ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -1974,13 +1974,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[],"start":0,"limit":100,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.842875ms + duration: 89.039541ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.494834ms + duration: 98.609ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"members":[{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.397ms + duration: 101.622041ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[],"start":0,"limit":100,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.232917ms + duration: 101.239833ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.115333ms + duration: 131.573083ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2154,13 +2154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.665459ms + duration: 107.023792ms - id: 60 request: proto: HTTP/1.1 @@ -2179,8 +2179,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -2190,13 +2190,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.89525ms + duration: 151.541375ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -2226,13 +2226,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.773625ms + duration: 93.387958ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.081708ms + duration: 93.131583ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2298,49 +2298,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.713667ms + duration: 92.131292ms - id: 64 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b03704c157759fdf79106c"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.732125ms + status: 204 No Content + code: 204 + duration: 101.021458ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2370,49 +2370,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.391958ms + duration: 119.182541ms - id: 66 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 47 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"members":["auth0|6492ed7865dc1ff60fd431c9"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 112.807875ms + status: 200 OK + code: 200 + duration: 98.583292ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2442,13 +2442,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":1}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.885166ms + duration: 107.700125ms - id: 68 request: proto: HTTP/1.1 @@ -2467,8 +2467,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2478,13 +2478,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.840375ms + duration: 101.064375ms - id: 69 request: proto: HTTP/1.1 @@ -2503,8 +2503,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -2514,13 +2514,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 130.197208ms + duration: 106.692917ms - id: 70 request: proto: HTTP/1.1 @@ -2539,8 +2539,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2550,13 +2550,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.721917ms + duration: 99.21675ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2586,13 +2586,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.511917ms + duration: 120.99025ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.475875ms + duration: 94.842125ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.595083ms + duration: 100.70325ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.62575ms + duration: 90.693417ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.338625ms + duration: 94.474667ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.565333ms + duration: 89.363584ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2802,13 +2802,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.410084ms + duration: 88.359333ms - id: 78 request: proto: HTTP/1.1 @@ -2827,8 +2827,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2838,13 +2838,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 144.222208ms + duration: 102.686375ms - id: 79 request: proto: HTTP/1.1 @@ -2863,8 +2863,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -2874,13 +2874,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.451625ms + duration: 94.800291ms - id: 80 request: proto: HTTP/1.1 @@ -2899,8 +2899,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2910,13 +2910,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.860583ms + duration: 97.19775ms - id: 81 request: proto: HTTP/1.1 @@ -2935,8 +2935,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2946,13 +2946,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":1}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.114125ms + duration: 105.99725ms - id: 82 request: proto: HTTP/1.1 @@ -2971,8 +2971,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.244ms + duration: 109.1955ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.171958ms + duration: 99.067583ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -3054,13 +3054,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.743875ms + duration: 108.232166ms - id: 85 request: proto: HTTP/1.1 @@ -3079,8 +3079,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3090,49 +3090,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.361209ms + duration: 98.5935ms - id: 86 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b037046a989b5106307d20"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members + method: DELETE 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}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.199125ms + status: 204 No Content + code: 204 + duration: 96.740375ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3162,13 +3162,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.248208ms + duration: 164.013875ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -3198,13 +3198,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.846416ms + duration: 92.763292ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3234,13 +3234,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.248458ms + duration: 103.00275ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.635666ms + duration: 213.04475ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -3306,13 +3306,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.802584ms + duration: 82.714458ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3342,13 +3342,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.880167ms + duration: 90.378458ms - id: 93 request: proto: HTTP/1.1 @@ -3367,8 +3367,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3378,13 +3378,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.768708ms + duration: 123.086709ms - id: 94 request: proto: HTTP/1.1 @@ -3403,8 +3403,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -3414,13 +3414,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.165917ms + duration: 91.180416ms - id: 95 request: proto: HTTP/1.1 @@ -3439,8 +3439,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -3450,49 +3450,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.888667ms + duration: 125.783875ms - id: 96 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 47 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"members":["auth0|6492ed794a5f17311d56b7df"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 110.78775ms + status: 200 OK + code: 200 + duration: 92.938792ms - id: 97 request: proto: HTTP/1.1 @@ -3511,8 +3511,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3522,13 +3522,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.738792ms + duration: 114.171375ms - id: 98 request: proto: HTTP/1.1 @@ -3547,8 +3547,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -3558,13 +3558,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.312ms + duration: 89.486584ms - id: 99 request: proto: HTTP/1.1 @@ -3583,8 +3583,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3600,7 +3600,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.71ms + duration: 98.294833ms - id: 100 request: proto: HTTP/1.1 @@ -3619,8 +3619,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3630,13 +3630,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.526583ms + duration: 126.268792ms - id: 101 request: proto: HTTP/1.1 @@ -3655,8 +3655,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -3666,13 +3666,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.772916ms + duration: 109.331292ms - id: 102 request: proto: HTTP/1.1 @@ -3691,8 +3691,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3708,7 +3708,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 134.628375ms + duration: 96.034125ms - id: 103 request: proto: HTTP/1.1 @@ -3727,8 +3727,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3738,13 +3738,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.638917ms + duration: 96.762125ms - id: 104 request: proto: HTTP/1.1 @@ -3763,8 +3763,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -3774,13 +3774,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.816792ms + duration: 95.994042ms - id: 105 request: proto: HTTP/1.1 @@ -3799,8 +3799,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -3810,13 +3810,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 165.815042ms + duration: 87.155416ms - id: 106 request: proto: HTTP/1.1 @@ -3835,8 +3835,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -3846,13 +3846,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.370625ms + duration: 91.314959ms - id: 107 request: proto: HTTP/1.1 @@ -3871,8 +3871,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3882,49 +3882,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.0055ms + duration: 264.052583ms - id: 108 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b03704c157759fdf79106c"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 93.689584ms + status: 204 No Content + code: 204 + duration: 126.392334ms - id: 109 request: proto: HTTP/1.1 @@ -3943,8 +3943,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3954,13 +3954,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.3415ms + duration: 125.956333ms - id: 110 request: proto: HTTP/1.1 @@ -3979,8 +3979,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -3990,13 +3990,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.140958ms + duration: 86.913709ms - id: 111 request: proto: HTTP/1.1 @@ -4015,8 +4015,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4026,13 +4026,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.531292ms + duration: 116.865ms - id: 112 request: proto: HTTP/1.1 @@ -4051,8 +4051,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4062,13 +4062,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.465625ms + duration: 104.228625ms - id: 113 request: proto: HTTP/1.1 @@ -4087,8 +4087,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -4098,13 +4098,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.051125ms + duration: 104.301208ms - id: 114 request: proto: HTTP/1.1 @@ -4123,8 +4123,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4134,13 +4134,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.91725ms + duration: 95.389667ms - id: 115 request: proto: HTTP/1.1 @@ -4159,8 +4159,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4170,13 +4170,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.746959ms + duration: 91.860959ms - id: 116 request: proto: HTTP/1.1 @@ -4195,8 +4195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -4206,13 +4206,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.288584ms + duration: 101.304875ms - id: 117 request: proto: HTTP/1.1 @@ -4231,8 +4231,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -4242,13 +4242,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.864209ms + duration: 88.548958ms - id: 118 request: proto: HTTP/1.1 @@ -4267,8 +4267,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -4278,13 +4278,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.373416ms + duration: 84.695625ms - id: 119 request: proto: HTTP/1.1 @@ -4303,8 +4303,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4314,13 +4314,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.619208ms + duration: 89.286292ms - id: 120 request: proto: HTTP/1.1 @@ -4339,8 +4339,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -4350,13 +4350,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.475416ms + duration: 94.113958ms - id: 121 request: proto: HTTP/1.1 @@ -4375,8 +4375,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4386,13 +4386,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.907084ms + duration: 108.010334ms - id: 122 request: proto: HTTP/1.1 @@ -4411,8 +4411,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4422,13 +4422,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.517792ms + duration: 109.677167ms - id: 123 request: proto: HTTP/1.1 @@ -4447,8 +4447,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -4458,13 +4458,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.438583ms + duration: 109.070167ms - id: 124 request: proto: HTTP/1.1 @@ -4483,8 +4483,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4494,13 +4494,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.465708ms + duration: 87.563709ms - id: 125 request: proto: HTTP/1.1 @@ -4519,8 +4519,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4530,49 +4530,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.376375ms + duration: 91.54175ms - id: 126 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 47 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"members":["auth0|6492ed7865dc1ff60fd431c9"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 99.457667ms + status: 200 OK + code: 200 + duration: 127.903875ms - id: 127 request: proto: HTTP/1.1 @@ -4591,8 +4591,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4602,13 +4602,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"}],"start":0,"limit":50,"total":1}' + body: '{"members":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.028584ms + duration: 136.631583ms - id: 128 request: proto: HTTP/1.1 @@ -4627,8 +4627,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -4638,13 +4638,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.238833ms + duration: 114.117833ms - id: 129 request: proto: HTTP/1.1 @@ -4663,8 +4663,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -4674,13 +4674,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 127.61475ms + duration: 148.245125ms - id: 130 request: proto: HTTP/1.1 @@ -4699,8 +4699,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -4710,13 +4710,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.254791ms + duration: 97.178292ms - id: 131 request: proto: HTTP/1.1 @@ -4735,8 +4735,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4746,13 +4746,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.823458ms + duration: 145.390792ms - id: 132 request: proto: HTTP/1.1 @@ -4771,8 +4771,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4782,13 +4782,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.448459ms + duration: 109.07675ms - id: 133 request: proto: HTTP/1.1 @@ -4807,8 +4807,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -4818,13 +4818,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.8455ms + duration: 96.402833ms - id: 134 request: proto: HTTP/1.1 @@ -4843,8 +4843,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4854,13 +4854,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.2815ms + duration: 97.143042ms - id: 135 request: proto: HTTP/1.1 @@ -4879,8 +4879,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4890,13 +4890,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 147.930708ms + duration: 100.808583ms - id: 136 request: proto: HTTP/1.1 @@ -4915,8 +4915,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -4926,13 +4926,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.595375ms + duration: 89.731208ms - id: 137 request: proto: HTTP/1.1 @@ -4951,8 +4951,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4962,13 +4962,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.10475ms + duration: 98.5655ms - id: 138 request: proto: HTTP/1.1 @@ -4987,8 +4987,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4998,13 +4998,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.99225ms + duration: 101.765375ms - id: 139 request: proto: HTTP/1.1 @@ -5023,8 +5023,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -5034,13 +5034,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.955042ms + duration: 89.51375ms - id: 140 request: proto: HTTP/1.1 @@ -5059,8 +5059,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -5070,13 +5070,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.702084ms + duration: 91.998708ms - id: 141 request: proto: HTTP/1.1 @@ -5095,8 +5095,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -5106,13 +5106,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"}],"start":0,"limit":50,"total":1}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.800875ms + duration: 89.185542ms - id: 142 request: proto: HTTP/1.1 @@ -5131,8 +5131,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -5142,13 +5142,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.864666ms + duration: 119.557667ms - id: 143 request: proto: HTTP/1.1 @@ -5167,8 +5167,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -5184,7 +5184,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.31925ms + duration: 104.149625ms - id: 144 request: proto: HTTP/1.1 @@ -5203,8 +5203,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -5214,13 +5214,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.50975ms + duration: 118.279709ms - id: 145 request: proto: HTTP/1.1 @@ -5239,8 +5239,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -5250,13 +5250,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.469667ms + duration: 172.786291ms - id: 146 request: proto: HTTP/1.1 @@ -5275,8 +5275,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -5292,7 +5292,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.798333ms + duration: 151.50425ms - id: 147 request: proto: HTTP/1.1 @@ -5311,8 +5311,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -5322,13 +5322,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"}],"start":0,"limit":100,"total":1}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.833584ms + duration: 97.174125ms - id: 148 request: proto: HTTP/1.1 @@ -5347,8 +5347,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -5358,13 +5358,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.323ms + duration: 89.052833ms - id: 149 request: proto: HTTP/1.1 @@ -5383,8 +5383,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -5394,13 +5394,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.347708ms + duration: 82.035875ms - id: 150 request: proto: HTTP/1.1 @@ -5419,8 +5419,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -5430,13 +5430,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.391416ms + duration: 99.575834ms - id: 151 request: proto: HTTP/1.1 @@ -5455,8 +5455,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -5466,13 +5466,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.101708ms + duration: 146.792125ms - id: 152 request: proto: HTTP/1.1 @@ -5491,8 +5491,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -5502,13 +5502,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.331875ms + duration: 97.993542ms - id: 153 request: proto: HTTP/1.1 @@ -5527,8 +5527,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -5538,13 +5538,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.633542ms + duration: 106.783625ms - id: 154 request: proto: HTTP/1.1 @@ -5563,8 +5563,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -5574,13 +5574,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.416958ms + duration: 88.22575ms - id: 155 request: proto: HTTP/1.1 @@ -5599,8 +5599,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -5610,2750 +5610,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"}],"start":0,"limit":50,"total":1}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 190.768833ms + duration: 93.551417ms - id: 156 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 47 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"members":["auth0|6492ed794a5f17311d56b7df"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members - 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: 104.5825ms - - id: 157 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"members":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 118.446709ms - - id: 158 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 93.074333ms - - id: 159 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/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: 101.394167ms - - id: 160 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?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: '{"members":[],"start":0,"limit":100,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 87.148417ms - - id: 161 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.148541ms - - id: 162 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/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: 95.1165ms - - id: 163 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?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: '{"members":[],"start":0,"limit":100,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 314.226708ms - - id: 164 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 120.621375ms - - id: 165 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.312125ms - - id: 166 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 119.372541ms - - id: 167 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.016708ms - - id: 168 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 146.660583ms - - id: 169 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.604666ms - - id: 170 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 115.24825ms - - id: 171 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"members":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.661958ms - - id: 172 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.28525ms - - id: 173 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/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: 90.371584ms - - id: 174 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?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: '{"members":[],"start":0,"limit":100,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.868292ms - - id: 175 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.002458ms - - id: 176 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/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: 104.681209ms - - id: 177 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?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: '{"members":[],"start":0,"limit":100,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 154.941959ms - - id: 178 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.000334ms - - id: 179 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"members":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.08975ms - - id: 180 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 93.921875ms - - id: 181 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.358208ms - - id: 182 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.699917ms - - id: 183 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.596542ms - - id: 184 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 90.367792ms - - id: 185 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 91.988667ms - - id: 186 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 91.35175ms - - id: 187 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/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: 97.436917ms - - id: 188 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?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: '{"members":[],"start":0,"limit":100,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.959459ms - - id: 189 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 89.274917ms - - id: 190 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/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: 130.085459ms - - id: 191 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?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: '{"members":[],"start":0,"limit":100,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.777917ms - - id: 192 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 108.754333ms - - id: 193 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/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: 93.269166ms - - id: 194 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?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: '{"members":[],"start":0,"limit":100,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.322084ms - - id: 195 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 91.558459ms - - id: 196 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 137.491416ms - - id: 197 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.934083ms - - id: 198 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.703333ms - - id: 199 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.697541ms - - id: 200 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.27175ms - - id: 201 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 257.974334ms - - id: 202 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.36925ms - - id: 203 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/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: 107.107625ms - - id: 204 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?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: '{"members":[],"start":0,"limit":100,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 131.843292ms - - id: 205 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 92.456916ms - - id: 206 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/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: 107.737709ms - - id: 207 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?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: '{"members":[],"start":0,"limit":100,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 110.831792ms - - id: 208 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 87.850041ms - - id: 209 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.20575ms - - id: 210 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 117.883708ms - - id: 211 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.064167ms - - id: 212 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 106.957417ms - - id: 213 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 90.631875ms - - id: 214 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.470458ms - - id: 215 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.909125ms - - id: 216 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/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: 101.377542ms - - id: 217 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?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: '{"members":[],"start":0,"limit":100,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 87.895083ms - - id: 218 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.676375ms - - id: 219 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/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: 107.86475ms - - id: 220 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?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: '{"members":[],"start":0,"limit":100,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 220.509166ms - - id: 221 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.161791ms - - id: 222 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.121166ms - - id: 223 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 114.193875ms - - id: 224 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.380375ms - - id: 225 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.211875ms - - id: 226 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 118.398125ms - - id: 227 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.615ms - - id: 228 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 47 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"members":["auth0|6492ed7865dc1ff60fd431c9"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members - method: POST - 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: 107.25825ms - - id: 229 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 47 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"members":["auth0|6492ed794a5f17311d56b7df"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members - method: POST - 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: 114.804458ms - - id: 230 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 110.08325ms - - id: 231 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 107.466917ms - - id: 232 request: proto: HTTP/1.1 proto_major: 1 @@ -8371,8 +5635,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -8382,14 +5646,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' + body: '{"members":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.554666ms - - id: 233 + duration: 389.517334ms + - id: 157 request: proto: HTTP/1.1 proto_major: 1 @@ -8407,8 +5671,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -8418,14 +5682,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.310917ms - - id: 234 + duration: 102.884083ms + - id: 158 request: proto: HTTP/1.1 proto_major: 1 @@ -8443,8 +5707,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -8454,14 +5718,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.924208ms - - id: 235 + duration: 91.305083ms + - id: 159 request: proto: HTTP/1.1 proto_major: 1 @@ -8479,8 +5743,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -8490,86 +5754,86 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.110167ms - - id: 236 + duration: 90.615292ms + - id: 160 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b03704c157759fdf79106c"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 125.812667ms - - id: 237 + status: 204 No Content + code: 204 + duration: 101.340667ms + - id: 161 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 47 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"members":["auth0|64b037046a989b5106307d20"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.693375ms - - id: 238 + status: 204 No Content + code: 204 + duration: 108.629166ms + - id: 162 request: proto: HTTP/1.1 proto_major: 1 @@ -8587,8 +5851,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -8598,14 +5862,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.73875ms - - id: 239 + duration: 91.916292ms + - id: 163 request: proto: HTTP/1.1 proto_major: 1 @@ -8623,8 +5887,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -8634,14 +5898,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.228417ms - - id: 240 + duration: 153.959666ms + - id: 164 request: proto: HTTP/1.1 proto_major: 1 @@ -8659,8 +5923,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -8670,14 +5934,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.861292ms - - id: 241 + duration: 89.015334ms + - id: 165 request: proto: HTTP/1.1 proto_major: 1 @@ -8695,8 +5959,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -8706,14 +5970,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.156041ms - - id: 242 + duration: 87.516959ms + - id: 166 request: proto: HTTP/1.1 proto_major: 1 @@ -8731,8 +5995,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -8742,14 +6006,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.222ms - - id: 243 + duration: 92.983833ms + - id: 167 request: proto: HTTP/1.1 proto_major: 1 @@ -8767,8 +6031,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -8778,14 +6042,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.027792ms - - id: 244 + duration: 102.528333ms + - id: 168 request: proto: HTTP/1.1 proto_major: 1 @@ -8803,8 +6067,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -8814,14 +6078,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.000125ms - - id: 245 + duration: 110.205458ms + - id: 169 request: proto: HTTP/1.1 proto_major: 1 @@ -8839,8 +6103,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -8850,14 +6114,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.603042ms - - id: 246 + duration: 115.110875ms + - id: 170 request: proto: HTTP/1.1 proto_major: 1 @@ -8875,8 +6139,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -8886,14 +6150,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.381083ms - - id: 247 + duration: 99.533208ms + - id: 171 request: proto: HTTP/1.1 proto_major: 1 @@ -8911,8 +6175,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -8922,14 +6186,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"enabled_connections":[],"start":0,"limit":0,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.569667ms - - id: 248 + duration: 256.575ms + - id: 172 request: proto: HTTP/1.1 proto_major: 1 @@ -8947,8 +6211,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -8958,14 +6222,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.130459ms - - id: 249 + duration: 97.033792ms + - id: 173 request: proto: HTTP/1.1 proto_major: 1 @@ -8983,8 +6247,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -8994,14 +6258,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.514ms - - id: 250 + duration: 87.745583ms + - id: 174 request: proto: HTTP/1.1 proto_major: 1 @@ -9019,8 +6283,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -9030,14 +6294,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.917084ms - - id: 251 + duration: 86.320292ms + - id: 175 request: proto: HTTP/1.1 proto_major: 1 @@ -9055,8 +6319,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -9066,14 +6330,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.85425ms - - id: 252 + duration: 109.357625ms + - id: 176 request: proto: HTTP/1.1 proto_major: 1 @@ -9091,8 +6355,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -9102,14 +6366,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.142875ms - - id: 253 + duration: 97.422417ms + - id: 177 request: proto: HTTP/1.1 proto_major: 1 @@ -9127,8 +6391,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -9138,14 +6402,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.412208ms - - id: 254 + duration: 148.616833ms + - id: 178 request: proto: HTTP/1.1 proto_major: 1 @@ -9163,8 +6427,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -9174,14 +6438,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.910917ms - - id: 255 + duration: 103.538ms + - id: 179 request: proto: HTTP/1.1 proto_major: 1 @@ -9199,8 +6463,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -9210,14 +6474,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.593917ms - - id: 256 + duration: 96.352875ms + - id: 180 request: proto: HTTP/1.1 proto_major: 1 @@ -9235,8 +6499,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -9252,8 +6516,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.603ms - - id: 257 + duration: 99.351083ms + - id: 181 request: proto: HTTP/1.1 proto_major: 1 @@ -9271,8 +6535,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -9282,14 +6546,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.172708ms - - id: 258 + duration: 99.666375ms + - id: 182 request: proto: HTTP/1.1 proto_major: 1 @@ -9307,8 +6571,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -9318,14 +6582,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.059042ms - - id: 259 + duration: 92.73275ms + - id: 183 request: proto: HTTP/1.1 proto_major: 1 @@ -9343,8 +6607,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -9360,8 +6624,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.2285ms - - id: 260 + duration: 94.5785ms + - id: 184 request: proto: HTTP/1.1 proto_major: 1 @@ -9379,8 +6643,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -9390,14 +6654,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.837ms - - id: 261 + duration: 132.324167ms + - id: 185 request: proto: HTTP/1.1 proto_major: 1 @@ -9415,8 +6679,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -9426,14 +6690,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.406542ms - - id: 262 + duration: 98.997959ms + - id: 186 request: proto: HTTP/1.1 proto_major: 1 @@ -9451,8 +6715,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -9468,152 +6732,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.386083ms - - id: 263 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?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: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 106.758167ms - - id: 264 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T12:30:48.823Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed7865dc1ff60fd431c9","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:48.823Z","user_id":"auth0|6492ed7865dc1ff60fd431c9","username":"testaccorganizationmembers11"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.139292ms - - id: 265 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.435167ms - - id: 266 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.718208ms - - id: 267 + duration: 97.475916ms + - id: 187 request: proto: HTTP/1.1 proto_major: 1 @@ -9631,8 +6751,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -9642,14 +6762,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T12:30:49.477Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492ed794a5f17311d56b7df","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T12:30:49.477Z","user_id":"auth0|6492ed794a5f17311d56b7df","username":"testaccorganizationmembers22"}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.874208ms - - id: 268 + duration: 106.704875ms + - id: 188 request: proto: HTTP/1.1 proto_major: 1 @@ -9667,8 +6787,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: GET response: proto: HTTP/2.0 @@ -9678,14 +6798,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.026Z","email":"testaccorganizationmembers1@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b037046a989b5106307d20","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers1@auth0.com","nickname":"testaccorganizationmembers1","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.026Z","user_id":"auth0|64b037046a989b5106307d20","username":"testaccorganizationmembers11"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.878208ms - - id: 269 + duration: 95.367917ms + - id: 189 request: proto: HTTP/1.1 proto_major: 1 @@ -9703,8 +6823,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: GET response: proto: HTTP/2.0 @@ -9714,14 +6834,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-13T17:40:20.440Z","email":"testaccorganizationmembers2@auth0.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64b03704c157759fdf79106c","provider":"auth0","isSocial":false}],"name":"testaccorganizationmembers2@auth0.com","nickname":"testaccorganizationmembers2","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-13T17:40:20.440Z","user_id":"auth0|64b03704c157759fdf79106c","username":"testaccorganizationmembers22"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.353583ms - - id: 270 + duration: 92.0465ms + - id: 190 request: proto: HTTP/1.1 proto_major: 1 @@ -9739,8 +6859,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -9750,14 +6870,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.561458ms - - id: 271 + duration: 91.023375ms + - id: 191 request: proto: HTTP/1.1 proto_major: 1 @@ -9775,8 +6895,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members/auth0%7C6492ed794a5f17311d56b7df/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -9786,14 +6906,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.237584ms - - id: 272 + duration: 98.547791ms + - id: 192 request: proto: HTTP/1.1 proto_major: 1 @@ -9811,8 +6931,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members/auth0%7C6492ed7865dc1ff60fd431c9/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -9822,14 +6942,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.209958ms - - id: 273 + duration: 106.178167ms + - id: 193 request: proto: HTTP/1.1 proto_major: 1 @@ -9847,8 +6967,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -9858,14 +6978,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.533667ms - - id: 274 + duration: 98.440875ms + - id: 194 request: proto: HTTP/1.1 proto_major: 1 @@ -9883,8 +7003,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -9894,14 +7014,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.906416ms - - id: 275 + duration: 118.506333ms + - id: 195 request: proto: HTTP/1.1 proto_major: 1 @@ -9919,8 +7039,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -9936,8 +7056,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.154167ms - - id: 276 + duration: 112.693125ms + - id: 196 request: proto: HTTP/1.1 proto_major: 1 @@ -9955,8 +7075,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -9966,14 +7086,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.621833ms - - id: 277 + duration: 92.985584ms + - id: 197 request: proto: HTTP/1.1 proto_major: 1 @@ -9991,8 +7111,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: GET response: proto: HTTP/2.0 @@ -10002,14 +7122,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"org_7vS2tx2jyFK8M7TR","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' + body: '{"id":"org_NMP0NZEpkdXp0Y96","name":"some-org-testaccorganizationmembers","display_name":"testaccorganizationmembers"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.786083ms - - id: 278 + duration: 91.739916ms + - id: 198 request: proto: HTTP/1.1 proto_major: 1 @@ -10027,8 +7147,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/enabled_connections?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/enabled_connections?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -10044,8 +7164,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.199042ms - - id: 279 + duration: 99.769708ms + - id: 199 request: proto: HTTP/1.1 proto_major: 1 @@ -10063,8 +7183,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members?include_totals=true&page=0&per_page=100 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -10074,14 +7194,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"members":[{"user_id":"auth0|6492ed794a5f17311d56b7df","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|6492ed7865dc1ff60fd431c9","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' + body: '{"members":[{"user_id":"auth0|64b03704c157759fdf79106c","email":"testaccorganizationmembers2@auth0.com","picture":"https://s.gravatar.com/avatar/89bb41f83b53cf422764a9d5a9bad2f1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers2@auth0.com"},{"user_id":"auth0|64b037046a989b5106307d20","email":"testaccorganizationmembers1@auth0.com","picture":"https://s.gravatar.com/avatar/4f34aa9f8f57ca4c76491ba399a9d6c2?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","name":"testaccorganizationmembers1@auth0.com"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.860041ms - - id: 280 + duration: 113.8005ms + - id: 200 request: proto: HTTP/1.1 proto_major: 1 @@ -10093,14 +7213,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"members":["auth0|6492ed7865dc1ff60fd431c9","auth0|6492ed794a5f17311d56b7df"]} + {"members":["auth0|64b037046a989b5106307d20","auth0|64b03704c157759fdf79106c"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members method: DELETE response: proto: HTTP/2.0 @@ -10116,8 +7236,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 106.498792ms - - id: 281 + duration: 96.560125ms + - id: 201 request: proto: HTTP/1.1 proto_major: 1 @@ -10129,14 +7249,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"members":["auth0|6492ed7865dc1ff60fd431c9"]} + {"members":["auth0|64b037046a989b5106307d20"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members method: DELETE response: proto: HTTP/2.0 @@ -10152,8 +7272,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 110.836458ms - - id: 282 + duration: 105.64ms + - id: 202 request: proto: HTTP/1.1 proto_major: 1 @@ -10165,14 +7285,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"members":["auth0|6492ed794a5f17311d56b7df"]} + {"members":["auth0|64b03704c157759fdf79106c"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR/members + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96/members method: DELETE response: proto: HTTP/2.0 @@ -10188,8 +7308,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 94.942167ms - - id: 283 + duration: 105.674208ms + - id: 203 request: proto: HTTP/1.1 proto_major: 1 @@ -10206,8 +7326,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_7vS2tx2jyFK8M7TR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/organizations/org_NMP0NZEpkdXp0Y96 method: DELETE response: proto: HTTP/2.0 @@ -10223,8 +7343,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 95.136125ms - - id: 284 + duration: 119.26525ms + - id: 204 request: proto: HTTP/1.1 proto_major: 1 @@ -10241,8 +7361,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed794a5f17311d56b7df + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b03704c157759fdf79106c method: DELETE response: proto: HTTP/2.0 @@ -10258,8 +7378,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 169.239875ms - - id: 285 + duration: 292.544583ms + - id: 205 request: proto: HTTP/1.1 proto_major: 1 @@ -10276,8 +7396,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492ed7865dc1ff60fd431c9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64b037046a989b5106307d20 method: DELETE response: proto: HTTP/2.0 @@ -10293,4 +7413,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 122.500375ms + duration: 142.09725ms diff --git a/test/data/recordings/TestAccResourceServer.yaml b/test/data/recordings/TestAccResourceServer.yaml index 75f611482..fb6d61cd2 100644 --- a/test/data/recordings/TestAccResourceServer.yaml +++ b/test/data/recordings/TestAccResourceServer.yaml @@ -1,578 +1,506 @@ --- version: 2 interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 96 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","scopes":[]} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: 287 - uncompressed: false - body: '{"id":"632da75b9fb6592e48bfeb82","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' - 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/resource-servers/632da75b9fb6592e48bfeb82 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"632da75b9fb6592e48bfeb82","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' - 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/resource-servers/632da75b9fb6592e48bfeb82 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"632da75b9fb6592e48bfeb82","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' - 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/resource-servers/632da75b9fb6592e48bfeb82 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"632da75b9fb6592e48bfeb82","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' - 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: 345 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance Test - TestAccResourceServer","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"signing_alg":"RS256","allow_offline_access":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":true} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/632da75b9fb6592e48bfeb82 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"632da75b9fb6592e48bfeb82","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - 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/resource-servers/632da75b9fb6592e48bfeb82 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"632da75b9fb6592e48bfeb82","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - 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/resource-servers/632da75b9fb6592e48bfeb82 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"632da75b9fb6592e48bfeb82","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - 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/resource-servers/632da75b9fb6592e48bfeb82 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"632da75b9fb6592e48bfeb82","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - 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: 362 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance Test - TestAccResourceServer","scopes":[{"value":"create:bar","description":"Create bars for bar reasons"},{"value":"create:foo","description":"Create foos"}],"signing_alg":"RS256","allow_offline_access":false,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":true} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/632da75b9fb6592e48bfeb82 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"632da75b9fb6592e48bfeb82","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars for bar reasons"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - 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/resource-servers/632da75b9fb6592e48bfeb82 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"632da75b9fb6592e48bfeb82","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars for bar reasons"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - 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/resource-servers/632da75b9fb6592e48bfeb82 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"632da75b9fb6592e48bfeb82","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars for bar reasons"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - 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/resource-servers/632da75b9fb6592e48bfeb82 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"632da75b9fb6592e48bfeb82","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars for bar reasons"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - 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: 63 - transfer_encoding: [ ] - trailer: { } - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance Test - TestAccResourceServer","scopes":[]} - form: { } - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/latest - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/632da75b9fb6592e48bfeb82 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"632da75b9fb6592e48bfeb82","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[],"enforce_policies":true}' - 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/resource-servers/632da75b9fb6592e48bfeb82 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"632da75b9fb6592e48bfeb82","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[],"enforce_policies":true}' - 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/resource-servers/632da75b9fb6592e48bfeb82 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [ ] - trailer: { } - content_length: -1 - uncompressed: true - body: '{"id":"632da75b9fb6592e48bfeb82","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[],"enforce_policies":true}' - 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/resource-servers/632da75b9fb6592e48bfeb82 - 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: 84 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 275 + uncompressed: false + body: '{"id":"64aecaae384ccb6ed4d19fa7","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 118.850375ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aecaae384ccb6ed4d19fa7 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aecaae384ccb6ed4d19fa7","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 103.367541ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aecaae384ccb6ed4d19fa7 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aecaae384ccb6ed4d19fa7","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.3165ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aecaae384ccb6ed4d19fa7 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aecaae384ccb6ed4d19fa7","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 104.163041ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 232 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - TestAccResourceServer","signing_alg":"RS256","allow_offline_access":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":true} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aecaae384ccb6ed4d19fa7 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aecaae384ccb6ed4d19fa7","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.773792ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aecaae384ccb6ed4d19fa7 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aecaae384ccb6ed4d19fa7","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 194.604083ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aecaae384ccb6ed4d19fa7 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aecaae384ccb6ed4d19fa7","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 226.655583ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aecaae384ccb6ed4d19fa7 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aecaae384ccb6ed4d19fa7","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 92.277209ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 233 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - TestAccResourceServer","signing_alg":"RS256","allow_offline_access":false,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":true} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aecaae384ccb6ed4d19fa7 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aecaae384ccb6ed4d19fa7","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 106.412083ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aecaae384ccb6ed4d19fa7 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aecaae384ccb6ed4d19fa7","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 220.40825ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aecaae384ccb6ed4d19fa7 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aecaae384ccb6ed4d19fa7","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 188.866667ms + - 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/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aecaae384ccb6ed4d19fa7 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aecaae384ccb6ed4d19fa7","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 96.88325ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aecaae384ccb6ed4d19fa7 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"64aecaae384ccb6ed4d19fa7","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 106.779333ms + - 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.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aecaae384ccb6ed4d19fa7 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Type: + - application/json; charset=utf-8 + status: 204 No Content + code: 204 + duration: 234.907625ms diff --git a/test/data/recordings/TestAccResourceServerAuth0APIManagement.yaml b/test/data/recordings/TestAccResourceServerAuth0APIManagementImport.yaml similarity index 100% rename from test/data/recordings/TestAccResourceServerAuth0APIManagement.yaml rename to test/data/recordings/TestAccResourceServerAuth0APIManagementImport.yaml diff --git a/test/data/recordings/TestAccResourceServerScope.yaml b/test/data/recordings/TestAccResourceServerScope.yaml index 17e50a2e4..65597fe8e 100644 --- a/test/data/recordings/TestAccResourceServerScope.yaml +++ b/test/data/recordings/TestAccResourceServerScope.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 155 + content_length: 143 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","scopes":[]} + {"name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers method: POST response: @@ -28,15 +28,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 346 + content_length: 334 uncompressed: false - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 97.164417ms + duration: 105.53325ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.538333ms + duration: 151.150375ms - id: 2 request: proto: HTTP/1.1 @@ -91,7 +91,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.281917ms + duration: 102.021917ms - id: 3 request: proto: HTTP/1.1 @@ -127,7 +127,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: PATCH response: @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.112208ms + duration: 93.981667ms - id: 4 request: proto: HTTP/1.1 @@ -163,7 +163,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.91675ms + duration: 108.847833ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: proto: HTTP/2.0 @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 81.573334ms + duration: 93.988667ms - id: 6 request: proto: HTTP/1.1 @@ -235,8 +235,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -246,13 +246,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.98775ms + duration: 105.619542ms - id: 7 request: proto: HTTP/1.1 @@ -271,7 +271,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -282,13 +282,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.341292ms + duration: 95.154917ms - id: 8 request: proto: HTTP/1.1 @@ -307,8 +307,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -318,13 +318,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.234958ms + duration: 101.066916ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -354,13 +354,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.443833ms + duration: 102.055458ms - id: 10 request: proto: HTTP/1.1 @@ -379,7 +379,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -390,13 +390,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.72325ms + duration: 88.395833ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.842792ms + duration: 94.614625ms - id: 12 request: proto: HTTP/1.1 @@ -451,7 +451,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.983583ms + duration: 91.069292ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.913ms + duration: 85.783458ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.05075ms + duration: 97.556875ms - id: 15 request: proto: HTTP/1.1 @@ -559,7 +559,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.056209ms + duration: 102.629875ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.681333ms + duration: 111.2555ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 72.528833ms + duration: 114.361708ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 78.179416ms + duration: 106.381334ms - id: 19 request: proto: HTTP/1.1 @@ -703,7 +703,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.392917ms + duration: 86.347875ms - id: 20 request: proto: HTTP/1.1 @@ -739,7 +739,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: PATCH response: @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 204.302583ms + duration: 148.602125ms - id: 21 request: proto: HTTP/1.1 @@ -775,7 +775,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 78.46375ms + duration: 99.902125ms - id: 22 request: proto: HTTP/1.1 @@ -811,7 +811,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: PATCH response: @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.240333ms + duration: 100.331458ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.036209ms + duration: 93.019542ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.063583ms + duration: 99.842583ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 83.477917ms + duration: 95.297833ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 78.40875ms + duration: 97.552542ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 80.381417ms + duration: 89.055459ms - id: 28 request: proto: HTTP/1.1 @@ -1027,7 +1027,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -1038,13 +1038,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 80.296291ms + duration: 110.9165ms - id: 29 request: proto: HTTP/1.1 @@ -1063,7 +1063,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: PATCH response: @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 79.256625ms + duration: 95.07025ms - id: 30 request: proto: HTTP/1.1 @@ -1099,7 +1099,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 78.758917ms + duration: 93.6855ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -1146,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.688375ms + duration: 95.833375ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 146.613292ms + duration: 96.410459ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.673542ms + duration: 106.791042ms - id: 34 request: proto: HTTP/1.1 @@ -1243,7 +1243,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -1254,13 +1254,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.112166ms + duration: 92.785666ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -1290,13 +1290,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.491917ms + duration: 93.408792ms - id: 36 request: proto: HTTP/1.1 @@ -1315,8 +1315,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -1326,13 +1326,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 77.607167ms + duration: 94.560792ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.822875ms + duration: 94.06725ms - id: 38 request: proto: HTTP/1.1 @@ -1387,7 +1387,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.106958ms + duration: 119.961792ms - id: 39 request: proto: HTTP/1.1 @@ -1423,7 +1423,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -1434,13 +1434,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.1645ms + duration: 94.978041ms - id: 40 request: proto: HTTP/1.1 @@ -1459,7 +1459,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: PATCH response: @@ -1470,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.017209ms + duration: 195.529834ms - id: 41 request: proto: HTTP/1.1 @@ -1495,7 +1495,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.308125ms + duration: 91.743583ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.904667ms + duration: 99.822ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 82.672125ms + duration: 87.891458ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.540625ms + duration: 95.350958ms - id: 45 request: proto: HTTP/1.1 @@ -1639,7 +1639,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.522875ms + duration: 93.558333ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.778584ms + duration: 95.876917ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -1722,13 +1722,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 80.139167ms + duration: 93.301625ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -1758,13 +1758,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.402542ms + duration: 108.76525ms - id: 49 request: proto: HTTP/1.1 @@ -1783,7 +1783,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.055541ms + duration: 90.552958ms - id: 50 request: proto: HTTP/1.1 @@ -1819,7 +1819,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -1830,13 +1830,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 77.09675ms + duration: 92.347583ms - id: 51 request: proto: HTTP/1.1 @@ -1855,7 +1855,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: PATCH response: @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.789459ms + duration: 93.000292ms - id: 52 request: proto: HTTP/1.1 @@ -1891,7 +1891,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.21325ms + duration: 97.515125ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 80.805875ms + duration: 175.460917ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -1974,13 +1974,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.398916ms + duration: 92.228416ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.21325ms + duration: 95.402417ms - id: 56 request: proto: HTTP/1.1 @@ -2035,7 +2035,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.323875ms + duration: 101.583208ms - id: 57 request: proto: HTTP/1.1 @@ -2071,7 +2071,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 82.209541ms + duration: 90.133625ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.302708ms + duration: 92.166209ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -2154,13 +2154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.116333ms + duration: 93.260584ms - id: 60 request: proto: HTTP/1.1 @@ -2179,7 +2179,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -2190,13 +2190,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 75.408667ms + duration: 97.1585ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -2226,13 +2226,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 80.513834ms + duration: 95.511917ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.575125ms + duration: 87.146167ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.856917ms + duration: 118.474625ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -2334,13 +2334,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 78.5635ms + duration: 109.620375ms - id: 65 request: proto: HTTP/1.1 @@ -2359,7 +2359,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -2370,13 +2370,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.1415ms + duration: 89.110209ms - id: 66 request: proto: HTTP/1.1 @@ -2395,7 +2395,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: PATCH response: @@ -2406,13 +2406,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.644625ms + duration: 144.928375ms - id: 67 request: proto: HTTP/1.1 @@ -2431,7 +2431,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -2442,13 +2442,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.862208ms + duration: 95.964167ms - id: 68 request: proto: HTTP/1.1 @@ -2467,7 +2467,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: PATCH response: @@ -2478,13 +2478,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.866292ms + duration: 136.431084ms - id: 69 request: proto: HTTP/1.1 @@ -2503,8 +2503,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -2514,13 +2514,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 131.821291ms + duration: 98.982417ms - id: 70 request: proto: HTTP/1.1 @@ -2539,8 +2539,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -2550,13 +2550,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 74.472708ms + duration: 90.321375ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -2586,13 +2586,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.909208ms + duration: 110.853417ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.139541ms + duration: 100.470834ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 81.306875ms + duration: 94.822875ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 83.039917ms + duration: 101.70325ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.883ms + duration: 85.640375ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 83.124917ms + duration: 97.483792ms - id: 77 request: proto: HTTP/1.1 @@ -2791,7 +2791,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -2802,13 +2802,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 79.760875ms + duration: 121.199584ms - id: 78 request: proto: HTTP/1.1 @@ -2827,7 +2827,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: PATCH response: @@ -2838,13 +2838,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.046166ms + duration: 103.454083ms - id: 79 request: proto: HTTP/1.1 @@ -2863,7 +2863,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -2874,13 +2874,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.289125ms + duration: 94.603833ms - id: 80 request: proto: HTTP/1.1 @@ -2899,8 +2899,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -2910,13 +2910,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.941709ms + duration: 89.35775ms - id: 81 request: proto: HTTP/1.1 @@ -2935,7 +2935,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -2946,13 +2946,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.709042ms + duration: 144.276708ms - id: 82 request: proto: HTTP/1.1 @@ -2971,7 +2971,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 138.089084ms + duration: 96.196ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.204875ms + duration: 94.533458ms - id: 84 request: proto: HTTP/1.1 @@ -3043,7 +3043,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -3054,13 +3054,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.541125ms + duration: 92.882292ms - id: 85 request: proto: HTTP/1.1 @@ -3079,8 +3079,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -3090,13 +3090,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.94975ms + duration: 87.523917ms - id: 86 request: proto: HTTP/1.1 @@ -3115,8 +3115,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -3126,13 +3126,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.977209ms + duration: 87.422125ms - id: 87 request: proto: HTTP/1.1 @@ -3151,7 +3151,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -3162,13 +3162,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.664166ms + duration: 84.664625ms - id: 88 request: proto: HTTP/1.1 @@ -3187,7 +3187,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -3198,13 +3198,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.243042ms + duration: 89.548ms - id: 89 request: proto: HTTP/1.1 @@ -3223,7 +3223,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -3234,13 +3234,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.423834ms + duration: 119.418834ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 72.747458ms + duration: 95.797458ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -3306,13 +3306,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.949958ms + duration: 109.497375ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -3342,13 +3342,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 79.663541ms + duration: 108.828583ms - id: 93 request: proto: HTTP/1.1 @@ -3367,8 +3367,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -3378,13 +3378,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.416125ms + duration: 88.545167ms - id: 94 request: proto: HTTP/1.1 @@ -3403,7 +3403,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -3414,13 +3414,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.034958ms + duration: 93.490917ms - id: 95 request: proto: HTTP/1.1 @@ -3439,7 +3439,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -3450,13 +3450,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 77.449209ms + duration: 92.017834ms - id: 96 request: proto: HTTP/1.1 @@ -3475,7 +3475,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -3486,13 +3486,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.376417ms + duration: 85.89925ms - id: 97 request: proto: HTTP/1.1 @@ -3511,8 +3511,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -3522,13 +3522,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 82.427084ms + duration: 110.404583ms - id: 98 request: proto: HTTP/1.1 @@ -3547,8 +3547,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: GET response: proto: HTTP/2.0 @@ -3558,13 +3558,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.700042ms + duration: 91.815667ms - id: 99 request: proto: HTTP/1.1 @@ -3583,7 +3583,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -3594,13 +3594,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.118583ms + duration: 88.484792ms - id: 100 request: proto: HTTP/1.1 @@ -3619,7 +3619,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: PATCH response: @@ -3630,13 +3630,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 130.355416ms + duration: 151.147417ms - id: 101 request: proto: HTTP/1.1 @@ -3655,7 +3655,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: GET response: @@ -3666,13 +3666,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 81.8905ms + duration: 106.420875ms - id: 102 request: proto: HTTP/1.1 @@ -3691,7 +3691,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: PATCH response: @@ -3702,13 +3702,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 145.17925ms + duration: 164.295917ms - id: 103 request: proto: HTTP/1.1 @@ -3727,7 +3727,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope method: PATCH response: @@ -3738,13 +3738,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6489f9254808be9a6a5104c4","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca33b8a3b2d6f0e949","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 155.830083ms + duration: 92.272417ms - id: 104 request: proto: HTTP/1.1 @@ -3762,8 +3762,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6489f9254808be9a6a5104c4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca33b8a3b2d6f0e949 method: DELETE response: proto: HTTP/2.0 @@ -3779,4 +3779,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 150.814792ms + duration: 224.131292ms diff --git a/test/data/recordings/TestAccResourceServerScopes.yaml b/test/data/recordings/TestAccResourceServerScopes.yaml index 54009a43d..0a74699b4 100644 --- a/test/data/recordings/TestAccResourceServerScopes.yaml +++ b/test/data/recordings/TestAccResourceServerScopes.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 157 + content_length: 145 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","scopes":[]} + {"name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers method: POST response: @@ -28,15 +28,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 348 + content_length: 336 uncompressed: false - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 118.462833ms + duration: 103.325334ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.036333ms + duration: 91.613208ms - id: 2 request: proto: HTTP/1.1 @@ -91,7 +91,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.145458ms + duration: 95.237667ms - id: 3 request: proto: HTTP/1.1 @@ -127,7 +127,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: PATCH response: @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.103375ms + duration: 104.479542ms - id: 4 request: proto: HTTP/1.1 @@ -163,7 +163,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.098666ms + duration: 96.553167ms - id: 5 request: proto: HTTP/1.1 @@ -199,7 +199,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.447625ms + duration: 104.358917ms - id: 6 request: proto: HTTP/1.1 @@ -235,8 +235,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -246,13 +246,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.814834ms + duration: 89.129833ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -282,13 +282,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.935666ms + duration: 98.505958ms - id: 8 request: proto: HTTP/1.1 @@ -307,8 +307,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -318,13 +318,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.781916ms + duration: 101.176875ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -354,13 +354,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.533ms + duration: 93.067583ms - id: 10 request: proto: HTTP/1.1 @@ -379,7 +379,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -390,13 +390,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.958875ms + duration: 94.595792ms - id: 11 request: proto: HTTP/1.1 @@ -415,7 +415,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: PATCH response: @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 197.671333ms + duration: 171.84025ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.802583ms + duration: 97.301708ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.370042ms + duration: 95.6355ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 155.327958ms + duration: 164.58675ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.87625ms + duration: 106.657625ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.713ms + duration: 82.824042ms - id: 17 request: proto: HTTP/1.1 @@ -631,7 +631,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.734834ms + duration: 94.552917ms - id: 18 request: proto: HTTP/1.1 @@ -667,7 +667,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: PATCH response: @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.423084ms + duration: 97.1975ms - id: 19 request: proto: HTTP/1.1 @@ -703,7 +703,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.134458ms + duration: 94.998209ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.818166ms + duration: 92.461334ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.5335ms + duration: 91.884541ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.674792ms + duration: 89.28175ms - id: 23 request: proto: HTTP/1.1 @@ -847,7 +847,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.078333ms + duration: 94.98575ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.594667ms + duration: 91.780625ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.02325ms + duration: 92.882417ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.609292ms + duration: 102.644875ms - id: 27 request: proto: HTTP/1.1 @@ -991,7 +991,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.487875ms + duration: 105.229958ms - id: 28 request: proto: HTTP/1.1 @@ -1027,7 +1027,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: PATCH response: @@ -1038,13 +1038,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.10125ms + duration: 113.273208ms - id: 29 request: proto: HTTP/1.1 @@ -1063,7 +1063,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 227.788542ms + duration: 91.566833ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.124166ms + duration: 90.356292ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1146,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 82.769709ms + duration: 87.739ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.368125ms + duration: 91.720833ms - id: 33 request: proto: HTTP/1.1 @@ -1207,7 +1207,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.544541ms + duration: 91.24825ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1254,13 +1254,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.607375ms + duration: 94.415958ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1290,13 +1290,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 234.041208ms + duration: 92.527458ms - id: 36 request: proto: HTTP/1.1 @@ -1315,7 +1315,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -1326,13 +1326,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.9385ms + duration: 94.358209ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.716708ms + duration: 150.710791ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.258417ms + duration: 106.237792ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1434,13 +1434,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.214375ms + duration: 101.282ms - id: 40 request: proto: HTTP/1.1 @@ -1459,7 +1459,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: PATCH response: @@ -1470,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 173.550792ms + duration: 168.905125ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 154.125042ms + duration: 100.81225ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.217042ms + duration: 151.773208ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.142917ms + duration: 98.899ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 144.809084ms + duration: 85.417125ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.985042ms + duration: 98.692416ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.476167ms + duration: 99.182708ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1722,13 +1722,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.7895ms + duration: 93.888167ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -1758,13 +1758,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.283ms + duration: 94.734583ms - id: 49 request: proto: HTTP/1.1 @@ -1783,7 +1783,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.981333ms + duration: 92.612333ms - id: 50 request: proto: HTTP/1.1 @@ -1819,7 +1819,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: PATCH response: @@ -1830,13 +1830,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.911042ms + duration: 136.28875ms - id: 51 request: proto: HTTP/1.1 @@ -1855,7 +1855,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.269042ms + duration: 97.425167ms - id: 52 request: proto: HTTP/1.1 @@ -1891,7 +1891,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.036375ms + duration: 98.654833ms - id: 53 request: proto: HTTP/1.1 @@ -1927,7 +1927,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: PATCH response: @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.292709ms + duration: 101.760458ms - id: 54 request: proto: HTTP/1.1 @@ -1963,7 +1963,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -1974,13 +1974,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.604375ms + duration: 97.57775ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.944084ms + duration: 105.904292ms - id: 56 request: proto: HTTP/1.1 @@ -2035,7 +2035,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.270541ms + duration: 95.385666ms - id: 57 request: proto: HTTP/1.1 @@ -2071,7 +2071,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.186292ms + duration: 86.267042ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.470041ms + duration: 95.941333ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -2154,13 +2154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.744625ms + duration: 99.091625ms - id: 60 request: proto: HTTP/1.1 @@ -2179,8 +2179,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -2190,13 +2190,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.483667ms + duration: 88.644667ms - id: 61 request: proto: HTTP/1.1 @@ -2215,7 +2215,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -2226,13 +2226,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 141.877291ms + duration: 99.576333ms - id: 62 request: proto: HTTP/1.1 @@ -2251,7 +2251,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.412333ms + duration: 99.862875ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.735292ms + duration: 102.48375ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -2334,13 +2334,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.415208ms + duration: 98.318ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -2370,13 +2370,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.806209ms + duration: 93.769875ms - id: 66 request: proto: HTTP/1.1 @@ -2395,8 +2395,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -2406,13 +2406,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.363292ms + duration: 90.233917ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -2442,13 +2442,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.091917ms + duration: 95.692959ms - id: 68 request: proto: HTTP/1.1 @@ -2467,7 +2467,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -2478,13 +2478,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.883291ms + duration: 105.820209ms - id: 69 request: proto: HTTP/1.1 @@ -2503,7 +2503,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -2514,13 +2514,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.144916ms + duration: 94.03775ms - id: 70 request: proto: HTTP/1.1 @@ -2539,8 +2539,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -2550,13 +2550,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.323125ms + duration: 102.281542ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -2586,13 +2586,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.496834ms + duration: 194.331542ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.3145ms + duration: 105.776375ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: PATCH response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 207.033375ms + duration: 150.112875ms - id: 74 request: proto: HTTP/1.1 @@ -2683,7 +2683,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.138459ms + duration: 104.622916ms - id: 75 request: proto: HTTP/1.1 @@ -2719,7 +2719,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: PATCH response: @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.82225ms + duration: 89.752292ms - id: 76 request: proto: HTTP/1.1 @@ -2755,7 +2755,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: GET response: @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 144.433917ms + duration: 89.893792ms - id: 77 request: proto: HTTP/1.1 @@ -2791,7 +2791,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes method: PATCH response: @@ -2802,13 +2802,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b62775f0332ee12c425b","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64aea8ca8359d1ab405b0d75","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.101584ms + duration: 100.375ms - id: 78 request: proto: HTTP/1.1 @@ -2826,8 +2826,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b62775f0332ee12c425b + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64aea8ca8359d1ab405b0d75 method: DELETE response: proto: HTTP/2.0 @@ -2843,4 +2843,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 162.566083ms + duration: 166.998292ms diff --git a/test/data/recordings/TestAccRole.yaml b/test/data/recordings/TestAccRole.yaml index a1238988d..7ccd5ca48 100644 --- a/test/data/recordings/TestAccRole.yaml +++ b/test/data/recordings/TestAccRole.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":null}' + body: '{"id":"rol_Ha4EBSwjTSfIf61V","name":"The One - Acceptance Test - TestAccRole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 61.299375ms + duration: 103.489292ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ha4EBSwjTSfIf61V method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":null}' + body: '{"id":"rol_Ha4EBSwjTSfIf61V","name":"The One - Acceptance Test - TestAccRole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 63.818333ms + duration: 98.415417ms - id: 2 request: proto: HTTP/1.1 @@ -91,8 +91,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ha4EBSwjTSfIf61V method: GET response: proto: HTTP/2.0 @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Ha4EBSwjTSfIf61V","name":"The One - Acceptance Test - TestAccRole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 67.644458ms + duration: 90.703333ms - id: 3 request: proto: HTTP/1.1 @@ -127,8 +127,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ha4EBSwjTSfIf61V method: GET response: proto: HTTP/2.0 @@ -138,34 +138,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":null}' + body: '{"id":"rol_Ha4EBSwjTSfIf61V","name":"The One - Acceptance Test - TestAccRole","description":null}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 59.660792ms + duration: 87.948417ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 93 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"name":"The One - Acceptance Test - TestAccRole","description":"The One - Acceptance Test"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions?include_totals=true&page=0&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ha4EBSwjTSfIf61V + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Ha4EBSwjTSfIf61V","name":"The One - Acceptance Test - TestAccRole","description":"The One - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 58.764667ms + duration: 95.272ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ha4EBSwjTSfIf61V method: GET response: proto: HTTP/2.0 @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":null}' + body: '{"id":"rol_Ha4EBSwjTSfIf61V","name":"The One - Acceptance Test - TestAccRole","description":"The One - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 66.582041ms + duration: 87.748125ms - id: 6 request: proto: HTTP/1.1 @@ -235,8 +235,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ha4EBSwjTSfIf61V method: GET response: proto: HTTP/2.0 @@ -246,50 +246,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Ha4EBSwjTSfIf61V","name":"The One - Acceptance Test - TestAccRole","description":"The One - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 73.917583ms + duration: 91.858459ms - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 212 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Role - Acceptance Test - TestAccRole","identifier":"https://TestAccRole.matrix.com/","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 403 - uncompressed: false - body: '{"id":"649337e63805e225ce958363","name":"Role - Acceptance Test - TestAccRole","identifier":"https://TestAccRole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 73.582875ms - - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -307,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/649337e63805e225ce958363 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ha4EBSwjTSfIf61V method: GET response: proto: HTTP/2.0 @@ -318,33 +282,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"649337e63805e225ce958363","name":"Role - Acceptance Test - TestAccRole","identifier":"https://TestAccRole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' + body: '{"id":"rol_Ha4EBSwjTSfIf61V","name":"The One - Acceptance Test - TestAccRole","description":"The One - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 55.40325ms - - id: 9 + duration: 102.400708ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 93 + content_length: 114 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"The One - Acceptance Test - TestAccRole","description":"The One - Acceptance Test"} + {"name":"The One - Acceptance Test - TestAccRole","description":"The One who will bring peace - Acceptance Test"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ha4EBSwjTSfIf61V method: PATCH response: proto: HTTP/2.0 @@ -354,230 +318,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 69.519875ms - - id: 10 - 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: | - {"permissions":[{"resource_server_identifier":"https://TestAccRole.matrix.com/","permission_name":"stop:bullets"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: '{}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 69.940708ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 58.831959ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - TestAccRole","resource_server_identifier":"https://TestAccRole.matrix.com/"}],"start":0,"limit":50,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 79.276375ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/649337e63805e225ce958363 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"649337e63805e225ce958363","name":"Role - Acceptance Test - TestAccRole","identifier":"https://TestAccRole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 65.000583ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 80.679541ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - TestAccRole","resource_server_identifier":"https://TestAccRole.matrix.com/"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_Ha4EBSwjTSfIf61V","name":"The One - Acceptance Test - TestAccRole","description":"The One who will bring peace - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 58.373291ms - - id: 16 + duration: 99.678583ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -595,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/649337e63805e225ce958363 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ha4EBSwjTSfIf61V method: GET response: proto: HTTP/2.0 @@ -606,14 +354,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"649337e63805e225ce958363","name":"Role - Acceptance Test - TestAccRole","identifier":"https://TestAccRole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' + body: '{"id":"rol_Ha4EBSwjTSfIf61V","name":"The One - Acceptance Test - TestAccRole","description":"The One who will bring peace - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.005167ms - - id: 17 + duration: 115.002833ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -631,8 +379,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ha4EBSwjTSfIf61V method: GET response: proto: HTTP/2.0 @@ -642,1021 +390,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":"The One - Acceptance Test"}' + body: '{"id":"rol_Ha4EBSwjTSfIf61V","name":"The One - Acceptance Test - TestAccRole","description":"The One who will bring peace - Acceptance Test"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.285958ms - - id: 18 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - TestAccRole","resource_server_identifier":"https://TestAccRole.matrix.com/"}],"start":0,"limit":50,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 64.602125ms - - id: 19 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 114 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"The One - Acceptance Test - TestAccRole","description":"The One who will bring peace - Acceptance Test"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":"The One who will bring peace - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 74.883ms - - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 115 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://TestAccRole.matrix.com/","permission_name":"bring:peace"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: '{}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 66.184625ms - - id: 21 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":"The One who will bring peace - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 61.66525ms - - id: 22 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - TestAccRole","resource_server_identifier":"https://TestAccRole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - TestAccRole","resource_server_identifier":"https://TestAccRole.matrix.com/"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 69.21825ms - - id: 23 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/649337e63805e225ce958363 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"649337e63805e225ce958363","name":"Role - Acceptance Test - TestAccRole","identifier":"https://TestAccRole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 59.498459ms - - id: 24 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":"The One who will bring peace - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 58.595875ms - - id: 25 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - TestAccRole","resource_server_identifier":"https://TestAccRole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - TestAccRole","resource_server_identifier":"https://TestAccRole.matrix.com/"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 72.146167ms - - id: 26 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/649337e63805e225ce958363 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"649337e63805e225ce958363","name":"Role - Acceptance Test - TestAccRole","identifier":"https://TestAccRole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 53.21825ms - - id: 27 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":"The One who will bring peace - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 57.983125ms - - id: 28 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"bring:peace","description":"Bring peace","resource_server_name":"Role - Acceptance Test - TestAccRole","resource_server_identifier":"https://TestAccRole.matrix.com/"},{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - TestAccRole","resource_server_identifier":"https://TestAccRole.matrix.com/"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 61.465083ms - - id: 29 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 93 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"The One - Acceptance Test - TestAccRole","description":"The One - Acceptance Test"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 56.05825ms - - id: 30 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 115 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://TestAccRole.matrix.com/","permission_name":"bring:peace"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions - 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: 70.434416ms - - id: 31 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 65.574208ms - - id: 32 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - TestAccRole","resource_server_identifier":"https://TestAccRole.matrix.com/"}],"start":0,"limit":50,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 65.032209ms - - id: 33 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/649337e63805e225ce958363 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"649337e63805e225ce958363","name":"Role - Acceptance Test - TestAccRole","identifier":"https://TestAccRole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 53.932375ms - - id: 34 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 64.361041ms - - id: 35 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - TestAccRole","resource_server_identifier":"https://TestAccRole.matrix.com/"}],"start":0,"limit":50,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 59.568459ms - - id: 36 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/649337e63805e225ce958363 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"649337e63805e225ce958363","name":"Role - Acceptance Test - TestAccRole","identifier":"https://TestAccRole.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"bring:peace","description":"Bring peace"},{"value":"stop:bullets","description":"Stop bullets"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 66.096667ms - - id: 37 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 68.433292ms - - id: 38 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"stop:bullets","description":"Stop bullets","resource_server_name":"Role - Acceptance Test - TestAccRole","resource_server_identifier":"https://TestAccRole.matrix.com/"}],"start":0,"limit":50,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 65.414041ms - - 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-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/649337e63805e225ce958363 - 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: 107.116625ms - - id: 40 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 69 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"The One - Acceptance Test - TestAccRole","description":" "} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":" "}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 93.151791ms - - id: 41 - 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: | - {"permissions":[{"resource_server_identifier":"https://TestAccRole.matrix.com/","permission_name":"stop:bullets"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions - 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: 63.744333ms - - id: 42 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":" "}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 58.975458ms - - id: 43 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 62.316875ms - - id: 44 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Kpl1KwQfssXuLskV","name":"The One - Acceptance Test - TestAccRole","description":" "}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 65.859792ms - - id: 45 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 57.692917ms - - id: 46 + duration: 82.700541ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -1674,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Kpl1KwQfssXuLskV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ha4EBSwjTSfIf61V method: DELETE response: proto: HTTP/2.0 @@ -1691,4 +432,4 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 59.624917ms + duration: 101.784875ms diff --git a/test/data/recordings/TestAccRolePermission.yaml b/test/data/recordings/TestAccRolePermission.yaml index 5b1facf1a..fe8e2a619 100644 --- a/test/data/recordings/TestAccRolePermission.yaml +++ b/test/data/recordings/TestAccRolePermission.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 145 + content_length: 133 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","scopes":[]} + {"name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers method: POST response: @@ -28,15 +28,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 336 + content_length: 324 uncompressed: false - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 240.561792ms + duration: 113.254167ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648864a50d5bea2afb78c95a + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a82e1bc3eacba0b582f method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.542209ms + duration: 120.116291ms - id: 2 request: proto: HTTP/1.1 @@ -91,7 +91,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission method: GET response: @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.118458ms + duration: 86.630791ms - id: 3 request: proto: HTTP/1.1 @@ -127,7 +127,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission method: PATCH response: @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.8215ms + duration: 89.151875ms - id: 4 request: proto: HTTP/1.1 @@ -163,7 +163,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission method: GET response: @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.568042ms + duration: 92.689167ms - id: 5 request: proto: HTTP/1.1 @@ -199,7 +199,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.870209ms + duration: 96.017167ms - id: 6 request: proto: HTTP/1.1 @@ -235,8 +235,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -246,85 +246,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 83.723375ms + duration: 85.851875ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 149 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.903ms + status: 201 Created + code: 201 + duration: 98.626375ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 149 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 136.284042ms + status: 200 OK + code: 200 + duration: 100.165667ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -354,13 +354,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.710542ms + duration: 97.164167ms - id: 10 request: proto: HTTP/1.1 @@ -379,8 +379,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -390,13 +390,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 77.785834ms + duration: 102.94325ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.9715ms + duration: 89.92775ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.470334ms + duration: 101.105167ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a82e1bc3eacba0b582f method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":1}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.414625ms + duration: 94.803625ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648864a50d5bea2afb78c95a + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.57525ms + duration: 83.458333ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.007792ms + duration: 88.383666ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.742416ms + duration: 100.806125ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.471875ms + duration: 89.058875ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.021583ms + duration: 97.312958ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.783542ms + duration: 93.549875ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.914916ms + duration: 86.9375ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a82e1bc3eacba0b582f method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.490875ms + duration: 95.249ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":1}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.502291ms + duration: 92.688666ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648864a50d5bea2afb78c95a + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.615833ms + duration: 93.563625ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -894,49 +894,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 83.916833ms + duration: 95.736542ms - id: 25 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 147 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 88.346625ms + status: 201 Created + code: 201 + duration: 92.775959ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 164.383208ms + duration: 103.699084ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -1002,49 +1002,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.596875ms + duration: 98.606959ms - id: 28 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 147 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?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: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 90.916958ms + status: 200 OK + code: 200 + duration: 122.024083ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.502875ms + duration: 92.095834ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.077917ms + duration: 89.990709ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a82e1bc3eacba0b582f method: GET response: proto: HTTP/2.0 @@ -1146,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.751542ms + duration: 84.48575ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 160.783917ms + duration: 132.660416ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.627125ms + duration: 143.536084ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648864a50d5bea2afb78c95a + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1254,13 +1254,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.398042ms + duration: 97.925958ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1290,13 +1290,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.178791ms + duration: 91.672417ms - id: 36 request: proto: HTTP/1.1 @@ -1315,8 +1315,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -1326,13 +1326,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.875917ms + duration: 85.057083ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.771416ms + duration: 99.543792ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.552542ms + duration: 112.270125ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1434,13 +1434,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 159.404792ms + duration: 96.25575ms - id: 40 request: proto: HTTP/1.1 @@ -1459,8 +1459,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a82e1bc3eacba0b582f method: GET response: proto: HTTP/2.0 @@ -1470,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 162.9955ms + duration: 98.968334ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1512,7 +1512,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.281542ms + duration: 94.117875ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 80.083166ms + duration: 102.718083ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.796166ms + duration: 87.524333ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.378583ms + duration: 94.204834ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.358542ms + duration: 98.495042ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648864a50d5bea2afb78c95a + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.403125ms + duration: 103.122416ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -1722,13 +1722,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.364833ms + duration: 95.2565ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1758,85 +1758,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.178542ms + duration: 98.830333ms - id: 49 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 147 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.399083ms + status: 204 No Content + code: 204 + duration: 90.686292ms - id: 50 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 149 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 83.619709ms + status: 204 No Content + code: 204 + duration: 89.938333ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.782625ms + duration: 158.326417ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"permissions":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.502458ms + duration: 93.031834ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a82e1bc3eacba0b582f method: GET response: proto: HTTP/2.0 @@ -1938,85 +1938,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 78.992791ms + duration: 88.501625ms - id: 54 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 147 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 85.290208ms + status: 200 OK + code: 200 + duration: 96.595083ms - id: 55 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 149 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 106.751083ms + status: 200 OK + code: 200 + duration: 92.388541ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.597042ms + duration: 88.687875ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.510584ms + duration: 157.537292ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648864a50d5bea2afb78c95a + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.297166ms + duration: 92.137875ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2154,13 +2154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.208292ms + duration: 84.702875ms - id: 60 request: proto: HTTP/1.1 @@ -2179,8 +2179,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a82e1bc3eacba0b582f method: GET response: proto: HTTP/2.0 @@ -2190,13 +2190,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.442833ms + duration: 84.686417ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission method: GET response: proto: HTTP/2.0 @@ -2226,13 +2226,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 82.386375ms + duration: 107.0425ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 152.511625ms + duration: 93.782708ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.164416ms + duration: 108.598875ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2334,13 +2334,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"permissions":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.848875ms + duration: 115.166041ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -2370,13 +2370,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.181375ms + duration: 92.238ms - id: 66 request: proto: HTTP/1.1 @@ -2395,8 +2395,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648864a50d5bea2afb78c95a + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2406,13 +2406,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.195708ms + duration: 94.196292ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a82e1bc3eacba0b582f method: GET response: proto: HTTP/2.0 @@ -2442,13 +2442,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.048167ms + duration: 92.953ms - id: 68 request: proto: HTTP/1.1 @@ -2467,8 +2467,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission method: GET response: proto: HTTP/2.0 @@ -2478,13 +2478,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 159.121167ms + duration: 93.578ms - id: 69 request: proto: HTTP/1.1 @@ -2503,8 +2503,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -2514,49 +2514,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.516625ms + duration: 87.500042ms - id: 70 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 278 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"read:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 92.80775ms + status: 201 Created + code: 201 + duration: 100.995916ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2586,13 +2586,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.853791ms + duration: 127.697917ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a82e1bc3eacba0b582f method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.541083ms + duration: 89.187208ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.081083ms + duration: 88.14925ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648864a50d5bea2afb78c95a + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.129541ms + duration: 87.965541ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 154.5725ms + duration: 89.596209ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 253.388458ms + duration: 86.483334ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -2802,49 +2802,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.93175ms + duration: 105.970834ms - id: 78 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 278 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"read:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?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: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 104.972292ms + status: 200 OK + code: 200 + duration: 100.862041ms - id: 79 request: proto: HTTP/1.1 @@ -2863,8 +2863,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2880,7 +2880,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.729875ms + duration: 95.77325ms - id: 80 request: proto: HTTP/1.1 @@ -2899,8 +2899,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648864a50d5bea2afb78c95a + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -2910,13 +2910,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 83.82825ms + duration: 82.802375ms - id: 81 request: proto: HTTP/1.1 @@ -2935,8 +2935,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2946,13 +2946,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.109666ms + duration: 96.062875ms - id: 82 request: proto: HTTP/1.1 @@ -2971,8 +2971,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a82e1bc3eacba0b582f method: GET response: proto: HTTP/2.0 @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 82.435667ms + duration: 101.928292ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.754625ms + duration: 99.257834ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -3054,13 +3054,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.744542ms + duration: 99.792333ms - id: 85 request: proto: HTTP/1.1 @@ -3079,8 +3079,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3090,13 +3090,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.933125ms + duration: 103.291917ms - id: 86 request: proto: HTTP/1.1 @@ -3115,8 +3115,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3126,13 +3126,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.155792ms + duration: 96.215625ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3168,7 +3168,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.544708ms + duration: 187.25575ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -3198,13 +3198,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.876916ms + duration: 89.339834ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3234,13 +3234,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 199.064291ms + duration: 88.063917ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.935541ms + duration: 91.1315ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648864a50d5bea2afb78c95a + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3306,13 +3306,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.841833ms + duration: 93.449666ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -3342,13 +3342,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.251209ms + duration: 88.449542ms - id: 93 request: proto: HTTP/1.1 @@ -3367,8 +3367,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3378,13 +3378,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.489167ms + duration: 91.372625ms - id: 94 request: proto: HTTP/1.1 @@ -3403,8 +3403,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a82e1bc3eacba0b582f method: GET response: proto: HTTP/2.0 @@ -3414,13 +3414,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.669875ms + duration: 143.503584ms - id: 95 request: proto: HTTP/1.1 @@ -3439,8 +3439,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission method: GET response: proto: HTTP/2.0 @@ -3450,13 +3450,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.688833ms + duration: 95.350791ms - id: 96 request: proto: HTTP/1.1 @@ -3475,8 +3475,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -3486,13 +3486,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.135084ms + duration: 111.039542ms - id: 97 request: proto: HTTP/1.1 @@ -3511,8 +3511,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3522,13 +3522,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.398417ms + duration: 167.853ms - id: 98 request: proto: HTTP/1.1 @@ -3547,8 +3547,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3558,13 +3558,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.85375ms + duration: 122.427708ms - id: 99 request: proto: HTTP/1.1 @@ -3583,8 +3583,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3600,7 +3600,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.614291ms + duration: 112.66675ms - id: 100 request: proto: HTTP/1.1 @@ -3619,8 +3619,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -3630,13 +3630,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 83.847583ms + duration: 199.131041ms - id: 101 request: proto: HTTP/1.1 @@ -3655,8 +3655,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3666,13 +3666,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.45025ms + duration: 96.587166ms - id: 102 request: proto: HTTP/1.1 @@ -3691,8 +3691,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: GET response: proto: HTTP/2.0 @@ -3702,13 +3702,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' + body: '{"id":"rol_GCsWv3TZD5JKci5U","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.543833ms + duration: 89.882292ms - id: 103 request: proto: HTTP/1.1 @@ -3727,8 +3727,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3738,518 +3738,122 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.559834ms + duration: 103.559875ms - id: 104 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 147 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648864a50d5bea2afb78c95a - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 85.148208ms + status: 204 No Content + code: 204 + duration: 100.326166ms - id: 105 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 149 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.152333ms + status: 204 No Content + code: 204 + duration: 84.085875ms - id: 106 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 278 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"read:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 108.565875ms - - id: 107 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.649792ms - - id: 108 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 245.397792ms - - id: 109 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 91.781417ms - - id: 110 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.12225ms - - id: 111 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 187.284458ms - - id: 112 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 92.934959ms - - id: 113 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_t3FYr9HTcrOWBXjV","name":"Acceptance Test - testaccrolepermission","description":"Acceptance Test Role - testaccrolepermission"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 87.3185ms - - id: 114 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 163.615625ms - - id: 115 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 147 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"read:foo"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions - 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: 87.284875ms - - id: 116 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 149 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"create:foo"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions - 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: 86.816459ms - - id: 117 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 278 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"read:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","permission_name":"create:foo"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV/permissions - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 76.408541ms - - id: 118 + duration: 89.865667ms + - id: 107 request: proto: HTTP/1.1 proto_major: 1 @@ -4267,8 +3871,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_t3FYr9HTcrOWBXjV + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_GCsWv3TZD5JKci5U method: DELETE response: proto: HTTP/2.0 @@ -4284,8 +3888,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.06375ms - - id: 119 + duration: 196.71825ms + - id: 108 request: proto: HTTP/1.1 proto_major: 1 @@ -4303,7 +3907,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermission method: PATCH response: @@ -4314,14 +3918,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"648864a50d5bea2afb78c95a","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64af4a82e1bc3eacba0b582f","name":"Acceptance Test - testaccrolepermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.465167ms - - id: 120 + duration: 159.668375ms + - id: 109 request: proto: HTTP/1.1 proto_major: 1 @@ -4338,8 +3942,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/648864a50d5bea2afb78c95a + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a82e1bc3eacba0b582f method: DELETE response: proto: HTTP/2.0 @@ -4355,4 +3959,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 115.462625ms + duration: 168.613167ms diff --git a/test/data/recordings/TestAccRolePermissions.yaml b/test/data/recordings/TestAccRolePermissions.yaml index d30f54ec6..ce3a1abe1 100644 --- a/test/data/recordings/TestAccRolePermissions.yaml +++ b/test/data/recordings/TestAccRolePermissions.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 147 + content_length: 135 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","scopes":[]} + {"name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers method: POST response: @@ -28,15 +28,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 338 + content_length: 326 uncompressed: false - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 105.441292ms + duration: 104.202542ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a2403c3f299c769805f method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.480625ms + duration: 99.147583ms - id: 2 request: proto: HTTP/1.1 @@ -91,7 +91,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.874958ms + duration: 83.829875ms - id: 3 request: proto: HTTP/1.1 @@ -127,7 +127,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: PATCH response: @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.217875ms + duration: 92.102834ms - id: 4 request: proto: HTTP/1.1 @@ -163,7 +163,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.700042ms + duration: 92.204375ms - id: 5 request: proto: HTTP/1.1 @@ -199,7 +199,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.244375ms + duration: 97.900875ms - id: 6 request: proto: HTTP/1.1 @@ -235,8 +235,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -246,85 +246,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.98ms + duration: 117.42975ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 148 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 153.756958ms + status: 201 Created + code: 201 + duration: 97.252417ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 148 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?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: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 98.377792ms + status: 200 OK + code: 200 + duration: 112.400625ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -354,13 +354,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 134.527583ms + duration: 258.840041ms - id: 10 request: proto: HTTP/1.1 @@ -379,8 +379,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -390,13 +390,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.269083ms + duration: 95.124666ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.024458ms + duration: 92.282167ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.764917ms + duration: 102.391625ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a2403c3f299c769805f method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.718958ms + duration: 91.477541ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.108834ms + duration: 89.116625ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.885041ms + duration: 92.98325ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.286958ms + duration: 97.6285ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.501208ms + duration: 93.818375ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.748709ms + duration: 90.313041ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.56175ms + duration: 96.950917ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.885083ms + duration: 98.203208ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a2403c3f299c769805f method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.071833ms + duration: 97.513583ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.042875ms + duration: 83.129666ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 82.250708ms + duration: 89.437875ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -894,49 +894,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.00025ms + duration: 89.377791ms - id: 25 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 150 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 89.413292ms + status: 201 Created + code: 201 + duration: 98.401042ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.446542ms + duration: 96.319291ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -1002,49 +1002,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.401417ms + duration: 91.481ms - id: 28 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 150 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?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: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 105.513667ms + status: 200 OK + code: 200 + duration: 96.879958ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.234458ms + duration: 93.751958ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.738625ms + duration: 100.818084ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a2403c3f299c769805f method: GET response: proto: HTTP/2.0 @@ -1146,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.311083ms + duration: 91.746792ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.912875ms + duration: 92.095292ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.917ms + duration: 100.808917ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1254,13 +1254,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.29525ms + duration: 103.624458ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -1290,13 +1290,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 82.967459ms + duration: 90.933542ms - id: 36 request: proto: HTTP/1.1 @@ -1315,8 +1315,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1326,13 +1326,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.199375ms + duration: 94.62325ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.38775ms + duration: 88.8075ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.8275ms + duration: 98.550917ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a2403c3f299c769805f method: GET response: proto: HTTP/2.0 @@ -1434,13 +1434,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.460833ms + duration: 86.357834ms - id: 40 request: proto: HTTP/1.1 @@ -1459,8 +1459,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -1470,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 157.573541ms + duration: 88.73375ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 79.13425ms + duration: 103.331542ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1542,49 +1542,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 166.096833ms + duration: 98.949917ms - id: 43 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 148 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 78.329917ms + status: 204 No Content + code: 204 + duration: 89.36775ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.259334ms + duration: 99.800416ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.462916ms + duration: 91.377459ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.441625ms + duration: 96.7435ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -1722,49 +1722,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.105542ms + duration: 89.477125ms - id: 48 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 148 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?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: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 112.889708ms + status: 200 OK + code: 200 + duration: 97.837ms - id: 49 request: proto: HTTP/1.1 @@ -1783,8 +1783,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a2403c3f299c769805f method: GET response: proto: HTTP/2.0 @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.636542ms + duration: 98.287834ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -1830,13 +1830,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 83.495875ms + duration: 90.600458ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.0195ms + duration: 115.12425ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 160.032875ms + duration: 101.22525ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.32575ms + duration: 106.461208ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -1974,13 +1974,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.0815ms + duration: 268.923958ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.657917ms + duration: 94.201417ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.959375ms + duration: 110.121ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a2403c3f299c769805f method: GET response: proto: HTTP/2.0 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.825125ms + duration: 93.210708ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 305.7395ms + duration: 105.076417ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -2154,13 +2154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.236375ms + duration: 84.919625ms - id: 60 request: proto: HTTP/1.1 @@ -2179,8 +2179,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -2190,13 +2190,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.425209ms + duration: 84.10175ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -2226,13 +2226,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.109875ms + duration: 95.558791ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.794083ms + duration: 92.142ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 78.354583ms + duration: 101.00775ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2334,49 +2334,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 164.412208ms + duration: 91.447584ms - id: 65 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 150 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 138.857083ms + status: 204 No Content + code: 204 + duration: 91.879792ms - id: 66 request: proto: HTTP/1.1 @@ -2395,8 +2395,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -2406,13 +2406,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 162.269708ms + duration: 92.009625ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2442,13 +2442,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.136375ms + duration: 94.842209ms - id: 68 request: proto: HTTP/1.1 @@ -2467,8 +2467,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a2403c3f299c769805f method: GET response: proto: HTTP/2.0 @@ -2478,13 +2478,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.612709ms + duration: 81.28725ms - id: 69 request: proto: HTTP/1.1 @@ -2503,8 +2503,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -2514,13 +2514,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 133.872125ms + duration: 87.24825ms - id: 70 request: proto: HTTP/1.1 @@ -2539,8 +2539,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -2550,13 +2550,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.407125ms + duration: 99.529958ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -2586,49 +2586,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.321375ms + duration: 95.784709ms - id: 72 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 150 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?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: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 89.327917ms + status: 200 OK + code: 200 + duration: 86.673334ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 162.755666ms + duration: 113.338792ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.787167ms + duration: 98.476375ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a2403c3f299c769805f method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.478625ms + duration: 91.951542ms - id: 76 request: proto: HTTP/1.1 @@ -2755,7 +2755,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 82.354375ms + duration: 139.916583ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -2802,13 +2802,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.740333ms + duration: 127.813ms - id: 78 request: proto: HTTP/1.1 @@ -2827,8 +2827,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -2838,13 +2838,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.55325ms + duration: 87.56375ms - id: 79 request: proto: HTTP/1.1 @@ -2863,8 +2863,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2874,13 +2874,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.559541ms + duration: 93.908791ms - id: 80 request: proto: HTTP/1.1 @@ -2899,8 +2899,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -2910,13 +2910,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.152875ms + duration: 94.921417ms - id: 81 request: proto: HTTP/1.1 @@ -2935,8 +2935,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -2946,13 +2946,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[],"start":0,"limit":100,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.983375ms + duration: 150.165542ms - id: 82 request: proto: HTTP/1.1 @@ -2971,8 +2971,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a2403c3f299c769805f method: GET response: proto: HTTP/2.0 @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.843708ms + duration: 86.387542ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 171.8415ms + duration: 86.963541ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -3054,49 +3054,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.127208ms + duration: 84.588041ms - id: 85 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 148 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 88.746458ms + status: 201 Created + code: 201 + duration: 97.276792ms - id: 86 request: proto: HTTP/1.1 @@ -3115,8 +3115,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3126,49 +3126,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.399916ms + duration: 100.109792ms - id: 87 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 150 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 88.668875ms + status: 201 Created + code: 201 + duration: 94.19075ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3198,13 +3198,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 149.901834ms + duration: 92.078291ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a2403c3f299c769805f method: GET response: proto: HTTP/2.0 @@ -3234,13 +3234,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.860834ms + duration: 89.546542ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.232458ms + duration: 83.904792ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -3306,13 +3306,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.831167ms + duration: 86.848792ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3342,13 +3342,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.654833ms + duration: 94.454709ms - id: 93 request: proto: HTTP/1.1 @@ -3367,8 +3367,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3378,13 +3378,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.771375ms + duration: 92.355875ms - id: 94 request: proto: HTTP/1.1 @@ -3403,8 +3403,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3414,49 +3414,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.214709ms + duration: 89.995834ms - id: 95 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 148 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 100.292209ms + status: 200 OK + code: 200 + duration: 92.381542ms - id: 96 request: proto: HTTP/1.1 @@ -3475,8 +3475,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3486,49 +3486,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.734084ms + duration: 95.654375ms - id: 97 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 150 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a2403c3f299c769805f + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 132.968709ms + status: 200 OK + code: 200 + duration: 89.997375ms - id: 98 request: proto: HTTP/1.1 @@ -3547,8 +3547,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -3558,13 +3558,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 181.32275ms + duration: 80.00975ms - id: 99 request: proto: HTTP/1.1 @@ -3583,8 +3583,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -3594,13 +3594,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.763041ms + duration: 93.432583ms - id: 100 request: proto: HTTP/1.1 @@ -3619,8 +3619,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3630,13 +3630,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 81.578166ms + duration: 94.448583ms - id: 101 request: proto: HTTP/1.1 @@ -3655,8 +3655,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3666,13 +3666,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.261208ms + duration: 96.888583ms - id: 102 request: proto: HTTP/1.1 @@ -3691,8 +3691,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3702,13 +3702,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.927042ms + duration: 94.3695ms - id: 103 request: proto: HTTP/1.1 @@ -3727,8 +3727,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -3738,13 +3738,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.397709ms + duration: 93.786791ms - id: 104 request: proto: HTTP/1.1 @@ -3763,8 +3763,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3774,13 +3774,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.190708ms + duration: 148.692792ms - id: 105 request: proto: HTTP/1.1 @@ -3799,8 +3799,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -3810,13 +3810,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.022375ms + duration: 144.858084ms - id: 106 request: proto: HTTP/1.1 @@ -3835,8 +3835,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3846,13 +3846,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 83.479625ms + duration: 102.254834ms - id: 107 request: proto: HTTP/1.1 @@ -3871,8 +3871,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -3882,13 +3882,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 81.107833ms + duration: 92.175125ms - id: 108 request: proto: HTTP/1.1 @@ -3907,8 +3907,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -3918,13 +3918,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.183ms + duration: 104.439ms - id: 109 request: proto: HTTP/1.1 @@ -3943,8 +3943,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a2403c3f299c769805f method: GET response: proto: HTTP/2.0 @@ -3954,13 +3954,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.051208ms + duration: 93.26425ms - id: 110 request: proto: HTTP/1.1 @@ -3979,8 +3979,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: GET response: proto: HTTP/2.0 @@ -3990,13 +3990,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.316416ms + duration: 94.840625ms - id: 111 request: proto: HTTP/1.1 @@ -4015,8 +4015,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -4026,13 +4026,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.217833ms + duration: 158.291334ms - id: 112 request: proto: HTTP/1.1 @@ -4051,8 +4051,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4068,7 +4068,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.605667ms + duration: 90.467125ms - id: 113 request: proto: HTTP/1.1 @@ -4087,8 +4087,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4104,7 +4104,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.629834ms + duration: 105.670833ms - id: 114 request: proto: HTTP/1.1 @@ -4123,8 +4123,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4134,13 +4134,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.021708ms + duration: 93.463292ms - id: 115 request: proto: HTTP/1.1 @@ -4159,8 +4159,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -4170,13 +4170,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 82.432334ms + duration: 146.174833ms - id: 116 request: proto: HTTP/1.1 @@ -4195,8 +4195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4206,13 +4206,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.48275ms + duration: 96.194708ms - id: 117 request: proto: HTTP/1.1 @@ -4231,8 +4231,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: GET response: proto: HTTP/2.0 @@ -4242,13 +4242,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + body: '{"id":"rol_vlyiBrIb3fupbDEV","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.351625ms + duration: 113.169833ms - id: 118 request: proto: HTTP/1.1 @@ -4267,8 +4267,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions?include_totals=true&page=0&per_page=100 method: GET response: proto: HTTP/2.0 @@ -4278,537 +4278,69 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":100,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.129125ms + duration: 100.778375ms - id: 119 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 280 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"read:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.750875ms + status: 204 No Content + code: 204 + duration: 97.463959ms - id: 120 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 150 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.423959ms - - id: 121 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.479792ms - - id: 122 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.793417ms - - id: 123 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 161.799375ms - - id: 124 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.917667ms - - id: 125 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 90.216166ms - - id: 126 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.009375ms - - id: 127 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 92.942959ms - - id: 128 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.383084ms - - id: 129 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 163.500167ms - - id: 130 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_BdVr5ykFTw2RRVj3","name":"Acceptance Test - testaccrolepermissions","description":"Acceptance Test Role - testaccrolepermissions"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 80.010375ms - - id: 131 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccrolepermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.264167ms - - id: 132 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 280 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"read:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"create:foo"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions - 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: 84.474333ms - - id: 133 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 150 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","permission_name":"create:foo"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions method: DELETE response: proto: HTTP/2.0 @@ -4824,8 +4356,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 91.680083ms - - id: 134 + duration: 90.828209ms + - id: 121 request: proto: HTTP/1.1 proto_major: 1 @@ -4843,8 +4375,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3/permissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV/permissions method: DELETE response: proto: HTTP/2.0 @@ -4860,8 +4392,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 87.189959ms - - id: 135 + duration: 87.534834ms + - id: 122 request: proto: HTTP/1.1 proto_major: 1 @@ -4879,8 +4411,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_BdVr5ykFTw2RRVj3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vlyiBrIb3fupbDEV method: DELETE response: proto: HTTP/2.0 @@ -4896,8 +4428,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.221833ms - - id: 136 + duration: 110.260458ms + - id: 123 request: proto: HTTP/1.1 proto_major: 1 @@ -4915,7 +4447,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccrolepermissions method: PATCH response: @@ -4926,14 +4458,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"64884f285beff511d0ae3da0","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64af4a2403c3f299c769805f","name":"Acceptance Test - testaccrolepermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccrolepermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 155.993708ms - - id: 137 + duration: 360.627583ms + - id: 124 request: proto: HTTP/1.1 proto_major: 1 @@ -4950,8 +4482,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64884f285beff511d0ae3da0 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64af4a2403c3f299c769805f method: DELETE response: proto: HTTP/2.0 @@ -4967,4 +4499,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 218.617041ms + duration: 155.735792ms diff --git a/test/data/recordings/TestAccRoleResourcePermissions.yaml b/test/data/recordings/TestAccRoleResourcePermissions.yaml deleted file mode 100644 index 0a11523e4..000000000 --- a/test/data/recordings/TestAccRoleResourcePermissions.yaml +++ /dev/null @@ -1,470 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 3358 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Role - Acceptance Test - TestAccRoleResourcePermissions","identifier":"https://TestAccRoleResourcePermissions.matrix.com/","scopes":[{"value":"permission:1","description":"Permission 1"},{"value":"permission:10","description":"Permission 10"},{"value":"permission:11","description":"Permission 11"},{"value":"permission:12","description":"Permission 12"},{"value":"permission:13","description":"Permission 13"},{"value":"permission:14","description":"Permission 14"},{"value":"permission:15","description":"Permission 15"},{"value":"permission:16","description":"Permission 16"},{"value":"permission:17","description":"Permission 17"},{"value":"permission:18","description":"Permission 18"},{"value":"permission:19","description":"Permission 19"},{"value":"permission:2","description":"Permission 2"},{"value":"permission:20","description":"Permission 20"},{"value":"permission:21","description":"Permission 21"},{"value":"permission:22","description":"Permission 22"},{"value":"permission:23","description":"Permission 23"},{"value":"permission:24","description":"Permission 24"},{"value":"permission:25","description":"Permission 25"},{"value":"permission:26","description":"Permission 26"},{"value":"permission:27","description":"Permission 27"},{"value":"permission:28","description":"Permission 28"},{"value":"permission:29","description":"Permission 29"},{"value":"permission:3","description":"Permission 3"},{"value":"permission:30","description":"Permission 30"},{"value":"permission:31","description":"Permission 31"},{"value":"permission:32","description":"Permission 32"},{"value":"permission:33","description":"Permission 33"},{"value":"permission:34","description":"Permission 34"},{"value":"permission:35","description":"Permission 35"},{"value":"permission:36","description":"Permission 36"},{"value":"permission:37","description":"Permission 37"},{"value":"permission:38","description":"Permission 38"},{"value":"permission:39","description":"Permission 39"},{"value":"permission:4","description":"Permission 4"},{"value":"permission:40","description":"Permission 40"},{"value":"permission:41","description":"Permission 41"},{"value":"permission:42","description":"Permission 42"},{"value":"permission:43","description":"Permission 43"},{"value":"permission:44","description":"Permission 44"},{"value":"permission:45","description":"Permission 45"},{"value":"permission:46","description":"Permission 46"},{"value":"permission:47","description":"Permission 47"},{"value":"permission:48","description":"Permission 48"},{"value":"permission:49","description":"Permission 49"},{"value":"permission:5","description":"Permission 5"},{"value":"permission:50","description":"Permission 50"},{"value":"permission:51","description":"Permission 51"},{"value":"permission:52","description":"Permission 52"},{"value":"permission:53","description":"Permission 53"},{"value":"permission:54","description":"Permission 54"},{"value":"permission:55","description":"Permission 55"},{"value":"permission:56","description":"Permission 56"},{"value":"permission:57","description":"Permission 57"},{"value":"permission:58","description":"Permission 58"},{"value":"permission:6","description":"Permission 6"},{"value":"permission:7","description":"Permission 7"},{"value":"permission:8","description":"Permission 8"},{"value":"permission:9","description":"Permission 9"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: false - body: '{"id":"63580f49ee53dea1e2369620","name":"Role - Acceptance Test - TestAccRoleResourcePermissions","identifier":"https://TestAccRoleResourcePermissions.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"permission:1","description":"Permission 1"},{"value":"permission:10","description":"Permission 10"},{"value":"permission:11","description":"Permission 11"},{"value":"permission:12","description":"Permission 12"},{"value":"permission:13","description":"Permission 13"},{"value":"permission:14","description":"Permission 14"},{"value":"permission:15","description":"Permission 15"},{"value":"permission:16","description":"Permission 16"},{"value":"permission:17","description":"Permission 17"},{"value":"permission:18","description":"Permission 18"},{"value":"permission:19","description":"Permission 19"},{"value":"permission:2","description":"Permission 2"},{"value":"permission:20","description":"Permission 20"},{"value":"permission:21","description":"Permission 21"},{"value":"permission:22","description":"Permission 22"},{"value":"permission:23","description":"Permission 23"},{"value":"permission:24","description":"Permission 24"},{"value":"permission:25","description":"Permission 25"},{"value":"permission:26","description":"Permission 26"},{"value":"permission:27","description":"Permission 27"},{"value":"permission:28","description":"Permission 28"},{"value":"permission:29","description":"Permission 29"},{"value":"permission:3","description":"Permission 3"},{"value":"permission:30","description":"Permission 30"},{"value":"permission:31","description":"Permission 31"},{"value":"permission:32","description":"Permission 32"},{"value":"permission:33","description":"Permission 33"},{"value":"permission:34","description":"Permission 34"},{"value":"permission:35","description":"Permission 35"},{"value":"permission:36","description":"Permission 36"},{"value":"permission:37","description":"Permission 37"},{"value":"permission:38","description":"Permission 38"},{"value":"permission:39","description":"Permission 39"},{"value":"permission:4","description":"Permission 4"},{"value":"permission:40","description":"Permission 40"},{"value":"permission:41","description":"Permission 41"},{"value":"permission:42","description":"Permission 42"},{"value":"permission:43","description":"Permission 43"},{"value":"permission:44","description":"Permission 44"},{"value":"permission:45","description":"Permission 45"},{"value":"permission:46","description":"Permission 46"},{"value":"permission:47","description":"Permission 47"},{"value":"permission:48","description":"Permission 48"},{"value":"permission:49","description":"Permission 49"},{"value":"permission:5","description":"Permission 5"},{"value":"permission:50","description":"Permission 50"},{"value":"permission:51","description":"Permission 51"},{"value":"permission:52","description":"Permission 52"},{"value":"permission:53","description":"Permission 53"},{"value":"permission:54","description":"Permission 54"},{"value":"permission:55","description":"Permission 55"},{"value":"permission:56","description":"Permission 56"},{"value":"permission:57","description":"Permission 57"},{"value":"permission:58","description":"Permission 58"},{"value":"permission:6","description":"Permission 6"},{"value":"permission:7","description":"Permission 7"},{"value":"permission:8","description":"Permission 8"},{"value":"permission:9","description":"Permission 9"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 199.659748ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63580f49ee53dea1e2369620 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63580f49ee53dea1e2369620","name":"Role - Acceptance Test - TestAccRoleResourcePermissions","identifier":"https://TestAccRoleResourcePermissions.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"permission:1","description":"Permission 1"},{"value":"permission:10","description":"Permission 10"},{"value":"permission:11","description":"Permission 11"},{"value":"permission:12","description":"Permission 12"},{"value":"permission:13","description":"Permission 13"},{"value":"permission:14","description":"Permission 14"},{"value":"permission:15","description":"Permission 15"},{"value":"permission:16","description":"Permission 16"},{"value":"permission:17","description":"Permission 17"},{"value":"permission:18","description":"Permission 18"},{"value":"permission:19","description":"Permission 19"},{"value":"permission:2","description":"Permission 2"},{"value":"permission:20","description":"Permission 20"},{"value":"permission:21","description":"Permission 21"},{"value":"permission:22","description":"Permission 22"},{"value":"permission:23","description":"Permission 23"},{"value":"permission:24","description":"Permission 24"},{"value":"permission:25","description":"Permission 25"},{"value":"permission:26","description":"Permission 26"},{"value":"permission:27","description":"Permission 27"},{"value":"permission:28","description":"Permission 28"},{"value":"permission:29","description":"Permission 29"},{"value":"permission:3","description":"Permission 3"},{"value":"permission:30","description":"Permission 30"},{"value":"permission:31","description":"Permission 31"},{"value":"permission:32","description":"Permission 32"},{"value":"permission:33","description":"Permission 33"},{"value":"permission:34","description":"Permission 34"},{"value":"permission:35","description":"Permission 35"},{"value":"permission:36","description":"Permission 36"},{"value":"permission:37","description":"Permission 37"},{"value":"permission:38","description":"Permission 38"},{"value":"permission:39","description":"Permission 39"},{"value":"permission:4","description":"Permission 4"},{"value":"permission:40","description":"Permission 40"},{"value":"permission:41","description":"Permission 41"},{"value":"permission:42","description":"Permission 42"},{"value":"permission:43","description":"Permission 43"},{"value":"permission:44","description":"Permission 44"},{"value":"permission:45","description":"Permission 45"},{"value":"permission:46","description":"Permission 46"},{"value":"permission:47","description":"Permission 47"},{"value":"permission:48","description":"Permission 48"},{"value":"permission:49","description":"Permission 49"},{"value":"permission:5","description":"Permission 5"},{"value":"permission:50","description":"Permission 50"},{"value":"permission:51","description":"Permission 51"},{"value":"permission:52","description":"Permission 52"},{"value":"permission:53","description":"Permission 53"},{"value":"permission:54","description":"Permission 54"},{"value":"permission:55","description":"Permission 55"},{"value":"permission:56","description":"Permission 56"},{"value":"permission:57","description":"Permission 57"},{"value":"permission:58","description":"Permission 58"},{"value":"permission:6","description":"Permission 6"},{"value":"permission:7","description":"Permission 7"},{"value":"permission:8","description":"Permission 8"},{"value":"permission:9","description":"Permission 9"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 131.5099ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 104 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"The One - Acceptance Test - TestAccRoleResourcePermissions","description":"The One - Acceptance Test"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7QtmOR6ziXrbbXIF","name":"The One - Acceptance Test - TestAccRoleResourcePermissions","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 149.203846ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 6389 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:56"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:5"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:38"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:22"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:10"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:53"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:49"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:35"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:8"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:44"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:16"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:36"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:47"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:6"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:21"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:50"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:18"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:15"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:12"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:57"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:1"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:26"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:40"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:31"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:24"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:11"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:43"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:32"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:28"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:54"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:3"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:2"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:25"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:51"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:20"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:7"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:46"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:37"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:55"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:14"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:19"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:45"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:9"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:34"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:52"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:48"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:39"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:23"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:4"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:17"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:33"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:29"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:58"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:42"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:13"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:30"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:41"},{"resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/","permission_name":"permission:27"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7QtmOR6ziXrbbXIF/permissions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: "{}" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 145.963865ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7QtmOR6ziXrbbXIF - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7QtmOR6ziXrbbXIF","name":"The One - Acceptance Test - TestAccRoleResourcePermissions","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.051362ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7QtmOR6ziXrbbXIF/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"permission:1","description":"Permission 1","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:10","description":"Permission 10","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:11","description":"Permission 11","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:12","description":"Permission 12","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:13","description":"Permission 13","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:14","description":"Permission 14","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:15","description":"Permission 15","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:16","description":"Permission 16","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:17","description":"Permission 17","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:18","description":"Permission 18","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:19","description":"Permission 19","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:2","description":"Permission 2","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:20","description":"Permission 20","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:21","description":"Permission 21","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:22","description":"Permission 22","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:23","description":"Permission 23","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:24","description":"Permission 24","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:25","description":"Permission 25","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:26","description":"Permission 26","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:27","description":"Permission 27","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:28","description":"Permission 28","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:29","description":"Permission 29","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:3","description":"Permission 3","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:30","description":"Permission 30","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:31","description":"Permission 31","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:32","description":"Permission 32","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:33","description":"Permission 33","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:34","description":"Permission 34","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:35","description":"Permission 35","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:36","description":"Permission 36","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:37","description":"Permission 37","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:38","description":"Permission 38","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:39","description":"Permission 39","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:4","description":"Permission 4","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:40","description":"Permission 40","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:41","description":"Permission 41","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:42","description":"Permission 42","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:43","description":"Permission 43","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:44","description":"Permission 44","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:45","description":"Permission 45","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:46","description":"Permission 46","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:47","description":"Permission 47","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:48","description":"Permission 48","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:49","description":"Permission 49","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:5","description":"Permission 5","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:50","description":"Permission 50","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:51","description":"Permission 51","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:52","description":"Permission 52","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:53","description":"Permission 53","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:54","description":"Permission 54","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"}],"start":0,"limit":50,"total":58}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 255.575215ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7QtmOR6ziXrbbXIF/permissions?include_totals=true&page=1&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"permission:55","description":"Permission 55","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:56","description":"Permission 56","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:57","description":"Permission 57","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:58","description":"Permission 58","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:6","description":"Permission 6","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:7","description":"Permission 7","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:8","description":"Permission 8","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:9","description":"Permission 9","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"}],"start":50,"limit":50,"total":58}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 201.035065ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63580f49ee53dea1e2369620 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"63580f49ee53dea1e2369620","name":"Role - Acceptance Test - TestAccRoleResourcePermissions","identifier":"https://TestAccRoleResourcePermissions.matrix.com/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"permission:1","description":"Permission 1"},{"value":"permission:10","description":"Permission 10"},{"value":"permission:11","description":"Permission 11"},{"value":"permission:12","description":"Permission 12"},{"value":"permission:13","description":"Permission 13"},{"value":"permission:14","description":"Permission 14"},{"value":"permission:15","description":"Permission 15"},{"value":"permission:16","description":"Permission 16"},{"value":"permission:17","description":"Permission 17"},{"value":"permission:18","description":"Permission 18"},{"value":"permission:19","description":"Permission 19"},{"value":"permission:2","description":"Permission 2"},{"value":"permission:20","description":"Permission 20"},{"value":"permission:21","description":"Permission 21"},{"value":"permission:22","description":"Permission 22"},{"value":"permission:23","description":"Permission 23"},{"value":"permission:24","description":"Permission 24"},{"value":"permission:25","description":"Permission 25"},{"value":"permission:26","description":"Permission 26"},{"value":"permission:27","description":"Permission 27"},{"value":"permission:28","description":"Permission 28"},{"value":"permission:29","description":"Permission 29"},{"value":"permission:3","description":"Permission 3"},{"value":"permission:30","description":"Permission 30"},{"value":"permission:31","description":"Permission 31"},{"value":"permission:32","description":"Permission 32"},{"value":"permission:33","description":"Permission 33"},{"value":"permission:34","description":"Permission 34"},{"value":"permission:35","description":"Permission 35"},{"value":"permission:36","description":"Permission 36"},{"value":"permission:37","description":"Permission 37"},{"value":"permission:38","description":"Permission 38"},{"value":"permission:39","description":"Permission 39"},{"value":"permission:4","description":"Permission 4"},{"value":"permission:40","description":"Permission 40"},{"value":"permission:41","description":"Permission 41"},{"value":"permission:42","description":"Permission 42"},{"value":"permission:43","description":"Permission 43"},{"value":"permission:44","description":"Permission 44"},{"value":"permission:45","description":"Permission 45"},{"value":"permission:46","description":"Permission 46"},{"value":"permission:47","description":"Permission 47"},{"value":"permission:48","description":"Permission 48"},{"value":"permission:49","description":"Permission 49"},{"value":"permission:5","description":"Permission 5"},{"value":"permission:50","description":"Permission 50"},{"value":"permission:51","description":"Permission 51"},{"value":"permission:52","description":"Permission 52"},{"value":"permission:53","description":"Permission 53"},{"value":"permission:54","description":"Permission 54"},{"value":"permission:55","description":"Permission 55"},{"value":"permission:56","description":"Permission 56"},{"value":"permission:57","description":"Permission 57"},{"value":"permission:58","description":"Permission 58"},{"value":"permission:6","description":"Permission 6"},{"value":"permission:7","description":"Permission 7"},{"value":"permission:8","description":"Permission 8"},{"value":"permission:9","description":"Permission 9"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 231.189726ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7QtmOR6ziXrbbXIF - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_7QtmOR6ziXrbbXIF","name":"The One - Acceptance Test - TestAccRoleResourcePermissions","description":"The One - Acceptance Test"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 147.294823ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7QtmOR6ziXrbbXIF/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"permission:1","description":"Permission 1","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:10","description":"Permission 10","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:11","description":"Permission 11","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:12","description":"Permission 12","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:13","description":"Permission 13","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:14","description":"Permission 14","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:15","description":"Permission 15","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:16","description":"Permission 16","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:17","description":"Permission 17","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:18","description":"Permission 18","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:19","description":"Permission 19","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:2","description":"Permission 2","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:20","description":"Permission 20","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:21","description":"Permission 21","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:22","description":"Permission 22","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:23","description":"Permission 23","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:24","description":"Permission 24","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:25","description":"Permission 25","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:26","description":"Permission 26","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:27","description":"Permission 27","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:28","description":"Permission 28","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:29","description":"Permission 29","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:3","description":"Permission 3","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:30","description":"Permission 30","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:31","description":"Permission 31","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:32","description":"Permission 32","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:33","description":"Permission 33","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:34","description":"Permission 34","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:35","description":"Permission 35","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:36","description":"Permission 36","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:37","description":"Permission 37","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:38","description":"Permission 38","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:39","description":"Permission 39","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:4","description":"Permission 4","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:40","description":"Permission 40","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:41","description":"Permission 41","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:42","description":"Permission 42","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:43","description":"Permission 43","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:44","description":"Permission 44","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:45","description":"Permission 45","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:46","description":"Permission 46","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:47","description":"Permission 47","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:48","description":"Permission 48","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:49","description":"Permission 49","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:5","description":"Permission 5","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:50","description":"Permission 50","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:51","description":"Permission 51","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:52","description":"Permission 52","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:53","description":"Permission 53","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:54","description":"Permission 54","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"}],"start":0,"limit":50,"total":58}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 153.042375ms - - 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/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7QtmOR6ziXrbbXIF/permissions?include_totals=true&page=1&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"permission:55","description":"Permission 55","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:56","description":"Permission 56","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:57","description":"Permission 57","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:58","description":"Permission 58","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:6","description":"Permission 6","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:7","description":"Permission 7","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:8","description":"Permission 8","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"},{"permission_name":"permission:9","description":"Permission 9","resource_server_name":"Role - Acceptance Test - TestAccRoleResourcePermissions","resource_server_identifier":"https://TestAccRoleResourcePermissions.matrix.com/"}],"start":50,"limit":50,"total":58}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 253.182769ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 3 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_7QtmOR6ziXrbbXIF - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: "{}" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 241.863017ms - - 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-SDK/0.12.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/63580f49ee53dea1e2369620 - 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: 290.94147ms diff --git a/test/data/recordings/TestAccUser.yaml b/test/data/recordings/TestAccUser.yaml index b422dec0d..c910ce776 100644 --- a/test/data/recordings/TestAccUser.yaml +++ b/test/data/recordings/TestAccUser.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: 527 uncompressed: false - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:36:11.066Z","user_id":"auth0|testaccuser","username":"testaccuser"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:16.596Z","user_id":"auth0|testaccuser","username":"testaccuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 248.238459ms + duration: 225.793375ms - id: 1 request: proto: HTTP/1.1 @@ -55,7 +55,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:36:11.066Z","user_id":"auth0|testaccuser","username":"testaccuser"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:16.596Z","user_id":"auth0|testaccuser","username":"testaccuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.410583ms + duration: 91.6935ms - id: 2 request: proto: HTTP/1.1 @@ -91,8 +91,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: proto: HTTP/2.0 @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:16.596Z","user_id":"auth0|testaccuser","username":"testaccuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.523541ms + duration: 90.321458ms - id: 3 request: proto: HTTP/1.1 @@ -127,8 +127,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: proto: HTTP/2.0 @@ -138,34 +138,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:16.596Z","user_id":"auth0|testaccuser","username":"testaccuser"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.253083ms + duration: 107.8995ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 128 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"name":"Firstname Lastname","given_name":"Firstname","family_name":"Lastname","picture":"https://www.example.com/picture.jpg"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: GET + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:36:11.066Z","user_id":"auth0|testaccuser","username":"testaccuser"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:41.518Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.787458ms + duration: 104.198208ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: proto: HTTP/2.0 @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:41.518Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 138.44325ms + duration: 99.773ms - id: 6 request: proto: HTTP/1.1 @@ -235,8 +235,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: proto: HTTP/2.0 @@ -246,13 +246,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:41.518Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 250.7005ms + duration: 103.39225ms - id: 7 request: proto: HTTP/1.1 @@ -271,7 +271,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: @@ -282,34 +282,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuser@acceptance.test.com","nickname":"testaccuser","picture":"https://s.gravatar.com/avatar/324ad113b0ef6dabbb2c2c4cf8a8d108?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:36:11.066Z","user_id":"auth0|testaccuser","username":"testaccuser"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:41.518Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.557625ms + duration: 97.32125ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 85 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -318,13 +318,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:53.231Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 223.96575ms + duration: 110.002292ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: proto: HTTP/2.0 @@ -354,34 +354,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:53.231Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.051ms + duration: 89.554667ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 128 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Firstname Lastname","given_name":"Firstname","family_name":"Lastname","picture":"https://www.example.com/picture.jpg"} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: PATCH + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -390,13 +390,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:13.624Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:53.231Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 132.938917ms + duration: 101.023375ms - id: 11 request: proto: HTTP/1.1 @@ -415,7 +415,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: @@ -426,34 +426,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:13.624Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:53.231Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.122875ms + duration: 104.969583ms - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 85 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"user_metadata":{"baz":null,"foo":"bars"},"app_metadata":{"baz":null,"foo":"bars"}} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:59.738Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.798041ms + duration: 98.391208ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:59.738Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.268541ms + duration: 104.189792ms - id: 14 request: proto: HTTP/1.1 @@ -523,7 +523,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:13.624Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:59.738Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.412125ms + duration: 92.7685ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: proto: HTTP/2.0 @@ -570,34 +570,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:30:59.738Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.971208ms + duration: 90.747917ms - id: 16 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 39 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"user_metadata":{},"app_metadata":{}} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:31:07.276Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.428625ms + duration: 108.201875ms - id: 17 request: proto: HTTP/1.1 @@ -631,7 +631,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:13.624Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname"}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:31:07.276Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.420667ms + duration: 143.742917ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:31:07.276Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.237625ms + duration: 98.70675ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: GET response: proto: HTTP/2.0 @@ -714,194 +714,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:31:07.276Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.7275ms + duration: 89.437ms - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 68 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Test Owner testaccuser","description":"Owner testaccuser"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Ul86Axvy6lNVDVHe","name":"Test Owner testaccuser","description":"Owner testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.213834ms - - id: 21 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ul86Axvy6lNVDVHe - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Ul86Axvy6lNVDVHe","name":"Test Owner testaccuser","description":"Owner testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.015083ms - - id: 22 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ul86Axvy6lNVDVHe/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.506625ms - - id: 23 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 76 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Test Admin testaccuser","description":"Administrator testaccuser"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.629375ms - - id: 24 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.886375ms - - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -919,45 +739,9 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 106.245375ms - - id: 26 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 85 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: PATCH + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -966,1922 +750,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:22.541Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' + body: '{"created_at":"2023-07-11T16:30:16.596Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-07-11T16:31:07.276Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.516375ms - - id: 27 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 58 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_Ul86Axvy6lNVDVHe","rol_EyHI059ZgvmqKkzx"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles - method: POST - 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: 106.124417ms - - id: 28 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:22.541Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.047959ms - - id: 29 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"},{"id":"rol_Ul86Axvy6lNVDVHe","name":"Test Owner testaccuser","description":"Owner testaccuser"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.718833ms - - id: 30 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.132042ms - - id: 31 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ul86Axvy6lNVDVHe - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Ul86Axvy6lNVDVHe","name":"Test Owner testaccuser","description":"Owner testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 92.978083ms - - id: 32 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ul86Axvy6lNVDVHe/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 150.340167ms - - id: 33 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.661292ms - - id: 34 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 129.443584ms - - id: 35 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:22.541Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.831917ms - - id: 36 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"},{"id":"rol_Ul86Axvy6lNVDVHe","name":"Test Owner testaccuser","description":"Owner testaccuser"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.258584ms - - id: 37 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 293.895625ms - - id: 38 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 107.297208ms - - id: 39 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ul86Axvy6lNVDVHe - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Ul86Axvy6lNVDVHe","name":"Test Owner testaccuser","description":"Owner testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 114.634291ms - - id: 40 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 107.918959ms - - id: 41 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ul86Axvy6lNVDVHe/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.727208ms - - id: 42 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:22.541Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"baz":"qux","foo":"bar"},"app_metadata":{"baz":"qux","foo":"bar"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 92.369917ms - - id: 43 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"},{"id":"rol_Ul86Axvy6lNVDVHe","name":"Test Owner testaccuser","description":"Owner testaccuser"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.829334ms - - id: 44 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.584458ms - - id: 45 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 3 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ul86Axvy6lNVDVHe - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: '{}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 106.8115ms - - id: 46 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 85 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"user_metadata":{"baz":null,"foo":"bars"},"app_metadata":{"baz":null,"foo":"bars"}} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:37.963Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 128.381375ms - - id: 47 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 35 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_Ul86Axvy6lNVDVHe"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"statusCode":404,"error":"Not Found","message":"The role does not exist."}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 404 Not Found - code: 404 - duration: 116.848125ms - - id: 48 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:37.963Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.436042ms - - id: 49 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}],"start":0,"limit":50,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.131875ms - - id: 50 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 125.04825ms - - id: 51 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.513834ms - - id: 52 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 124.378875ms - - id: 53 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:37.963Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.514292ms - - id: 54 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}],"start":0,"limit":50,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.665334ms - - id: 55 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.325792ms - - id: 56 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:37.963Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"bars"},"app_metadata":{"foo":"bars"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.63725ms - - id: 57 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 128.711125ms - - id: 58 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_EyHI059ZgvmqKkzx","name":"Test Admin testaccuser","description":"Administrator testaccuser"}],"start":0,"limit":50,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.012708ms - - id: 59 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 129.594541ms - - id: 60 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 167.678083ms - - id: 61 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 3 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_EyHI059ZgvmqKkzx - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: '{}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 163.402292ms - - id: 62 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 93 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"user_metadata":{"foo":"barss","foo2":"bar2"},"app_metadata":{"foo":"barss","foo2":"bar2"}} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:46.745Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"barss","foo2":"bar2"},"app_metadata":{"foo":"barss","foo2":"bar2"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.626292ms - - id: 63 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 35 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_EyHI059ZgvmqKkzx"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"statusCode":404,"error":"Not Found","message":"The role does not exist."}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 404 Not Found - code: 404 - duration: 109.86075ms - - id: 64 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:46.745Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"barss","foo2":"bar2"},"app_metadata":{"foo":"barss","foo2":"bar2"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 119.578125ms - - id: 65 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.63875ms - - id: 66 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 119.176792ms - - id: 67 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:46.745Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"barss","foo2":"bar2"},"app_metadata":{"foo":"barss","foo2":"bar2"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 220.742375ms - - id: 68 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.202ms - - id: 69 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 108.87525ms - - id: 70 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:46.745Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{"foo":"barss","foo2":"bar2"},"app_metadata":{"foo":"barss","foo2":"bar2"}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.426916ms - - id: 71 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.8545ms - - id: 72 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 121.435709ms - - id: 73 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 39 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"user_metadata":{},"app_metadata":{}} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:49.237Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 135.045917ms - - id: 74 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:49.237Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.899792ms - - id: 75 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 144.45925ms - - id: 76 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 161.567125ms - - id: 77 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:36:11.066Z","email":"testaccuser@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuser","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"Firstname Lastname","nickname":"testaccuser","picture":"https://www.example.com/picture.jpg","updated_at":"2023-06-21T08:36:49.237Z","user_id":"auth0|testaccuser","username":"testaccuser","family_name":"Lastname","given_name":"Firstname","user_metadata":{}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.037542ms - - id: 78 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 133.411792ms - - id: 79 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 143.759041ms - - id: 80 + duration: 105.889541ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -2898,7 +774,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuser method: DELETE response: @@ -2915,4 +791,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 385.755708ms + duration: 200.687166ms diff --git a/test/data/recordings/TestAccUserChangeUsername.yaml b/test/data/recordings/TestAccUserChangeUsername.yaml index 24188fa39..9355bca3c 100644 --- a/test/data/recordings/TestAccUserChangeUsername.yaml +++ b/test/data/recordings/TestAccUserChangeUsername.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: 581 uncompressed: false - body: '{"created_at":"2023-05-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:27.489Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_terra"}' + body: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:16.736Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 317.746791ms + duration: 326.085458ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:27.489Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_terra"}' + body: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:16.736Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 194.526ms + duration: 94.972042ms - id: 2 request: proto: HTTP/1.1 @@ -91,8 +91,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 method: GET response: proto: HTTP/2.0 @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:16.736Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.641917ms + duration: 110.598292ms - id: 3 request: proto: HTTP/1.1 @@ -127,8 +127,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 method: GET response: proto: HTTP/2.0 @@ -138,34 +138,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:16.736Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.494125ms + duration: 93.687417ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 28 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"username":"user_x_terra"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:27.489Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_terra"}' + body: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:30.372Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_x_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 161.494ms + duration: 224.902875ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 method: GET response: proto: HTTP/2.0 @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:30.372Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_x_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.89325ms + duration: 101.234291ms - id: 6 request: proto: HTTP/1.1 @@ -235,8 +235,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 method: GET response: proto: HTTP/2.0 @@ -246,13 +246,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:30.372Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_x_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.491084ms + duration: 106.13975ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 method: GET response: proto: HTTP/2.0 @@ -282,446 +282,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-05-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:27.489Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_terra"}' + body: '{"created_at":"2023-07-11T16:30:16.736Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad8398c5c61f16f5d65921","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-07-11T16:30:30.372Z","user_id":"auth0|64ad8398c5c61f16f5d65921","username":"user_x_terra"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.604083ms + duration: 101.91125ms - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 105.220291ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.235667ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 28 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"username":"user_x_terra"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-05-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:29.766Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_x_terra"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 158.450166ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-05-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:29.766Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_x_terra"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 228.196542ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 106.305666ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 128.380625ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-05-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:29.766Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_x_terra"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.924584ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.833083ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.042167ms - - id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-05-09T20:23:27.489Z","email":"change.username.terra@acceptance.test.com","email_verified":true,"identities":[{"connection":"Username-Password-Authentication","user_id":"645aabbf92fae3f2bc9fa307","provider":"auth0","isSocial":false}],"name":"change.username.terra@acceptance.test.com","nickname":"change.username.terra","picture":"https://s.gravatar.com/avatar/62acb990858a2c9075eb1d3beb6f5baa?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fch.png","updated_at":"2023-05-09T20:23:29.766Z","user_id":"auth0|645aabbf92fae3f2bc9fa307","username":"user_x_terra"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.923417ms - - id: 18 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.91ms - - id: 19 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 168.606959ms - - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -738,8 +306,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C645aabbf92fae3f2bc9fa307 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad8398c5c61f16f5d65921 method: DELETE response: proto: HTTP/2.0 @@ -755,4 +323,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 175.681084ms + duration: 172.218583ms diff --git a/test/data/recordings/TestAccUserPermission.yaml b/test/data/recordings/TestAccUserPermission.yaml index e10a8e9d4..2c28c92e9 100644 --- a/test/data/recordings/TestAccUserPermission.yaml +++ b/test/data/recordings/TestAccUserPermission.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: 336 uncompressed: false - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 112.543125ms + duration: 125.006667ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.330042ms + duration: 93.502667ms - id: 2 request: proto: HTTP/1.1 @@ -91,7 +91,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.229542ms + duration: 94.036541ms - id: 3 request: proto: HTTP/1.1 @@ -127,7 +127,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: PATCH response: @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.405375ms + duration: 113.256375ms - id: 4 request: proto: HTTP/1.1 @@ -163,7 +163,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.602125ms + duration: 94.68625ms - id: 5 request: proto: HTTP/1.1 @@ -199,7 +199,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: 587 uncompressed: false - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 239.557166ms + duration: 254.0975ms - id: 6 request: proto: HTTP/1.1 @@ -235,7 +235,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -246,49 +246,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 178.813166ms + duration: 91.0205ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 147 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 142.559333ms + status: 201 Created + code: 201 + duration: 124.328458ms - id: 8 request: proto: HTTP/1.1 @@ -307,7 +307,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -318,49 +318,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.841958ms + duration: 105.974417ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 147 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 103.275458ms + status: 200 OK + code: 200 + duration: 113.230125ms - id: 10 request: proto: HTTP/1.1 @@ -379,8 +379,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -390,13 +390,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.074541ms + duration: 99.836125ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.738458ms + duration: 162.335334ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.061375ms + duration: 93.938334ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 146.420208ms + duration: 140.522625ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.15475ms + duration: 119.560208ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.257917ms + duration: 148.684083ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.068042ms + duration: 95.808959ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.647666ms + duration: 105.012959ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.527917ms + duration: 118.890042ms - id: 19 request: proto: HTTP/1.1 @@ -703,7 +703,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.449375ms + duration: 92.373667ms - id: 20 request: proto: HTTP/1.1 @@ -739,7 +739,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -756,7 +756,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.871042ms + duration: 141.285791ms - id: 21 request: proto: HTTP/1.1 @@ -775,7 +775,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -792,7 +792,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.400625ms + duration: 126.395834ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.7835ms + duration: 108.974375ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.157041ms + duration: 155.936125ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.176625ms + duration: 102.17225ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.725417ms + duration: 93.613792ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.387667ms + duration: 116.388291ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.306458ms + duration: 95.868625ms - id: 28 request: proto: HTTP/1.1 @@ -1027,7 +1027,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -1044,43 +1044,43 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.290542ms + duration: 100.963208ms - id: 29 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 149 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b8573ff8b885a253ddd4 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.394583ms + status: 201 Created + code: 201 + duration: 102.225625ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.530792ms + duration: 94.763541ms - id: 31 request: proto: HTTP/1.1 @@ -1135,7 +1135,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -1146,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 81.785167ms + duration: 96.938292ms - id: 32 request: proto: HTTP/1.1 @@ -1171,7 +1171,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -1188,7 +1188,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.525291ms + duration: 104.803458ms - id: 33 request: proto: HTTP/1.1 @@ -1207,7 +1207,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.997458ms + duration: 111.71525ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1254,49 +1254,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 137.455958ms + duration: 95.798125ms - id: 35 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 149 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 101.083833ms + status: 200 OK + code: 200 + duration: 94.599ms - id: 36 request: proto: HTTP/1.1 @@ -1315,7 +1315,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -1332,7 +1332,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.482375ms + duration: 101.347459ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.167958ms + duration: 92.016292ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.676791ms + duration: 92.350375ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1434,13 +1434,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 152.395333ms + duration: 100.262042ms - id: 40 request: proto: HTTP/1.1 @@ -1459,8 +1459,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1470,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.180541ms + duration: 96.113167ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.458584ms + duration: 116.344292ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.246375ms + duration: 149.835ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.005458ms + duration: 102.087333ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.587125ms + duration: 105.510041ms - id: 45 request: proto: HTTP/1.1 @@ -1639,7 +1639,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.147625ms + duration: 118.666417ms - id: 46 request: proto: HTTP/1.1 @@ -1675,7 +1675,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -1692,7 +1692,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.580458ms + duration: 94.192875ms - id: 47 request: proto: HTTP/1.1 @@ -1711,7 +1711,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -1728,7 +1728,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.033125ms + duration: 121.384ms - id: 48 request: proto: HTTP/1.1 @@ -1747,7 +1747,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -1764,7 +1764,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.232459ms + duration: 115.9905ms - id: 49 request: proto: HTTP/1.1 @@ -1783,7 +1783,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -1800,7 +1800,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.767792ms + duration: 109.064083ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -1830,13 +1830,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.254375ms + duration: 90.605625ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 133.117958ms + duration: 157.578833ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.600667ms + duration: 94.316208ms - id: 53 request: proto: HTTP/1.1 @@ -1927,7 +1927,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.632416ms + duration: 110.903166ms - id: 54 request: proto: HTTP/1.1 @@ -1963,7 +1963,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -1980,7 +1980,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.456041ms + duration: 114.033333ms - id: 55 request: proto: HTTP/1.1 @@ -1999,7 +1999,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -2016,7 +2016,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.940083ms + duration: 96.164416ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.597458ms + duration: 99.59575ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.791708ms + duration: 112.615084ms - id: 58 request: proto: HTTP/1.1 @@ -2107,7 +2107,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -2124,79 +2124,79 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.97225ms + duration: 90.491083ms - id: 59 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 149 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 87.02475ms + status: 204 No Content + code: 204 + duration: 101.935708ms - id: 60 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 147 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.79175ms + status: 204 No Content + code: 204 + duration: 94.108125ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -2226,13 +2226,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 131.917ms + duration: 97.498208ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.381791ms + duration: 103.942833ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.465833ms + duration: 115.205625ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -2334,13 +2334,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.080667ms + duration: 101.442209ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -2370,13 +2370,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.575708ms + duration: 98.603083ms - id: 66 request: proto: HTTP/1.1 @@ -2395,7 +2395,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -2406,13 +2406,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 368.483542ms + duration: 92.164167ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -2442,13 +2442,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.53975ms + duration: 103.48725ms - id: 68 request: proto: HTTP/1.1 @@ -2467,8 +2467,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2478,85 +2478,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.967708ms + duration: 165.080625ms - id: 69 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 149 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 87.113667ms + status: 200 OK + code: 200 + duration: 112.8565ms - id: 70 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 147 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 102.733209ms + status: 200 OK + code: 200 + duration: 111.232375ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2586,13 +2586,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.398166ms + duration: 103.298584ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.060583ms + duration: 103.391833ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.699833ms + duration: 100.829916ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.654083ms + duration: 100.9245ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.600667ms + duration: 103.710541ms - id: 76 request: proto: HTTP/1.1 @@ -2755,7 +2755,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.385792ms + duration: 107.51975ms - id: 77 request: proto: HTTP/1.1 @@ -2791,7 +2791,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -2808,7 +2808,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.833792ms + duration: 96.968292ms - id: 78 request: proto: HTTP/1.1 @@ -2827,7 +2827,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -2844,7 +2844,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.235083ms + duration: 107.73625ms - id: 79 request: proto: HTTP/1.1 @@ -2863,7 +2863,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -2874,13 +2874,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.16425ms + duration: 102.002417ms - id: 80 request: proto: HTTP/1.1 @@ -2899,7 +2899,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -2916,7 +2916,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.860417ms + duration: 95.457208ms - id: 81 request: proto: HTTP/1.1 @@ -2935,7 +2935,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -2952,7 +2952,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.889041ms + duration: 104.718209ms - id: 82 request: proto: HTTP/1.1 @@ -2971,8 +2971,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.417708ms + duration: 90.363334ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.870583ms + duration: 93.956125ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -3054,49 +3054,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.964625ms + duration: 99.817125ms - id: 85 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 278 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b8573ff8b885a253ddd4 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 84.292583ms + status: 201 Created + code: 201 + duration: 98.343292ms - id: 86 request: proto: HTTP/1.1 @@ -3115,8 +3115,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3126,13 +3126,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.380416ms + duration: 109.296791ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -3162,13 +3162,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.163833ms + duration: 93.066833ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -3198,13 +3198,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.825208ms + duration: 93.4045ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -3234,13 +3234,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.250458ms + duration: 100.443166ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.204584ms + duration: 98.753041ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3306,13 +3306,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.1145ms + duration: 101.996625ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -3342,13 +3342,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.640083ms + duration: 99.076542ms - id: 93 request: proto: HTTP/1.1 @@ -3367,8 +3367,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3378,13 +3378,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.0485ms + duration: 97.941791ms - id: 94 request: proto: HTTP/1.1 @@ -3403,8 +3403,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3414,13 +3414,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 152.539166ms + duration: 103.023916ms - id: 95 request: proto: HTTP/1.1 @@ -3439,7 +3439,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -3450,13 +3450,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.601ms + duration: 111.016083ms - id: 96 request: proto: HTTP/1.1 @@ -3475,8 +3475,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -3486,13 +3486,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.591791ms + duration: 90.369667ms - id: 97 request: proto: HTTP/1.1 @@ -3511,8 +3511,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3522,13 +3522,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.359542ms + duration: 110.738292ms - id: 98 request: proto: HTTP/1.1 @@ -3547,8 +3547,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3558,13 +3558,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.741792ms + duration: 104.31675ms - id: 99 request: proto: HTTP/1.1 @@ -3583,8 +3583,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -3594,13 +3594,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.399ms + duration: 96.025333ms - id: 100 request: proto: HTTP/1.1 @@ -3619,8 +3619,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -3630,49 +3630,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.519875ms + duration: 98.62975ms - id: 101 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 278 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 129.427625ms + status: 200 OK + code: 200 + duration: 89.342209ms - id: 102 request: proto: HTTP/1.1 @@ -3691,7 +3691,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -3708,7 +3708,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.495667ms + duration: 100.767042ms - id: 103 request: proto: HTTP/1.1 @@ -3727,8 +3727,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3738,13 +3738,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.48125ms + duration: 106.786833ms - id: 104 request: proto: HTTP/1.1 @@ -3763,8 +3763,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3774,13 +3774,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 86.253333ms + duration: 107.226125ms - id: 105 request: proto: HTTP/1.1 @@ -3799,7 +3799,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: @@ -3810,13 +3810,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.458792ms + duration: 109.73275ms - id: 106 request: proto: HTTP/1.1 @@ -3835,7 +3835,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: @@ -3852,7 +3852,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.637917ms + duration: 94.452583ms - id: 107 request: proto: HTTP/1.1 @@ -3871,7 +3871,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -3888,7 +3888,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.695959ms + duration: 164.340208ms - id: 108 request: proto: HTTP/1.1 @@ -3907,8 +3907,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -3918,13 +3918,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.448542ms + duration: 129.694292ms - id: 109 request: proto: HTTP/1.1 @@ -3943,8 +3943,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3954,13 +3954,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.883292ms + duration: 109.420833ms - id: 110 request: proto: HTTP/1.1 @@ -3979,8 +3979,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3990,13 +3990,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.015875ms + duration: 103.976625ms - id: 111 request: proto: HTTP/1.1 @@ -4015,8 +4015,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -4026,13 +4026,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.686417ms + duration: 98.246875ms - id: 112 request: proto: HTTP/1.1 @@ -4051,8 +4051,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4062,13 +4062,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.982917ms + duration: 104.915834ms - id: 113 request: proto: HTTP/1.1 @@ -4087,7 +4087,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -4104,7 +4104,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.438958ms + duration: 118.444708ms - id: 114 request: proto: HTTP/1.1 @@ -4123,8 +4123,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: GET response: proto: HTTP/2.0 @@ -4134,13 +4134,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.821ms + duration: 93.628ms - id: 115 request: proto: HTTP/1.1 @@ -4159,8 +4159,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -4170,13 +4170,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.05475ms + duration: 96.72075ms - id: 116 request: proto: HTTP/1.1 @@ -4195,8 +4195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -4206,13 +4206,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.218625ms + duration: 99.256542ms - id: 117 request: proto: HTTP/1.1 @@ -4231,8 +4231,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4242,13 +4242,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.525666ms + duration: 104.517584ms - id: 118 request: proto: HTTP/1.1 @@ -4267,8 +4267,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4278,13 +4278,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.134ms + duration: 103.086ms - id: 119 request: proto: HTTP/1.1 @@ -4303,8 +4303,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4314,13 +4314,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.478208ms + duration: 96.975ms - id: 120 request: proto: HTTP/1.1 @@ -4339,8 +4339,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -4350,13 +4350,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.577625ms + duration: 101.566583ms - id: 121 request: proto: HTTP/1.1 @@ -4375,8 +4375,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4386,13 +4386,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.613625ms + duration: 101.386375ms - id: 122 request: proto: HTTP/1.1 @@ -4411,7 +4411,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: @@ -4428,7 +4428,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 148.650917ms + duration: 99.402709ms - id: 123 request: proto: HTTP/1.1 @@ -4447,8 +4447,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission method: GET response: proto: HTTP/2.0 @@ -4458,13 +4458,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.484Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.484Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.042584ms + duration: 95.189291ms - id: 124 request: proto: HTTP/1.1 @@ -4483,8 +4483,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4494,13 +4494,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.600375ms + duration: 92.517208ms - id: 125 request: proto: HTTP/1.1 @@ -4519,8 +4519,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4530,178 +4530,177 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.899125ms + duration: 101.848125ms - id: 126 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 278 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.83025ms + status: 204 No Content + code: 204 + duration: 108.111375ms - id: 127 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 149 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.167041ms + status: 204 No Content + code: 204 + duration: 164.145417ms - id: 128 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 147 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.174584ms + status: 204 No Content + code: 204 + duration: 118.092542ms - id: 129 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - null + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.222958ms + status: 204 No Content + code: 204 + duration: 202.57225ms - id: 130 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 14 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"scopes":[]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -4710,805 +4709,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"id":"64ad8398cd43bc9d5a683588","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 127.739584ms + duration: 147.725584ms - id: 131 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 108.521417ms - - id: 132 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 91.73525ms - - id: 133 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.126416ms - - id: 134 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b8573ff8b885a253ddd4 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 136.460291ms - - id: 135 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 86.792708ms - - id: 136 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.286333ms - - id: 137 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 107.053958ms - - id: 138 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.831042ms - - id: 139 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.004917ms - - id: 140 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.102708ms - - id: 141 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 87.509666ms - - id: 142 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 90.279208ms - - id: 143 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 124.061833ms - - id: 144 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 108.024542ms - - id: 145 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:44:08.292Z","email":"testaccuserpermission@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermission","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermission@acceptance.test.com","nickname":"testaccuserpermission","picture":"https://s.gravatar.com/avatar/295de314fb7cbd3d1154adc7f2f222fe?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:44:08.292Z","user_id":"auth0|testaccuserpermission","username":"testaccuserpermission"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 162.694125ms - - id: 146 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 127.434166ms - - id: 147 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermission","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.3395ms - - id: 148 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 149 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - 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: 117.902458ms - - id: 149 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 278 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"create:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - 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: 117.900917ms - - id: 150 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 147 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","permission_name":"read:foo"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission/permissions - 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: 102.850042ms - - id: 151 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermission - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 232.718667ms - - id: 152 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 14 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"scopes":[]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermission - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"6492b8573ff8b885a253ddd4","name":"Acceptance Test - testaccuserpermission","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermission","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 204.229292ms - - id: 153 request: proto: HTTP/1.1 proto_major: 1 @@ -5525,8 +4733,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b8573ff8b885a253ddd4 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad8398cd43bc9d5a683588 method: DELETE response: proto: HTTP/2.0 @@ -5542,4 +4750,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 203.364375ms + duration: 169.17ms diff --git a/test/data/recordings/TestAccUserPermissions.yaml b/test/data/recordings/TestAccUserPermissions.yaml index adb8c96ac..faeb6b18b 100644 --- a/test/data/recordings/TestAccUserPermissions.yaml +++ b/test/data/recordings/TestAccUserPermissions.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: 338 uncompressed: false - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 150.234667ms + duration: 119.307125ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.7455ms + duration: 88.091209ms - id: 2 request: proto: HTTP/1.1 @@ -91,7 +91,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 263.539875ms + duration: 91.472ms - id: 3 request: proto: HTTP/1.1 @@ -127,7 +127,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: PATCH response: @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.073542ms + duration: 113.349667ms - id: 4 request: proto: HTTP/1.1 @@ -163,7 +163,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.404417ms + duration: 83.3305ms - id: 5 request: proto: HTTP/1.1 @@ -199,7 +199,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: 593 uncompressed: false - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 229.880583ms + duration: 287.904084ms - id: 6 request: proto: HTTP/1.1 @@ -235,7 +235,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -246,49 +246,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.101583ms + duration: 92.613875ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 148 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.273334ms + status: 201 Created + code: 201 + duration: 103.838625ms - id: 8 request: proto: HTTP/1.1 @@ -307,7 +307,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -318,49 +318,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 138.271875ms + duration: 157.904792ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 148 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 108.567292ms + status: 200 OK + code: 200 + duration: 104.492625ms - id: 10 request: proto: HTTP/1.1 @@ -379,8 +379,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -390,13 +390,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.343708ms + duration: 143.55275ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.247667ms + duration: 97.941541ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 284.224583ms + duration: 173.034042ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.022375ms + duration: 125.887916ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.739833ms + duration: 100.471417ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.934875ms + duration: 98.407625ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 151.695958ms + duration: 100.316666ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.761083ms + duration: 87.191417ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.404792ms + duration: 112.754167ms - id: 19 request: proto: HTTP/1.1 @@ -703,7 +703,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.045584ms + duration: 123.490042ms - id: 20 request: proto: HTTP/1.1 @@ -739,7 +739,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: @@ -756,7 +756,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.87925ms + duration: 96.031917ms - id: 21 request: proto: HTTP/1.1 @@ -775,7 +775,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -792,7 +792,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.1495ms + duration: 94.116625ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.343375ms + duration: 121.951417ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.347041ms + duration: 113.930875ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.735458ms + duration: 106.085041ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.778583ms + duration: 103.766458ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 141.952ms + duration: 151.014084ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.800958ms + duration: 94.889834ms - id: 28 request: proto: HTTP/1.1 @@ -1027,7 +1027,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -1044,43 +1044,43 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 180.3215ms + duration: 159.634ms - id: 29 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 150 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b7d730dc17244bff1af9 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.182875ms + status: 201 Created + code: 201 + duration: 110.262375ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.887291ms + duration: 108.02025ms - id: 31 request: proto: HTTP/1.1 @@ -1135,7 +1135,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -1146,13 +1146,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.905958ms + duration: 103.452917ms - id: 32 request: proto: HTTP/1.1 @@ -1171,7 +1171,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: @@ -1188,7 +1188,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.011792ms + duration: 96.362083ms - id: 33 request: proto: HTTP/1.1 @@ -1207,7 +1207,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -1218,13 +1218,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.121042ms + duration: 103.6705ms - id: 34 request: proto: HTTP/1.1 @@ -1243,8 +1243,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1254,49 +1254,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.724208ms + duration: 94.431666ms - id: 35 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 150 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 123.187125ms + status: 200 OK + code: 200 + duration: 95.839208ms - id: 36 request: proto: HTTP/1.1 @@ -1315,7 +1315,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -1332,7 +1332,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.453417ms + duration: 118.401875ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.63175ms + duration: 153.401958ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1398,13 +1398,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.482416ms + duration: 102.688166ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1434,13 +1434,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.6195ms + duration: 104.414958ms - id: 40 request: proto: HTTP/1.1 @@ -1459,8 +1459,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1470,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.0625ms + duration: 114.736708ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.086ms + duration: 94.861958ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 181.296334ms + duration: 98.080209ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.618166ms + duration: 201.945542ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.95675ms + duration: 111.068875ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.009708ms + duration: 97.610958ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.975334ms + duration: 106.860292ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -1722,13 +1722,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 390.946125ms + duration: 107.253542ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1758,13 +1758,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.221583ms + duration: 91.833541ms - id: 49 request: proto: HTTP/1.1 @@ -1783,7 +1783,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.549791ms + duration: 120.509667ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1830,49 +1830,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.926667ms + duration: 109.764542ms - id: 51 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 148 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 110.162583ms + status: 204 No Content + code: 204 + duration: 120.535333ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.284458ms + duration: 103.088208ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.773375ms + duration: 99.286708ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1974,13 +1974,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.124625ms + duration: 96.404084ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.421167ms + duration: 111.590208ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.106959ms + duration: 101.917291ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.96625ms + duration: 115.931833ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.53125ms + duration: 149.900084ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -2154,13 +2154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 164.014333ms + duration: 91.133333ms - id: 60 request: proto: HTTP/1.1 @@ -2179,8 +2179,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2190,49 +2190,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.921542ms + duration: 109.88775ms - id: 61 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 148 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 106.062291ms + status: 200 OK + code: 200 + duration: 101.120667ms - id: 62 request: proto: HTTP/1.1 @@ -2251,7 +2251,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -2268,7 +2268,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.500167ms + duration: 112.642209ms - id: 63 request: proto: HTTP/1.1 @@ -2287,7 +2287,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.054ms + duration: 95.016125ms - id: 64 request: proto: HTTP/1.1 @@ -2323,7 +2323,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: @@ -2340,7 +2340,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.264042ms + duration: 104.270791ms - id: 65 request: proto: HTTP/1.1 @@ -2359,7 +2359,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -2376,7 +2376,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.257666ms + duration: 137.011958ms - id: 66 request: proto: HTTP/1.1 @@ -2395,7 +2395,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -2406,13 +2406,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.285291ms + duration: 99.859417ms - id: 67 request: proto: HTTP/1.1 @@ -2431,7 +2431,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: @@ -2448,7 +2448,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.12875ms + duration: 150.585917ms - id: 68 request: proto: HTTP/1.1 @@ -2467,7 +2467,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -2484,7 +2484,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.754709ms + duration: 115.894708ms - id: 69 request: proto: HTTP/1.1 @@ -2503,8 +2503,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2514,13 +2514,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.688625ms + duration: 104.180917ms - id: 70 request: proto: HTTP/1.1 @@ -2539,8 +2539,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -2550,13 +2550,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 153.804083ms + duration: 94.606791ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2586,13 +2586,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.670333ms + duration: 107.60475ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.628458ms + duration: 84.565709ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.85175ms + duration: 93.488292ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 131.727292ms + duration: 123.203167ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.594834ms + duration: 111.65475ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.293541ms + duration: 102.006833ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2802,13 +2802,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.892959ms + duration: 102.081459ms - id: 78 request: proto: HTTP/1.1 @@ -2827,8 +2827,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2838,49 +2838,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.239792ms + duration: 151.182125ms - id: 79 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 150 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.757375ms + status: 204 No Content + code: 204 + duration: 102.820083ms - id: 80 request: proto: HTTP/1.1 @@ -2899,8 +2899,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -2910,13 +2910,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.841583ms + duration: 105.174792ms - id: 81 request: proto: HTTP/1.1 @@ -2935,8 +2935,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2946,13 +2946,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.653167ms + duration: 100.37475ms - id: 82 request: proto: HTTP/1.1 @@ -2971,7 +2971,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.930333ms + duration: 152.629708ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.620083ms + duration: 101.706375ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -3054,13 +3054,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.174209ms + duration: 92.239708ms - id: 85 request: proto: HTTP/1.1 @@ -3079,8 +3079,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -3090,13 +3090,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.229167ms + duration: 169.752167ms - id: 86 request: proto: HTTP/1.1 @@ -3115,8 +3115,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -3126,13 +3126,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.85275ms + duration: 86.32175ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3162,13 +3162,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.127334ms + duration: 129.316ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3198,13 +3198,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.945666ms + duration: 121.52325ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -3234,13 +3234,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.424334ms + duration: 98.131083ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.825208ms + duration: 91.243167ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3306,13 +3306,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.446791ms + duration: 105.054709ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -3342,49 +3342,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.517792ms + duration: 126.286875ms - id: 93 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 150 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 113.204875ms + status: 200 OK + code: 200 + duration: 89.437916ms - id: 94 request: proto: HTTP/1.1 @@ -3403,7 +3403,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -3414,13 +3414,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.77175ms + duration: 101.800875ms - id: 95 request: proto: HTTP/1.1 @@ -3439,8 +3439,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -3450,13 +3450,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.129166ms + duration: 92.816917ms - id: 96 request: proto: HTTP/1.1 @@ -3475,8 +3475,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3486,13 +3486,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.209625ms + duration: 97.562333ms - id: 97 request: proto: HTTP/1.1 @@ -3511,8 +3511,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3522,13 +3522,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.310291ms + duration: 108.246167ms - id: 98 request: proto: HTTP/1.1 @@ -3547,8 +3547,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -3558,13 +3558,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.820208ms + duration: 103.760333ms - id: 99 request: proto: HTTP/1.1 @@ -3583,8 +3583,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3594,13 +3594,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.765584ms + duration: 100.312417ms - id: 100 request: proto: HTTP/1.1 @@ -3619,8 +3619,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3630,13 +3630,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 155.288666ms + duration: 99.138417ms - id: 101 request: proto: HTTP/1.1 @@ -3655,8 +3655,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -3666,13 +3666,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.421292ms + duration: 90.799667ms - id: 102 request: proto: HTTP/1.1 @@ -3691,8 +3691,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -3702,13 +3702,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.50475ms + duration: 94.991375ms - id: 103 request: proto: HTTP/1.1 @@ -3727,8 +3727,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -3738,49 +3738,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.968916ms + duration: 108.076708ms - id: 104 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 148 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.878375ms + status: 201 Created + code: 201 + duration: 102.764542ms - id: 105 request: proto: HTTP/1.1 @@ -3799,8 +3799,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3810,49 +3810,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.411542ms + duration: 154.125541ms - id: 106 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 150 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"create:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 2 + uncompressed: false + body: '{}' headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.677166ms + status: 201 Created + code: 201 + duration: 113.250625ms - id: 107 request: proto: HTTP/1.1 @@ -3871,7 +3871,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -3882,13 +3882,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.22325ms + duration: 150.924166ms - id: 108 request: proto: HTTP/1.1 @@ -3907,8 +3907,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -3918,13 +3918,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.708666ms + duration: 93.232375ms - id: 109 request: proto: HTTP/1.1 @@ -3943,7 +3943,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: @@ -3954,13 +3954,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.332ms + duration: 91.128125ms - id: 110 request: proto: HTTP/1.1 @@ -3979,7 +3979,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -3990,13 +3990,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.058083ms + duration: 89.505209ms - id: 111 request: proto: HTTP/1.1 @@ -4015,8 +4015,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4026,13 +4026,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.212791ms + duration: 107.841042ms - id: 112 request: proto: HTTP/1.1 @@ -4051,7 +4051,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -4062,13 +4062,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 173.4385ms + duration: 103.306042ms - id: 113 request: proto: HTTP/1.1 @@ -4087,8 +4087,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4098,13 +4098,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.855792ms + duration: 237.768166ms - id: 114 request: proto: HTTP/1.1 @@ -4123,8 +4123,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -4134,13 +4134,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 165.602625ms + duration: 96.4545ms - id: 115 request: proto: HTTP/1.1 @@ -4159,8 +4159,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4170,13 +4170,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.5015ms + duration: 98.268625ms - id: 116 request: proto: HTTP/1.1 @@ -4195,8 +4195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4206,13 +4206,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.595042ms + duration: 109.996042ms - id: 117 request: proto: HTTP/1.1 @@ -4231,8 +4231,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -4242,13 +4242,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.532042ms + duration: 103.2775ms - id: 118 request: proto: HTTP/1.1 @@ -4267,8 +4267,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -4278,13 +4278,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.13175ms + duration: 92.983959ms - id: 119 request: proto: HTTP/1.1 @@ -4303,8 +4303,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -4314,13 +4314,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.444625ms + duration: 97.980166ms - id: 120 request: proto: HTTP/1.1 @@ -4339,8 +4339,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4350,13 +4350,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 137.641292ms + duration: 157.385375ms - id: 121 request: proto: HTTP/1.1 @@ -4375,8 +4375,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4386,13 +4386,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.617583ms + duration: 147.681833ms - id: 122 request: proto: HTTP/1.1 @@ -4411,8 +4411,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4422,13 +4422,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.480541ms + duration: 109.54375ms - id: 123 request: proto: HTTP/1.1 @@ -4447,8 +4447,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -4458,49 +4458,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.258417ms + duration: 97.568875ms - id: 124 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 148 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"read:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 103.954667ms + status: 200 OK + code: 200 + duration: 105.067708ms - id: 125 request: proto: HTTP/1.1 @@ -4519,7 +4519,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -4530,49 +4530,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.525667ms + duration: 105.609625ms - id: 126 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 150 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"create:foo"}]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 - uncompressed: false - body: '{}' + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 109.001584ms + status: 200 OK + code: 200 + duration: 98.606541ms - id: 127 request: proto: HTTP/1.1 @@ -4591,8 +4591,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4602,13 +4602,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.524083ms + duration: 106.80925ms - id: 128 request: proto: HTTP/1.1 @@ -4627,8 +4627,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4638,13 +4638,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 134.11ms + duration: 109.2815ms - id: 129 request: proto: HTTP/1.1 @@ -4663,8 +4663,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -4674,13 +4674,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.223333ms + duration: 104.414292ms - id: 130 request: proto: HTTP/1.1 @@ -4699,8 +4699,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4710,13 +4710,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.22025ms + duration: 102.9535ms - id: 131 request: proto: HTTP/1.1 @@ -4735,8 +4735,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4746,13 +4746,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.4925ms + duration: 103.722708ms - id: 132 request: proto: HTTP/1.1 @@ -4771,8 +4771,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: GET response: proto: HTTP/2.0 @@ -4782,13 +4782,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.262542ms + duration: 106.1105ms - id: 133 request: proto: HTTP/1.1 @@ -4807,8 +4807,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -4818,13 +4818,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.770459ms + duration: 89.244333ms - id: 134 request: proto: HTTP/1.1 @@ -4843,8 +4843,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -4854,13 +4854,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.7805ms + duration: 98.465167ms - id: 135 request: proto: HTTP/1.1 @@ -4879,7 +4879,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -4896,7 +4896,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.238917ms + duration: 109.193208ms - id: 136 request: proto: HTTP/1.1 @@ -4915,8 +4915,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4926,13 +4926,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.693208ms + duration: 105.251208ms - id: 137 request: proto: HTTP/1.1 @@ -4951,8 +4951,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4962,13 +4962,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.244291ms + duration: 95.578833ms - id: 138 request: proto: HTTP/1.1 @@ -4987,8 +4987,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: proto: HTTP/2.0 @@ -4998,13 +4998,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.109791ms + duration: 95.73625ms - id: 139 request: proto: HTTP/1.1 @@ -5023,8 +5023,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5034,13 +5034,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 83.063917ms + duration: 112.377375ms - id: 140 request: proto: HTTP/1.1 @@ -5059,8 +5059,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5070,13 +5070,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' + body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.374583ms + duration: 122.576291ms - id: 141 request: proto: HTTP/1.1 @@ -5095,7 +5095,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: GET response: @@ -5106,13 +5106,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' + body: '{"created_at":"2023-07-11T16:30:28.365Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.365Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.36575ms + duration: 112.039375ms - id: 142 request: proto: HTTP/1.1 @@ -5131,7 +5131,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 method: GET response: @@ -5148,7 +5148,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.419791ms + duration: 95.39275ms - id: 143 request: proto: HTTP/1.1 @@ -5167,7 +5167,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 method: GET response: @@ -5184,980 +5184,44 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.62475ms + duration: 138.833333ms - id: 144 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 280 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"create:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"read:foo"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 106.223334ms - - id: 145 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.128583ms - - id: 146 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 108.959083ms - - id: 147 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 120.428ms - - id: 148 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 106.437584ms - - id: 149 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 127.541584ms - - id: 150 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.123125ms - - id: 151 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.7235ms - - id: 152 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.314083ms - - id: 153 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 123.448708ms - - id: 154 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.610375ms - - id: 155 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.692833ms - - id: 156 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b7d730dc17244bff1af9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.040834ms - - id: 157 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:foo","description":"Can create Foo"},{"value":"read:foo","description":"Can read Foo"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 90.332875ms - - id: 158 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.126084ms - - id: 159 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.602125ms - - id: 160 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 107.369666ms - - id: 161 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.616583ms - - id: 162 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 100.072417ms - - id: 163 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 106.445625ms - - id: 164 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.438458ms - - id: 165 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.260917ms - - id: 166 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 114.75325ms - - id: 167 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:42:00.786Z","email":"testaccuserpermissions@acceptance.test.com","email_verified":false,"identities":[{"user_id":"testaccuserpermissions","connection":"Username-Password-Authentication","provider":"auth0","isSocial":false}],"name":"testaccuserpermissions@acceptance.test.com","nickname":"testaccuserpermissions","picture":"https://s.gravatar.com/avatar/d97e25d60bb8202f963e535364a40cb1?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:42:00.786Z","user_id":"auth0|testaccuserpermissions","username":"testaccuserpermissions"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.940917ms - - id: 168 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.648875ms - - id: 169 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[{"permission_name":"create:foo","description":"Can create Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]},{"permission_name":"read:foo","description":"Can read Foo","resource_server_name":"Acceptance Test - testaccuserpermissions","resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","sources":[{"source_id":"","source_name":"","source_type":"DIRECT"}]}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.997084ms - - id: 170 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 280 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"permissions":[{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"create:foo"},{"resource_server_identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","permission_name":"read:foo"}]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 100.372208ms - - id: 171 + duration: 112.552042ms + - id: 145 request: proto: HTTP/1.1 proto_major: 1 @@ -6175,7 +5239,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions method: DELETE response: @@ -6192,8 +5256,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 105.9345ms - - id: 172 + duration: 111.776709ms + - id: 146 request: proto: HTTP/1.1 proto_major: 1 @@ -6211,7 +5275,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions/permissions method: DELETE response: @@ -6228,8 +5292,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 97.91125ms - - id: 173 + duration: 165.092333ms + - id: 147 request: proto: HTTP/1.1 proto_major: 1 @@ -6246,7 +5310,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7Ctestaccuserpermissions method: DELETE response: @@ -6263,8 +5327,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 214.06025ms - - id: 174 + duration: 200.074292ms + - id: 148 request: proto: HTTP/1.1 proto_major: 1 @@ -6282,7 +5346,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccuserpermissions method: PATCH response: @@ -6293,14 +5357,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"6492b7d730dc17244bff1af9","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"64ad839803c3f299c768883a","name":"Acceptance Test - testaccuserpermissions","identifier":"https://uat.api.terraform-provider-auth0.com/testaccuserpermissions","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 159.9885ms - - id: 175 + duration: 159.965875ms + - id: 149 request: proto: HTTP/1.1 proto_major: 1 @@ -6317,8 +5381,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/6492b7d730dc17244bff1af9 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/64ad839803c3f299c768883a method: DELETE response: proto: HTTP/2.0 @@ -6334,4 +5398,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 322.010041ms + duration: 160.11775ms diff --git a/test/data/recordings/TestAccUserRole.yaml b/test/data/recordings/TestAccUserRole.yaml index 412716427..640e717ee 100644 --- a/test/data/recordings/TestAccUserRole.yaml +++ b/test/data/recordings/TestAccUserRole.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.243916ms + duration: 114.570084ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.773625ms + duration: 110.549292ms - id: 2 request: proto: HTTP/1.1 @@ -91,8 +91,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -108,7 +108,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.753083ms + duration: 95.676209ms - id: 3 request: proto: HTTP/1.1 @@ -127,7 +127,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.999625ms + duration: 152.677917ms - id: 4 request: proto: HTTP/1.1 @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.198708ms + duration: 95.985666ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -216,7 +216,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.476667ms + duration: 108.5665ms - id: 6 request: proto: HTTP/1.1 @@ -235,7 +235,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -246,13 +246,13 @@ interactions: trailer: {} content_length: 569 uncompressed: false - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 230.330666ms + duration: 231.447208ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -282,49 +282,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.0715ms + duration: 101.345416ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_Eh0FWKBVx6l1p7Rt"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 202.070584ms + status: 204 No Content + code: 204 + duration: 126.15225ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -354,49 +354,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.8965ms + duration: 106.1045ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_Q13JLiyRRoXPPxGX"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 105.064167ms + status: 200 OK + code: 200 + duration: 87.793709ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.407291ms + duration: 141.719333ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.989291ms + duration: 115.597417ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 148.582416ms + duration: 93.442041ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.727959ms + duration: 148.488792ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.783833ms + duration: 130.78875ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 162.860541ms + duration: 96.038583ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -648,7 +648,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.681625ms + duration: 114.005792ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.525708ms + duration: 115.886584ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -720,7 +720,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.45225ms + duration: 100.377041ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 154.926916ms + duration: 103.362459ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.7065ms + duration: 103.484666ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.703875ms + duration: 106.544667ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.807416ms + duration: 117.006583ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -900,7 +900,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.726667ms + duration: 138.728958ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.227917ms + duration: 98.213ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"roles":[{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.332375ms + duration: 92.889375ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 148.525333ms + duration: 105.96975ms - id: 28 request: proto: HTTP/1.1 @@ -1027,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -1038,13 +1038,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.947042ms + duration: 189.476333ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.123292ms + duration: 106.335667ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.837625ms + duration: 99.74ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1152,7 +1152,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.815708ms + duration: 130.389791ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.019959ms + duration: 95.316417ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1218,49 +1218,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.346417ms + duration: 111.421625ms - id: 34 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_Ou6c2dpzTk5FCHjg"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.692084ms + status: 204 No Content + code: 204 + duration: 106.084833ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1290,13 +1290,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.628625ms + duration: 115.443417ms - id: 36 request: proto: HTTP/1.1 @@ -1315,8 +1315,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -1326,13 +1326,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.445083ms + duration: 97.020667ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.160917ms + duration: 103.102167ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1404,7 +1404,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.748375ms + duration: 329.731292ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -1434,49 +1434,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 144.4115ms + duration: 155.04725ms - id: 40 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_FcXCT6pr8c1zSudR"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 106.9045ms + status: 200 OK + code: 200 + duration: 101.098875ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.387625ms + duration: 107.687833ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.895959ms + duration: 107.334917ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.444625ms + duration: 113.780375ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.412041ms + duration: 99.045584ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.114041ms + duration: 98.916542ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.703958ms + duration: 102.567958ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1722,13 +1722,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.140834ms + duration: 155.575542ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1758,13 +1758,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.2095ms + duration: 107.119458ms - id: 49 request: proto: HTTP/1.1 @@ -1783,8 +1783,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.728208ms + duration: 100.102208ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1830,13 +1830,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 88.432167ms + duration: 101.087792ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1872,7 +1872,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.216584ms + duration: 102.970125ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.338125ms + duration: 96.07025ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.171375ms + duration: 97.486125ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1980,7 +1980,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 145.052458ms + duration: 169.072291ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.41325ms + duration: 98.556ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.8065ms + duration: 156.407084ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.269709ms + duration: 115.594459ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.113458ms + duration: 158.339291ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -2154,13 +2154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.915125ms + duration: 109.477208ms - id: 60 request: proto: HTTP/1.1 @@ -2179,8 +2179,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2190,13 +2190,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.168125ms + duration: 155.501417ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -2226,13 +2226,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.543334ms + duration: 110.965208ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.481459ms + duration: 99.552042ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.195625ms + duration: 152.959ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2334,13 +2334,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.654625ms + duration: 98.932291ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -2370,13 +2370,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 137.700083ms + duration: 100.155416ms - id: 66 request: proto: HTTP/1.1 @@ -2395,8 +2395,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2406,13 +2406,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.627958ms + duration: 106.439667ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2442,85 +2442,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.73225ms + duration: 109.935958ms - id: 68 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_Ou6c2dpzTk5FCHjg"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.518917ms + status: 204 No Content + code: 204 + duration: 100.370042ms - id: 69 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_Eh0FWKBVx6l1p7Rt"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.212833ms + status: 204 No Content + code: 204 + duration: 101.402167ms - id: 70 request: proto: HTTP/1.1 @@ -2539,8 +2539,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -2550,13 +2550,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.305584ms + duration: 97.067625ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2586,13 +2586,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.575833ms + duration: 105.432292ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.727125ms + duration: 103.5855ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -2658,13 +2658,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.803458ms + duration: 130.718208ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2700,7 +2700,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.33725ms + duration: 104.15775ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.289042ms + duration: 104.328459ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.299292ms + duration: 107.994834ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -2802,85 +2802,85 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.960666ms + duration: 104.317041ms - id: 78 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_FcXCT6pr8c1zSudR"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 118.500542ms + status: 200 OK + code: 200 + duration: 96.840125ms - id: 79 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_Q13JLiyRRoXPPxGX"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 96.934583ms + status: 200 OK + code: 200 + duration: 100.259625ms - id: 80 request: proto: HTTP/1.1 @@ -2899,8 +2899,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2910,13 +2910,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.959334ms + duration: 117.766416ms - id: 81 request: proto: HTTP/1.1 @@ -2935,8 +2935,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -2946,13 +2946,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.536125ms + duration: 96.168333ms - id: 82 request: proto: HTTP/1.1 @@ -2971,8 +2971,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.950208ms + duration: 97.931833ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.583ms + duration: 116.6155ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -3054,13 +3054,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.108833ms + duration: 90.683334ms - id: 85 request: proto: HTTP/1.1 @@ -3079,8 +3079,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3090,13 +3090,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.030334ms + duration: 110.644667ms - id: 86 request: proto: HTTP/1.1 @@ -3115,8 +3115,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -3126,13 +3126,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.474334ms + duration: 100.768334ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3162,13 +3162,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.825458ms + duration: 101.753584ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -3198,13 +3198,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.851083ms + duration: 111.474417ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -3234,13 +3234,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.483583ms + duration: 106.680583ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.368542ms + duration: 129.056125ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3306,13 +3306,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.532ms + duration: 133.722667ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -3342,13 +3342,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.5145ms + duration: 95.604584ms - id: 93 request: proto: HTTP/1.1 @@ -3367,8 +3367,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3378,13 +3378,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.197584ms + duration: 108.742208ms - id: 94 request: proto: HTTP/1.1 @@ -3403,8 +3403,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3414,13 +3414,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.331417ms + duration: 113.207459ms - id: 95 request: proto: HTTP/1.1 @@ -3439,8 +3439,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -3450,13 +3450,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.894125ms + duration: 98.8625ms - id: 96 request: proto: HTTP/1.1 @@ -3475,8 +3475,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3486,13 +3486,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.231584ms + duration: 102.326083ms - id: 97 request: proto: HTTP/1.1 @@ -3511,8 +3511,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -3522,13 +3522,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.948708ms + duration: 111.738125ms - id: 98 request: proto: HTTP/1.1 @@ -3547,8 +3547,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3558,13 +3558,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.833875ms + duration: 104.192375ms - id: 99 request: proto: HTTP/1.1 @@ -3583,8 +3583,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -3594,49 +3594,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.472208ms + duration: 105.666291ms - id: 100 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 58 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_Ou6c2dpzTk5FCHjg","rol_Eh0FWKBVx6l1p7Rt"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.54925ms + status: 204 No Content + code: 204 + duration: 109.73525ms - id: 101 request: proto: HTTP/1.1 @@ -3655,8 +3655,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3666,13 +3666,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.563333ms + duration: 163.230375ms - id: 102 request: proto: HTTP/1.1 @@ -3691,8 +3691,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -3702,13 +3702,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.580917ms + duration: 108.996958ms - id: 103 request: proto: HTTP/1.1 @@ -3727,8 +3727,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3738,13 +3738,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.031125ms + duration: 99.159042ms - id: 104 request: proto: HTTP/1.1 @@ -3763,8 +3763,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -3774,13 +3774,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.924416ms + duration: 99.998208ms - id: 105 request: proto: HTTP/1.1 @@ -3799,8 +3799,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3816,7 +3816,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.286ms + duration: 99.732959ms - id: 106 request: proto: HTTP/1.1 @@ -3835,8 +3835,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -3846,13 +3846,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.729167ms + duration: 119.62625ms - id: 107 request: proto: HTTP/1.1 @@ -3871,8 +3871,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3882,13 +3882,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.518833ms + duration: 106.65375ms - id: 108 request: proto: HTTP/1.1 @@ -3907,8 +3907,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3918,13 +3918,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.338833ms + duration: 111.6915ms - id: 109 request: proto: HTTP/1.1 @@ -3943,8 +3943,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -3954,13 +3954,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.231333ms + duration: 92.862791ms - id: 110 request: proto: HTTP/1.1 @@ -3979,8 +3979,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3990,13 +3990,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.920875ms + duration: 106.490167ms - id: 111 request: proto: HTTP/1.1 @@ -4015,8 +4015,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4026,13 +4026,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.45425ms + duration: 121.834916ms - id: 112 request: proto: HTTP/1.1 @@ -4051,8 +4051,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4062,13 +4062,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.811459ms + duration: 101.499875ms - id: 113 request: proto: HTTP/1.1 @@ -4087,8 +4087,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -4098,13 +4098,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 123.355917ms + duration: 94.71625ms - id: 114 request: proto: HTTP/1.1 @@ -4123,8 +4123,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4134,13 +4134,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.306875ms + duration: 98.66975ms - id: 115 request: proto: HTTP/1.1 @@ -4159,8 +4159,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4176,43 +4176,43 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.45375ms + duration: 102.209917ms - id: 116 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 58 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_FcXCT6pr8c1zSudR","rol_Q13JLiyRRoXPPxGX"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 105.292542ms + status: 200 OK + code: 200 + duration: 92.656834ms - id: 117 request: proto: HTTP/1.1 @@ -4231,8 +4231,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4242,13 +4242,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.157542ms + duration: 112.611625ms - id: 118 request: proto: HTTP/1.1 @@ -4267,8 +4267,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -4278,13 +4278,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.404ms + duration: 89.673125ms - id: 119 request: proto: HTTP/1.1 @@ -4303,8 +4303,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4320,7 +4320,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.85975ms + duration: 106.166958ms - id: 120 request: proto: HTTP/1.1 @@ -4339,8 +4339,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -4350,13 +4350,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.474375ms + duration: 97.628ms - id: 121 request: proto: HTTP/1.1 @@ -4375,8 +4375,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4386,13 +4386,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.539375ms + duration: 116.876834ms - id: 122 request: proto: HTTP/1.1 @@ -4411,8 +4411,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4422,13 +4422,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.335125ms + duration: 106.662083ms - id: 123 request: proto: HTTP/1.1 @@ -4447,8 +4447,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4458,13 +4458,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.728542ms + duration: 106.811166ms - id: 124 request: proto: HTTP/1.1 @@ -4483,8 +4483,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -4494,13 +4494,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.432ms + duration: 89.676959ms - id: 125 request: proto: HTTP/1.1 @@ -4519,8 +4519,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4530,13 +4530,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.445625ms + duration: 102.00775ms - id: 126 request: proto: HTTP/1.1 @@ -4555,8 +4555,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4566,13 +4566,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.952291ms + duration: 103.936666ms - id: 127 request: proto: HTTP/1.1 @@ -4591,8 +4591,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -4602,13 +4602,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.603583ms + duration: 121.301583ms - id: 128 request: proto: HTTP/1.1 @@ -4627,8 +4627,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4638,13 +4638,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.670459ms + duration: 105.2575ms - id: 129 request: proto: HTTP/1.1 @@ -4663,8 +4663,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4680,7 +4680,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.653833ms + duration: 108.163583ms - id: 130 request: proto: HTTP/1.1 @@ -4699,8 +4699,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -4710,13 +4710,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.250917ms + duration: 95.003333ms - id: 131 request: proto: HTTP/1.1 @@ -4735,8 +4735,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4746,13 +4746,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.230334ms + duration: 111.934167ms - id: 132 request: proto: HTTP/1.1 @@ -4771,8 +4771,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4782,13 +4782,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 239.357916ms + duration: 177.811708ms - id: 133 request: proto: HTTP/1.1 @@ -4807,8 +4807,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: GET response: proto: HTTP/2.0 @@ -4818,13 +4818,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 115.804042ms + duration: 147.527958ms - id: 134 request: proto: HTTP/1.1 @@ -4843,8 +4843,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4854,13 +4854,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.044167ms + duration: 106.40375ms - id: 135 request: proto: HTTP/1.1 @@ -4879,8 +4879,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: GET response: proto: HTTP/2.0 @@ -4890,13 +4890,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.585291ms + duration: 99.639917ms - id: 136 request: proto: HTTP/1.1 @@ -4915,8 +4915,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4926,13 +4926,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.718125ms + duration: 155.656167ms - id: 137 request: proto: HTTP/1.1 @@ -4951,8 +4951,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -4962,13 +4962,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.725292ms + duration: 164.303958ms - id: 138 request: proto: HTTP/1.1 @@ -4987,8 +4987,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4998,13 +4998,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.999333ms + duration: 159.429542ms - id: 139 request: proto: HTTP/1.1 @@ -5023,8 +5023,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5034,13 +5034,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.351834ms + duration: 108.468541ms - id: 140 request: proto: HTTP/1.1 @@ -5059,8 +5059,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5070,13 +5070,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.426334ms + duration: 103.113792ms - id: 141 request: proto: HTTP/1.1 @@ -5095,8 +5095,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -5106,13 +5106,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.292417ms + duration: 117.079ms - id: 142 request: proto: HTTP/1.1 @@ -5131,8 +5131,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5142,13 +5142,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.017542ms + duration: 97.488208ms - id: 143 request: proto: HTTP/1.1 @@ -5167,8 +5167,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5178,13 +5178,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.873458ms + duration: 108.2525ms - id: 144 request: proto: HTTP/1.1 @@ -5203,8 +5203,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: GET response: proto: HTTP/2.0 @@ -5214,13 +5214,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + body: '{"created_at":"2023-07-11T16:30:28.626Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83a4d3b818e43aa6fddd","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:28.626Z","user_id":"auth0|64ad83a4d3b818e43aa6fddd","username":"testaccuserrole"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.109375ms + duration: 101.677042ms - id: 145 request: proto: HTTP/1.1 @@ -5239,8 +5239,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5250,13 +5250,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_Ou6c2dpzTk5FCHjg","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Eh0FWKBVx6l1p7Rt","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.020584ms + duration: 111.498667ms - id: 146 request: proto: HTTP/1.1 @@ -5275,8 +5275,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5292,908 +5292,116 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.095916ms + duration: 98.862458ms - id: 147 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_Ou6c2dpzTk5FCHjg"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.730125ms + status: 204 No Content + code: 204 + duration: 110.455416ms - id: 148 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_Eh0FWKBVx6l1p7Rt"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.117125ms + status: 204 No Content + code: 204 + duration: 104.554458ms - id: 149 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 58 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_Ou6c2dpzTk5FCHjg","rol_Eh0FWKBVx6l1p7Rt"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 231.736ms - - id: 150 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.328208ms - - id: 151 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 167.680042ms - - id: 152 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.052166ms - - id: 153 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.642875ms - - id: 154 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.555375ms - - id: 155 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 106.217ms - - id: 156 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 108.425833ms - - id: 157 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.27275ms - - id: 158 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.286333ms - - id: 159 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.033625ms - - id: 160 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.510917ms - - id: 161 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 177.835875ms - - id: 162 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.482291ms - - id: 163 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.564917ms - - id: 164 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 93.683541ms - - id: 165 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 108.150667ms - - id: 166 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:40:14.568Z","email":"testaccuserrole@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b76e877f08093c04a00d","provider":"auth0","isSocial":false}],"name":"testaccuserrole@acceptance.test.com","nickname":"testaccuserrole","picture":"https://s.gravatar.com/avatar/03852bc69e4a3603ec066b4cc4e25707?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:40:14.568Z","user_id":"auth0|6492b76e877f08093c04a00d","username":"testaccuserrole"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 93.718041ms - - id: 167 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_FcXCT6pr8c1zSudR","name":"Test Admin testaccuserrole","description":"Administrator testaccuserrole"},{"id":"rol_Q13JLiyRRoXPPxGX","name":"Test Owner testaccuserrole","description":"Owner testaccuserrole"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.148166ms - - id: 168 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.367833ms - - id: 169 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 35 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_FcXCT6pr8c1zSudR"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles - 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: 130.251958ms - - id: 170 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 35 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_Q13JLiyRRoXPPxGX"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles - 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: 101.686709ms - - id: 171 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 58 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_FcXCT6pr8c1zSudR","rol_Q13JLiyRRoXPPxGX"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d/roles - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 105.516125ms - - id: 172 + duration: 98.975834ms + - id: 150 request: proto: HTTP/1.1 proto_major: 1 @@ -6210,8 +5418,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b76e877f08093c04a00d + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83a4d3b818e43aa6fddd method: DELETE response: proto: HTTP/2.0 @@ -6227,8 +5435,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 269.050583ms - - id: 173 + duration: 244.394458ms + - id: 151 request: proto: HTTP/1.1 proto_major: 1 @@ -6246,8 +5454,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_FcXCT6pr8c1zSudR + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Ou6c2dpzTk5FCHjg method: DELETE response: proto: HTTP/2.0 @@ -6263,8 +5471,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 137.222459ms - - id: 174 + duration: 169.048667ms + - id: 152 request: proto: HTTP/1.1 proto_major: 1 @@ -6282,8 +5490,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Q13JLiyRRoXPPxGX + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_Eh0FWKBVx6l1p7Rt method: DELETE response: proto: HTTP/2.0 @@ -6299,4 +5507,4 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.6335ms + duration: 93.345917ms diff --git a/test/data/recordings/TestAccUserRoles.yaml b/test/data/recordings/TestAccUserRoles.yaml index 5e8e930b8..d86fb75b9 100644 --- a/test/data/recordings/TestAccUserRoles.yaml +++ b/test/data/recordings/TestAccUserRoles.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.903917ms + duration: 102.847333ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.832459ms + duration: 91.900417ms - id: 2 request: proto: HTTP/1.1 @@ -91,8 +91,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -108,7 +108,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 124.24625ms + duration: 95.327834ms - id: 3 request: proto: HTTP/1.1 @@ -127,7 +127,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles method: POST response: @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.720292ms + duration: 112.061875ms - id: 4 request: proto: HTTP/1.1 @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.859917ms + duration: 89.066292ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -216,7 +216,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.373083ms + duration: 100.615083ms - id: 6 request: proto: HTTP/1.1 @@ -235,7 +235,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users method: POST response: @@ -246,13 +246,13 @@ interactions: trailer: {} content_length: 573 uncompressed: false - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 285.656959ms + duration: 253.827583ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -282,49 +282,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.911916ms + duration: 98.268041ms - id: 8 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_ia0Ix9MLPRXChFdf"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 94.395375ms + status: 204 No Content + code: 204 + duration: 106.429708ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -354,49 +354,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.035375ms + duration: 101.693625ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_vkoUpnlL6bXY4MC3"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 100.717625ms + status: 200 OK + code: 200 + duration: 97.831416ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.853833ms + duration: 106.040833ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.834375ms + duration: 157.997834ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 125.800666ms + duration: 100.020667ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.751167ms + duration: 111.017834ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.064917ms + duration: 105.396333ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.016333ms + duration: 134.229041ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -648,7 +648,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.574375ms + duration: 149.064958ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.179791ms + duration: 113.570584ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -720,7 +720,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.654375ms + duration: 98.838417ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 219.653791ms + duration: 95.569583ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.863084ms + duration: 107.343ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.490375ms + duration: 103.930875ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 197.806208ms + duration: 102.844458ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -900,7 +900,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 152.837875ms + duration: 100.191208ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.883875ms + duration: 185.446666ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.798959ms + duration: 104.057125ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.362833ms + duration: 117.528125ms - id: 28 request: proto: HTTP/1.1 @@ -1027,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -1038,13 +1038,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.883833ms + duration: 106.148625ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.874166ms + duration: 99.748417ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.837291ms + duration: 88.38825ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1152,7 +1152,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.906542ms + duration: 121.417792ms - id: 32 request: proto: HTTP/1.1 @@ -1171,8 +1171,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -1182,13 +1182,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 87.621459ms + duration: 95.464583ms - id: 33 request: proto: HTTP/1.1 @@ -1207,8 +1207,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1218,49 +1218,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.87525ms + duration: 102.438834ms - id: 34 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_ac2lrjuNprcXCmZ6"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 95.421625ms + status: 204 No Content + code: 204 + duration: 110.113208ms - id: 35 request: proto: HTTP/1.1 @@ -1279,8 +1279,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1290,13 +1290,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.082084ms + duration: 101.7655ms - id: 36 request: proto: HTTP/1.1 @@ -1315,8 +1315,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -1326,13 +1326,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.591542ms + duration: 90.124291ms - id: 37 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1362,13 +1362,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.738833ms + duration: 97.924875ms - id: 38 request: proto: HTTP/1.1 @@ -1387,8 +1387,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1404,7 +1404,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.492375ms + duration: 156.219042ms - id: 39 request: proto: HTTP/1.1 @@ -1423,8 +1423,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -1434,49 +1434,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.255875ms + duration: 100.290959ms - id: 40 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_yagtKpp1oZPg5BLz"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 99.30575ms + status: 200 OK + code: 200 + duration: 122.030958ms - id: 41 request: proto: HTTP/1.1 @@ -1495,8 +1495,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1506,13 +1506,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.070333ms + duration: 111.368ms - id: 42 request: proto: HTTP/1.1 @@ -1531,8 +1531,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -1542,13 +1542,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.409208ms + duration: 101.967125ms - id: 43 request: proto: HTTP/1.1 @@ -1567,8 +1567,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1578,13 +1578,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.071041ms + duration: 111.293333ms - id: 44 request: proto: HTTP/1.1 @@ -1603,8 +1603,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -1614,13 +1614,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.080709ms + duration: 100.257959ms - id: 45 request: proto: HTTP/1.1 @@ -1639,8 +1639,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1650,13 +1650,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.733584ms + duration: 101.666417ms - id: 46 request: proto: HTTP/1.1 @@ -1675,8 +1675,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -1686,13 +1686,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 171.846834ms + duration: 100.394625ms - id: 47 request: proto: HTTP/1.1 @@ -1711,8 +1711,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1722,13 +1722,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.098ms + duration: 166.418875ms - id: 48 request: proto: HTTP/1.1 @@ -1747,8 +1747,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -1758,13 +1758,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.635333ms + duration: 92.008375ms - id: 49 request: proto: HTTP/1.1 @@ -1783,8 +1783,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1794,13 +1794,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.574792ms + duration: 103.030167ms - id: 50 request: proto: HTTP/1.1 @@ -1819,8 +1819,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1830,13 +1830,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.060458ms + duration: 106.11ms - id: 51 request: proto: HTTP/1.1 @@ -1855,8 +1855,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -1866,13 +1866,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.051ms + duration: 98.796875ms - id: 52 request: proto: HTTP/1.1 @@ -1891,8 +1891,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1902,13 +1902,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.042209ms + duration: 112.843542ms - id: 53 request: proto: HTTP/1.1 @@ -1927,8 +1927,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -1938,13 +1938,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.83475ms + duration: 108.658125ms - id: 54 request: proto: HTTP/1.1 @@ -1963,8 +1963,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -1974,13 +1974,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.0365ms + duration: 98.075334ms - id: 55 request: proto: HTTP/1.1 @@ -1999,8 +1999,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2010,13 +2010,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.761958ms + duration: 98.843541ms - id: 56 request: proto: HTTP/1.1 @@ -2035,8 +2035,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -2046,13 +2046,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.292667ms + duration: 98.212167ms - id: 57 request: proto: HTTP/1.1 @@ -2071,8 +2071,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2082,13 +2082,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.625959ms + duration: 112.902792ms - id: 58 request: proto: HTTP/1.1 @@ -2107,8 +2107,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -2118,13 +2118,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.668875ms + duration: 91.424041ms - id: 59 request: proto: HTTP/1.1 @@ -2143,8 +2143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2154,49 +2154,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 120.409167ms + duration: 115.800625ms - id: 60 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 58 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_ia0Ix9MLPRXChFdf","rol_ac2lrjuNprcXCmZ6"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 97.573667ms + status: 204 No Content + code: 204 + duration: 107.014542ms - id: 61 request: proto: HTTP/1.1 @@ -2215,8 +2215,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2226,13 +2226,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.510375ms + duration: 105.941084ms - id: 62 request: proto: HTTP/1.1 @@ -2251,8 +2251,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -2262,13 +2262,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.001958ms + duration: 96.970666ms - id: 63 request: proto: HTTP/1.1 @@ -2287,8 +2287,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2298,13 +2298,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.1675ms + duration: 102.095208ms - id: 64 request: proto: HTTP/1.1 @@ -2323,8 +2323,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2334,13 +2334,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.478917ms + duration: 108.258375ms - id: 65 request: proto: HTTP/1.1 @@ -2359,8 +2359,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -2370,13 +2370,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.524792ms + duration: 97.453666ms - id: 66 request: proto: HTTP/1.1 @@ -2395,8 +2395,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2406,13 +2406,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.953666ms + duration: 98.154208ms - id: 67 request: proto: HTTP/1.1 @@ -2431,8 +2431,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2442,13 +2442,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.261959ms + duration: 119.486125ms - id: 68 request: proto: HTTP/1.1 @@ -2467,8 +2467,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -2478,13 +2478,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 151.857875ms + duration: 96.950958ms - id: 69 request: proto: HTTP/1.1 @@ -2503,8 +2503,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2514,49 +2514,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 148.354958ms + duration: 110.227208ms - id: 70 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 58 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_vkoUpnlL6bXY4MC3","rol_yagtKpp1oZPg5BLz"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 111.244166ms + status: 200 OK + code: 200 + duration: 104.168542ms - id: 71 request: proto: HTTP/1.1 @@ -2575,8 +2575,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2586,13 +2586,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.918916ms + duration: 204.758375ms - id: 72 request: proto: HTTP/1.1 @@ -2611,8 +2611,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -2622,13 +2622,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 156.227209ms + duration: 102.573459ms - id: 73 request: proto: HTTP/1.1 @@ -2647,8 +2647,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2664,7 +2664,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 147.809833ms + duration: 100.719625ms - id: 74 request: proto: HTTP/1.1 @@ -2683,8 +2683,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -2694,13 +2694,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.891ms + duration: 108.647791ms - id: 75 request: proto: HTTP/1.1 @@ -2719,8 +2719,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2730,13 +2730,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 84.946125ms + duration: 107.232708ms - id: 76 request: proto: HTTP/1.1 @@ -2755,8 +2755,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2766,13 +2766,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.55325ms + duration: 106.137416ms - id: 77 request: proto: HTTP/1.1 @@ -2791,8 +2791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -2802,13 +2802,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.368917ms + duration: 104.87125ms - id: 78 request: proto: HTTP/1.1 @@ -2827,8 +2827,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2838,13 +2838,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.305125ms + duration: 101.700334ms - id: 79 request: proto: HTTP/1.1 @@ -2863,8 +2863,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2880,7 +2880,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.303666ms + duration: 103.034292ms - id: 80 request: proto: HTTP/1.1 @@ -2899,8 +2899,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -2910,13 +2910,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.352583ms + duration: 106.766709ms - id: 81 request: proto: HTTP/1.1 @@ -2935,8 +2935,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -2952,7 +2952,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.957333ms + duration: 110.587125ms - id: 82 request: proto: HTTP/1.1 @@ -2971,8 +2971,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -2982,13 +2982,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.327542ms + duration: 105.080625ms - id: 83 request: proto: HTTP/1.1 @@ -3007,8 +3007,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3018,13 +3018,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.077958ms + duration: 93.9765ms - id: 84 request: proto: HTTP/1.1 @@ -3043,8 +3043,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -3054,13 +3054,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.630875ms + duration: 99.296792ms - id: 85 request: proto: HTTP/1.1 @@ -3079,8 +3079,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3096,43 +3096,43 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.653542ms + duration: 90.814167ms - id: 86 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_ia0Ix9MLPRXChFdf"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.169292ms + status: 204 No Content + code: 204 + duration: 106.089792ms - id: 87 request: proto: HTTP/1.1 @@ -3151,8 +3151,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3162,13 +3162,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.57975ms + duration: 99.658875ms - id: 88 request: proto: HTTP/1.1 @@ -3187,8 +3187,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -3198,13 +3198,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.57675ms + duration: 102.206708ms - id: 89 request: proto: HTTP/1.1 @@ -3223,8 +3223,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3234,13 +3234,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.303875ms + duration: 145.465958ms - id: 90 request: proto: HTTP/1.1 @@ -3259,8 +3259,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3270,13 +3270,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.174042ms + duration: 103.166417ms - id: 91 request: proto: HTTP/1.1 @@ -3295,8 +3295,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -3306,13 +3306,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.426ms + duration: 131.831208ms - id: 92 request: proto: HTTP/1.1 @@ -3331,8 +3331,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3342,13 +3342,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.961333ms + duration: 101.098542ms - id: 93 request: proto: HTTP/1.1 @@ -3367,8 +3367,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3384,7 +3384,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.915791ms + duration: 111.019167ms - id: 94 request: proto: HTTP/1.1 @@ -3403,8 +3403,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -3414,13 +3414,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.570417ms + duration: 92.623292ms - id: 95 request: proto: HTTP/1.1 @@ -3439,8 +3439,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3456,7 +3456,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.083625ms + duration: 92.994709ms - id: 96 request: proto: HTTP/1.1 @@ -3475,8 +3475,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -3486,13 +3486,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.39825ms + duration: 91.396792ms - id: 97 request: proto: HTTP/1.1 @@ -3511,8 +3511,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3522,13 +3522,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.141667ms + duration: 104.903875ms - id: 98 request: proto: HTTP/1.1 @@ -3547,8 +3547,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -3558,13 +3558,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.656917ms + duration: 94.251125ms - id: 99 request: proto: HTTP/1.1 @@ -3583,8 +3583,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3594,49 +3594,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.414291ms + duration: 94.625125ms - id: 100 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_vkoUpnlL6bXY4MC3"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles - method: POST + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 97.189542ms + status: 200 OK + code: 200 + duration: 104.150417ms - id: 101 request: proto: HTTP/1.1 @@ -3655,8 +3655,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3666,13 +3666,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 85.943792ms + duration: 171.894834ms - id: 102 request: proto: HTTP/1.1 @@ -3691,8 +3691,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3702,13 +3702,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.153958ms + duration: 98.881834ms - id: 103 request: proto: HTTP/1.1 @@ -3727,8 +3727,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -3738,13 +3738,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.788125ms + duration: 99.80675ms - id: 104 request: proto: HTTP/1.1 @@ -3763,8 +3763,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3774,13 +3774,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.827708ms + duration: 106.817584ms - id: 105 request: proto: HTTP/1.1 @@ -3799,8 +3799,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3810,13 +3810,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.475542ms + duration: 108.697417ms - id: 106 request: proto: HTTP/1.1 @@ -3835,8 +3835,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3846,13 +3846,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.340041ms + duration: 98.27075ms - id: 107 request: proto: HTTP/1.1 @@ -3871,8 +3871,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -3882,13 +3882,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.158208ms + duration: 220.44375ms - id: 108 request: proto: HTTP/1.1 @@ -3907,8 +3907,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3918,13 +3918,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.039834ms + duration: 109.309875ms - id: 109 request: proto: HTTP/1.1 @@ -3943,8 +3943,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -3954,13 +3954,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.674542ms + duration: 91.807791ms - id: 110 request: proto: HTTP/1.1 @@ -3979,8 +3979,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -3990,13 +3990,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.792875ms + duration: 108.853ms - id: 111 request: proto: HTTP/1.1 @@ -4015,8 +4015,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4026,13 +4026,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.21675ms + duration: 93.642375ms - id: 112 request: proto: HTTP/1.1 @@ -4051,8 +4051,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4062,13 +4062,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.716041ms + duration: 98.17325ms - id: 113 request: proto: HTTP/1.1 @@ -4087,8 +4087,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4098,13 +4098,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.373209ms + duration: 155.804042ms - id: 114 request: proto: HTTP/1.1 @@ -4123,8 +4123,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4140,7 +4140,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.76375ms + duration: 92.130083ms - id: 115 request: proto: HTTP/1.1 @@ -4159,8 +4159,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4170,13 +4170,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.833834ms + duration: 96.082125ms - id: 116 request: proto: HTTP/1.1 @@ -4195,8 +4195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4206,13 +4206,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.591208ms + duration: 113.204875ms - id: 117 request: proto: HTTP/1.1 @@ -4231,8 +4231,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4242,49 +4242,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.845833ms + duration: 122.298458ms - id: 118 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_ia0Ix9MLPRXChFdf"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 101.002375ms + status: 204 No Content + code: 204 + duration: 123.503583ms - id: 119 request: proto: HTTP/1.1 @@ -4303,8 +4303,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4314,13 +4314,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.760792ms + duration: 98.465333ms - id: 120 request: proto: HTTP/1.1 @@ -4339,8 +4339,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4350,13 +4350,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 93.516792ms + duration: 95.669667ms - id: 121 request: proto: HTTP/1.1 @@ -4375,8 +4375,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4392,7 +4392,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 121.464792ms + duration: 105.304ms - id: 122 request: proto: HTTP/1.1 @@ -4411,8 +4411,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -4422,13 +4422,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.762041ms + duration: 95.770292ms - id: 123 request: proto: HTTP/1.1 @@ -4447,8 +4447,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4458,13 +4458,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.882667ms + duration: 99.826458ms - id: 124 request: proto: HTTP/1.1 @@ -4483,8 +4483,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -4494,13 +4494,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.758125ms + duration: 126.5975ms - id: 125 request: proto: HTTP/1.1 @@ -4519,8 +4519,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4530,13 +4530,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.533708ms + duration: 122.715333ms - id: 126 request: proto: HTTP/1.1 @@ -4555,8 +4555,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4566,13 +4566,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 217.53875ms + duration: 97.700208ms - id: 127 request: proto: HTTP/1.1 @@ -4591,8 +4591,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4602,13 +4602,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.5275ms + duration: 106.795375ms - id: 128 request: proto: HTTP/1.1 @@ -4627,8 +4627,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4638,13 +4638,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 197.197917ms + duration: 104.607958ms - id: 129 request: proto: HTTP/1.1 @@ -4663,8 +4663,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4680,7 +4680,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 210.53975ms + duration: 121.402834ms - id: 130 request: proto: HTTP/1.1 @@ -4699,8 +4699,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4710,13 +4710,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 97.46375ms + duration: 99.146666ms - id: 131 request: proto: HTTP/1.1 @@ -4735,8 +4735,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4746,13 +4746,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.734875ms + duration: 90.255958ms - id: 132 request: proto: HTTP/1.1 @@ -4771,8 +4771,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4788,7 +4788,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.428ms + duration: 95.48275ms - id: 133 request: proto: HTTP/1.1 @@ -4807,8 +4807,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -4818,13 +4818,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.773708ms + duration: 106.275083ms - id: 134 request: proto: HTTP/1.1 @@ -4843,8 +4843,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -4854,13 +4854,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.372333ms + duration: 112.629ms - id: 135 request: proto: HTTP/1.1 @@ -4879,8 +4879,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -4890,49 +4890,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.939166ms + duration: 100.274834ms - id: 136 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 35 + content_length: 5 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"roles":["rol_vkoUpnlL6bXY4MC3"]} + null form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles - method: DELETE + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 - uncompressed: false - body: "" + content_length: -1 + uncompressed: true + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 159.367208ms + status: 200 OK + code: 200 + duration: 114.531708ms - id: 137 request: proto: HTTP/1.1 @@ -4951,8 +4951,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4962,13 +4962,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.560459ms + duration: 135.634583ms - id: 138 request: proto: HTTP/1.1 @@ -4987,8 +4987,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -4998,13 +4998,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 108.245792ms + duration: 151.201958ms - id: 139 request: proto: HTTP/1.1 @@ -5023,8 +5023,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5034,13 +5034,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.821916ms + duration: 101.108375ms - id: 140 request: proto: HTTP/1.1 @@ -5059,8 +5059,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5070,13 +5070,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.168375ms + duration: 180.642625ms - id: 141 request: proto: HTTP/1.1 @@ -5095,8 +5095,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -5106,13 +5106,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.257208ms + duration: 92.986042ms - id: 142 request: proto: HTTP/1.1 @@ -5131,8 +5131,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5142,13 +5142,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"roles":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.24475ms + duration: 186.789333ms - id: 143 request: proto: HTTP/1.1 @@ -5167,8 +5167,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5184,7 +5184,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 137.239208ms + duration: 152.974166ms - id: 144 request: proto: HTTP/1.1 @@ -5203,8 +5203,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -5214,13 +5214,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.552875ms + duration: 98.301ms - id: 145 request: proto: HTTP/1.1 @@ -5239,8 +5239,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5250,13 +5250,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.818625ms + duration: 106.379917ms - id: 146 request: proto: HTTP/1.1 @@ -5275,8 +5275,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -5286,13 +5286,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.841958ms + duration: 195.429666ms - id: 147 request: proto: HTTP/1.1 @@ -5311,8 +5311,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5322,13 +5322,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"permissions":[],"start":0,"limit":50,"total":0}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.168208ms + duration: 99.270834ms - id: 148 request: proto: HTTP/1.1 @@ -5347,8 +5347,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -5358,49 +5358,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.339875ms + duration: 95.358209ms - id: 149 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_ia0Ix9MLPRXChFdf"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 124.467083ms + status: 204 No Content + code: 204 + duration: 112.611292ms - id: 150 request: proto: HTTP/1.1 @@ -5419,8 +5419,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5430,49 +5430,49 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"roles":[{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.104208ms + duration: 129.752417ms - id: 151 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 35 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"roles":["rol_ac2lrjuNprcXCmZ6"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 - method: GET + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' + content_length: 0 + uncompressed: false + body: "" headers: Content-Type: - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.456083ms + status: 204 No Content + code: 204 + duration: 104.492875ms - id: 152 request: proto: HTTP/1.1 @@ -5491,8 +5491,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5502,13 +5502,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.358166ms + duration: 111.010042ms - id: 153 request: proto: HTTP/1.1 @@ -5527,8 +5527,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -5538,13 +5538,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.631125ms + duration: 100.667125ms - id: 154 request: proto: HTTP/1.1 @@ -5563,8 +5563,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5580,7 +5580,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.00475ms + duration: 103.792084ms - id: 155 request: proto: HTTP/1.1 @@ -5599,8 +5599,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -5610,13 +5610,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 146.237917ms + duration: 112.249375ms - id: 156 request: proto: HTTP/1.1 @@ -5635,8 +5635,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5652,7 +5652,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.51875ms + duration: 101.791958ms - id: 157 request: proto: HTTP/1.1 @@ -5671,8 +5671,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -5682,13 +5682,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 119.621666ms + duration: 100.986708ms - id: 158 request: proto: HTTP/1.1 @@ -5707,8 +5707,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -5718,950 +5718,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 188.074125ms - - id: 159 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 115.725584ms - - id: 160 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 103.555333ms - - id: 161 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 108.80675ms - - id: 162 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 127.8395ms - - id: 163 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 181.8875ms - - id: 164 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.701917ms - - id: 165 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 120.683541ms - - id: 166 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 98.165667ms - - id: 167 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 217.779083ms - - id: 168 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 122.116375ms - - id: 169 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.998292ms - - id: 170 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.535ms - - id: 171 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 102.962959ms - - id: 172 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 117.443ms - - id: 173 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 35 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_vkoUpnlL6bXY4MC3"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles - method: POST - 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: 100.029583ms - - id: 174 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":1}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 114.303625ms - - id: 175 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 35 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"roles":["rol_yagtKpp1oZPg5BLz"]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles - method: POST - 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: 101.705667ms - - id: 176 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 179.167083ms - - id: 177 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 137.611ms - - id: 178 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 122.825708ms - - id: 179 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 132.503917ms - - id: 180 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 116.975375ms - - id: 181 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.181709ms - - id: 182 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 119.150167ms - - id: 183 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 104.939417ms - - id: 184 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.165458ms - - id: 185 + duration: 109.838ms + - id: 159 request: proto: HTTP/1.1 proto_major: 1 @@ -6679,8 +5743,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -6690,14 +5754,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.49ms - - id: 186 + duration: 107.892625ms + - id: 160 request: proto: HTTP/1.1 proto_major: 1 @@ -6715,8 +5779,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -6726,14 +5790,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.012375ms - - id: 187 + duration: 106.884667ms + - id: 161 request: proto: HTTP/1.1 proto_major: 1 @@ -6751,8 +5815,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -6762,14 +5826,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.990208ms - - id: 188 + duration: 93.385667ms + - id: 162 request: proto: HTTP/1.1 proto_major: 1 @@ -6787,8 +5851,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -6798,14 +5862,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.571042ms - - id: 189 + duration: 95.793375ms + - id: 163 request: proto: HTTP/1.1 proto_major: 1 @@ -6823,8 +5887,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -6840,8 +5904,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.108833ms - - id: 190 + duration: 96.477542ms + - id: 164 request: proto: HTTP/1.1 proto_major: 1 @@ -6859,8 +5923,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -6870,14 +5934,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.946542ms - - id: 191 + duration: 110.653833ms + - id: 165 request: proto: HTTP/1.1 proto_major: 1 @@ -6895,8 +5959,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -6912,8 +5976,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.752583ms - - id: 192 + duration: 105.148292ms + - id: 166 request: proto: HTTP/1.1 proto_major: 1 @@ -6931,8 +5995,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -6942,14 +6006,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.485458ms - - id: 193 + duration: 98.871ms + - id: 167 request: proto: HTTP/1.1 proto_major: 1 @@ -6967,8 +6031,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -6984,80 +6048,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.714834ms - - id: 194 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 96.003667ms - - id: 195 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 99.130083ms - - id: 196 + duration: 99.662958ms + - id: 168 request: proto: HTTP/1.1 proto_major: 1 @@ -7075,8 +6067,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -7086,14 +6078,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.706958ms - - id: 197 + duration: 97.316542ms + - id: 169 request: proto: HTTP/1.1 proto_major: 1 @@ -7111,8 +6103,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7122,14 +6114,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.833125ms - - id: 198 + duration: 154.722917ms + - id: 170 request: proto: HTTP/1.1 proto_major: 1 @@ -7147,8 +6139,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7158,14 +6150,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.842ms - - id: 199 + duration: 152.4005ms + - id: 171 request: proto: HTTP/1.1 proto_major: 1 @@ -7183,8 +6175,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7194,14 +6186,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 173.822333ms - - id: 200 + duration: 109.832708ms + - id: 172 request: proto: HTTP/1.1 proto_major: 1 @@ -7219,8 +6211,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -7230,14 +6222,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.600833ms - - id: 201 + duration: 98.903042ms + - id: 173 request: proto: HTTP/1.1 proto_major: 1 @@ -7255,8 +6247,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7266,14 +6258,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.119333ms - - id: 202 + duration: 112.389792ms + - id: 174 request: proto: HTTP/1.1 proto_major: 1 @@ -7291,8 +6283,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7308,8 +6300,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.002833ms - - id: 203 + duration: 111.820625ms + - id: 175 request: proto: HTTP/1.1 proto_major: 1 @@ -7327,8 +6319,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -7338,14 +6330,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.756667ms - - id: 204 + duration: 92.715084ms + - id: 176 request: proto: HTTP/1.1 proto_major: 1 @@ -7363,8 +6355,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7374,14 +6366,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.7985ms - - id: 205 + duration: 108.880708ms + - id: 177 request: proto: HTTP/1.1 proto_major: 1 @@ -7399,8 +6391,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7416,8 +6408,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.517084ms - - id: 206 + duration: 105.99175ms + - id: 178 request: proto: HTTP/1.1 proto_major: 1 @@ -7435,8 +6427,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -7446,14 +6438,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.900292ms - - id: 207 + duration: 103.869917ms + - id: 179 request: proto: HTTP/1.1 proto_major: 1 @@ -7471,8 +6463,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7482,14 +6474,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.068125ms - - id: 208 + duration: 98.57425ms + - id: 180 request: proto: HTTP/1.1 proto_major: 1 @@ -7507,8 +6499,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7524,8 +6516,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.030875ms - - id: 209 + duration: 139.414958ms + - id: 181 request: proto: HTTP/1.1 proto_major: 1 @@ -7543,8 +6535,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: GET response: proto: HTTP/2.0 @@ -7554,14 +6546,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' + body: '{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.302417ms - - id: 210 + duration: 133.6815ms + - id: 182 request: proto: HTTP/1.1 proto_major: 1 @@ -7579,8 +6571,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7596,8 +6588,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 112.495625ms - - id: 211 + duration: 105.548584ms + - id: 183 request: proto: HTTP/1.1 proto_major: 1 @@ -7615,8 +6607,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: GET response: proto: HTTP/2.0 @@ -7626,14 +6618,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' + body: '{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.537375ms - - id: 212 + duration: 104.324792ms + - id: 184 request: proto: HTTP/1.1 proto_major: 1 @@ -7651,8 +6643,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz/permissions?include_totals=true&page=0&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6/permissions?include_totals=true&page=0&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7668,80 +6660,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.853708ms - - id: 213 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 91.235542ms - - id: 214 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 118.347833ms - - id: 215 + duration: 110.649958ms + - id: 185 request: proto: HTTP/1.1 proto_major: 1 @@ -7759,8 +6679,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -7770,14 +6690,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"permissions":[],"start":0,"limit":50,"total":0}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.155667ms - - id: 216 + duration: 97.31925ms + - id: 186 request: proto: HTTP/1.1 proto_major: 1 @@ -7795,8 +6715,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7806,14 +6726,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 91.412333ms - - id: 217 + duration: 120.07575ms + - id: 187 request: proto: HTTP/1.1 proto_major: 1 @@ -7831,8 +6751,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7842,14 +6762,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.08925ms - - id: 218 + duration: 96.757083ms + - id: 188 request: proto: HTTP/1.1 proto_major: 1 @@ -7867,8 +6787,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7878,14 +6798,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.789084ms - - id: 219 + duration: 94.648834ms + - id: 189 request: proto: HTTP/1.1 proto_major: 1 @@ -7903,8 +6823,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -7914,14 +6834,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.101708ms - - id: 220 + duration: 92.411584ms + - id: 190 request: proto: HTTP/1.1 proto_major: 1 @@ -7939,8 +6859,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7950,14 +6870,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.847917ms - - id: 221 + duration: 97.136667ms + - id: 191 request: proto: HTTP/1.1 proto_major: 1 @@ -7975,8 +6895,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -7992,8 +6912,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 113.206375ms - - id: 222 + duration: 103.925875ms + - id: 192 request: proto: HTTP/1.1 proto_major: 1 @@ -8011,8 +6931,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: GET response: proto: HTTP/2.0 @@ -8022,14 +6942,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"created_at":"2023-06-21T08:37:20.410Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"6492b6c0bff6d3d0cac37062","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-06-21T08:37:20.410Z","user_id":"auth0|6492b6c0bff6d3d0cac37062","username":"testaccuserroles"}' + body: '{"created_at":"2023-07-11T16:30:34.548Z","email":"testaccuserroles@acceptance.test.com","email_verified":false,"identities":[{"connection":"Username-Password-Authentication","user_id":"64ad83aad97f02a515f91675","provider":"auth0","isSocial":false}],"name":"testaccuserroles@acceptance.test.com","nickname":"testaccuserroles","picture":"https://s.gravatar.com/avatar/3c61de0d67bf4b07b9fe360d9cacf04c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fte.png","updated_at":"2023-07-11T16:30:34.548Z","user_id":"auth0|64ad83aad97f02a515f91675","username":"testaccuserroles"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 116.7835ms - - id: 223 + duration: 88.362417ms + - id: 193 request: proto: HTTP/1.1 proto_major: 1 @@ -8047,8 +6967,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -8058,14 +6978,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"roles":[{"id":"rol_yagtKpp1oZPg5BLz","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_vkoUpnlL6bXY4MC3","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' + body: '{"roles":[{"id":"rol_ac2lrjuNprcXCmZ6","name":"Test Admin testaccuserroles","description":"Administrator testaccuserroles"},{"id":"rol_ia0Ix9MLPRXChFdf","name":"Test Owner testaccuserroles","description":"Owner testaccuserroles"}],"start":0,"limit":50,"total":2}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.228667ms - - id: 224 + duration: 108.155834ms + - id: 194 request: proto: HTTP/1.1 proto_major: 1 @@ -8083,8 +7003,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/permissions?include_totals=true&per_page=50 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/permissions?include_totals=true&per_page=50 method: GET response: proto: HTTP/2.0 @@ -8100,8 +7020,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.197416ms - - id: 225 + duration: 96.5785ms + - id: 195 request: proto: HTTP/1.1 proto_major: 1 @@ -8113,14 +7033,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"roles":["rol_vkoUpnlL6bXY4MC3","rol_yagtKpp1oZPg5BLz"]} + {"roles":["rol_ia0Ix9MLPRXChFdf","rol_ac2lrjuNprcXCmZ6"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles method: DELETE response: proto: HTTP/2.0 @@ -8136,8 +7056,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 120.118917ms - - id: 226 + duration: 96.509208ms + - id: 196 request: proto: HTTP/1.1 proto_major: 1 @@ -8149,14 +7069,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"roles":["rol_yagtKpp1oZPg5BLz"]} + {"roles":["rol_ac2lrjuNprcXCmZ6"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles method: DELETE response: proto: HTTP/2.0 @@ -8172,8 +7092,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 109.128166ms - - id: 227 + duration: 110.821292ms + - id: 197 request: proto: HTTP/1.1 proto_major: 1 @@ -8185,14 +7105,14 @@ interactions: remote_addr: "" request_uri: "" body: | - {"roles":["rol_vkoUpnlL6bXY4MC3"]} + {"roles":["rol_ia0Ix9MLPRXChFdf"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062/roles + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675/roles method: DELETE response: proto: HTTP/2.0 @@ -8208,8 +7128,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 102.796667ms - - id: 228 + duration: 110.024834ms + - id: 198 request: proto: HTTP/1.1 proto_major: 1 @@ -8226,8 +7146,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C6492b6c0bff6d3d0cac37062 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/users/auth0%7C64ad83aad97f02a515f91675 method: DELETE response: proto: HTTP/2.0 @@ -8243,8 +7163,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 318.66075ms - - id: 229 + duration: 263.260042ms + - id: 199 request: proto: HTTP/1.1 proto_major: 1 @@ -8262,8 +7182,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_yagtKpp1oZPg5BLz + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ac2lrjuNprcXCmZ6 method: DELETE response: proto: HTTP/2.0 @@ -8279,8 +7199,8 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 206.723583ms - - id: 230 + duration: 105.618542ms + - id: 200 request: proto: HTTP/1.1 proto_major: 1 @@ -8298,8 +7218,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_vkoUpnlL6bXY4MC3 + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/roles/rol_ia0Ix9MLPRXChFdf method: DELETE response: proto: HTTP/2.0 @@ -8315,4 +7235,4 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.535041ms + duration: 98.835208ms