I am trying to get an auth token with:
curl -X POST -H 'Content-Type: application/json' 'http://<<IP ADDRESS>>/openemr/apis/api/auth' \
-d '{
"grant_type":"password",
"username": "user",
"password": "pass",
"scope":"default"
}'
With my credentials and getting the following error:
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at
webmaster@localhost to inform them of the time this error occurred,
and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
When I check the apache error logs I don’t see anything except for PHP. Notice Is there something I’m missing?