-
Notifications
You must be signed in to change notification settings - Fork 471
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
Missing authorization header with @hoodie/client
dependency
#652
Comments
I was able to reproduce the error, looking into it |
Notes to self:
|
Unrelated to this issue, I found another bug: hoodiehq/hoodie-server#524 :) |
okay seems like this is the problem: pouchdb/pouchdb#6053. I’ll fix it in |
@sdvg should be fixed via https://github.com/hoodiehq/hoodie-client/releases/tag/v8.0.1 and https://github.com/hoodiehq/hoodie-store-client/releases/tag/v6.0.2. |
Yes, that fixed it 🎉 |
I found this mysterious issue: When I have both
hoodie
and@hoodie/client
in my package.json, all PouchDB API requests lack theauthorization
header and fail with a 401 Unauthorized response.I built a simple test case for that. Steps to reproduce:
Then open a browser tab with http://localhost:8080/ and open the console. You should see something like:
When you inspect one of the failing requests you should see that there is no "authorization" request header.
The text was updated successfully, but these errors were encountered: