I am now receiving an unauthorized error when attempting to retrieve an access token in our dev environment. The error being reported is "invalid_client". i'm using the client ID/secret from a registered system account we have for our dev environment.
Correlation ID: bf55fe21-ae5c-4c08-9f85-338c0cd609d9
grant_type: client_credentials
scope: system/AllergyIntolerance.read system/Appointment.read system/Condition.read system/DiagnosticReport.read system/Encounter.read system/Immunization.read system/MedicationOrder.read system/MedicationStatement.read system/Observation.read system/Patient.read system/Patient.write system/Person.read system/Practitioner.read system/Procedure.read system/RelatedPerson.read system/Schedule.read system/Slot.read system/AllergyIntolerance.write system/Appointment.write system/Condition.write system/MedicationStatement.write
also added the following headers:
Authorization: (not sure how to share this value as it contains encoded client ID and secret from system account)
Accept: application/json
i have a client ID and secret that i have retrieved from the system account that are base64 encoded to be used for authorization. but not sure what the best way it to share that.