Read about OpenEMR's Response to the COVID-19 Pandemic at https://www.open-emr.org/covid19/

I am getting 500 on auth api

Hi All,

I am not able to access openEMR auth api,it’s give 500 error.
so i checked the code on route file return (new AuthRestController())->authenticate($data) this function is not called.i am thinking that the controller is not loaded that’s why it’s not create a object on that class.

can you please tell me how to load that controller inside _rest_roures.inc.php .my controller is inside src directory.

Thanks
Ram

Hi Ram,

Can you send a screenshot of the code in question?

If you’re using the script from the test folder I think it assumes your openemr web interface is on port 8300(development) instead of 80(production)