Workflow or API calls:
I am trying to authorize my system application via postman and getting this error below .Is this authorization flow is correct or need to do some modification.
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? Yes
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
:
Application ID
f9b4afe7-f5c0-48f4-af8a-8643ec858ab1
Client ID
cd9b1105-4737-41be-a111-5c298d95bdc1
curl --location 'https://authorization.sandboxcerner.com/tenants/ec2458f2-1e24-41c8-b71b-0e701af7583d/protocols/oauth2/profiles/smart-v1/token' \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Y2Q5YjExMDUtNDczNy00MWJlLWExMTEtNWMyOThkOTViZGMxOm9HUmNlN2RKT01Na2hmb0NVSk9ldmN3bTFUZDVXNUtv' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'scope=system/Encounter.read'
Expected Result:200ok
Actual Result:
Cerner-Correlation-ID
dc6c9b3f-0ea6-42ab-a3d0-8231d0efee1b
https://authorization.sandboxcerner.com/errors/urn%3Acerner%3Aerror%3Aauthorization-server%3Aoauth2%3Atoken%3Ainvalid-authorization-header/instances/dc6c9b3f-0ea6-42ab-a3d0-8231d0efee1b?client=unknown&tenant=ec2458f2-1e24-41c8-b71b-0e701af7583d