Rakesh Kumar
BABetter Auth
•Created by rhys on 4/21/2025 in #help
Cookies amongst multiple tenants, subdomains, and custom domains for a SaaS
I don't think there is any for my usecase (ping confirmed) ..but in your case you if you are not concerns about your tenants users..you can use the work around I have described above...for code example just check the vercel platform stater repo
9 replies
BABetter Auth
•Created by Rakesh Kumar on 4/21/2025 in #help
How do I implement authentication for tenant's clients with better-auth ?
okay..let me check..thank you
3 replies
BABetter Auth
•Created by rhys on 4/21/2025 in #help
Cookies amongst multiple tenants, subdomains, and custom domains for a SaaS
I have been working on a similar project..it's in next js...to implement tenant specific authentication..I took inspiration form vercel platform starter kit ..however I am stuck on how to do authentication for tenants customers...just asked for help here also some times back..anyway you could do something similar for your app...you can implement auth directly on
subdomain.maindomain.com
....I could not figure out either how to make crossSubdomainCookies
work properly..9 replies