jbuck / express-persona

Mozilla Persona integration for Express
http://jbuck.github.com/express-persona
BSD 2-Clause "Simplified" License
66 stars 16 forks source link

So this one is a pickle and a cow .. #8

Closed operatorjen closed 11 years ago

operatorjen commented 11 years ago

If I have a separate authentication api (e.g. Facebook Connect) and they both piggy back on req.session.email and I'm not logged into Persona, it seems as though the session is reset for me even though I'm logged into the other one.

What should I do, Jesus Baby Cow?

jbuck commented 11 years ago

You should set the sessionKey parameter: https://github.com/jbuck/express-persona#optional-options