I want to redirect user to page where he came from, but if it is a new user I want to redirect him to special landing page.
If I set SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/landing/' and start login from /login/facebook/?next=/ — user will be redirected to / instead of /landing/.
Why?
I want to redirect user to page where he came from, but if it is a new user I want to redirect him to special landing page.
If I set
SOCIAL_AUTH_NEW_USER_REDIRECT_URL = '/landing/'and start login from/login/facebook/?next=/— user will be redirected to/instead of/landing/.Why?