elements icon indicating copy to clipboard operation
elements copied to clipboard

Try It Auth: Digest Auth

Open marbemac opened this issue 5 years ago • 2 comments

As a docs consumer, I can enter a username and password and it is correctly hashed and added to the request, so my request is authenticated.

https://en.wikipedia.org/wiki/Digest_access_authentication

  • Add "Digest Auth" to the authorization type dropdown

  • Add a form to enter a username and password

  • Add a form to configure how the digest hash is generated

  • When sending a request, add the username/password hash as a digest auth header

  • Store the hashed credentials in local storage so they can be used in subsequent requests

Learn more about how HTTP Digest works: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Digest

marbemac avatar Nov 02 '20 18:11 marbemac

Link to subfeature: https://stoplightio.productboard.com/feature-board/planning/features/5796615

marbemac avatar Nov 02 '20 18:11 marbemac

@philsturgeon we have 30+ insights around try it auth, and nobody has mentioned digest auth. I suggest we pull this one out of the initial elements release, what do you think?

marbemac avatar Nov 03 '20 04:11 marbemac