You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I receive the requests from the frontend with my users's Supabase JWT. I want to use a client with anonymous key and RLS for my requests on the backend. I've been able to set the user token to impersonate them by manually setting the Auth header on the DB instance like this:
should storage support it was well? (currently no way to set headers on the storage client), so I need to implement my own http logic for authenticated storage requests
should we implement something like client.SetToken(userJwt) for to make all requests user-authenticated?
The text was updated successfully, but these errors were encountered:
hey guys!
I receive the requests from the frontend with my users's Supabase JWT. I want to use a client with anonymous key and RLS for my requests on the backend. I've been able to set the user token to impersonate them by manually setting the
Auth
header on theDB
instance like this:Hence, three questions:
storage
support it was well? (currently no way to set headers on the storage client), so I need to implement my own http logic for authenticated storage requestsclient.SetToken(userJwt)
for to make all requests user-authenticated?The text was updated successfully, but these errors were encountered: