Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions for couchdb server with require_valid_user = true #255

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

knubie
Copy link

@knubie knubie commented Jul 1, 2019

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.

None yet

1 participant