Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Form, Flow and Flow Vault Connection #1039

Merged
merged 23 commits into from
Oct 8, 2024

Conversation

duedares-rvj
Copy link
Contributor

@duedares-rvj duedares-rvj commented Oct 3, 2024

🔧 Changes

  • Added new resources and data sources: auth0_flow, auth0_form and auth0_flow_vault_connection
  • Added relevant expand and flatten rules.
  • Added relevant test cases for data_source and resource.
  • Added test recordings.
  • Added relevant docs and examples.

📚 References

Resolves #957

🔬 Testing

All relevant test cases has been added for create, get, update and delete functionality through terraform.
Also includes negative testing.

  1. TestAccForm
  2. TestAccVaultConnection
  3. TestAccFlow

make test FILTER=TestAccForm

Example

resource "auth0_form" "my_form" {
  name = "My KYC Form"
  languages {
    primary = "en"
  }
}

resource "auth0_flow" "my_flow" {
  name = "Flow KYC meta data"
}

resource "auth0_flow_vault_connection" "my_connection" {
  app_id = "AUTH0"
  name   = "Auth0 M2M Connection"
}

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@codecov-commenter
Copy link

codecov-commenter commented Oct 3, 2024

Codecov Report

Attention: Patch coverage is 69.62963% with 205 lines in your changes missing coverage. Please review.

Project coverage is 89.43%. Comparing base (46fe82e) to head (06c4fe1).
Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
internal/auth0/form/expand.go 50.76% 53 Missing and 11 partials ⚠️
internal/auth0/flow/expand.go 37.68% 39 Missing and 4 partials ⚠️
internal/auth0/form/flatten.go 59.55% 24 Missing and 12 partials ⚠️
internal/auth0/form/resource.go 79.61% 14 Missing and 7 partials ⚠️
internal/auth0/flow/resource.go 71.87% 12 Missing and 6 partials ⚠️
internal/auth0/flow/resource_vault_connection.go 84.74% 12 Missing and 6 partials ⚠️
internal/auth0/flow/flatten.go 81.48% 5 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1039      +/-   ##
==========================================
- Coverage   90.24%   89.43%   -0.81%     
==========================================
  Files         115      125      +10     
  Lines       16565    17240     +675     
==========================================
+ Hits        14949    15419     +470     
- Misses       1134     1293     +159     
- Partials      482      528      +46     
Files with missing lines Coverage Δ
internal/auth0/flow/data_source.go 100.00% <100.00%> (ø)
...nternal/auth0/flow/data_source_vault_connection.go 100.00% <100.00%> (ø)
internal/auth0/form/data_source.go 100.00% <100.00%> (ø)
internal/provider/provider.go 100.00% <ø> (ø)
internal/auth0/flow/flatten.go 81.48% <81.48%> (ø)
internal/auth0/flow/resource.go 71.87% <71.87%> (ø)
internal/auth0/flow/resource_vault_connection.go 84.74% <84.74%> (ø)
internal/auth0/form/resource.go 79.61% <79.61%> (ø)
internal/auth0/form/flatten.go 59.55% <59.55%> (ø)
internal/auth0/flow/expand.go 37.68% <37.68%> (ø)
... and 1 more

@kushalshit27 kushalshit27 changed the title Dxcdt 673 terraform support for forms terraform support for forms Oct 3, 2024
@kushalshit27 kushalshit27 marked this pull request as ready for review October 4, 2024 10:29
@kushalshit27 kushalshit27 requested a review from a team as a code owner October 4, 2024 10:29
Copy link
Contributor

@developerkunal developerkunal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@duedares-rvj duedares-rvj changed the title terraform support for forms Add support for Form, Flow and Flow Vault Connection Oct 8, 2024
@duedares-rvj duedares-rvj merged commit fdbe8b4 into main Oct 8, 2024
9 checks passed
@duedares-rvj duedares-rvj deleted the DXCDT-673-terraform-support-for-forms branch October 8, 2024 10:21
BryanLewis-AtOkta pushed a commit to BryanLewis-AtOkta/terraform-provider-auth0 that referenced this pull request Oct 24, 2024
* form resource

* flow resource

* flow resource, data source added

* update forms

* update flow

* update go-auth0 v1.11.0

* added flow vault connection

* Added flow expand/flatten + tests + recordings

* update flow vault connection

* form, flow vault connection added unit test, recordings

* form, flow vault connection doc update

* form, flow vault connection examples added

* form, flow vault connection examples added example, data source

* form, flow vault connection examples docs updated

* lint fix

* form, flow unit test added

* form flatten unit test added

* lint

* Updated recordings

---------

Co-authored-by: kushalshit27 <[email protected]>
BryanLewis-AtOkta pushed a commit to BryanLewis-AtOkta/terraform-provider-auth0 that referenced this pull request Oct 24, 2024
* form resource

* flow resource

* flow resource, data source added

* update forms

* update flow

* update go-auth0 v1.11.0

* added flow vault connection

