Skip to content

Add instructions for couchdb server with require_valid_user = true - #255

Open
knubie wants to merge 2 commits into
pouchdb-community:masterfrom
knubie:master
Open

Add instructions for couchdb server with require_valid_user = true#255
knubie wants to merge 2 commits into
pouchdb-community:masterfrom
knubie:master

Conversation

@knubie

@knubie knubie commented Jul 1, 2019

Copy link
Copy Markdown

My CouchDB server was configured with require_valid_user = true, and I couldn't understand why pouchdb-authentication wasn't sending the basic auth headers along with the request to /_session.

It wasn't until I started going through the source code that I realized that those headers are only sent if the db was initialized with the auth option.

Hopefully this change to the documentation will help others.

Related: #61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant