https://supabase.com/ logo
how can I get the user id of the user who invoked ...
# help
g
how can I get the user id of the user who invoked an edge function?
n
Hello @gorbypark! 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
it doesn't seem like it's in req
g
https://supabase.com/edge-functions see setAuthentication line and next.
g
aha, makes sense, get it from the jwt
thanks!
n
Thread was archived by @gorbypark. Anyone can send a message to unarchive it.