Commit History
-
fix(auth): validateApiKey accepts Bearer pattern used by worker
CognxSafeTrack +1: Claude Sonnet 4.6The worker's api-client.ts sends Authorization: Bearer ADMIN_API_KEY, not x-api-key. Without this fix all worker→API internal calls would get 401 after the preHandler security chain was wired. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>c5813d5