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
•
7mo ago
•
1 reply
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
Setting baseUrl doesn't work when BETTER_AUTH_URL does
BA
Better Auth / help
9mo ago
`baseURL` not working
BA
Better Auth / help
2mo ago
to set a cookie does not work
BA
Better Auth / help
8mo ago
getSession is not returning userAgent
BA
Better Auth / help
9mo ago