Skip to Main Content

SMART Authorization

Announcement

For information related to the Oracle Partner Network (OPN) Industry Healthcare Track please visit our OPN Industry Healthcare Program page.

For specific questions related to Oracle Partner Network (OPN), please contact Partner Assistance.

Millennium FHIR and non-FHIR API Specifications and Supporting Documents can be found HERE on docs.oracle.com
Soarian FHIR API Specifications and Supporting Documents can be found HERE on docs.oracle.com.

Unable to get authorization for Patient Application in sandbox

Aakash DoshiDec 18 2024 — edited Dec 23 2024

Workflow or API calls:

Reminder: If this is referring to a client domain or EHR activity—not the public sandbox—do not include API request data or live patient data.

Background Information:

Failure to provide answers will impact our ability to respond in a timely and effective manner
Developer questions:

Are you an OPN Member? No
Have you signed up to be in the Healthcare Developer Track? No
Are you a registered Code Program member? No
Does your App have a presence on the Oracle Healthcare App Marketplace? No

Are you developing on behalf of an Oracle Health client?
If so, which client:

Application's Client ID and App ID, if relevant:

Expected Result:

Actual Result:

X-Request-Id / Cerner-Correlation-Id / opc-request-id:
Date/time of the example:

Hello Team,

I have registered a PATIENT facing application in cerner sandbox https://code-console.sandboxcerner.com/console/apps, it is a public app. I am trying to create an authorization URL with parameters, however, I always get Access Denied Error. For now, I have kept google.com as my redirect URI but once I see it working I will change it to a legitimate URL of my system.

The authorization URL I have formed is (please note everything here is sandbox)

https://authorization.sandboxcerner.com/tenants/9b2430bc-1ef6-4099-9873-598815a482a5/protocols/oauth2/profiles/smart-v1/personas/patient/authorize?client_id=67f35904-ad45-4b94-ba05-b899c0fa6381&response_type=code&redirect_uri=https://www.google.com&scope=patient/Patient.read&aud=https://fhir-myrecord.sandboxcerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d&state=test123

I am also very skeptical about the aud parameter,I have gone through several documents here https://docs.oracle.com/en/industries/health/millennium-platform-apis/mfrap/srv_root_url.html but could not find any proper details on how exactly I can access sandbox auth and token and what are the sandbox base fhir v4 url's

Also, please help me with the patient token URL. What I am assuming is once I get the authorization working, it should pop up a patient login window for the user name and password and then access token. I also could not find the demo patient login details I have this document here, not sure if these are still relevent.

Thank you so much.

Comments
Post Details
Added on Dec 18 2024
5 comments
463 views