NextAuth
use NextAuth to authenticate users
Setup
Add to your Fuma Comment config:
import { createNextAuthAdapter } from "@fuma-comment/server/adapters/next-auth";
import { authOptions } from "@/app/api/auth/[...nextauth]/options";
const auth = createNextAuthAdapter(authOptions);