Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
getSession does not work when baseURL is set - Better Auth
BA
Better Auth
•
6mo ago
•
2 replies
heneftees
getSession does not work when baseURL is set
This baseURL in the context is now needed because of a breaking change that I updated into
https://github.com/better-auth/better-auth/blob/a066293b35221aafd5b1ce5c814805bc9d816aa0/packages/better-auth/src/plugins/magic-link/index.ts#L192
Do mind that im doing a server
-only approach for better
-auth
GitHub
better-auth/packages/better-auth/src/plugins/magic-link/index.ts at...
The most comprehensive authentication framework for TypeScript
- better
-auth
/better
-auth
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
getSession doesn't work
BA
Better Auth / bug-reports
8mo ago
GenerateId being set to false does not work for sessions
BA
Better Auth / bug-reports
10mo ago
setActiveOrganization(null) not working when using cookieCache
BA
Better Auth / bug-reports
15mo ago
getSessionCookie does not work in middleware
BA
Better Auth / bug-reports
11mo ago