Skip to content

Commit

Permalink
Update sessionConfig.js to set sameSite attribute to 'none'
Browse files Browse the repository at this point in the history
  • Loading branch information
OomsOoms committed Oct 4, 2024
1 parent bdbc88d commit abbd638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/config/sessionConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = session({
maxAge: 1000 * 60 * 60 * 24 * 7,
secure: isProduction,
httpOnly: true,
sameSite: 'Lax',
sameSite: 'none',
//domain: process.env.BACKEND_DOMAIN, // dont seem to work
//path: '/',
},
Expand Down

0 comments on commit abbd638

Please sign in to comment.