MagicLink err_invalid_url
When working locally from my desktop, sending a magiclink via
But when I go to commit my changes which updates the development servers version, it returns ERR_INVALID_URL, and it's returning it from
I'm not sure what I'm doing wrong, where is baseUrl supposed to come from?
My devserver is a subdomain which is handled by Caddy doing a reverse-proxy.
auth.api.signInMagicLink() is working perfectly.But when I go to commit my changes which updates the development servers version, it returns ERR_INVALID_URL, and it's returning it from
node_modules/better-auth/dist/plugins/magic-link/index.mjs:144:31I'm not sure what I'm doing wrong, where is baseUrl supposed to come from?
My devserver is a subdomain which is handled by Caddy doing a reverse-proxy.