maybe the user is already logged in? it is sending the sessionid and the
server is authenticating checking the sessionid

On Thu, Oct 13, 2016 at 10:09 PM, Garry <garry.m.brot...@gmail.com> wrote:

> Hi.
>
> I'm porting a legacy Django+mod_python application to Django+WSGI on
> Apache httpd 2.4 (Linux) and cannot get user authentication to work. It's
> not that authentication is running and failing or that it's reporting
> errors, it's simply not running at all. When my WSGI-authenticated URL is
> accessed, I do trace into Django code so it's not like I'm completely
> misconfigured but the *check_password* function (and the *login* and
> *authenticate* functions too) are never invoked. Similarly, my configured
> backend database class initializes but its *load* method is never called.
> I'm using out-of-the-box Django authentication classes, have followed
> Django's (excellent) mod_wsgi integration instructions
> <https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/apache-auth/>
> and still don't see any attempt at authentication. I'm at a loss how to
> debug this further; thoughts or suggestions, please?
>
> Thanks, Garry
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/f5a05e13-42c8-4c81-bda1-0593a6a40c13%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/f5a05e13-42c8-4c81-bda1-0593a6a40c13%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6tLij8DztOP1UjTboVMBK4UXc7Y2Ra9qo0Wb5g1Uy1j3JQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to