0
make cookie policies relaxed during dev mode in sveltekit-auth-helper
Source: supabase/supabase#15808 · opened by @thedelanyo
I don't know but during development the sb-whateverId-auth-token cookie refused to be set when localhost is running with http, hence session is null on both server and client. This issue is halve solved when I changed from http to https on localhost. But then I noticed that session is Session on server but null on client, even with https, even when I implemented the onAuthStateChange in onMount.
Usually when setting and getting cookies, we make it relaxed on dev but secured and http-only during !dev.
Usually when setting and getting cookies, we make it relaxed on dev but secured and http-only during !dev.
No pledges yet. Be the first to back this.
Comments
Similar requests
Ability To Reduce Cookie Size by Excluding Metadata
11 votes · 0 comments
Default RLS Policies.
3 votes · 0 comments
Enable Supabase SSR cookies with Vike Cloudflare
1 vote · 0 comments
Disable RLS policies
1 vote · 0 comments
Add Feature to Test + Debug Row Level Security Policies
47 votes · 0 comments
No comments yet.