This extension makes it possible to import and export users from Auth0, using JSON or CSV (complex or a list of e-mails).
This is a fork of the Auth0 Extension with some things to sweeten the deal.
First create a Client
(single page app) in your account. Then create a config.json
file under ./server/
containing the following settings:
{
"EXTENSION_SECRET": "any-random-value-will-do",
"AUTH0_DOMAIN": "YOUR_DOMAIN", // without "https://"
"AUTH0_CLIENT_ID": "YOUR_CLIENT_ID",
"AUTH0_CLIENT_SECRET": "YOUR_CLIENT_SECRET",
"WT_URL": "http://localhost:3000/",
"AUTH0_RTA": "https://auth0.auth0.com"
}
To run the extension locally:
npm install
npm run serve:dev
After that ngrok
will expose the extension (Auth0 needs to reach out to the extension for authentication).
npm run build
To debug the deployment process you'll need:
npm install -g auth0-extensions-cli
npm install -g wt-cli
npm install -g wt-gallery-cli
npm install -g cross-env