Closed victor-chaparro closed 1 month ago
In RESTTransport.kt: getOAuthToken(), it doesn't have UserJksCredential support.
CA-DPH uses the JKS credential none-auth for communication. For REST endpoint doesn't have to authenticate (e.g. endpoint that use CERT or JKS install in client's engine), we will need way to check the endpoint. I am researching for what is the best way.
Done.
Describe the bug
The REST transport authentication logic has been updated and did not get updated for the Check Function. The Check function runs every two hours and is throwing exceptions when checking the REST transport for CADPH
Dev Notes
We need to update the logic for
testRest
underCheckFuntion.kt
. We should leverage the logic the is inside REST Transport to avoid duplicating logic in two places and preventing issues like this from happening.Steps to reproduce
Navigate to the Receiver Status Dashboard and notice how the check is failing for CADPH every time.
Expected behavior