You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/10/07 19:22:28 UTC

[GitHub] [couchdb-fauxton] segevfiner opened a new issue #1228: Handle expired authentication cookies

segevfiner opened a new issue #1228: Handle expired authentication cookies
URL: https://github.com/apache/couchdb-fauxton/issues/1228
 
 
   <!--- Provide a general summary of the issue in the Title above -->
   
   ## Expected Behavior
   Fauxton should handle an expired session cookie and either renew it (Might not be possible since you will have to save the credentials for that) or just ask the user to login again.
   
   ## Current Behavior
   Fauxton still thinks you are logged and fails to access anything as it tries to access it anonymously. On a browser refresh you will be returned to the login dialog.
   
   ## Possible Solution
   Fauxton should detect this and either renew the cookie (Might not be possible since you will have to save the credentials for that) or just ask the user to login again without throwing random access errors or requiring a refresh.
   
   ## Steps to Reproduce (for bugs)
   <!--- Provide a link to a live example, or an unambiguous set of steps to -->
   <!--- reproduce this bug. Include code to reproduce, if relevant -->
   1. Login to CouchDB Fauxton with cookie auth enabled. (Just install CouchDB and create an admin user, that's the default auth mechanism).
   2. Leave Fauxton open and wait for the cookie to expire (10 minutes).
   3. Try and access anything requiring auth without a refresh, a DB, the config, etc. You will receive access denied errors.
   
   ## Context
   <!--- How has this issue affected you? What are you trying to accomplish? -->
   <!--- Providing context helps us come up with a solution that is most useful in the real world -->
   Just normally using Fauxton and leaving it running in the background, coming back to it later.
   
   ## Your Environment
   <!--- Include as many relevant details about the environment you experienced the bug in -->
   * Version used: CouchDB 2.3.1
   * Browser Name and version: Firefox 69.0.2
   * Operating System and version (desktop or mobile): macOS 10.14.6
   * Link to your project: N/A
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services