I'm trying to find a way to more quickly have a u...
# off-topic
g
I'm trying to find a way to more quickly have a user figure out if they have an RLS issue or are not really signed in when they make the call. It is somewhat painful to narrow down especially if you are not using a browser call where you can see the network tab. And is especially hard if the user is not familiar with authorization headers and how to change RLS quickly for tests. If any of you get a chance I'm curious if this works in your auth-helpers type code:
console.log('user access token?',!(supabase.changedAccessToken===undefined))
This seems to work well for a javascript only client returning true/false as appropriate. Thanks