How to redirect user to the same page after allauth django?

Viewed 1422

Hello and thank you for your time.

Situation:

I'm using allauth in my Django Project

  • User is on some random page (call it first page) of my site
  • He clicked on Facebook icon and call href="/accounts/facebook/login/?process=login"
  • He sign up with his Facebook account
  • He redirected to LOGIN_REDIRECT_URL = 'some_page', from settings.py

I need redirect him back to the first page. Is it a way of how i can do it?

0 Answers
Related