vapor / auth

👤 Authentication and Authorization framework for Fluent.
53 stars 34 forks source link

Sessions not persisted #31

Closed 0xTim closed 6 years ago

0xTim commented 6 years ago

Weird bug that has been reported and is reproducible in Vapor Cloud easily. When using the sessions middleware after authenticating a User the session is not persisted and the user does not appear to be logged in. This has been reported on the RW forums and on Slack. I haven't been able to reproduce locally at all, but have managed to reproduce in Vapor Cloud. If I had to guess it would be that the Session Cache isn't being shared across threads