how to handle multi-server environments?
let's say i want to use react server components with Nextjs but also Hono for api access. would i follow the setup instructions twice: for both next and hono? do i need to link them somehow?
3 Replies
I assume that environment variables (BETTER_AUTH_SECRET, BETTER_AUTH_URL) have to match, but i wonder if there is anything else i have to worry about.
Hono Integration | Better Auth
Integrate Better Auth with Hono.
sorry, you misunderstood me. i have the docs for hono and nextjs. my question is whether i need to keep anything else in sync between the 2 servers except for the env variables