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

DXCDT-472: Add new auth0_pages resource #691

Merged
merged 3 commits into from
Jul 10, 2023
Merged

Conversation

sergiught
Copy link
Contributor

🔧 Changes

The custom_login_page on the auth0_global_client and the change_password, guardian_mfa_page and error_page
fields on the auth0_tenant have been deprecated in favour of managing them on a brand new auth0_pages resource.

This was done to improve the developer experience and discoverability of these configuration settings.

📚 References

🔬 Testing

📝 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)

@sergiught sergiught marked this pull request as ready for review July 7, 2023 10:10
@sergiught sergiught requested a review from a team as a code owner July 7, 2023 10:10
},
ErrorPage: &management.TenantErrorPage{
ShowLogLink: auth0.Bool(false),
URL: auth0.String(""),
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe clear out the HTML property too?

Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be done for the HTML properties of login, change_password, and guardian_mfa as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As long as those pages are disabled, setting the HTML as well to empty is unnecessary. We preferred doing this as a user could in the future come back to these pages and re-enable them with the previous HTML.

MIGRATION_GUIDE.md Outdated Show resolved Hide resolved
@sergiught sergiught force-pushed the feature/DXCDT-472-pages branch from 792a733 to d1054ff Compare July 7, 2023 17:37
@sergiught sergiught requested a review from willvedd July 7, 2023 17:40
@codecov-commenter
Copy link

Codecov Report

Merging #691 (d1054ff) into main (78752c7) will decrease coverage by 0.03%.
The diff coverage is 86.71%.

❗ Current head d1054ff differs from pull request most recent head dcb7314. Consider uploading reports for the commit dcb7314 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #691      +/-   ##
==========================================
- Coverage   86.60%   86.57%   -0.03%     
==========================================
  Files          80       83       +3     
  Lines       12169    12413     +244     
==========================================
+ Hits        10539    10747     +208     
- Misses       1243     1267      +24     
- Partials      387      399      +12     
Impacted Files Coverage Δ
internal/provider/provider.go 100.00% <ø> (ø)
internal/auth0/page/resource.go 82.63% <82.63%> (ø)
internal/auth0/page/expand.go 88.46% <88.46%> (ø)
internal/auth0/client/global_data_source.go 83.33% <100.00%> (+3.33%) ⬆️
internal/auth0/client/global_resource.go 82.69% <100.00%> (+1.05%) ⬆️
internal/auth0/page/flatten.go 100.00% <100.00%> (ø)
internal/auth0/tenant/expand.go 100.00% <100.00%> (ø)
internal/auth0/tenant/flatten.go 81.01% <100.00%> (ø)
internal/auth0/tenant/resource.go 97.68% <100.00%> (+0.08%) ⬆️

Copy link
Contributor

@willvedd willvedd left a comment

Choose a reason for hiding this comment

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

👍

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.

4 participants