Skip to Main Content

SMART Authorization


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.

invalid_client error for system-type application using secret

Yoshi YoshitakeDec 13 2023 — edited Dec 15 2023

Hi, we're unable to get tokens for our Cerner Sandbox system application.. We're passing what should be the correct values to the correct URLs, based on my reading of, the values shown in Code Console and Cerner Central for our application, and what's worked in production for other applications.

Application ID becdbac4-fdc9-4637-b411-83b95e38427c

Client ID 5e4ef83a-df24-422f-be0d-123226d9cbd2

Workflow or API calls:

(Showing the URL for the sandbox, but this is also failing for a client who has whitelisted our application, which is our primary concern.)

curl --location

--header 'Accept: application/json' \

--header 'Content-Type: application/x-www-form-urlencoded' \

--header 'Authorization: [Base64-encoded value that decodes to OUR_CLIENT_ID:OUR_SECRET]' \

--data-urlencode 'grant_type=client_credentials' \

--data-urlencode 'scope=system/'

Expected Result:

200 response with token

Actual Result:

< HTTP/2 401

< cerner-correlation-id: 4170b11a-bf97-4c86-b9be-7cf82cfdc7dc
< server: cloud_authorization_server1
* Connection #0 to host left intact

Post Details
Added on Dec 13 2023