EPIC FHIR API Token generation issue

954 Views Asked by At

Issue in getting an Access Token I have received an error that "Failed to retrieve Authorization code from Launch Token." in Postman. Unable to receive the Access token using &iss and &launch.

We are following these steps:

  1. Passing the Query Parameters-

Issue in getting an Access Token I have received an error that "Failed to retrieve Authorization code from Launch Token." in Postman. Unable to receive the Access token using &iss and &launch.

We are following these steps:

  1. Passing the Query Parameters-

We are expecting Access Token.

1

There are 1 best solutions below

0
On

Based on your shared workflow, you aren't even at the point of obtaining an access token. First you would exchange the launch code for an authorization code, which appears to be the step that's failing.

The first question to answer is how you expect your app to launch. Launch codes are only relevant for SMART on FHIR app launches. If your app is a SMART on FHIR app, you're better off testing the launch with the LaunchPad. You can't just make up any launch code in Postman and have it work.

If you are planning a different kind of launch, then you need to follow the correct steps for the launch type you expect to have. Neither standalone launches nor back-end integrations use launch codes.