Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Typeerror: Invalid url. magic link issue - Better Auth
BA
Better Auth
•
7mo ago
•
3 replies
Hexi
Typeerror: Invalid url. magic link issue
Hi
, I
've suddenly got this error only in development where ctx
.context
.baseURL is undefined
. Whenever I edit the auth
.ts with manually defining baseURL and removing it it suddenly does work
.
I am using sveltekit
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Magic link invalid url and baseURL issue
BA
Better Auth / help
6mo ago
[TypeError] Invalid URL
BA
Better Auth / help
12mo ago
genericOAuth discoveryUrl TypeError: Invalid URL
BA
Better Auth / help
8mo ago
Magic Link Invalid Token Randomly Appearing
BA
Better Auth / help
10mo ago