Eduardo Jiménez created COUCHDB-2653:
----------------------------------------
Summary: Login modal in browsers (www-auth header)
Key: COUCHDB-2653
URL: https://issues.apache.org/jira/browse/COUCHDB-2653
Project: CouchDB
Issue Type: Improvement
Security Level: public (Regular issues)
Reporter: Eduardo Jiménez
I am developing a webapp using CouchDB, PouchDB and PouchDB authentication
plugin.
I follow its instructions:
"To prevent browser HTTP basic authentication modal dialogs of ye olde times,
we have to be subtle in the way we use PouchDB. To prevent a rouge
unauthenticated request to CouchDB (used to check whether the remote DB
exists), pass skipSetup: true in Pouch's constructor options. Secondly, to
authenticate the request against _session, add the HTTP basic authorization
header to db.login()'s AJAX options."
But the very first time I open my app in browser, the login modal is there. I
just need to reload and the modal doesn't show any more. If I close the browser
and start the app again, the modal shows again.
I kind mate in IRC channel told me to file you this issue hoping you can think
how to solve it.
Thanks a lot in advance ^^.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)