[Django]-Django-social-auth redirect after login

9👍

Set this:

SOCIAL_AUTH_LOGIN_REDIRECT_URL = 'url_you_want'
👤Daniel

3👍

if anyone had this problem in the future, apply this code after url tag tamplate ?next={{ request.GET.next }} example href="{% url "social:begin" "linkedin-oauth2" %}?next={{ request.GET.next }}"

Leave a comment