Edge function giving Invalid JWT
I setup a new project to try out the new JWT tokens and keys.
I'm using this in my flutter app:
This is super quick and dirty just to test things out. But the issue is that when I deploy the edge function without --no-verify-wt, I get an error response
When I go onto the UI and test the function, using service or anon role, things work.
I'm not exactly sure what I'm doing wrong. When I initialize supabase, I'm using the new
I'm using this in my flutter app:
This is super quick and dirty just to test things out. But the issue is that when I deploy the edge function without --no-verify-wt, I get an error response
DartError: FunctionException(status: 401, details: {code: 401, message: Invalid JWT}, reasonPhrase: )When I go onto the UI and test the function, using service or anon role, things work.
I'm not exactly sure what I'm doing wrong. When I initialize supabase, I'm using the new
sp_publishable key for the anonKey.