Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Storing additional data in Server Auth Session - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
1 reply
riccardolardi
Storing additional data in Server Auth Session
I have some DB data
(user profile
) that I
'd like to store alongside
session
session
and
user
user
in Server Auth Session so I can check for it in middleware
. How do you do that
? I would like to fetch it with Prisma
.
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Next-Auth Session in Server Function
TTC
Theo's Typesafe Cult / questions
3y ago
pulling session data on server?
TTC
Theo's Typesafe Cult / questions
2y ago
How to return additional fields from user in session callback next-auth?
TTC
Theo's Typesafe Cult / questions
4y ago