omab / python-social-auth

Social auth made simple
http://psa.matiasaguirre.net
BSD 3-Clause "New" or "Revised" License
2.83k stars 1.09k forks source link

python-social-auth - FB login issue #1112

Open prabhathkota opened 6 years ago

prabhathkota commented 6 years ago

We are using python social auth version = (0, 2, 12) We updated Facebook APP version from 2.5 to 2.12 We enabled Use Strict Mode for Redirect URIs (This setting going to be mandatory going further) Valid OAuth Redirect URIs

Getting as error below: Can't load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and sub-domains of your app to the App Domains field in your app settings.

Its is effecting all our customers. Kindly let us know on the same.

LennyLip commented 6 years ago

Same here. I tried to add "https;//domain.com/social/complete/facebook" into Valid OAuth Redirect URIs - but no success

prabhathkota commented 6 years ago

Try adding REDIRECT_STATE = False, to below file (seems working for us) Testing in progress.

site-packages/python_social_auth-0.2.12-py2.7.egg/social/backends/facebook.py EXTRA_DATA = [ ('id', 'id'), ('expires', 'expires') ] REDIRECT_STATE = False def get_user_details(self, response): ........

pankti459 commented 6 years ago

This workaround works. Can it be please merged?