Best practices for a monorepo that needs to share sessions across apps? Next.js multizones

Has anyone ever implemented better-auth in a Turborepo monorepo that needs to share auth sessions across apps? I'd love to have my 2 monorepo apps at /feed and / be able to share session state. When someone logs in to one, I also want them logged in to the other, etc. Seems like this could be achieveable with Next multizones since they'll be on the same domain, but not sure how best to approach this from better auth. Maybe an auth package also in my monorepo?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?