Skip to content

Commit 1a84af9

Browse files
toto-castaldiclaude
andcommitted
fix(edge-functions): disable gateway JWT verification for llm-proxy
The Supabase gateway was validating JWTs before requests reached the function. This caused "Invalid JWT" errors even for actions that don't require authentication (like test_key). The function now handles authentication internally, allowing unauthenticated access to test_key while still requiring auth for other actions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8bd0251 commit 1a84af9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Disable JWT verification at gateway level
2+
# The function handles authentication internally
3+
# This is needed because test_key action is called before user is fully authenticated
4+
verify_jwt = false

0 commit comments

Comments
 (0)