-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
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
- Checkout this repo, and setup local api keys per these instructions, placing them inside
fhir/fhir_auth/webauthdemo/lib - Go into
fhir/fhir_auth/webauthdemoand run the command./run_locally.shto 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=falseon 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
Access-Control-Allow-Origin: *
Cache-Control: no-cache,no-store
Content-Length: 0
Content-Type: application/fhir+json; charset=utf-8
Date: ________________
Expires: -1
Location: Patient/________________
Pragma: no-cache
Server: Microsoft-IIS/10.0
...
Actual results:
ResultHeaders, shown in terminal
{cache-control: no-cache,no-store, content-length: 0, content-type:
application/fhir+json; charset=utf-8, expires: -1, pragma: no-cache}}]}
Metadata
Metadata
Assignees
Labels
No labels