Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOCIAL_AUTH_NEW_USER_REDIRECT_URL strange behaviour #276

Closed
yetanotherape opened this issue May 14, 2014 · 1 comment
Closed

SOCIAL_AUTH_NEW_USER_REDIRECT_URL strange behaviour #276

yetanotherape opened this issue May 14, 2014 · 1 comment

Comments

@yetanotherape
Copy link

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?

@omab omab closed this as completed in 53c85d4 May 15, 2014
@omab
Copy link
Owner

omab commented May 15, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants