When using the web auth demo, particularly with an EHR client (Epic Clinician), we are currently unable to grab the relevant response header that is linked to patient IDs.
Steps to Reproduce
Checkout this repo, and setup local api keys per these instructions, placing them inside fhir/fhir_auth/webauthdemo/lib
Go into fhir/fhir_auth/webauthdemo and run the command ./run_locally.sh to start a locally-hosted Flutter web app
Inspect the web app, focusing on the Network tab
Click on Epic Clinician, then use the default clinician login per this site
The ResponseHeaders contained in Patient?_format=json&_pretty=false on the inspected web application should match the ResultHeaders that are shown in the terminal
Expected results:
Expect ResponseHeaders that include Location data (aka: patient ID), in web app inspection
Bug
When using the web auth demo, particularly with an EHR client (Epic Clinician), we are currently unable to grab the relevant response header that is linked to patient IDs.
Steps to Reproduce
fhir/fhir_auth/webauthdemo/lib
fhir/fhir_auth/webauthdemo
and run the command./run_locally.sh
to start a locally-hosted Flutter web appEpic Clinician
, then use the default clinician login per this sitePatient?_format=json&_pretty=false
on the inspected web application should match the ResultHeaders that are shown in the terminalExpected results: Expect ResponseHeaders that include Location data (aka: patient ID), in web app inspection
Actual results: ResultHeaders, shown in terminal