python-social-auth and facebook login: what is the whitelist redirect url to include in fb configuration?

白昼怎懂夜的黑 提交于 2020-01-25 16:34:11

问题


I was getting this facebook login error:

URL Blocked This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs.

Facebook login requires whitelisting of the call-back url.

what is the call back url for django-social-auth or python-social-auth ?


回答1:


include a url to your website that is the absolute url version of this relative url: /complete/facebook/

how to find this out? use Chrome browser dev tools, enable preserve log, try to login to your app.

This question / answer is for django-social-auth but likely applies to python-social-auth too.



来源:https://stackoverflow.com/questions/37662390/python-social-auth-and-facebook-login-what-is-the-whitelist-redirect-url-to-inc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!