Declarative Auth0 provisioning for the Livepeer remote signer identity webhook.
Scripts-only — not importable as a Node library. Run npm run deploy or npm run export; do not import from this package.
Provisions: livepeer API (sign:job), public device-flow client, M2M client, and client grants via tenant.yaml and the Auth0 Deploy CLI.
- Auth0 tenant (e.g.
your-org.us.auth0.com) - Management M2M app authorized for Auth0 Management API with
read/create/updatescopes for clients, resource servers, and client grants
npm install
cp .env.example .env
# edit .env — variables load automatically
npm run deployWrites .env.livepeer with webhook + client credentials. See .env.example for all variables.
npm run exportWrites ./export/tenant.yaml from the live tenant (override with EXPORT_OUTPUT_DIR).
| Resource | Purpose |
|---|---|
Resource server ##API_AUDIENCE## |
JWT aud + sign:job scope |
| Public client | Device code + refresh token (RFC 8628) |
| M2M client | client_credentials |
| Client grants | Both clients → sign:job |
Keyword placeholders ##APP_NAME## and ##API_AUDIENCE## are replaced at deploy time.
See go-livepeer/doc/remote-signer.md.
# after deploy — load generated output for webhook/signer processes
export $(grep -v '^#' .env.livepeer | xargs)
go run ./cmd/remote_signer_webhook -addr :8090
./livepeer \
-remoteSigner \
-remoteSignerWebhookUrl http://127.0.0.1:8090/authorize \
-remoteSignerWebhookHeaders "Authorization:Bearer ${WEBHOOK_SECRET}" \
...