Custom db scripts syncronization with dashboard via Auth0 management api. For specific usecase. For general usecases, use https://github.com/auth0/auth0-deploy-cli .
- Register an account at auth0.com
- In dashboard, create a custom database connection
- Create an application and set it to use Auth0 Management API
- Fill up github actions secrets with
DOMAIN
,CLIENT_ID
,CLIENT_SECRET
using application from the previous step. Also addCONNECTION_ID
of the custom db from step 2. - Edit custom db scripts (*.js files in the root of this repo). Commit & push.
- Check Custom Database tab in Auth0 dashboard to see updated custom scripts.