omab/django-social-auth — Issue #157: Trouble with redirect URL, gunicorn, nginx
Author: heliotropic
Created: 2011-10-09 10:26:18+00:00
State: open

This might be a really stupid question. Apologies to you if so. I'm running Django under Gunicorn and Nginx - Gunicorn serving to Nginx via localhost (127.0.0.1:1234). Unfortunately, when I authenticate with social platforms, the redirect URL social-auth is sending them to is 127.0.0.1:1234/twitter/complete, which obviously can't be resolved by the client's browser

What do I need to do to fix this problem? Is there a way I can globally fix the supplied host within social-auth?