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? Yes
Have you signed up to be in the Healthcare Developer Track? Yes
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? Not at this time but we do have Oracle customers that will want to leverage this integration
I have created a free Cerner care account, registered my application and have the system account. I have obtained the client id and secret as well.
I have discovered the authorization and token endpoint using https://fhir-ehr.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/.well-known/smart-configuration
I am using the following token endpoint to get the access token:
https://authorization.cerner.com/tenants/ec2458f2-1e24-41c8-b71b-0e701af7583d/hosts/api.cernermillennium.com/protocols/oauth2/profiles/smart-v1/token?grant_type=client_credentials&client_id=<my client id>&client_secret=<my secret>&scope=patient/*.read chargeitem/*.read chargeitem/*.write
However, Postman returns the following
{
"error": "invalid_client",
"error_uri": "https://authorization.cerner.com/errors/urn%3Acerner%3Aerror%3Aauthorization-server%3Aoauth2%3Atoken%3Ainvalid-authorization-header/instances/613484b2-8022-4721-a459-9c5e78e50426?client=unknown&tenant=ec2458f2-1e24-41c8-b71b-0e701af7583d"
}
Appreciate any inputs.
Thanks
Expected Result:
Receive the access token.
Actual Result:
X-Request-Id / Cerner-Correlation-Id / opc-request-id:
Date/time of the example: