Skip to content

feat(deploy): API-key identity webhook for remote signer#36

Open
eliteprox wants to merge 3 commits into
feat/deploy-stack-go-bootstrapfrom
feat/identity-webhook
Open

feat(deploy): API-key identity webhook for remote signer#36
eliteprox wants to merge 3 commits into
feat/deploy-stack-go-bootstrapfrom
feat/identity-webhook

Conversation

@eliteprox

@eliteprox eliteprox commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds the NodeJS identity webhook for remote signer to authenticate remote signing requests. Initial implementation with simple api-key authentication adapter.

  • identity-webhook — in-compose Node service using builder-sdk API-key provider (not Auth0/OIDC). Resolves sk_* keys from DEMO_API_KEY / DEMO_API_KEYS env.
  • Signer wiringremote-signer depends on identity-webhook; default REMOTE_SIGNER_WEBHOOK_URL=http://identity-webhook:8090/authorize.

Stack

identity-webhook → remote-signer → Kafka → openmeter-collector

No local identity DB — stateless API-key lookup from env.

Quick start

cp deploy/.env.example deploy/.env
docker compose -f deploy/docker-compose.yml --env-file deploy/.env up -d --build \
  kafka identity-webhook remote-signer

Validate webhook authentication response

docker compose -f deploy/docker-compose.yml --env-file deploy/.env exec identity-webhook \
  curl -sS -X POST http://localhost:8090/authorize \
    -H "Authorization: Bearer dev-webhook-secret-change-me" \
    -H "Content-Type: application/json" \
    -d '{"headers":{"Authorization":["Bearer sk_demo_local_key"]}}'

Test plan

  • docker compose … up -d --buildidentity-webhook and remote-signer healthy
  • curl /authorize via docker compose exec identity-webhook returns auth_id: demo-client:demo-user
  • remote-signer starts without manual REMOTE_SIGNER_WEBHOOK_URL override
  • Signer port 8081 published; CLI port 4935 not published

@eliteprox eliteprox changed the title feat(deploy): in-compose Auth0 identity webhook feat(deploy): Add Auth0 identity webhook Jun 17, 2026
@eliteprox eliteprox force-pushed the feat/deploy-stack-go-bootstrap branch 4 times, most recently from f45f9be to f176e2e Compare June 18, 2026 22:16
@eliteprox eliteprox changed the title feat(deploy): Add Auth0 identity webhook feat(deploy): API-key identity webhook and demo UI Jun 18, 2026
@eliteprox eliteprox force-pushed the feat/identity-webhook branch 2 times, most recently from b6eb0b1 to 3deb669 Compare June 18, 2026 22:33
In-compose identity-webhook uses builder-sdk api-key verifier (no Auth0/OIDC).
Wires remote-signer to http://identity-webhook:8090/authorize by default.
@eliteprox eliteprox force-pushed the feat/identity-webhook branch from 3deb669 to 5b683d8 Compare June 18, 2026 22:33
@eliteprox eliteprox changed the title feat(deploy): API-key identity webhook and demo UI feat(deploy): API-key identity webhook for remote signer Jun 18, 2026
Added OPENMETER_URL and OPENMETER_API_KEY placeholders to the .env.example file for integration with OpenMeter services.
@eliteprox eliteprox requested a review from rickstaa June 19, 2026 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant