chill117 / express-mysql-session

A MySQL session store for the express framework in node
MIT License
313 stars 108 forks source link

bump express-session version to support SameSite policy="None" #104

Closed CheqAI closed 4 years ago

CheqAI commented 4 years ago

current express-session version (1.15.6) depends on cookie version 0.3.1, which doesnt support SameSite="None" policy. it seems like this issue is fixed in express-session 1.17.0, which depends on cookie 0.4.0.

Thank you very much for the support!

CheqAI commented 4 years ago

well, don't know how but magically my problem just resolved itself. im able to receive response from my backend with sameSite="none" policy though it seems the current cookie version doesnt support it.

anyway, im closing. thanks again!

chill117 commented 4 years ago

The latest release of this module now includes the latest version of express-session so the "sameSite" cookie option should be fully supported.

And for future reference: It is possible to provide your own instance of the express-session module by passing it to this module's constructor as shown in the How to Use section of the readme. So in this way it is possible to use this module with a specific version of express-session.