balderdashy / sails

Realtime MVC Framework for Node.js
https://sailsjs.com
MIT License
22.84k stars 1.95k forks source link

Session issue with latest passport js #7305

Open irshadelevision opened 1 year ago

irshadelevision commented 1 year ago

Node version: Sails version (sails): ORM hook version (sails-hook-orm): Sockets hook version (sails-hook-sockets): Organics hook version (sails-hook-organics): Grunt hook version (sails-hook-grunt): Uploads hook version (sails-hook-uploads): DB adapter & version (e.g. sails-mysql@5.55.5): Skipper adapter & version (e.g. skipper-s3@5.55.5):


The latest passport js is not been working with sails session. It will work if the salis session was removed and express-session is used instead.The issue is that non of the files in the assets folder is been loaded if the new passport js is used with sails session.

sailsbot commented 1 year ago

@irshadelevision Thanks for posting! We'll take a look as soon as possible.

In the mean time, there are a few ways you can help speed things along:

Please remember: never post in a public forum if you believe you've found a genuine security vulnerability. Instead, disclose it responsibly.

For help with questions about Sails, click here.