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 2018/05/03 20:11:25 UTC

[GitHub] wohali commented on issue #1305: Enabling require_valid_user blocks login to Fauxton

wohali commented on issue #1305: Enabling require_valid_user blocks login to Fauxton
URL: https://github.com/apache/couchdb/issues/1305#issuecomment-386421181
 
 
   There is a note in the local.ini file that reads:
   
   ```
   ; If you set this to true, you should also uncomment the WWW-Authenticate line
   ; above. If you don't configure a WWW-Authenticate header, CouchDB will send
   ; Basic realm="server" in order to prevent you getting logged out.
   ```
   
   You have to do both, otherwise you don't get the browser popup window for realm authentication. A correct configuration for CouchDB 2.1.1 is:
   
   ```
   [httpd]
   WWW-Authenticate = Basic realm="administrator"
   [chttpd]
   require_valid_user = true
   ```
   
   I have tested this locally and this resolves the problem.
   
   It helps to read the fine documentation we've written ;)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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