1

I have a test app (React front end on Netlify and Node Js Back End on Heroku). Finally, i have two different domains. Due to new Chrome Update i know i have to set the Secure Option if my SameSite Option is set as 'None'.

server.express.use(session({
  name: 'sessionID',
  secret: process.env.TOKEN,
  resave: true,
  saveUninitialized: false,
  cookie: {secure: true, sameSite: 'None', proxy: true}
}))

But with this configuration, on Safari my cookie is received as SameSite='Strict'. How i can solve this ?

Thank you.

mickatdj
  • 21
  • 3
  • 1
    [This](https://stackoverflow.com/a/58652141/9636400) might help you. – geertjanknapen Mar 09 '20 at 13:41
  • 1
    Does this answer your question? [Safari not sending cookie even after setting SameSite=None; Secure](https://stackoverflow.com/questions/58525719/safari-not-sending-cookie-even-after-setting-samesite-none-secure) – rowan_m Mar 11 '20 at 11:50

0 Answers0