actix / actix-extras

A collection of additional crates supporting the actix and actix-web frameworks.
https://actix.rs
Apache License 2.0
787 stars 206 forks source link

Support for Digest auth method #394

Open wangyongxiao opened 10 months ago

wangyongxiao commented 10 months ago

is there have middleware can do Digest Auth in actix-web

actix_web_httpauth can only support Bearer and Basic

so how can support Digest Auth like

“WWW-Authenticate","Digest realm="test", qop="auth", nonce="MTcwMjUzOTAwMjAwMDplYmVmYjAwNzdkM2ZjMzU3MzRmNmZhZTUwOTBjOTM1Ng==”

robjtede commented 10 months ago

If this is not possible with first-party tools, I'd consider this a feature request for actix-web-httpauth.

joehasson commented 2 weeks ago

Hi @robjtede I'm interested in working on this issue. I have a couple of thoughts around what the API for this should look like and would appreciate any feedback on the following.

Thanks in advance for any comments!