[Fixed]-Python Social Auth redirecting back to https from facebook login

1👍

I’ve also struggled to get facebook to work in dev.

I’m not sure if this helps your case but the only way I got facebook auth to work (in dev) with python-social-auth (0.2.1) was by adding a host in my hosts file (I’m on mac OS X so n my case /private/etc/hosts), like this:

127.0.0.1 www.dummyurl.com

And in the 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 the log in I get redirected to

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

However, I can only test this login with the user that registered the application.

Again I don’t know if this helps your case I hope it does in a way that you can check a working app configuration.

Hope it helps 🙂

Leave a comment