auth0 / auth0-deploy-cli

The Auth0 Deploy CLI is a tool that helps you manage your Auth0 tenant configuration. It integrates into your development workflows as a standalone CLI or as a node module.
MIT License
248 stars 156 forks source link

[DO NOT MERGE] Upgrade auth0 to v4 #852

Closed frederikprijck closed 1 year ago

frederikprijck commented 1 year ago

πŸ”§ Changes

Just a temporary PR to show what migration to v4 of auth0 would look like.

TODO

πŸ”¬ Testing

πŸ“ Checklist

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 79.52% and project coverage change: -0.78% :warning:

Comparison is base (eb1db63) 84.23% compared to head (0811df7) 83.46%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #852 +/- ## ========================================== - Coverage 84.23% 83.46% -0.78% ========================================== Files 115 112 -3 Lines 3604 3575 -29 Branches 697 700 +3 ========================================== - Hits 3036 2984 -52 - Misses 324 341 +17 - Partials 244 250 +6 ``` | [Files Changed](https://app.codecov.io/gh/auth0/auth0-deploy-cli/pull/852?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | Coverage Ξ” | | |---|---|---| | [src/context/directory/handlers/index.ts](https://app.codecov.io/gh/auth0/auth0-deploy-cli/pull/852?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#diff-c3JjL2NvbnRleHQvZGlyZWN0b3J5L2hhbmRsZXJzL2luZGV4LnRz) | `100.00% <ΓΈ> (ΓΈ)` | | | [src/context/directory/handlers/resourceServers.ts](https://app.codecov.io/gh/auth0/auth0-deploy-cli/pull/852?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#diff-c3JjL2NvbnRleHQvZGlyZWN0b3J5L2hhbmRsZXJzL3Jlc291cmNlU2VydmVycy50cw==) | `35.00% <ΓΈ> (ΓΈ)` | | | [src/context/directory/index.ts](https://app.codecov.io/gh/auth0/auth0-deploy-cli/pull/852?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#diff-c3JjL2NvbnRleHQvZGlyZWN0b3J5L2luZGV4LnRz) | `90.47% <ΓΈ> (ΓΈ)` | | | [src/context/yaml/handlers/guardianPolicies.ts](https://app.codecov.io/gh/auth0/auth0-deploy-cli/pull/852?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#diff-c3JjL2NvbnRleHQveWFtbC9oYW5kbGVycy9ndWFyZGlhblBvbGljaWVzLnRz) | `100.00% <ΓΈ> (ΓΈ)` | | | [src/context/yaml/handlers/index.ts](https://app.codecov.io/gh/auth0/auth0-deploy-cli/pull/852?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#diff-c3JjL2NvbnRleHQveWFtbC9oYW5kbGVycy9pbmRleC50cw==) | `100.00% <ΓΈ> (ΓΈ)` | | | [src/context/yaml/handlers/resourceServers.ts](https://app.codecov.io/gh/auth0/auth0-deploy-cli/pull/852?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#diff-c3JjL2NvbnRleHQveWFtbC9oYW5kbGVycy9yZXNvdXJjZVNlcnZlcnMudHM=) | `100.00% <ΓΈ> (ΓΈ)` | | | [src/tools/auth0/client.ts](https://app.codecov.io/gh/auth0/auth0-deploy-cli/pull/852?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#diff-c3JjL3Rvb2xzL2F1dGgwL2NsaWVudC50cw==) | `60.93% <ΓΈ> (-3.13%)` | :arrow_down: | | [src/tools/auth0/handlers/attackProtection.ts](https://app.codecov.io/gh/auth0/auth0-deploy-cli/pull/852?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#diff-c3JjL3Rvb2xzL2F1dGgwL2hhbmRsZXJzL2F0dGFja1Byb3RlY3Rpb24udHM=) | `72.00% <ΓΈ> (ΓΈ)` | | | [src/tools/auth0/handlers/index.ts](https://app.codecov.io/gh/auth0/auth0-deploy-cli/pull/852?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#diff-c3JjL3Rvb2xzL2F1dGgwL2hhbmRsZXJzL2luZGV4LnRz) | `100.00% <ΓΈ> (ΓΈ)` | | | [src/tools/constants.ts](https://app.codecov.io/gh/auth0/auth0-deploy-cli/pull/852?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#diff-c3JjL3Rvb2xzL2NvbnN0YW50cy50cw==) | `100.00% <ΓΈ> (ΓΈ)` | | | ... and [30 more](https://app.codecov.io/gh/auth0/auth0-deploy-cli/pull/852?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

adamjmcgrath commented 1 year ago

Noticed one issue when running e2e tests against a live tenant (using wild mode) and raised SDK-4548

willvedd commented 10 months ago

Keeping this PR closed but restoring the original branch.