If the page is a specific event. The user can log in using django social auth, but redirect them to a static URL, with the option below
SOCIAL_AUTH_LOGIN_REDIRECT_URL = '/dashboard/'
I was wondering if there is a dynamic way to redirect to the page where they entered. I tried this, but it did not work.
{% url socialauth_begin 'facebook' %}?redirect_uri={{ request.get_full_path }}
Any suggestions would be greatly appreciated.
Matthew
source share