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
heneftees
henefteesOP2w ago
This is the breaking change
No description
heneftees
henefteesOP2w ago
So i dont know whether 1) getSession flow should be fixed; or 2) send magic link flow should be fixed; or 3) some other fix

Did you find this page helpful?