Stripe web-hook config issue

Hi, I have setup a Supabase stripe-webhook and added that URL on stripe Test portal to call back upon checkout.session.completed event is called from stripe. But it’s failing to call stripe-webhook edge function as ,by default, it has “Verify JWT with legacy secret” enabled. the error message I am seeing on stripe portal is “Missing Authorization header”. If I disabled this JWT configuration on the stripe-webhook edge function, it works fine. For some reason , After a while, this flag is getting enabled back again. Please help me with this issue. Every stripe integration needs an open webhook right without JWT. How to make it disabled all the time.
2 Replies
garyaustin
garyaustin2w ago
Are you setting it off in your deploy process if you redeploy? supabase functions serve hello-world --no-verify-jwt Or in the .toml file https://supabase.com/docs/guides/functions/development-tips#using-configtoml ?
BrightMind2024
BrightMind2024OP7d ago
Let me try that Thanks

Did you find this page helpful?