supabase auth with github provider in nextjs api routes

happy thursday!

i should preface this and say im not very experienced with nextjs

im trying to get user information in an api route with nextjs so i can return a list of items with the logged in user's id as an fk, like rendering a specific users posts on a timeline is what its most closely related to.

i am traversing the supabase docs and am closely following along with "Supabase auth with Next JS" and returns null. however if i log out serverClient or serverClient.auth it shows a lot of information so i know a connection is being made though i still feel like im doing something incorrectly. does anyone have any advice on this?

will add code in replies

thanks for looking and if you celebrate thanksgiving, enjoy your holiday.
...if not. its friday eve!
Was this page helpful?