I have integrated laravel socialite in my project. When I login with FB using socialite and close the tab and re opens it then I have to do login process again. Is it destroying my session? Any idea?
Asked
Active
Viewed 123 times
1 Answers
0
You can get the id of the user then login with the id
Auth::loginUsingId($userID);

mohamed hassan
- 479
- 3
- 6
-
Hasan I want to login user with their email. – Faisal Shani Apr 04 '20 at 05:29
-
Hi, you can get the id of this user and login with it – mohamed hassan Apr 04 '20 at 17:35