FeatureFuel
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.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests