Skip to Main Content

R4 APIs (Millennium)

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.

400 bad request when generating the bearer token for system account in the sandbox environment

Shashi SongaJul 8 2024 — edited Jul 8 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..

System account:

Token end point: https://authorization.cerner.com/tenants/ec2458f2-1e24-41c8-b71b-0e701af7583d/protocols/oauth2/profiles/smart-v1/token

Created the account here : https://sandboxcernercentral.com/system-accounts/

Account Id: d82f68e7-2e80-46e3-b84b-156a883e5c30

Added the JSON Web Key Set as well.

Created the encoded jwt and using it to get the bearer token but it is returning the below error.

{"error":"invalid_client","error_uri":"https://authorization.cerner.com/errors/urn%3Acerner%3Aerror%3Aauthorization-server%3Aclient-assertion%3Ajwt-bearer%3Ainvalid-assertion/instances/ea86bb31-f1eb-4559-8be0-25903dfd1067?client=d82f68e7-2e80-46e3-b84b-156a883e5c30&tenant=ec2458f2-1e24-41c8-b71b-0e701af7583d"}

Can you please let us know what i am doing wrong.

Expected Result:

Bearer token with 200 status code

Actual Result:

400 with error

{"error":"invalid_client","error_uri":"https://authorization.cerner.com/errors/urn%3Acerner%3Aerror%3Aauthorization-server%3Aclient-assertion%3Ajwt-bearer%3Ainvalid-assertion/instances/ea86bb31-f1eb-4559-8be0-25903dfd1067?client=d82f68e7-2e80-46e3-b84b-156a883e5c30&tenant=ec2458f2-1e24-41c8-b71b-0e701af7583d"}

Client Assertion could not be parsed.

Error Code:

urn:cerner:error:authorization-server:client-assertion:jwt-bearer:invalid-assertion

X-Request-Id / Cerner-Correlation-Id / opc-request-id: add1f82d-1711-484f-9e92-3d7fb307e258

This post has been answered by Harsh Pathak-Oracle on Jul 8 2024
Jump to Answer
Comments
Post Details
Added on Jul 8 2024
1 comment
272 views