Questions tagged [remoteusermiddleware]
6 questions
4
votes
1 answer
Django adding Remote Users with admin site
I am running a Django site on a Shibboleth-enabled server, thus using the Remote User authentication backend. All users are authenticated via this service (like LDAP). This works for me. My site is locked down, however, so that only users that…

user
- 4,651
- 5
- 32
- 60
2
votes
0 answers
How to use remote user authentication using simple-jwt with Jwk Url in Django Rest Framework?
I have two django projects/microservices which uses two separate databases:
Todo auth - built for authentication - todo auth database
Todo project - built to view todo information specific to a user - todo database
What I basically require…

John Anderson
- 43
- 7
1
vote
0 answers
REMOTE_USER is empty in the django after redirecting
It seems to me that I do not quite understand the REMOTE_USER variable.
I have three instances based on different hosts:
nginx, django_auth_server, django_app_server.
I am trying to implement "single sign on": the user logs on to the…

Ilya
- 11
- 1
- 3
1
vote
1 answer
Django RemoteUserBackend
I'm trying to use multiple Authentication backends in Django 1.5.
I want to use RemoteUserBackend with a custom header and the standard ModelBackend
Seems like I can make one or the other work, but not both. If I try to log in using ModelBackend i…

Rob L
- 3,634
- 2
- 19
- 38
0
votes
1 answer
Django is not setting REMOTE_USER
I am trying to get the information about the user who is accessing the website for user authentication and for some other purpose also. After looking at official documentation of Django I got this article but still when I am trying to access…
0
votes
0 answers
RemoteUserMiddleware is not working, it just redirects me to /accounts/login/?next=
I am trying to just have simple, WWW-Authenticate HTTP authentication in Django using REMOTE_USER. This is done with RemoteUserMiddleware.
Unfortunately, after changing my config file like such:
MIDDLEWARE_CLASSES = (
…

Fredrick Brennan
- 7,079
- 2
- 30
- 61