chore: update bean
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
---
|
||||
# nuzlocke-tracker-eg7j
|
||||
title: Fix JWT verification failing in local dev (HS256 fallback)
|
||||
status: in-progress
|
||||
status: completed
|
||||
type: bug
|
||||
priority: normal
|
||||
created_at: 2026-03-22T08:37:18Z
|
||||
updated_at: 2026-03-22T08:37:18Z
|
||||
updated_at: 2026-03-22T08:38:57Z
|
||||
---
|
||||
|
||||
Local GoTrue signs JWTs with HS256, but the JWKS migration only supports RS256. The JWKS endpoint returns empty keys locally, causing 500 errors on all authenticated endpoints. Add HS256 fallback using SUPABASE_JWT_SECRET for local dev.
|
||||
|
||||
## Summary of Changes\n\nAdded HS256 fallback to JWT verification so local GoTrue (which signs with HMAC) works alongside the JWKS/RS256 path used in production. Added `SUPABASE_JWT_SECRET` config setting, passed it in docker-compose.yml, and updated .env.example files.
|
||||
|
||||
Reference in New Issue
Block a user