Skip to content
Snippets Groups Projects

Fix cookie problem

Merged Tuan Hoang Dinh Anh requested to merge tuanh/backend-core:main into main
2 files
+ 3
2
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 2
1
@@ -56,8 +56,9 @@ module.exports = {
@@ -56,8 +56,9 @@ module.exports = {
verifyEmailExpirationMinutes: envVars.JWT_VERIFY_EMAIL_EXPIRATION_MINUTES,
verifyEmailExpirationMinutes: envVars.JWT_VERIFY_EMAIL_EXPIRATION_MINUTES,
cookieRefreshOptions: {
cookieRefreshOptions: {
// TODO: change this to true when deploy
// TODO: change this to true when deploy
secure: false,
secure: true,
httpOnly: true,
httpOnly: true,
 
sameSite: 'None'
},
},
},
},
email: {
email: {
Loading