Not sure how to formulate the question, but here g...
# help
s
Not sure how to formulate the question, but here goes 🙂 I have a front-end communicating with supabase, and i'm also running a server i'd like to have comunicating with supabase.. both front and back are on the same system i'm creating. How can i have the server communicate with supabase with RLS enabled ? Or do i need to setup a complete login routine for the server ?
n
Hello @Sovak! 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.
g
You can pass the jwt from client to server, you can generate a jwt yourself with user uuid and the jwt secret and you have cookies. A set of routines that might help:https://github.com/supabase-community/supabase-auth-helpers jwt creation or passing it discussed here: https://github.com/supabase/supabase/discussions/6723
n
Sovak (2022-05-09)