BetterAuth

use BetterAuth to authenticate users

Setup

Add to your Fuma Comment config:

lib/comment.config.ts
import { createBetterAuthAdapter } from "@fuma-comment/server/adapters/better-auth";
import { auth as betterAuth } from "@/lib/auth";
 
const auth = createBetterAuthAdapter(betterAuth);

On this page