2.1 KiB
2.1 KiB
Deploy Result — Bearer Auth Fix
Date: 2026-06-17
Commit deployed: 6ca0ca6
Service: hermes-mcp
Status: ✅ Deployed and verified
Deploy performed
cd ~/hermes-mcp
docker build -t localhost:32000/hermes-mcp:6ca0ca6 .
docker push localhost:32000/hermes-mcp:6ca0ca6
# updated hermes-k8s.yaml image → localhost:32000/hermes-mcp:6ca0ca6 (not committed)
microk8s kubectl apply -f hermes-k8s.yaml
microk8s kubectl rollout status deployment/hermes-mcp -n fetcherpay
Pod status
NAME READY STATUS RESTARTS AGE IP NODE
hermes-mcp-7988bbc955-c9w2r 1/1 Running 0 ... 104.190.60.129 art0
Verification
The Bearer auth fix was verified against an endpoint that resolves the customer via requireAuth (/api/connections).
Test key: 941431eed80f48998e2076fcecd85164
With Authorization: Bearer <api_key>
curl -H "Authorization: Bearer 941431eed80f48998e2076fcecd85164" \
https://hermes.squaremcp.com/api/connections
Result:
{"customerId":"d35c7c6a-b47c-4975-afef-656170772705","connections":{"email":false,"whatsapp":false,"linkedin":false,"telegram":false,"discord":false,"instagram":false,"twitter":false,"tiktok":false,"snapchat":false,"facebook":true,"obsidian":false}}
✅ 200 OK — customer resolved via Bearer token.
With x-api-key header (regression check)
curl -H "x-api-key: 941431eed80f48998e2076fcecd85164" \
https://hermes.squaremcp.com/api/connections
Result: same customer JSON ✅
Note on /api/auth/me
GET /api/auth/me only returns user data when authenticated via session cookie (req.jwtUser). It returns {"error":"Not authenticated"} for API-key or Bearer-token auth, which is the existing behavior of that endpoint — not a regression from this fix.
Notes
microk8s ctr image import -hung (same containerd issue as previous deploys), so the image was pushed tolocalhost:32000registry instead.hermes-k8s.yamlimage tag was updated locally but not committed.
Related docs
- Handoff:
SquareMCP/AI-Context/2026-06-17-claude-handoff-bearer-auth-fix.md