From f70372936792869ce90722cf8207dcbd2825f813 Mon Sep 17 00:00:00 2001 From: Peter Phanouvong Date: Tue, 29 Aug 2023 14:18:45 +1000 Subject: [PATCH] samesite lax --- src/handlers/pageRouter/callback.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/pageRouter/callback.js b/src/handlers/pageRouter/callback.js index 1e24387..d66dc4b 100644 --- a/src/handlers/pageRouter/callback.js +++ b/src/handlers/pageRouter/callback.js @@ -48,7 +48,7 @@ export const callback = async (req, res) => { cookie.serialize(`kinde_token`, JSON.stringify(data), { httpOnly: true, expires: new Date(accessTokenPayload.exp * 1000), - sameSite: 'strict', + sameSite: 'lax', secure: true, path: '/' })