diff --git a/package.json b/package.json index 5bc697d..2f90164 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@neynar/create-farcaster-mini-app", - "version": "1.2.10", + "version": "1.2.11", "type": "module", "private": false, "access": "public", diff --git a/src/auth.ts b/src/auth.ts index 65f3c5f..cf3a653 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -89,6 +89,34 @@ export const authOptions: AuthOptions = { } return session; }, + }, + cookies: { + sessionToken: { + name: `next-auth.session-token`, + options: { + httpOnly: true, + sameSite: "none", + path: "/", + secure: true + } + }, + callbackUrl: { + name: `next-auth.callback-url`, + options: { + sameSite: "none", + path: "/", + secure: true + } + }, + csrfToken: { + name: `next-auth.csrf-token`, + options: { + httpOnly: true, + sameSite: "none", + path: "/", + secure: true + } + } } }