Hi,
In Postman, I build a POST token request as follows
Accept: application/json
Authorization: Basic {Base 64 of ClientID:Secret per OAuth2 spec}
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-cache
with a body of
grant_type=client_credentials&scope=system%2FObservation.read%20system%2FPatient.read
In return I get the following:
{
"error": "invalid_client",
}
which points to an error message as below, including Correlation ID
"Unknown Application" was attempting to request access to healthcare data with Abilities Center; unfortunately, the application doesn't appear to be compatible. If you require further assistance, please contact support.
Information to provide to Technical SupportCorrelation ID:
e4156d71-a70f-4aa5-91b0-581c4f5f7634
Information to provide to Unknown Application
The credentials used in the client_credentials grant were invalid.
Error Code:
urn:cerner:error:authorization-server:oauth2:token:invalid-client-credentials
Have I got the correct authorization endpoint? Is my app registered correctly? I am a little lost, sorry.
Thanks.
Simon.