You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
SOCIAL_AUTH_NEW_USER_REDIRECT_URL was being ignored if ?next=... was present, I've switched the ordering there since I think it's the correct behavior for new users.
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?
The text was updated successfully, but these errors were encountered: