feat(auth): add NextAuth.js with credentials provider

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ivan
2026-02-01 06:24:07 +00:00
parent 981783babb
commit a7284925e6
6 changed files with 206 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
'use client';
import { SessionProvider } from 'next-auth/react';
import { ReactNode } from 'react';
interface AuthProviderProps {
children: ReactNode;
}
export function AuthProvider({ children }: AuthProviderProps) {
return <SessionProvider>{children}</SessionProvider>;
}
export default AuthProvider;