Closed squeezeday closed 1 year ago
As done in https://github.com/nextauthjs/next-auth-example/blob/main/pages/api/auth/%5B...nextauth%5D.ts Needed in const session = await getServerSession(req, res, authOptions)
const session = await getServerSession(req, res, authOptions)
Adjust Nextjs example to follow next-auth-example
Issue #929
As done in https://github.com/nextauthjs/next-auth-example/blob/main/pages/api/auth/%5B...nextauth%5D.ts Needed in
const session = await getServerSession(req, res, authOptions)
Description
Adjust Nextjs example to follow next-auth-example
Related Issues
Issue #929