Files
hats-app/pages/api/auth/[...nextauth].ts
T
Ichsan Kurniawan 7f8e6637e4 Move auth config and build admin menus
Extract NextAuth configuration into a shared library, load admin sidebar items from role permissions, and update related RBAC types and UI.
2026-11-06 18:25:54 +07:00

5 lines
112 B
TypeScript

import { authOptions } from "@/lib/auth"
import NextAuth from "next-auth"
export default NextAuth(authOptions)