Hi everyone,
I’m trying to implement Better Auth in a frontend–backend separated architecture and I’m stuck on Google OAuth.
Environment
Frontend: Next.js
Backend: Hono (Node runtime)
Auth: Better Auth
Database: PostgreSQL (Drizzle adapter)
Flow: Google OAuth login
In a monolithic Next.js setup, Google login works fine.
in fe i use
await authClient.signIn.social({
provider: "google",
});
but nothing happen just show response {"message":"OK"}