You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
verify_jwt with config.toml not working in local #41693
From what I can tell, verify_jwt isn't working locally or at least working consistently with the deployed environment at supabase.com. I don't have my function defined in the config.toml so I would expect by default verify_jwt would be set to 'true' but it isn't enforced.
In local I can use just an 'apikey' header. Supabase's own API Gateway does 'translate' into an Authorization header in my local and then I can validate the appropriate tokens are set up in my middleware - all what I would expect.
On the deployed environment I get a 401 "Missing authorization header".
For now, my recommendation is to verify_jwt=false, then secure your endpoint using the supabase.js auth integration.
Like described in this section from the incoming docs PR.
Reacted by Joel Ramos, serve, Kumar Utsav and Nils Reichardt
Activity
coderabbitai commentedon Jan 3, 2026
📝 CodeRabbit Plan Mode
Generate an implementation plan and prompts that you can use with your favorite coding agent.
Examples
🔗 Similar Issues
Related Issues
👤 Suggested Assignees
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!
kallebysantos commentedon Jan 4, 2026
Hi @joelpramos 💚 — I hope that you had a happy new year!!
With the introduction of the new API & JWT Signing keys the
verify_jwtwill be disabled since its not compatible with the new methods.We're already working on documenting it #41444.
For now, my recommendation is to
verify_jwt=false, then secure your endpoint using the supabase.js auth integration.Like described in this section from the incoming docs PR.
joelpramos commentedon Jan 4, 2026
This is all good and makes sense - just commenting on the discrepancy in local dev.
kallebysantos commentedon Jan 4, 2026
You may also need to generate local JWKs like described here
Hallidayo commentedon Jun 3, 2026
Hi all, We’re going to close this one due to inactivity. Please feel free to reopen if you’re still having issues here or open a new issue.