ChadGPT
BABetter Auth
•Created by ChadGPT on 4/3/2025 in #help
Different frontend and backend URL with social logins
Hi, my backend is hosted on api.mydomain.com while my frontend is hosted on mydomain.com. Everytime I try to login through google social sign-in I get redirected to api.mydomain.com instead.
How can I make better-auth work in this scenario?
4 replies