Hi here, junior webdev, building a web app with Sv...
# javascript
s
Hi here, junior webdev, building a web app with Sveltekit and Supabase. I'm having a hardtime getting getUserByCookie to work, and all the documention is giving me is: "For server-side management, you can get a user through auth.api.getUserByCookie()" Help would be appreciated 🙂
g
You might look thru this repository for some ideas on server side code. There is also a sveltekit version in the works. https://github.com/supabase-community/supabase-auth-helpers