Open stlbucket opened 1 year ago
i believe i am simply confused thinking that the cookie just needs to be there, and not each piece of it as a separate header:
https://supabase.nuxtjs.org/usage/services/server-supabase-client
useRequestHeaders(['cookie'])
should fix this for me, yes? i am using the nuxt-graphql-client, so I think this may be my real question:
https://github.com/Diizzayy/nuxt-graphql-client/discussions/343
actually no. i was able to add cookie headers to my request (on first call. still maybe a dependency on the other issue):
'sb-refresh-token': 'OpuhlJ6B.......',
'sb-access-token': 'eyJhbGciOiJIU........',
still no values being returned for getSession or refreshSession
Is there another header I need to provide in order for serverSupabaseClient to find a session?
I have the following server middleware:
my output always looks like this:
i can manually parse the cookie down the chain.