The concept of logout, sessions, and session expiry don't exist as a concept for HTTP Basic or Digest authentication. You would need to use a form based login mechanism handled by the web application, rather than the server at the HTTP protocol level. What you can use depends on what web framework you are using.
Graham > On 5 May 2020, at 7:44 pm, Nicolas Lapalu <[email protected]> wrote: > > Hi all, > > I am using a remote_user mode for an app (app) with wsgi authentication, but > I don't know how to implement a logout page. I don't see anything about this > on the doc, thanks for your help. > Another thing how to setup a session max age with this type of authentication > ? > > <Directory "/var/www/app"> > > AuthType Basic > AuthName "Restricted access to group members" > AuthBasicProvider wsgi > > WSGIAuthUserScript > /var/www/django_bioinfobiogerweb/django_bioinfobiogerweb/wsgi.py > WSGIAuthGroupScript > /var/www/django_bioinfobiogerweb/django_bioinfobiogerweb/wsgi.py > > <RequireAll> > Require valid-user > </RequireAll> > > </Directory> > > Nico > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/modwsgi/05ec370c-573d-47e0-9dfe-7611f764eea7%40googlegroups.com > > <https://groups.google.com/d/msgid/modwsgi/05ec370c-573d-47e0-9dfe-7611f764eea7%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/9722277B-38D3-4504-A8EC-45E9B9113624%40gmail.com.
