2024-12-24 18:34:50 +03:00

9 lines
257 B
TypeScript

import { authOptions } from '@/config/auth';
import { getServerSession } from 'next-auth/next';
export default async function ProfilePage() {
const session = await getServerSession(authOptions);
return <pre>{JSON.stringify(session, null, 2)}</pre>;
}