https://supabase.com/ logo
I get `Error: unknown flag: --no-verify-jwt` when ...
# help
c
I get
Error: unknown flag: --no-verify-jwt
when I call
supabase functions deploy my-function --no-verify-jwt
. Am I misunderstanding something?
n
Hello @Chris_Acrobat! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
c
I'm trying to make a GitHub-Discord webhook. I want a post in Discord when a discussion thread is created in GitHub. When I'm trying it Supa is returning
Missing authorization header
(because I made an ordinary deploy). Now I want to add
--no-verify-jwt
(as mentioned here https://supabase.com/docs/guides/functions#:~:text=If%20you%20want%20to%20use%20Edge%20Functions%20to%20handle%20webhooks%20(e.g.%20Stripe%20payment%20webhooks%2C%20or%20chat%20bot%20webhooks%20etc.)%2C%20you%20need%20to%20pass%20the%20%2D%2Dno%2Dverify%2Djwt%20flag%20when%20deploying%20your%20function. ), but when I do I get the error message above.
g
That is how I read the docs too, and I checked the cli source and that is the spelling they use on the flag they check. I've not tried it though.
That was added after the initial function release in cli version 0.25.0
c
I'll verify what version I have installed. I tried updating everything yesterday before posting, but did not verify if supa got an update.
That was the problem. I was rocking
0.23.6
. Thanks for the help!