django - Python Social Auth redirecting back to https from facebook login -


facebook login redirecting https url when should going http

correct url: http://127.0.0.1:8000/social/complete/facebook/?redirect_state=

after facebook login, url being redirected https://127.0.0.1:8000/social/complete/facebook/?redirect_state=

developers.facebook.com app 'valid oauth redirect uris' set http://127.0.0.1:8000

i've set social_auth_redirect_is_https = false in settings.py hasn't solved issue.

i've struggled facebook work in dev.

i'm not sure if helps case way got facebook auth work (in dev) python-social-auth (0.2.1) adding host in hosts file (i'm on mac os x n case /private/etc/hosts), this:

127.0.0.1 www.dummyurl.com 

and in config (facebook developers app page settings):

basic:

site url

http://www.dummyurl.com:8000/

advanced:

deauthorize callback url

http://www.dummyurl.com:8000/

valid oauth redirect uris

http://www.dummyurl.com:8000/

after log in redirected

http://www.dummyurl.com:8000/#_=_

however, can test login user registered application.

again don't know if helps case hope in way can check working app configuration.

hope helps :)


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -