jwt vs cookies in next-auth
we recommend using sessions in t3-app but i don't know why. theo says to use sessions but what are the exact reasons one would pick one over the other while using next-auth?
93 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
meant cookies]
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
dude i really dk the technicalities lol
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
i mean whatever the strategies are in next-auth
one is jwt, other is the thing we use in ct3a
no
jwt vs database sessions?
next auth is using cookies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
jwt is just the encoding
cookie is the way of transport
yes this
oh
oh
adonis uses database sessions
a smaller token and such
but is one way better than the other?