Last active
November 7, 2022 20:55
-
-
Save balazsorban44/c8bf5394a1e05958dbc3d071c5672b72 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// app/page.jsx | |
import { unstable_getServerSession } from "next-auth/next" | |
export default async function Page() { | |
const session = await unstable_getServerSession() | |
return <pre>{JSON.stringify(session, null, 2)}</pre> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment