Fix JWT verification failing in local dev (HS256 fallback) #80
Reference in New Issue
Block a user
Delete Branch "feature/fix-jwt-verification-failing-in-local-dev-hs256-fallback"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/.well-known/jwks.jsonendpoint returns an empty key set locally, causing 500 errors on all authenticated endpoints._verify_jwttries JWKS/RS256 first, then falls back to verifying withSUPABASE_JWT_SECRET(HS256). Production (Supabase Cloud) is unaffected.supabase_jwt_secretconfig setting, wired it throughdocker-compose.ymland.env.examplefiles.Test plan
docker compose upand verify authenticated requests (e.g.POST /api/v1/runs) no longer return 500