feat(webhook): Auth0 users + Konnect customer provisioning#37
Draft
eliteprox wants to merge 5 commits into
Draft
feat(webhook): Auth0 users + Konnect customer provisioning#37eliteprox wants to merge 5 commits into
eliteprox wants to merge 5 commits into
Conversation
…strap Port the runtime deploy layer from feat/deploy-stack onto feat/go-bootstrap-cli: Kafka, go-livepeer remote signer, OpenMeter/Benthos collector, Railway deploy scripts, and Makefile stack-up/down/logs targets. Docs reference clearinghouse-bootstrap instead of the TS pnpm bootstrap scripts.
Add identity-webhook service (builder-sdk OIDC handler) to the Docker stack and wire remote-signer to it by default. Bootstrap now emits REMOTE_SIGNER_WEBHOOK_URL and OPENMETER_INGEST_URL in .env.livepeer, with PLATFORM_URL override for serverless production deploys.
…omers Use builder-sdk billing webhook config, emit mgmt creds and default plan key from bootstrap, and document POST /admin/customers plus lazy provision on authorize.
Replace raw @openmeter/sdk instantiation so customer provision works against us.api.konghq.com/v3/openmeter, not only openmeter.io URLs.
Wire identity-webhook to builder-sdk v0.6.0 ports; document single-tenant vs multi-tenant billing architecture and pymthouse reference patterns.
3deb669 to
5b683d8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
identity-webhookto@pymthouse/builder-sdk@^0.5.0billing config: lazy Konnect provision on/authorizeandPOST /admin/customersfor Auth0 user + customer creationAUTH0_MGMT_*,OPENMETER_DEFAULT_PLAN_KEY, and compose passes OpenMeter/Auth0 env to the webhook serviceDepends on: builder-sdk v0.5.0 release (stacked on #36)
Test plan
go test ./...@pymthouse/builder-sdk@0.5.0, thendocker compose ... up --build identity-webhookPOST /admin/customerswithWEBHOOK_SECRET→ Konnect customer + subscription/authorize→ lazy provision +auth_id