I am using Socialite for Facebook registration/authentication and it's working great when user accepts all the permissions on Facebook. But I have a problem when user declined one of the permission - especially the e-mail which is necessary in my application to create an account. If the user did it in a mistake and would still like to use Facebook authentication I have to send to Facebook API request with auth_type=rerequest
From Facebook Docs:
If someone has declined a permission for your app, the login dialog won't let your app re-request the permission unless you pass auth_type=rerequest along with your request.
Is there any way to send that by Socialite?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire