Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python-social-auth - FB login issue #1112

Open
prabhathkota opened this issue Mar 26, 2018 · 3 comments
Open

python-social-auth - FB login issue #1112

prabhathkota opened this issue Mar 26, 2018 · 3 comments

Comments

@prabhathkota
Copy link

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
Copy link

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

@prabhathkota
Copy link
Author

prabhathkota commented Mar 27, 2018

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
Copy link

This workaround works. Can it be please merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants