<div dir="ltr"><div><div><div>Hi all,<br><br></div>It&#39;s been a while now I am trying to implement the Digest authentication with the Cyrus SASL library and I don&#39;t understand how to proceed.<br></div>I am using the version 2.1.25 and only support digest mechanism, here is the desired behaviour (which doesn&#39;t work)<br>
</div><div> * initial call from client:<br></div><div>     1. sasl_server_new()<br>     2. sasl_setprop(http_request)<br></div><div>     3. sasl_server_start()<br></div><div>     4. send the challenge provided by previous function<br>
</div><div>     5. sasl_dispose<br></div><div> * second request from client (containing authentication information):<br><div>     1. sasl_server_new()<br></div><div>     2. sasl_setprop(http_request)<br></div><div>     3. sasl_server_start(&quot;clientin = authentication http header&quot;)<br>
</div><div>     3. I tried instead sasl_server_step but it doesn&#39;t work either.<br></div>     4. sasl_dispose<br><br></div><div>I expect the third step to authenticate the user with the `clientin` I provide - from http request header - but I only get a floating point exception :(.<br>
</div><div>Could you please help me with what would be the right process ?<br><br></div><div>Regards,<br></div><div>Nil.<br></div></div>