From c6c950f8fa38a392a62d1b21700487f0bcf4cead Mon Sep 17 00:00:00 2001 From: Kevin Jennison Date: Fri, 10 Dec 2021 16:42:10 -0500 Subject: [PATCH] v1.x: Change example app cookies to use SameSite=Lax (#360) * Support default credentials for Firebase Admin * Update README.md * Change example app cookies to use SameSite=Lax Co-authored-by: Scott Prue --- example/utils/initAuth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/utils/initAuth.js b/example/utils/initAuth.js index 50cd5e92..6f225764 100644 --- a/example/utils/initAuth.js +++ b/example/utils/initAuth.js @@ -94,7 +94,7 @@ const initAuth = () => { maxAge: TWELVE_DAYS_IN_MS, overwrite: true, path: '/', - sameSite: 'strict', + sameSite: 'lax', secure: process.env.NEXT_PUBLIC_COOKIE_SECURE === 'true', signed: true, },