I can use python-social-auth with no problem in my local environment.
When I try to deploy the server code online with domain http://app.mydomain.com, I got some problems.
I set REDIRECT URI in instagram backend to http://app.mydomain.com, and add some settings in the settings file: (I got the settings from here)
SOCIAL_AUTH_LOGIN_REDIRECT_URL = 'http://app.mydomain.com/'
SOCIAL_AUTH_SANITIZE_REDIRECTS = False
But the redirect_uri sent from my server is still http://127.0.0.1:8000. I think that's from gunicorn? but I don't know what's the best way to change that.
I can use python-social-auth with no problem in my local environment.
When I try to deploy the server code online with domain http://app.mydomain.com, I got some problems.
I set REDIRECT URI in instagram backend to http://app.mydomain.com, and add some settings in the settings file: (I got the settings from here)
But the redirect_uri sent from my server is still http://127.0.0.1:8000. I think that's from gunicorn? but I don't know what's the best way to change that.