"Remember Me" with Socialite
When using Socialite, how should "remember me" work? If "remember" is set to true in
Auth::login()
the cookie gets set, but after the normal session times out, the middleware "AuthenticateSession" checks if a password hash is present. Because there's no password hash when using socialite, it always falls back to ->logout()
.
Anyone knows how to handle this correctly, without logging the user out?0 Replies