#28699: Problem with CSRF in Django 1.11.6
--------------------------+--------------------------------------
     Reporter:  stephanm  |                    Owner:  nobody
         Type:  Bug       |                   Status:  new
    Component:  CSRF      |                  Version:  1.11
     Severity:  Normal    |               Resolution:
     Keywords:            |             Triage Stage:  Unreviewed
    Has patch:  0         |      Needs documentation:  0
  Needs tests:  0         |  Patch needs improvement:  0
Easy pickings:  0         |                    UI/UX:  0
--------------------------+--------------------------------------

Comment (by stephanm):

 Hi Florian,

 just commented out the "rotate_token(request)" line in login as you told
 me.

 **Now it works again.**

 Perhaps I am doing something wrong too, I didn't understand exactly the
 csrf workflow.
 I use Apache on Windows with a plugin which allows me to use NTLM as
 Single Sign On.
 My django runs as reverse proxy and gets the remote_user from apache,
 which is intended for the normal users which come with their browsers.

 But my c# application does a normal login.

 Is there some howto explainig how an external program c#
 should login, showing when and how the csrf tokens
 appears in the cookies during the HTTP conversation
 and what of them should be taken?

 Thanks.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28699#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.4ec66f9b60f07d92da4e05110c124609%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to