* Added flow expand/flatten + tests + recordings

* update flow vault connection

* form, flow vault connection added unit test, recordings

* form, flow vault connection doc update

* form, flow vault connection examples added

* form, flow vault connection examples added example, data source

* form, flow vault connection examples docs updated

* lint fix

* form, flow unit test added

* form flatten unit test added

* lint

* Updated recordings

---------

Co-authored-by: kushalshit27 <[email protected]>
Signed-off-by: BryanLewis-AtOkta <[email protected]>
BryanLewis-AtOkta pushed a commit to BryanLewis-AtOkta/terraform-provider-auth0 that referenced this pull request Oct 24, 2024
* form resource

* flow resource

* flow resource, data source added

* update forms

* update flow

* update go-auth0 v1.11.0

* added flow vault connection

* Added flow expand/flatten + tests + recordings

* update flow vault connection

* form, flow vault connection added unit test, recordings

* form, flow vault connection doc update

* form, flow vault connection examples added

* form, flow vault connection examples added example, data source

* form, flow vault connection examples docs updated

* lint fix

* form, flow unit test added

* form flatten unit test added

* lint

* Updated recordings

---------

Co-authored-by: kushalshit27 <[email protected]>
Signed-off-by: BryanLewis-AtOkta <[email protected]>
BryanLewis-AtOkta pushed a commit to BryanLewis-AtOkta/terraform-provider-auth0 that referenced this pull request Oct 24, 2024
… for Verify.

