Closed linyiru closed 3 months ago
Import cookies from next/headers to fix the error message: cookies is not defined
cookies
cookies is not defined
This is fixed on master so can be closed https://github.com/lucia-auth/examples/blob/main/nextjs-app/github-oauth/lib/auth.ts#L4
Import
cookies
from next/headers to fix the error message:cookies is not defined