Is it possible to use Digest Auth in HTTP module?

Hi @mixelpix,

The Wikipedia page on this is very good:

So in Make, you’ll need to (1) extract “realm”, “nonce”, and “opaque” from that header, (2) calculate the “response” value (which is the MD5 hash(s) including your username and password), and then (3) build up the “Authorization” header in your second HTTP module.

I’ve seen another proposed solution, but there is just a picture of the scenario flow - no details on the config: Digest Auth for my Clock PMS custom app - #4 by andrtvrd

The Text Parsers in this example where presumably to read the values from the returned header, before calculating the response.

You’ll need to add a custom header to you HTTP Module to pass the results back to the server. Like this:

Because the “qop” (Quality of Protection) from your server includes “auth”, you’ll calculate your response using this format:

image

So your setup in Make, may look more like this:

Hopefully this gives you a head start. Do come back to the community if you run into any problems!

3 Likes