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

Digest Authentication not working #13

Open
Raja1234p opened this issue Jan 24, 2022 · 4 comments
Open

Digest Authentication not working #13

Raja1234p opened this issue Jan 24, 2022 · 4 comments

Comments

@Raja1234p
Copy link

I want to access post API using digest Authentication. I have given username and password but getting a response which is showing response string that authentication is verifed.

@edufolly
Copy link

@sneurlax
Copy link

sneurlax commented Dec 3, 2024

@sneurlax
Copy link

sneurlax commented Dec 3, 2024

I created https://github.com/ManyMath/digest_auth to deal with this issue due to not being able to see why http_auth wasn't working for my purposes (Monero's JSON-RPC API). The author of this package will probably be able to spot the difference

@edufolly
Copy link

edufolly commented Dec 3, 2024

@edufolly does https://github.com/marcoesposito1988/http_auth/blob/master/lib/src/http_auth_utils.dart#L15 disagree with that requirement?

The issue I was facing was because the server was unable to process headers with capital letters.

I created the possibility to get around this situation with a configuration of the way the header is sent.

https://github.com/anlix-io/agattp/blob/main/lib/src/agattp_utils.dart#L52

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

No branches or pull requests

3 participants