Open PyvesB opened 4 years ago
Hello! I've just noticed this Issue. Github did not sent me notification for some reason.
It hard to answer right now. If it's still actual i'll see on weekend.
Yes, this is possible. Work in progress: https://github.com/vzhn/netty-http-authenticator/blob/massive_refactoring/src/test/java/me/vzhilin/demo/webflux/WebFluxDemo.java
I have no spring experience. Any advice would be appreciated.
Hello there!
Thanks for making this project. I've been trying to perform Digest Auth with Spring's Webclient and plugging this library in was suggested as a potential way to achieve this. See https://github.com/spring-projects/spring-framework/issues/24425 for some more context.
The library currently expects aggregated
FullHttpRequest
andFullHttpResponse
objects, which, if I'm not mistaken, wouldn't work when usingFlux
reactive types and chunked encoding. Digest auth doesn't actually involve any response/request bodies, could the library be modified to useHttpRequest
andHttpResponse
instead, lifting some of its current limitations? Or is there something else that we're missing?Thanks in advance!