Azure-Samples/azure-health-data-and-ai-samples

Inferno Test 9.1 Failing

yoju0121 opened this issue · 1 comments

Inferno 9.1 Public Client test is failing, namely 9.1.05. POST /token is returning a 401, citing the following error message.

Erik found out that the bug is here; not only do we need to check if client_secret key is present, it should also be checked to see if the field has a value before creating the ConfidentialClientTokenContext.

With this change in the code, we won't be needing a separate app registration for public client.

Fixed