I have a flow in my django application in which I redirect the user to another service (e.g. PayPal) which after some its own processing, returns the user back on my own ser
You can Use @csrf_exempt decorator to excempt csrf token for this you have to import
@csrf_exempt
from django.views.decorators.csrf import csrf_exempt
then write @csrf_exempt before your view
this will work properly :)