Already I have integrated the Laravel default Auth in my application now I want to integrate social logins with it.
Here is the work flow
1.get user details(social_id,name,email,profile_pic) from socialite
2.check the user existence with email ,if its exists execute auth::login
,
otherwise create a new record in users table and redirect to profile.
When a user remove email-id during Facebook auth Approval page I will get
$user-getEmail()
as null so in this case above workflow is not applicable since everything is depend on user email so how can I handle this situation