Search
Setup for Free
BA
Better Auth
•
8mo ago
M_Cavus
api/auth/get-session returns null in prod but works locally
hi
, my backend is made with express
/node
.js and my frontend with nextjs but the get
-session api returns null in production whereas everything works perfectly locally
.
Better Auth
Join
9,552
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
Similar Threads
/api/auth/sign-in/social returns data, cookie is set, /get-session returns null
BA
Better Auth / help
2mo ago
api.auth.getSession returns null
BA
Better Auth / help
5mo ago
GET /api/auth/get-session
BA
Better Auth / help
8mo ago
session always returns null
BA
Better Auth / help
6mo ago