Hello, I registered my app with OpenEMR as a public client and obtained the client ID. However, when I attempted to request a code authorization grant, I encountered an issue. The server responded with the following JSON message:{
“error”: “invalid_request”,
“error_description”: “The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.”,
“hint”: “Code challenge must be provided for public clients”,
“message”: “The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.”
}
t appears that the request URL I sent was as follows: edu.openemr.io/openemr/oauth2/default/authorize?client_id=WCgLDbim-OUY88Y5xzJNToyWkpZ8YGNxOCCgEo&response_type=code&scope=&redirect_uri=http%3A%2F%2Flocalhost%3A8888%2Fcallback&state=9512151b-e5ca-cb4b-1ddc-aaf4cd8c6ecc