MccCareplan / providersmartapp

Apache License 2.0
0 stars 3 forks source link

Require token option is consistently failing #255

Open ferret1964 opened 3 years ago

ferret1964 commented 3 years ago

The option mcc.request.header.require.token is constantly failing when set to a value of true. Effects version 1.0.26

ferret1964 commented 3 years ago

This error is a request of using the wrong header key for the comparison. The header key of mcc-fhir-token is invalid and the actual key of mcc-token is what is actually being used. This error was introduced by using a key reference found in the existing earlier code base that was invalid, and hence also represented an edge case error. All key uses have been fixed and v1.0.27 onward should now work correctly.