jaredhanson / passport

Simple, unobtrusive authentication for Node.js.
https://www.passportjs.org?utm_source=github&utm_medium=referral&utm_campaign=passport&utm_content=about
MIT License
22.94k stars 1.24k forks source link

Unknown Authentication Strategy OpenId Line# 167 authenticate.js #305

Open satyadutt opened 9 years ago

satyadutt commented 9 years ago

I am getting this error when I deployed my code in a clustered environment. After digging some code, I came to know that the strategy name is being stored in the memory.

This is causing problems when it is being run in a clustered environment with a round robin load balancer. Is there anyway I can overcome this error?

zaheerehmad commented 6 years ago

It still exists, Is there any workaround to achieve this? I am using oAuth strategy with load balancer. On redirect callback, it gives an error Unknown Authentication Strategy.