Better-Auth Not Working In Productions
Hello,
I have been trying to get Better-Auth to work in productions for the Better ð part of the past few days!
I have it working perfectly in development with no issues but when I deploy it to Production (even Pre-Production) via. Vercel; I am unable to signin or anything.
How would I fix this?!
It it related too
I have:
I have been trying to get Better-Auth to work in productions for the Better ð part of the past few days!
I have it working perfectly in development with no issues but when I deploy it to Production (even Pre-Production) via. Vercel; I am unable to signin or anything.
How would I fix this?!
It it related too
baseURL, trustedOrigin or something else?!I have:
https://localhost:3000, *.example.com (which would include my main production and beta.main.production domain) and https://*.vercel.app!Solution
It's the same domain names!
But I did just figure out the issue ð I was using direct connection to my database and not a pooler! So I changed that and it works now ð
But I did just figure out the issue ð I was using direct connection to my database and not a pooler! So I changed that and it works now ð