python-social-auth icon indicating copy to clipboard operation
python-social-auth copied to clipboard

python-social-auth - FB login issue

Open prabhathkota opened this issue 7 years ago • 3 comments

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.

prabhathkota avatar Mar 26 '18 13:03 prabhathkota

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

LennyLip avatar Mar 26 '18 18:03 LennyLip

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): ........

prabhathkota avatar Mar 27 '18 07:03 prabhathkota

This workaround works. Can it be please merged?

pankti459 avatar Jul 17 '18 15:07 pankti459