userCreationScripts
MIN SUPPORTED NODE VERSION: 12.9.0
usage:
git pull
yarn install
bash createUserStaging.sh
and then it'll lead you through the rest of what you need to do
after the initial inputs, it'll take few minutes or so to complete
Explanation
To create and register a new user, we first need to go through a passwordless user creation flow with auth0. Then, we can actually register the account for staging or local via the normal route on the server.
Each instance of the server (local, staging) has its own special token that auth0 uses for the passwordless + registration process. These tokens are found here: https://manage.auth0.com/dashboard/us/dev-zxw62lsu/applications