Get auth user in function

Hi,
How can I get the authenticated user in a Supabase function? I'm trying to access the user's oauth'd github user id, but I can't even figure out how to authenticate the user at all.
Thanks.
Was this page helpful?