fres
BABetter Auth
•Created by fres on 2/11/2025 in #help
How to handle niche case with multi-tenant
I am currently running better-auth at
app.domain.com
this is the place where my users can have their dashboard, and so I authenticate them (email/pass, google and github) and I use better-auth for that (so my BASE_URL of better auth is: app.domain.com
).
Each user can create its own example.domain.com
, at this site the I need to authenticate the visitors of my user's site, with only magic link, google and github.
So, I think, I cannot use better-auth for that, and TBH I have no idea on how to handle this situation, any ideas? Ik it's not completely related to better auth, but probably there's already something built-in to handle this situation that I cannot found.
Thank to y'all! ❤️ for the amazing package
P.S. I read all the doc of Admin and Organization, but I realized that it's not probably what I am looking for.3 replies