© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Typeerror: Invalid url. magic link issue - Better Auth
BA
Better Auth
•
8mo 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
Recent Announcements
Similar Threads
Magic link invalid url and baseURL issue
BA
Better Auth / help
8mo ago
[TypeError] Invalid URL
BA
Better Auth / help
14mo ago
genericOAuth discoveryUrl TypeError: Invalid URL
BA
Better Auth / help
10mo ago
Magic Link Invalid Token Randomly Appearing
BA
Better Auth / help
11mo ago