How to solve the problem with using facebook login on django with allauth?

allauth installed. All the settings spelled out.
Trying to check on the test LAN to localhost:8000

Made app facebook
5a2e6529baf61784543443.png
On the site, I also made all the necessary settings for allauth
The sites section
5a2e65728ef57260611398.png
He added SOCIALACCOUNT_PROVIDERS through the admin panel
5a2e65d551b46949561593.png
Well, you settings settings.py
SOCIALACCOUNT_PROVIDERS = {
 'facebook': {
 'SCOPE': ['email'],
 'AUTH_PARAMS': {'auth_type': 'reauthenticate'},
 'METHOD': 'oauth2',
 'VERIFIED_EMAIL': False
}
}


If you try to go through facebook
5a2e662361aeb727568326.png

Get the error "unable to load URL: the Domain of this URL is not included in the list of application domains. To download this URL, and add all domains and subdomains your application in the "application Domains" in the settings of your app."
5a2e6654945c8259883598.png

Can anyone come across? Any idea how can I solve this problem?
June 10th 19 at 16:06
1 answer
June 10th 19 at 16:08
Try in the app to specify 127.0.0.1 instead of "localhost".
You know, I've put the project online and set up already all the same, but with real data, but still gives the same error. - Rachel89 commented on June 10th 19 at 16:11

Find more questions by tags DjangoPython