Search
Setup for Free
TTC
Theo's Typesafe Cult
•
2y ago
gave_one
What is the difference between JWT and session/database in next-auth
.
Theo's Typesafe Cult
Join
26,225
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
N
Neto
•
4/30/24, 10:52 PM
jwt you store the user data into a string
N
Neto
•
4/30/24, 10:52 PM
session
/database you store the data into the database and give the user a identifier
N
Neto
•
4/30/24, 10:53 PM
storing the jwt
/session into a cookie or header or whatever
, gives the same effect
Similar Threads
next auth jwt session
TTC
Theo's Typesafe Cult / questions
3y ago
JWT Session Error in Next Auth
TTC
Theo's Typesafe Cult / questions
3y ago
[next-auth][error][JWT_SESSION_ERROR]
TTC
Theo's Typesafe Cult / questions
3y ago
Next Auth JWT
TTC
Theo's Typesafe Cult / questions
4y ago