Next auth session cookie is not set after successful login
As you can see the server send back a set-cookie header, but after redirecting to home session is still null and I can't find the cookie in the application tab.
any idea about what might happened?
11 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Ok I'll try it, thanks
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I wonder why they don't allow it with credentials!
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I also wonder why you're an Ahole
Is that also in the docs?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Good point actually, sorry for misunderstanding your intentions, but the answers in the docs wasn't satisfying, that's why I put the a question here
how using jwt is preventing me from storing the password in the database?
doesn't make since to me
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I'm sorry that's not my question, bc in the example I showed I store the password in the database
with jwt it works fine
but with session it's not
so in my opinion it's just an annoying limitation
unless there is a reason that I don't know
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View