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.

Authorization failure - invalid_client - authorization on behalf of a system

Yulia DavidJan 13 2025

Workflow or API calls:

I am trying to access the public sandbox through a system app created in cerner code-console

I first registered the application as a System Application Type in https://code-console.sandboxcerner.com/

My account id is: 4998a6db-85fa-4a32-93a3-32d691868fc7

I am using Basic Authentication approach while requesting authorization on behalf of a system

Headers:

Authorization "Basic <cliend id:secret base64 encoded>

Content-Type: application/x-www-form-urlencoded,
Accept: application/json

Body
grant_type: client_credentials
scope: system/Patient.read

token url: https://authorization.cerner.com/tenants/ec2458f2-1e24-41c8-b71b-0e701af7583d/hosts/api.cernermillennium.com/protocols/oauth2/profiles/smart-v1/token

Expected Result: token received

Actual Result:

Status Code: 401

Response: {"error":"invalid_client","error_uri":"https://authorization.cerner.com/errors/urn%3Acerner%3Aerror%3Aauthorization-server%3Aoauth2%3Atoken%3Ainvalid-client-credentials/instances/0f2edd4c-7b39-4252-95e3-e916783e8d86?client=unknown&tenant=ec2458f2-1e24-41c8-b71b-0e701af7583d"}

Hope you can help to understand what I am missing here

Thank you

This post has been answered by Jennifer Hong-Oracle on Jan 13 2025
Jump to Answer
Comments
Post Details
Added on Jan 13 2025
4 comments
239 views