-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrading node-auth0 from v3 to v4 (#953)
* Upgrade auth0 to v4 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: frederikprijck <[email protected]> Co-authored-by: Adam Mcgrath <[email protected]> Co-authored-by: Will Vedder <[email protected]>
- Loading branch information
1 parent
f50106f
commit 65ab9d2
Showing
123 changed files
with
14,386 additions
and
18,774 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# V8 Migration Guide | ||
|
||
Guide to migrating from `7.x` to `8.x` | ||
|
||
- [General](#general) | ||
- [Node 18 or newer is required](#node-18-or-newer-is-required) | ||
- [Auth0 V4 Migration Guide](https://github.com/auth0/node-auth0/blob/master/v4_MIGRATION_GUIDE.md) | ||
- [Management Resources](#management-resources) | ||
- [EmailProvider](#emailProvider) | ||
- [Migrations](#migrations) | ||
|
||
## General | ||
|
||
### Node 18 or newer is required | ||
|
||
Node 18 LTS and newer LTS releases are supported. | ||
|
||
## Management Resources | ||
|
||
| Resource | Change | Description | | ||
|---------------|------------------|-----------------------------------------------| | ||
| emailProvider | delete operation | Delete operation is deprecated on auth0 `4.x` | | ||
| migrations | removed support | Not supported on auth0 `4.x` | | ||
|
||
#### Note: Other resources from `7.x` are not affected and no changes are required. | ||
|
||
#### emailProvider | ||
|
||
The `delete` operation on the `emailProvider` resource will disable the email provider instead of deleting it. | ||
This is because the email provider deletion operation is deprecated on auth0 `4.x`. User can disable the email provider | ||
by email provider setting the `enabled` property to `false` from the configuration file. | ||
|
||
```yaml | ||
emailProvider: | ||
# other properties | ||
enabled: false | ||
``` | ||
Rest of the operations on emailProvider resource will work the same as `7.x`. | ||
|
||
#### migrations | ||
|
||
The `migrations` resource is not supported on auth0 `4.x`. It's recommended to remove the `migrations` resource from the | ||
configuration file. If it's not removed, the deploy CLI will ignore the `migrations` resource for operations. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.