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
:
Client ID: 9f28b434-864c-4cb9-9128-f32e3e83651c
App ID: e4933da2-249b-4a67-8ab4-011b7c2af77d
Hello,
I am trying to hit the Patient.read endpoint in the secure sandbox environment, but I'm having trouble retrieving the token.
Of course it works in the standard sandbox.
The steps I've taken:
- I have registered an application on https://code-console.sandboxcerner.com/ with the following parameters:
headers={
"Content-Type": "application/x-www-form-urlencoded"
}
However, I receive the following error:
{'error': 'invalid_client', 'error_uri': 'https://authorization.cerner.com/errors/urn%3Acerner%3Aerror%3Aauthorization-server%3Aclient-assertion%3Ajwt-bearer%3Ainvalid-signature/instances/2c0c0a11-1585-4a11-befd-830bc86eb9d5?client=CLIENT_ID&tenant=ec2458f2-1e24-41c8-b71b-0e701af7583d'}
I was expecting a valid token which I can then use with the header:
headers = {"Authorization": f"Bearer {token}", "Accept": "application/fhir+json"}
What am I missing? Is my approach using the SMART endpoint wrong?
Thank you in advance.
Jeno