tavern icon indicating copy to clipboard operation
tavern copied to clipboard

[Feature request] HTTP digest authentication

Open jschaeff opened this issue 6 years ago • 1 comments

Hi there, Thanks for this great tool !

How could I make an http digest authentication for running tests with Tavern ?

The best feature would be to setup in the YAML file auth_type: digest

But maybe there is a workaround ? Do you have any idea ?

jschaeff avatar Feb 10 '20 15:02 jschaeff

This exists in requests so I don't think it would be too difficult https://python-requests.org/en/stable/user/authentication/#digest-authentication I don't think it would be an option though, probably just another key in the request (ie, use digest_auth instead of auth). I don't think there would be many use cases for wanting to switch between different kinds of authentication

michaelboulton avatar Feb 16 '20 17:02 michaelboulton