Open michalhonc opened 3 years ago
similar problem here.
Had the same issue. I was able to solve my issue by upgrading my pg dependency. It was hanging when it would query the postgres database to find the user and password hash via sequelize. Hope this helps.
authenticate function hangs in POST requests on NodeJS v14.x. When I downgrade to v12.x or when I call function inside GET request handler it works as it should.
I've only tried it with ExpressJS and local strategy. I also tried to pass callback function as a second argument but it still hangs.
Environment