This repository contains code that migrates user_type from user_metadata to app_metadata in Auth0.
Steps to execute:
-
Install dependencies:
npm install
-
Run users export:
npm run trigger-export-job
- Check job status:
npm run check-export-job
-
Download file from Auth0 and save it in root folder of the project.
-
Run migration:
npm run migration