RLS Policy not working with JWT (Auth0)
Hello all,
I'm having issues getting RLS working when sending a JWT to Supabase. I'm signing the JWT with he Supabase signing secret and sending the payload as shown below:
I'm sending the JWT (access token) when trying to get table data
But even when there user_id should match and return some results it does not. Here is my SQL below:
and my select policy
Any idea's on why this won't work? Thanks!
I'm having issues getting RLS working when sending a JWT to Supabase. I'm signing the JWT with he Supabase signing secret and sending the payload as shown below:
I'm sending the JWT (access token) when trying to get table data
But even when there user_id should match and return some results it does not. Here is my SQL below:
and my select policy
Any idea's on why this won't work? Thanks!