Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Update auth-options.tsx (#921)

Ameer Al Ashhabd4ec8d8e3a14
diff --git a/packages/database/auth/auth-options.tsx b/packages/database/auth/auth-options.tsx
index 3be56d58f..b728e0fab 100644
--- a/packages/database/auth/auth-options.tsx
+++ b/packages/database/auth/auth-options.tsx
@@ -115,7 +115,7 @@ export const authOptions = (): NextAuthOptions => {
name: `next-auth.session-token`,
options: {
httpOnly: true,
- sameSite: "lax",
+ sameSite: "none",
path: "/",
secure: process.env.NODE_ENV === "production",
},