j4w8n / supakit

A Supabase authentication helper for SvelteKit
38 stars 2 forks source link

breaking: fix client storage #17

Closed j4w8n closed 11 months ago

j4w8n commented 11 months ago

This is a breaking patch. It requires that the server session be passed into createSupabaseLoadClient() as the 3rd argument. This fixes an issue where the supabase client is unauthenticated; causing calls to the db to not return data, even though a user is logged in.