Client Id: c7256b12-f1f7-4425-a1bf-68ce0ef0f811
App Id: f31117ab-2407-4efb-b333-754bea1649bf
Redirect URI: http://localhost:8084/authorize/fhir/cerner-millennium/callback
App Type: patient
FHIR Spec: dstu2 - "https://fhir-myrecord.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca"
Authorized: true
Standard Scopes:
launch
profile
openid
online_access
launch/patient
Patient Scopes:
patient/AllergyIntolerance.read
Here is my authorization URL
https://authorization.sandboxcerner.com/tenants/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/protocols/oauth2/profiles/smart-v1/personas/patient/authorize?state=KrOe7p&client_id=c7256b12-f1f7-4425-a1bf-68ce0ef0f811&response_type=code&scope=launch/patient%20online_access%20openid%20profile%20patient/AllergyIntolerance.read%20patient/Appointment.read%20patient/Binary.read%20patient/CarePlan.read%20patient/Condition.read%20patient/Contract.read%20patient/Device.read%20patient/DiagnosticReport.read%20patient/DocumentReference.read%20patient/Encounter.read%20patient/Goal.read%20patient/Immunization.read%20patient/MedicationAdministration.read%20patient/MedicationOrder.read%20patient/MedicationStatement.read%20patient/Observation.read%20patient/OperationDefinition.read%20patient/Patient.read%20patient/Person.read%20patient/Practitioner.read%20patient/Procedure.read%20patient/RelatedPerson.read%20patient/Schedule.read%20patient/Slot.read%20patient/StructureDefinition.read%20patient/Appointment.write%20patient/Patient.write&redirect_uri=http://localhost:8084/authorize/fhir/cerner-millennium/callback&aud=https%253A%252F%252Ffhir-myrecord.sandboxcerner.com%252Fdstu2%252F0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca
Here is the error I am getting
http://localhost:8084/authorize/fhir/cerner-millennium/callback?state=KrOe7p&error=invalid_request&error_uri=https://authorization.sandboxcerner.com/errors/urn:cerner:error:authorization-server:smart-v1:grant:launch:audience-not-white-listed/instances/2c2a52fe-5cad-4a2a-8964-408b48406e2c?persona=patient&client=c7256b12-f1f7-4425-a1bf-68ce0ef0f811&tenant=0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca
Even though I did not setup lanuch API, I am getting this error. What else I am missing? Do we need to whitelist our app with sandbox?
Thanks
Ravi Ada