better-auth - convex - nextjs - expo

Hi. So I am building a monorepo with nextjs and expo apps, and convex with better auth as backend. And in order for me to share the backend auth I had to use crossDomain plugin, and everything works but now my session is saved in localStorage and I can't have access to it in the server components. Is there some workaround for this? I would like to have session in cookies for web app, and then in storage for expo app.
Thanks in advance!
Was this page helpful?