make cookie policies relaxed during dev mode in sveltekit-auth-helper #15808
Unanswered
thedelanyo
asked this question in
Feature Requests
Replies: 1 comment
|
Can you provide a minimum repo with this issue? I'm having no problems with http://localhost and cookies |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I don't know but during development the
sb-whateverId-auth-tokencookie 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 theonAuthStateChangeinonMount.Usually when setting and getting cookies, we make it relaxed on dev but secured and
http-onlyduring!dev.All reactions