Double Session Validation with Separate Express Backend

Using Better Auth with MERN stack (separate Next.js frontend + Express backend). Currently hitting the database twice per request:

Next.js middleware validates session → DB query
Next.js calls Express API
Express middleware validates same session → DB query again

With NextAuth, I just validated once on the backend. What's the recommended Better Auth pattern to avoid duplicate validation when frontend and backend are separate servers?
Should Express handle all validation and Next.js just forward requests with cookies?
Was this page helpful?