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
Digest auth not working? #380
Comments
you can follow this test case urllib/test/digest_auth.test.js Line 7 in f2a42d1
|
Code matching that test case (with same user and pass) fails the assertion:
Output:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note I asked this on S.O. too: https://stackoverflow.com/questions/71430497/digest-authentication-in-nodejs
I'm using the urllib npm package with the following code:
Unfortunately, I'm getting a 401 error back:
The same uri, username, and password works when accessing via postman. What configuration details am I missing in this request? urllib doesn't provide a digest auth example.
I am not married to urllib and will take any working nodejs solution for pulling an image from an digest-auth endpoint.
The text was updated successfully, but these errors were encountered: