Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
The returned data type from session on server is incorrect - Better Auth
BA
Better Auth
•
14mo ago
•
2 replies
Bart ⚡
The returned data type from session on server is incorrect
When reading session on the api side
, the dates are returned as date strings
, that
's why some checks
(e
.g
. session freshness
) are not working
(I
'm using Drizzle adapter
)
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Passing down session from the server as initial data
BA
Better Auth / help
4mo ago
Getting session from external server on a different server
BA
Better Auth / help
10mo ago
session data is null despite session cookie
BA
Better Auth / help
7mo ago
How to revalidate session from the server side?
BA
Better Auth / help
3mo ago