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
withCredential error on PDB 5.1.0 #4558
Comments
Never mind, I got it like so: var remotedb = new PouchDB('https://cloudantusername.cloudant.com/' + dbname, {
auth: {
username: couchusername,
password: couchpassword
}
}); |
I am seeing this error again after clearing out the cache. |
Same here. |
Ok this seems very similar to #4567 Basically on _bulk_get requests were were accidently stripping the headers that got sent. Is there any chance you could check against the latest master and confirm this is fixed? |
yup. That must have been it. master - 3011e71 works fine for me. |
That is awesome thanks, fixed by 3011e71 |
Hi @daleharvey, is there an ETA for this? |
@janraasch PouchDB is normally released monthly so if someone has time soon I imagine a new release will go out soon. |
Sounds great. Thank you very much for letting me know, @NickColley. |
I call remote database like so:
and then use db.replicate.from(remotedb) to sync the remote db to local db.
When I upgrade to pouchdb 5.1, I am getting a error saying that remote database is private and a dialog box asking to enter credentials below.
How do I set the credentials for remote databases with the code above? I have set the cors properly and also have created users, it works with PDB 5 but does not with 5.1
The text was updated successfully, but these errors were encountered: