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
2 Replies