FHIR Chat · Epic DSTU2 not working with fhir-client.js · smart

Stream: smart

Topic: Epic DSTU2 not working with fhir-client.js


view this post on Zulip 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?

view this post on Zulip 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

view this post on Zulip 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.

view this post on Zulip 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

view this post on Zulip 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