Patch: Removed MinItems validation for precedence on Connection Resource (auth0#1017)

* Removed min/max validation on precendence slice

* reverted maxItems validation

Add support for all languages for Universal Login (auth0#1016)

* Fetch list of languages from CDN instead of hardcoding them

* Updated linting

---------

Co-authored-by: KunalOfficial <[email protected]>

Add Support for `auth0_prompt_screen_partial` and `auth0_prompt_screen_partials` in Prompt Resources  (auth0#1013)

* Add-Support-for-Prompt-Screen-Partials

* Add auth0_prompt_screen_partial Resource and Required Docs

* Fix Linting

* Updated Go-auth0 Version 1.9.0 to 1.10.0

* Added Testcases for other insertionpoints as well

* Fixed Linting

* Added More testcases

* Correct depends on for datasource of prompt partials

Bump github.com/hashicorp/terraform-plugin-testing from 1.9.0 to 1.10.0 (auth0#999)

Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-testing@v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Add Organizations for Client Credentials (auth0#1009)

* Updated schema and added relevant test cases for client with default_organization

* Added test recordings

* Updated the resource schema and added new test recordinging

* Added validation on required arguments

* Fixed linting and updated test recording

* Deleted a test recording

* Updated go.mod

Add Sorting to `screen_partials` Flattening Logic to Resolve Indexing Issues with Prompt Screen Partials (auth0#1019)

* Change screen_partials to TypeSet for consistent ordering in prompt screen partials

* Add Sorting to screen_partials Flattening Logic to Resolve Indexing Issues

Add changelog for v1.6.0 (auth0#1020)

* Added the changelog

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

---------

Co-authored-by: KunalOfficial <[email protected]>

Patch: default_organization on Client Creds (auth0#1021)

* Updated flow of importing default_organization

* Updated logic for handling default Orgs

* Updated test recordings

* Updated the conditional check

Add changelog for v1.6.1 (auth0#1022)

* Added changelog

* linting fixes

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

---------

Co-authored-by: KunalOfficial <[email protected]>

Add HRI related changes to Terraform provider (auth0#1015)

* Add HRI related changes to Terraform provider

* Fix broken HasChange behaviour

* Change ConflictWith to explicit validation in code

* Move validation to plan instead of apply

* Fix validation for default resources

Add strategy_version support to all connections that use it (auth0#1024)

* ESD-39527: Add strategy_version support to all connections that use it

* Update go-auth0 dependency

* Add examples for strategy_version

Add user_id_attribute support to AzureAD connection options (auth0#1028)

Add user_id_attribute to AzureAD connection options

Bump github.com/auth0/go-auth0 from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0 (auth0#1036)

Bump github.com/auth0/go-auth0

Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0.
- [Release notes](https://github.com/auth0/go-auth0/releases)
- [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md)
- [Commits](https://github.com/auth0/go-auth0/commits/v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/auth0/go-auth0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Added some minor updates

Updated recordings

docs updated

Add auth0_encryption_keys resource to allow rekeying of encryption keys (auth0#1031)

* Add auth0_encryption_key resource to allow rekeying of tenant encryption keys

* Slight renaming, and use key_rotation_id instead of rekey attribute

* Rename auth0_encryption_key to auth0_encryption_key_manager

Add new resource to manage Organization Client Grants (auth0#1027)

* Added new resource and data source for org client grants

* minor refactoring

* Added test case

* Updated test recordings

* Updated the test name

* Fix some timing issues in resourceserver, and add terraform version to server logs

* Remove unneeded lint config

* rebased

* minor refactoring

* Added test case

* Updated test recordings

* Updated the test name

* Fix some timing issues in resourceserver, and add terraform version to server logs

* Remove unneeded lint config

---------

Co-authored-by: A. Craig West <[email protected]>

Add support for Form, Flow and Flow Vault Connection (auth0#1039)

* form resource

* flow resource

* flow resource, data source added

* update forms

* update flow

* update go-auth0 v1.11.0

* added flow vault connection

* Added flow expand/flatten + tests + recordings

* update flow vault connection

* form, flow vault connection added unit test, recordings

* form, flow vault connection doc update

* form, flow vault connection examples added

* form, flow vault connection examples added example, data source

* form, flow vault connection examples docs updated

* lint fix

* form, flow unit test added

* form flatten unit test added

* lint

* Updated recordings

---------

Co-authored-by: kushalshit27 <[email protected]>

PATCH: Ensure Removal of Insertion Points in `auth0_prompt_screen_partial` Resource (auth0#1043)

Fix: Ensure Removal of Insertion Points in  Resource API

Support BYOK in Terraform provider (auth0#1041)

Co-authored-by: KunalOfficial <[email protected]>

Bump github.com/auth0/go-auth0 from 1.11.0 to 1.11.1 (auth0#1042)

Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/auth0/go-auth0/releases)
- [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md)
- [Commits](auth0/go-auth0@v1.11.0...v1.11.1)

---
updated-dependencies:
- dependency-name: github.com/auth0/go-auth0
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Add changelog for 1.7.0 (auth0#1044)

* Added changelog for 1.7.0

* Added further changes

* removed .

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* removed .

* minor refactor

---------

Co-authored-by: KunalOfficial <[email protected]>

Fix docs for user_id_attribute for AzureAD connection options (auth0#1047)

ESD-40277: Fix docs for user_id_attribute for AzureAD connection options

PATCH: Add graceful error handling for `auth0_organization` data source when using client grants (auth0#1049)

* Added check on tenants which has insufficient scopes and return a empty slice

* Updated test case

* minor refactoring

* minor refactor

* linting

* linting

Updated example for Form (auth0#1046)

* Updated example for form

PATCH: Implemented checkpoint pagination for retrieving Role users (auth0#1048)

* Implemented checkpoint pagination on role users

* added tests

Add changelog for 1.7.1 (auth0#1050)

* Added changelog

* refac

* refac

* refac

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* Added changelog

* refac

* refac

* refac

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* refac

* Apply suggestions from code review

Co-authored-by: KunalOfficial <[email protected]>

* Added changelog

* refac

* refac

* refac

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* refac

* Added changelog

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

---------

Co-authored-by: KunalOfficial <[email protected]>

Fix: Updated `TestAccConnectionAzureAD` test recording (auth0#1052)

Updated recording + auth0 version bump

Added a check on provider's configuration for required env vars (auth0#1053)

* Added a check on provider's configuration for reqd env vars

* Added linting
BryanLewis-AtOkta pushed a commit to BryanLewis-AtOkta/terraform-provider-auth0 that referenced this pull request Oct 24, 2024
… for Verify.

Patch: Removed MinItems validation for precedence on Connection Resource (auth0#1017)

* Removed min/max validation on precendence slice

* reverted maxItems validation

Add support for all languages for Universal Login (auth0#1016)

* Fetch list of languages from CDN instead of hardcoding them

* Updated linting

---------

Co-authored-by: KunalOfficial <[email protected]>

Add Support for `auth0_prompt_screen_partial` and `auth0_prompt_screen_partials` in Prompt Resources  (auth0#1013)

* Add-Support-for-Prompt-Screen-Partials

* Add auth0_prompt_screen_partial Resource and Required Docs

* Fix Linting

* Updated Go-auth0 Version 1.9.0 to 1.10.0

* Added Testcases for other insertionpoints as well

* Fixed Linting

* Added More testcases

* Correct depends on for datasource of prompt partials

Bump github.com/hashicorp/terraform-plugin-testing from 1.9.0 to 1.10.0 (auth0#999)

Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-testing@v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Add Organizations for Client Credentials (auth0#1009)

* Updated schema and added relevant test cases for client with default_organization

* Added test recordings

* Updated the resource schema and added new test recordinging

* Added validation on required arguments

* Fixed linting and updated test recording

* Deleted a test recording

* Updated go.mod

Add Sorting to `screen_partials` Flattening Logic to Resolve Indexing Issues with Prompt Screen Partials (auth0#1019)

* Change screen_partials to TypeSet for consistent ordering in prompt screen partials

* Add Sorting to screen_partials Flattening Logic to Resolve Indexing Issues

Add changelog for v1.6.0 (auth0#1020)

* Added the changelog

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

---------

Co-authored-by: KunalOfficial <[email protected]>

Patch: default_organization on Client Creds (auth0#1021)

* Updated flow of importing default_organization

* Updated logic for handling default Orgs

* Updated test recordings

* Updated the conditional check

Add changelog for v1.6.1 (auth0#1022)

* Added changelog

* linting fixes

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

---------

Co-authored-by: KunalOfficial <[email protected]>

Add HRI related changes to Terraform provider (auth0#1015)

* Add HRI related changes to Terraform provider

* Fix broken HasChange behaviour

* Change ConflictWith to explicit validation in code

* Move validation to plan instead of apply

* Fix validation for default resources

Add strategy_version support to all connections that use it (auth0#1024)

* ESD-39527: Add strategy_version support to all connections that use it

* Update go-auth0 dependency

* Add examples for strategy_version

Add user_id_attribute support to AzureAD connection options (auth0#1028)

Add user_id_attribute to AzureAD connection options

Bump github.com/auth0/go-auth0 from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0 (auth0#1036)

Bump github.com/auth0/go-auth0

Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0.
- [Release notes](https://github.com/auth0/go-auth0/releases)
- [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md)
- [Commits](https://github.com/auth0/go-auth0/commits/v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/auth0/go-auth0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Added some minor updates

Updated recordings

docs updated

Add auth0_encryption_keys resource to allow rekeying of encryption keys (auth0#1031)

* Add auth0_encryption_key resource to allow rekeying of tenant encryption keys

* Slight renaming, and use key_rotation_id instead of rekey attribute

* Rename auth0_encryption_key to auth0_encryption_key_manager

Add new resource to manage Organization Client Grants (auth0#1027)

* Added new resource and data source for org client grants

* minor refactoring

* Added test case

* Updated test recordings

* Updated the test name

* Fix some timing issues in resourceserver, and add terraform version to server logs

* Remove unneeded lint config

* rebased

* minor refactoring

* Added test case

* Updated test recordings

* Updated the test name

* Fix some timing issues in resourceserver, and add terraform version to server logs

* Remove unneeded lint config

---------

Co-authored-by: A. Craig West <[email protected]>

Add support for Form, Flow and Flow Vault Connection (auth0#1039)

* form resource

* flow resource

* flow resource, data source added

* update forms

* update flow

* update go-auth0 v1.11.0

* added flow vault connection

* Added flow expand/flatten + tests + recordings

* update flow vault connection

* form, flow vault connection added unit test, recordings

* form, flow vault connection doc update

* form, flow vault connection examples added

* form, flow vault connection examples added example, data source

* form, flow vault connection examples docs updated

* lint fix

* form, flow unit test added

* form flatten unit test added

* lint

* Updated recordings

---------

Co-authored-by: kushalshit27 <[email protected]>

PATCH: Ensure Removal of Insertion Points in `auth0_prompt_screen_partial` Resource (auth0#1043)

Fix: Ensure Removal of Insertion Points in  Resource API

Support BYOK in Terraform provider (auth0#1041)

Co-authored-by: KunalOfficial <[email protected]>

Bump github.com/auth0/go-auth0 from 1.11.0 to 1.11.1 (auth0#1042)

Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/auth0/go-auth0/releases)
- [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md)
- [Commits](auth0/go-auth0@v1.11.0...v1.11.1)

---
updated-dependencies:
- dependency-name: github.com/auth0/go-auth0
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Add changelog for 1.7.0 (auth0#1044)

* Added changelog for 1.7.0

* Added further changes

* removed .

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* removed .

* minor refactor

---------

Co-authored-by: KunalOfficial <[email protected]>

Fix docs for user_id_attribute for AzureAD connection options (auth0#1047)

ESD-40277: Fix docs for user_id_attribute for AzureAD connection options

PATCH: Add graceful error handling for `auth0_organization` data source when using client grants (auth0#1049)

* Added check on tenants which has insufficient scopes and return a empty slice

* Updated test case

* minor refactoring

* minor refactor

* linting

* linting

Updated example for Form (auth0#1046)

* Updated example for form

PATCH: Implemented checkpoint pagination for retrieving Role users (auth0#1048)

* Implemented checkpoint pagination on role users

* added tests

Add changelog for 1.7.1 (auth0#1050)

* Added changelog

* refac

* refac

* refac

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* Added changelog

* refac

* refac

* refac

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* refac

* Apply suggestions from code review

Co-authored-by: KunalOfficial <[email protected]>

* Added changelog

* refac

* refac

* refac

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* refac

* Added changelog

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

---------

Co-authored-by: KunalOfficial <[email protected]>

Fix: Updated `TestAccConnectionAzureAD` test recording (auth0#1052)

Updated recording + auth0 version bump

Added a check on provider's configuration for required env vars (auth0#1053)

* Added a check on provider's configuration for reqd env vars

* Added linting
BryanLewis-AtOkta pushed a commit to BryanLewis-AtOkta/terraform-provider-auth0 that referenced this pull request Oct 24, 2024
… for Verify.

Patch: Removed MinItems validation for precedence on Connection Resource (auth0#1017)

* Removed min/max validation on precendence slice

* reverted maxItems validation

Add support for all languages for Universal Login (auth0#1016)

* Fetch list of languages from CDN instead of hardcoding them

* Updated linting

---------

Co-authored-by: KunalOfficial <[email protected]>

Add Support for `auth0_prompt_screen_partial` and `auth0_prompt_screen_partials` in Prompt Resources  (auth0#1013)

* Add-Support-for-Prompt-Screen-Partials

* Add auth0_prompt_screen_partial Resource and Required Docs

* Fix Linting

* Updated Go-auth0 Version 1.9.0 to 1.10.0

* Added Testcases for other insertionpoints as well

* Fixed Linting

* Added More testcases

* Correct depends on for datasource of prompt partials

Bump github.com/hashicorp/terraform-plugin-testing from 1.9.0 to 1.10.0 (auth0#999)

Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-testing@v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Add Organizations for Client Credentials (auth0#1009)

* Updated schema and added relevant test cases for client with default_organization

* Added test recordings

* Updated the resource schema and added new test recordinging

* Added validation on required arguments

* Fixed linting and updated test recording

* Deleted a test recording

* Updated go.mod

Add Sorting to `screen_partials` Flattening Logic to Resolve Indexing Issues with Prompt Screen Partials (auth0#1019)

* Change screen_partials to TypeSet for consistent ordering in prompt screen partials

* Add Sorting to screen_partials Flattening Logic to Resolve Indexing Issues

Add changelog for v1.6.0 (auth0#1020)

* Added the changelog

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

---------

Co-authored-by: KunalOfficial <[email protected]>

Patch: default_organization on Client Creds (auth0#1021)

* Updated flow of importing default_organization

* Updated logic for handling default Orgs

* Updated test recordings

* Updated the conditional check

Add changelog for v1.6.1 (auth0#1022)

* Added changelog

* linting fixes

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

---------

Co-authored-by: KunalOfficial <[email protected]>

Add HRI related changes to Terraform provider (auth0#1015)

* Add HRI related changes to Terraform provider

* Fix broken HasChange behaviour

* Change ConflictWith to explicit validation in code

* Move validation to plan instead of apply

* Fix validation for default resources

Add strategy_version support to all connections that use it (auth0#1024)

* ESD-39527: Add strategy_version support to all connections that use it

* Update go-auth0 dependency

* Add examples for strategy_version

Add user_id_attribute support to AzureAD connection options (auth0#1028)

Add user_id_attribute to AzureAD connection options

Bump github.com/auth0/go-auth0 from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0 (auth0#1036)

Bump github.com/auth0/go-auth0

Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0.
- [Release notes](https://github.com/auth0/go-auth0/releases)
- [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md)
- [Commits](https://github.com/auth0/go-auth0/commits/v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/auth0/go-auth0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Added some minor updates

Updated recordings

docs updated

Add auth0_encryption_keys resource to allow rekeying of encryption keys (auth0#1031)

* Add auth0_encryption_key resource to allow rekeying of tenant encryption keys

* Slight renaming, and use key_rotation_id instead of rekey attribute

* Rename auth0_encryption_key to auth0_encryption_key_manager

Add new resource to manage Organization Client Grants (auth0#1027)

* Added new resource and data source for org client grants

* minor refactoring

* Added test case

* Updated test recordings

* Updated the test name

* Fix some timing issues in resourceserver, and add terraform version to server logs

* Remove unneeded lint config

* rebased

* minor refactoring

* Added test case

* Updated test recordings

* Updated the test name

* Fix some timing issues in resourceserver, and add terraform version to server logs

* Remove unneeded lint config

---------

Co-authored-by: A. Craig West <[email protected]>

Add support for Form, Flow and Flow Vault Connection (auth0#1039)

* form resource

* flow resource

* flow resource, data source added

* update forms

* update flow

* update go-auth0 v1.11.0

* added flow vault connection

* Added flow expand/flatten + tests + recordings

* update flow vault connection

* form, flow vault connection added unit test, recordings

* form, flow vault connection doc update

* form, flow vault connection examples added

* form, flow vault connection examples added example, data source

* form, flow vault connection examples docs updated

* lint fix

* form, flow unit test added

* form flatten unit test added

* lint

* Updated recordings

---------

Co-authored-by: kushalshit27 <[email protected]>

PATCH: Ensure Removal of Insertion Points in `auth0_prompt_screen_partial` Resource (auth0#1043)

Fix: Ensure Removal of Insertion Points in  Resource API

Support BYOK in Terraform provider (auth0#1041)

Co-authored-by: KunalOfficial <[email protected]>

Bump github.com/auth0/go-auth0 from 1.11.0 to 1.11.1 (auth0#1042)

Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/auth0/go-auth0/releases)
- [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md)
- [Commits](auth0/go-auth0@v1.11.0...v1.11.1)

---
updated-dependencies:
- dependency-name: github.com/auth0/go-auth0
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Add changelog for 1.7.0 (auth0#1044)

* Added changelog for 1.7.0

* Added further changes

* removed .

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* removed .

* minor refactor

---------

Co-authored-by: KunalOfficial <[email protected]>

Fix docs for user_id_attribute for AzureAD connection options (auth0#1047)

ESD-40277: Fix docs for user_id_attribute for AzureAD connection options

PATCH: Add graceful error handling for `auth0_organization` data source when using client grants (auth0#1049)

* Added check on tenants which has insufficient scopes and return a empty slice

* Updated test case

* minor refactoring

* minor refactor

* linting

* linting

Updated example for Form (auth0#1046)

* Updated example for form

PATCH: Implemented checkpoint pagination for retrieving Role users (auth0#1048)

* Implemented checkpoint pagination on role users

* added tests

Add changelog for 1.7.1 (auth0#1050)

* Added changelog

* refac

* refac

* refac

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* Added changelog

* refac

* refac

* refac

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* refac

* Apply suggestions from code review

Co-authored-by: KunalOfficial <[email protected]>

* Added changelog

* refac

* refac

* refac

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* refac

* Added changelog

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

---------

Co-authored-by: KunalOfficial <[email protected]>

Fix: Updated `TestAccConnectionAzureAD` test recording (auth0#1052)

Updated recording + auth0 version bump

Added a check on provider's configuration for required env vars (auth0#1053)

* Added a check on provider's configuration for reqd env vars

* Added linting
BryanLewis-AtOkta pushed a commit to BryanLewis-AtOkta/terraform-provider-auth0 that referenced this pull request Oct 24, 2024
… for Verify.

Patch: Removed MinItems validation for precedence on Connection Resource (auth0#1017)

* Removed min/max validation on precendence slice

* reverted maxItems validation

Add support for all languages for Universal Login (auth0#1016)

* Fetch list of languages from CDN instead of hardcoding them

* Updated linting

---------

Co-authored-by: KunalOfficial <[email protected]>

Add Support for `auth0_prompt_screen_partial` and `auth0_prompt_screen_partials` in Prompt Resources  (auth0#1013)

* Add-Support-for-Prompt-Screen-Partials

* Add auth0_prompt_screen_partial Resource and Required Docs

* Fix Linting

* Updated Go-auth0 Version 1.9.0 to 1.10.0

* Added Testcases for other insertionpoints as well

* Fixed Linting

* Added More testcases

* Correct depends on for datasource of prompt partials

Bump github.com/hashicorp/terraform-plugin-testing from 1.9.0 to 1.10.0 (auth0#999)

Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-testing@v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Add Organizations for Client Credentials (auth0#1009)

* Updated schema and added relevant test cases for client with default_organization

* Added test recordings

* Updated the resource schema and added new test recordinging

* Added validation on required arguments

* Fixed linting and updated test recording

* Deleted a test recording

* Updated go.mod

Add Sorting to `screen_partials` Flattening Logic to Resolve Indexing Issues with Prompt Screen Partials (auth0#1019)

* Change screen_partials to TypeSet for consistent ordering in prompt screen partials

* Add Sorting to screen_partials Flattening Logic to Resolve Indexing Issues

Add changelog for v1.6.0 (auth0#1020)

* Added the changelog

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

---------

Co-authored-by: KunalOfficial <[email protected]>

Patch: default_organization on Client Creds (auth0#1021)

* Updated flow of importing default_organization

* Updated logic for handling default Orgs

* Updated test recordings

* Updated the conditional check

Add changelog for v1.6.1 (auth0#1022)

* Added changelog

* linting fixes

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

---------

Co-authored-by: KunalOfficial <[email protected]>

Add HRI related changes to Terraform provider (auth0#1015)

* Add HRI related changes to Terraform provider

* Fix broken HasChange behaviour

* Change ConflictWith to explicit validation in code

* Move validation to plan instead of apply

* Fix validation for default resources

Add strategy_version support to all connections that use it (auth0#1024)

* ESD-39527: Add strategy_version support to all connections that use it

* Update go-auth0 dependency

* Add examples for strategy_version

Add user_id_attribute support to AzureAD connection options (auth0#1028)

Add user_id_attribute to AzureAD connection options

Bump github.com/auth0/go-auth0 from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0 (auth0#1036)

Bump github.com/auth0/go-auth0

Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0.
- [Release notes](https://github.com/auth0/go-auth0/releases)
- [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md)
- [Commits](https://github.com/auth0/go-auth0/commits/v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/auth0/go-auth0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Added some minor updates

Updated recordings

docs updated

Add auth0_encryption_keys resource to allow rekeying of encryption keys (auth0#1031)

* Add auth0_encryption_key resource to allow rekeying of tenant encryption keys

* Slight renaming, and use key_rotation_id instead of rekey attribute

* Rename auth0_encryption_key to auth0_encryption_key_manager

Add new resource to manage Organization Client Grants (auth0#1027)

* Added new resource and data source for org client grants

* minor refactoring

* Added test case

* Updated test recordings

* Updated the test name

* Fix some timing issues in resourceserver, and add terraform version to server logs

* Remove unneeded lint config

* rebased

* minor refactoring

* Added test case

* Updated test recordings

* Updated the test name

* Fix some timing issues in resourceserver, and add terraform version to server logs

* Remove unneeded lint config

---------

Co-authored-by: A. Craig West <[email protected]>

Add support for Form, Flow and Flow Vault Connection (auth0#1039)

* form resource

* flow resource

* flow resource, data source added

* update forms

* update flow

* update go-auth0 v1.11.0

* added flow vault connection

* Added flow expand/flatten + tests + recordings

* update flow vault connection

* form, flow vault connection added unit test, recordings

* form, flow vault connection doc update

* form, flow vault connection examples added

* form, flow vault connection examples added example, data source

* form, flow vault connection examples docs updated

* lint fix

* form, flow unit test added

* form flatten unit test added

* lint

* Updated recordings

---------

Co-authored-by: kushalshit27 <[email protected]>

PATCH: Ensure Removal of Insertion Points in `auth0_prompt_screen_partial` Resource (auth0#1043)

Fix: Ensure Removal of Insertion Points in  Resource API

Support BYOK in Terraform provider (auth0#1041)

Co-authored-by: KunalOfficial <[email protected]>

Bump github.com/auth0/go-auth0 from 1.11.0 to 1.11.1 (auth0#1042)

Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/auth0/go-auth0/releases)
- [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md)
- [Commits](auth0/go-auth0@v1.11.0...v1.11.1)

---
updated-dependencies:
- dependency-name: github.com/auth0/go-auth0
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Add changelog for 1.7.0 (auth0#1044)

* Added changelog for 1.7.0

* Added further changes

* removed .

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* removed .

* minor refactor

---------

Co-authored-by: KunalOfficial <[email protected]>

Fix docs for user_id_attribute for AzureAD connection options (auth0#1047)

ESD-40277: Fix docs for user_id_attribute for AzureAD connection options

PATCH: Add graceful error handling for `auth0_organization` data source when using client grants (auth0#1049)

* Added check on tenants which has insufficient scopes and return a empty slice

* Updated test case

* minor refactoring

* minor refactor

* linting

* linting

Updated example for Form (auth0#1046)

* Updated example for form

PATCH: Implemented checkpoint pagination for retrieving Role users (auth0#1048)

* Implemented checkpoint pagination on role users

* added tests

Add changelog for 1.7.1 (auth0#1050)

* Added changelog

* refac

* refac

* refac

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* Added changelog

* refac

* refac

* refac

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* refac

* Apply suggestions from code review

Co-authored-by: KunalOfficial <[email protected]>

* Added changelog

* refac

* refac

* refac

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* refac

* Added changelog

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

---------

Co-authored-by: KunalOfficial <[email protected]>

Fix: Updated `TestAccConnectionAzureAD` test recording (auth0#1052)

Updated recording + auth0 version bump

Added a check on provider's configuration for required env vars (auth0#1053)

* Added a check on provider's configuration for reqd env vars

* Added linting
BryanLewis-AtOkta added a commit to BryanLewis-AtOkta/terraform-provider-auth0 that referenced this pull request Oct 24, 2024
… for Verify.

Patch: Removed MinItems validation for precedence on Connection Resource (auth0#1017)

* Removed min/max validation on precendence slice

* reverted maxItems validation

Add support for all languages for Universal Login (auth0#1016)

* Fetch list of languages from CDN instead of hardcoding them

* Updated linting

---------

Co-authored-by: KunalOfficial <[email protected]>

Add Support for `auth0_prompt_screen_partial` and `auth0_prompt_screen_partials` in Prompt Resources  (auth0#1013)

* Add-Support-for-Prompt-Screen-Partials

* Add auth0_prompt_screen_partial Resource and Required Docs

* Fix Linting

* Updated Go-auth0 Version 1.9.0 to 1.10.0

* Added Testcases for other insertionpoints as well

* Fixed Linting

* Added More testcases

* Correct depends on for datasource of prompt partials

Bump github.com/hashicorp/terraform-plugin-testing from 1.9.0 to 1.10.0 (auth0#999)

Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-testing@v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Add Organizations for Client Credentials (auth0#1009)

* Updated schema and added relevant test cases for client with default_organization

* Added test recordings

* Updated the resource schema and added new test recordinging

* Added validation on required arguments

* Fixed linting and updated test recording

* Deleted a test recording

* Updated go.mod

Add Sorting to `screen_partials` Flattening Logic to Resolve Indexing Issues with Prompt Screen Partials (auth0#1019)

* Change screen_partials to TypeSet for consistent ordering in prompt screen partials

* Add Sorting to screen_partials Flattening Logic to Resolve Indexing Issues

Add changelog for v1.6.0 (auth0#1020)

* Added the changelog

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

---------

Co-authored-by: KunalOfficial <[email protected]>

Patch: default_organization on Client Creds (auth0#1021)

* Updated flow of importing default_organization

* Updated logic for handling default Orgs

* Updated test recordings

* Updated the conditional check

Add changelog for v1.6.1 (auth0#1022)

* Added changelog

* linting fixes

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

---------

Co-authored-by: KunalOfficial <[email protected]>

Add HRI related changes to Terraform provider (auth0#1015)

* Add HRI related changes to Terraform provider

* Fix broken HasChange behaviour

* Change ConflictWith to explicit validation in code

* Move validation to plan instead of apply

* Fix validation for default resources

Add strategy_version support to all connections that use it (auth0#1024)

* ESD-39527: Add strategy_version support to all connections that use it

* Update go-auth0 dependency

* Add examples for strategy_version

Add user_id_attribute support to AzureAD connection options (auth0#1028)

Add user_id_attribute to AzureAD connection options

Bump github.com/auth0/go-auth0 from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0 (auth0#1036)

Bump github.com/auth0/go-auth0

Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0.
- [Release notes](https://github.com/auth0/go-auth0/releases)
- [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md)
- [Commits](https://github.com/auth0/go-auth0/commits/v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/auth0/go-auth0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Added some minor updates

Updated recordings

docs updated

Add auth0_encryption_keys resource to allow rekeying of encryption keys (auth0#1031)

* Add auth0_encryption_key resource to allow rekeying of tenant encryption keys

* Slight renaming, and use key_rotation_id instead of rekey attribute

* Rename auth0_encryption_key to auth0_encryption_key_manager

Add new resource to manage Organization Client Grants (auth0#1027)

* Added new resource and data source for org client grants

* minor refactoring

* Added test case

* Updated test recordings

* Updated the test name

* Fix some timing issues in resourceserver, and add terraform version to server logs

* Remove unneeded lint config

* rebased

* minor refactoring

* Added test case

* Updated test recordings

* Updated the test name

* Fix some timing issues in resourceserver, and add terraform version to server logs

* Remove unneeded lint config

---------

Co-authored-by: A. Craig West <[email protected]>

Add support for Form, Flow and Flow Vault Connection (auth0#1039)

* form resource

* flow resource

* flow resource, data source added

* update forms

* update flow

* update go-auth0 v1.11.0

* added flow vault connection

* Added flow expand/flatten + tests + recordings

* update flow vault connection

* form, flow vault connection added unit test, recordings

* form, flow vault connection doc update

* form, flow vault connection examples added

* form, flow vault connection examples added example, data source

* form, flow vault connection examples docs updated

* lint fix

* form, flow unit test added

* form flatten unit test added

* lint

* Updated recordings

---------

Co-authored-by: kushalshit27 <[email protected]>

PATCH: Ensure Removal of Insertion Points in `auth0_prompt_screen_partial` Resource (auth0#1043)

Fix: Ensure Removal of Insertion Points in  Resource API

Support BYOK in Terraform provider (auth0#1041)

Co-authored-by: KunalOfficial <[email protected]>

Bump github.com/auth0/go-auth0 from 1.11.0 to 1.11.1 (auth0#1042)

Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/auth0/go-auth0/releases)
- [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md)
- [Commits](auth0/go-auth0@v1.11.0...v1.11.1)

---
updated-dependencies:
- dependency-name: github.com/auth0/go-auth0
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Add changelog for 1.7.0 (auth0#1044)

* Added changelog for 1.7.0

* Added further changes

* removed .

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* removed .

* minor refactor

---------

Co-authored-by: KunalOfficial <[email protected]>

Fix docs for user_id_attribute for AzureAD connection options (auth0#1047)

ESD-40277: Fix docs for user_id_attribute for AzureAD connection options

PATCH: Add graceful error handling for `auth0_organization` data source when using client grants (auth0#1049)

* Added check on tenants which has insufficient scopes and return a empty slice

* Updated test case

* minor refactoring

* minor refactor

* linting

* linting

Updated example for Form (auth0#1046)

* Updated example for form

PATCH: Implemented checkpoint pagination for retrieving Role users (auth0#1048)

* Implemented checkpoint pagination on role users

* added tests

Add changelog for 1.7.1 (auth0#1050)

* Added changelog

* refac

* refac

* refac

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* Added changelog

* refac

* refac

* refac

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* refac

* Apply suggestions from code review

Co-authored-by: KunalOfficial <[email protected]>

* Added changelog

* refac

* refac

* refac

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

* refac

* Added changelog

* Update CHANGELOG.md

Co-authored-by: KunalOfficial <[email protected]>

---------

Co-authored-by: KunalOfficial <[email protected]>

Fix: Updated `TestAccConnectionAzureAD` test recording (auth0#1052)

Updated recording + auth0 version bump

Added a check on provider's configuration for required env vars (auth0#1053)

* Added a check on provider's configuration for reqd env vars

* Added linting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add terraform resources for new feature "Forms"
4 participants