Better AuthBA
Better Auth4mo ago
dj

Same app on multiple subdomains

Hi, I have the same better auth app serving multiple subdomains: admin.mysite.com and app.mysite.com. I'm running behind an AWS ALB, and want my social redirect urls to be customized so that I can enforce https for redirect urls. So far, I can't find a way to do this. My app is using hono.js on node.


Is this a bug in better auth, that it isn't detecting the X-Forwarded-Proto header for these redirects? I figured I shouldn't have to set anything up for this to work, but I can't get the redirect url to use https.
Was this page helpful?