Couchdb3.1.1: Logout not working #3246
Replies: 3 comments 2 replies
-
@RJNaamthos this is browser's http authentication, so browser is caching the login. it is tricky to get logout working robustly there.. see https://www.php.net/manual/en/features.http-auth.php for some techniques to force logout in some browsers. I don't know if there is anything in couchdb to combat that (I'm not a couchdb dev, just another user) It should log out if you close the browser tab. Does logout work if you login from the normal web form? I always use that because of this issue. |
Beta Was this translation helpful? Give feedback.
-
Can anyone look into this and provide some suggestions. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Can someone look into this and provide some suggestions. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Description
Enabled "require_valid_user" attribute under [chttpd] section to true and modified authentication_handlers value to only default_authentication_handler
[chttpd]
require_valid_user = true
authentication_handlers = {chttpd_auth, default_authentication_handler}
[chttpd_auth]
authentication_db = _users
when accessing CouchdbUI fauxton, browser pop up comes for authentication. Once providing the credentials, able to login and access couchdb UI. However on click of logout button, nothing happens. It does not logout the User.
Steps to Reproduce
[chttpd]
require_valid_user = true
authentication_handlers = {chttpd_auth, default_authentication_handler}
[chttpd_auth]
authentication_db = _users
Expected Behaviour
Your Environment
Additional Context
Beta Was this translation helpful? Give feedback.
All reactions