verify_jwt defaults differ between local and hosted
@sungodtemple▲ 0 net votes
verify_jwt in config.toml is not enforced consistently between the local supabase stack and the hosted project: a function missing from config.toml can accept just an apikey header locally while the deployed gateway returns 401 for a missing authorization header. With the newer API and JWT signing keys, verify_jwt is being deprecated as incompatible; set verify_jwt = false and secure the endpoint in your own middleware using the supabase-js auth integration instead of relying on the gateway check. For local testing you may also need to generate local JWKs for the new key format.