-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Support for Digest authenticated proxy #6109
Comments
Moving this to the January milestone |
Current State of Authenticate Support The two HTTP client implementations which we release, based on OkHttp and Reactor Netty, only have support for Basic Authenticate challenges. This is deeply integrated into the construction of the HTTP client when passed OkHttp and Reactor Netty do not have native support for Digest Authenticate challenges. Proposal 1. Implement Digest Handling in Netty and OkHttp HTTP Clients This would allow for a tighter coupling of HTTP client and handling authentication challenges, with respect to Basic and Digest. This may allow for some optimization where Azure Core doesn't need to handle deserialization before a response to the challenge is made, additionally these HTTP clients already accept There is a few questions around this direction which need to be answered.
2. Implement HttpPipelinePolicies to Handle Authenticate Challenges This would allow for a generic implementation that would support any HTTP client implementation being used, including non-Netty or non-OkHttp implementations. It has a downside that the response needs to be deserialized by Azure Core before a response to a challenge can be made. Unlike option 1 this does have the ability to snoop the response from the challenge and may attempt to retrieve a There is a few questions around this direction which need to be answered.
|
@amishra-dev Could you clarify which portions of the digest authentication specifications (RFC 2617 and 7616) are required for initial support? I have a rough implementation complete which generally matches the RFC specifications but I am having difficulties with the I'm wondering if support for |
@alzimmermsft I have a setup that I can share with you to test. we just used squid proxy and enabled digest auth in that. I will forward you the mail where the customer lists what they need. |
azure-core does not support digest authenticated proxy. This may additionally require changes in azure-identity.
Related customer-reported issue - #5372
The text was updated successfully, but these errors were encountered: