You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just curious if runserver_plus supports the REMOTE_USER option, if so, I can't seem to find a way to make it work (and thusly could use a little guidance).
When running the default python manage.py runserver command I can get it to work with automatically logging in a REMOTE_USER by doing this: REMOTE_USER="johndoe" python manage.py runserver 8000
Then I can use the site locally as 'johndoe' already logged in.
However, when I replace runserver with runserver_plus in that example, it just returns me to the login page - I can't seem to find any configuration that will work with the REMOTE_USER setting and runserver_plus; am I missing something or does that feature not work with runserver_plus command?
The text was updated successfully, but these errors were encountered:
confuzeus
added a commit
to confuzeus/django-extensions
that referenced
this issue
Oct 29, 2022
Django RemoteUserMiddleware and RemoteUserBackend are able
to authenticate users by looking at the REMOTE_USER request header.
In Werkzeug, this header isn't set unlike in Django's
default WSGI server.
This patch add the variable to the Werkzeug environ
if it's set.
Fixesdjango-extensions#1708
Django RemoteUserMiddleware and RemoteUserBackend are able
to authenticate users by looking at the REMOTE_USER request header.
In Werkzeug, this header isn't set unlike in Django's
default WSGI server.
This patch add the variable to the Werkzeug environ
if it's set.
Fixes#1708
Just curious if runserver_plus supports the REMOTE_USER option, if so, I can't seem to find a way to make it work (and thusly could use a little guidance).
When running the default
python manage.py runserver
command I can get it to work with automatically logging in a REMOTE_USER by doing this:REMOTE_USER="johndoe" python manage.py runserver 8000
Then I can use the site locally as 'johndoe' already logged in.
However, when I replace
runserver
withrunserver_plus
in that example, it just returns me to the login page - I can't seem to find any configuration that will work with the REMOTE_USER setting andrunserver_plus
; am I missing something or does that feature not work withrunserver_plus
command?The text was updated successfully, but these errors were encountered: