Hi.
i was pretty sure to have send a message today, but it does not show up in the list. So:
i've read that someone in the past had the same problem, but from that massage i was not able to figure out what to do.
basically, i've pages protected with login_required. if a user goes to one of that pages and he's not logged in it's redirected to my /login page. Django puts a ?next=XXX attached to /login where XXX is the page the user required.
Now, in the login page i've the button "login with facebook" like this
<a href="{% url socialauth_begin 'facebook' %}">Login with Facebook</a>
but once logged in the user is redirected to the LOGIN_REDIRECT_URL = '/' instead of the XXX page.
i guess this is beacues i've to pass the XXX in the reverse function.
but how can i do that?
social_auth doesn't have a config for this?
thanks.
ciao