FHIR Chat · Epic Interconnect Auth Issues · smart

Stream: smart

Topic: Epic Interconnect Auth Issues


view this post on Zulip Mateo Montoya (Sep 01 2020 at 14:05):

Not sure if anybody here could help, but I am attempting to connect to an institution's Epic Interconnect and it keeps failing with "invalid_grant" and "Invalid launch token". I am doing everything listed in the documentation and have tested thoroughly on Epic's Simulator and Smart Launcher. Everything works well there. I just can't get it to work on the institution's Interconnect.

My questions is not necessarily what I am doing wrong but rather if this happening from the institution's Interconnect side or something from my end? I have talked to my Epic point of contact and keep constantly working with the institution to solve this issue with no success. Just looking to see if anybody has had a similar experience and could give some insight into how to solve this issue.

view this post on Zulip Lloyd McKenzie (Sep 01 2020 at 15:54):

@Isaac Vetter

view this post on Zulip Isaac Vetter (Sep 01 2020 at 22:32):

Hi Mateo, not a lot of information to go on here. I'd suggest reaching out to your AOTS or the AO Forums and provide an example http request to the /authorize endpoint. Maybe:

  • confirm that you're using your non-prod client id with non-prod environments and your prod client id with prod environments.
  • your redirect_uri(s) are case-sensitive and must match explicitly (I think that even a trailing slash between what's registered with the auth server and what's in the querystring param will cause an error).
  • you have to request the launch scope in an EHR Launch

The last two bullets would've been caught when testing, though.


Last updated: Apr 12 2022 at 19:14 UTC