Commit 0f8f48a
committed
fix(enrich): set verify_jwt=false, rely on per-route authMiddleware for protected routes
The /webhook/:id route uses token+id-based auth (like backend webhooks)
and should not require a JWT at the Supabase gateway.
- verify_jwt = false on the enrich function
- authMiddleware applied to /person and /person/bulk routes (accepts service role OR user JWT)
- /webhook/:id route stays unauthenticated at gateway level
- Re-tested: auth flows work, webhook accessible without JWT1 parent 481bf84 commit 0f8f48a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| |||
0 commit comments