Stream: smart
Topic: Epic DSTU2 not working with fhir-client.js
John Josef (Feb 16 2022 at 17:23):
I am attempting to utilize the SMART app launcher in Epic's documentation with a DSTU2 application I created. I am using the non-production clientId, and have everything set appropriately (as far as I can tell). After doing some debugging, I noticed that the FHIR client is trying to call this URL: https://fhir.epic.com/interconnect-fhir-oauth/api/FHIR/DSTU2/.well-known/smart-configuration and it is returning a 404, and thus preventing me from being able to authenticate. Anyone know what the deal is with this or who I can contact to get some assistance?
John Josef (Feb 16 2022 at 17:24):
FYI the launcher is this "Try It" button on this page: https://fhir.epic.com/Documentation?docId=launching
Vladimir Ignatov (Feb 16 2022 at 17:49):
it is returning a 404, and thus preventing me from being able to authenticate
It should call both /.well-known/smart-configuration
and /metadata
and use whichever is available, so this is probably not the reason for the failed authentication.
John Josef (Feb 16 2022 at 18:32):
Ah you are correct, maybe there's something I have to do differently when accessing the /metadata
endpoint
John Josef (Feb 16 2022 at 18:44):
It is still odd that the URL it generates has an empty launch
parameter. Seems like something isn't working and I'm not sure what because Epic gives no details on the error
Last updated: Apr 12 2022 at 19:14 UTC