Django Request.user Become AnonymousUser After Third Party Redirect
test.html: authorize views.py: from django.contrib.auth.decorators import login_required @login_required
Solution 1:
The problem was that when I logged the user in initially, I was using the domain localhost:8000
instead of my ngrok instance.
Logging my user in using my ngrok address fixed the problem.
Post a Comment for "Django Request.user Become AnonymousUser After Third Party Redirect"