[Answer]-Django Social Auth redirect to url with Port number

1👍

Thank you to Charlie who pointed me to the right direction.

The only thing i had to do was add this line to my nginx server config:

proxy_set_header Host $host;

and this like to the django settings

USE_X_FORWARDED_HOST = True

Now it works perfectly

Leave a comment