Client authentication failed

I added client id and other detail that are getting me from /oauth2/default/registration API

{“error”:“invalid_client”,“error_description”:“Client authentication failed”,“message”:“Client authentication failed”}

I would strongly suggest using swagger to workout connecting to your instance of OpenEMR.

http://demo.openemr.io/openemr/swagger/

Have you read this document completely before attempting a connection?