title: Using Laravel Socialite to connect facebook and validating user permissions
body: <p>Currently I am creating website that allow user login by their facebook. and the website require their email.</p>
  
  <p>the problem is how to facebook authorization with require their email.
  but when the user doesn't give their email permission, how to cancel the authorization process.</p>
  
  <p><em>I know facebook docs tell me, that facebook was not guarantee we grab the user email. but how to cancel when the user does not allow their email in permission list</em></p>
  
  <blockquote>
    <p><a href="https://developers.facebook.com/docs/facebook-login/permissions/v2.3" rel="nofollow noreferrer">https://developers.facebook.com/docs/facebook-login/permissions/v2.3</a></p>
    
    <p>email</p>
    
    <p>Provides access to the person's primary email address via the email
    property on the user object.</p>
    
    <p>Do not spam users. Your use of email must comply with both Facebook
    policies and with the CAN-SPAM Act.</p>
    
    <p>Note, even if you request the email permission it is not guaranteed
    you will get an email address. For example, if someone signed up for
    Facebook with a phone number instead of an email address, the email
    field may be empty.</p>
    
    <p>Review Your app may use this permission without review from Facebook.</p>
  </blockquote>
  
  <p><em>when user disable their email permissions picture :</em>
  <img src="https://i.stack.imgur.com/MSPOf.png" alt="user disable their email permissions picture"></p>