Hi. I’m trying to get the SMART on FHIR stuff working. I can register the swagger app and launch it from a patient’s dashboard. I then click the Authorize button, which brings up the Available Authorizations page
That page shows the authorization url to be /oauth2/default/authorize
When I click Authorize on that page, I get a 404, with the browser trying to open
https://{sitename}/oauth2/default/authorize
If I change this to
https://{sitename}/openemr/oauth2/default/authorize
I then get
{“error”:“invalid_client”,“error_description”:“Client authentication failed”,“message”:“Client authentication failed”}
which seems like progress (and a different issue maybe)
Why is the url being generated to reach the authorize service missing “openemr”?
I tried setting Site Address Override (if needed for OAuth2, FHIR, CCDA, or Payment Processing) in Admin | globals | connectors to various possibilities, and closing all browsers and restarting apache, but none affected this issue
I got https working by making a self-signed cert using makecert.bat in xamp apache conf (I didn’t use the openemr admin | system | certificates page). Is that the issue?
Advice?
Thanks
openemr v 7.0.0 (1)
xampp 3.3.0 running on windows server 2022 datacenter (in AWS)
running in Edge
In apache log, I do see this. Not sure if relevant:
www.example.com:443:0 server certificate does NOT include an ID which matches the server name
Nothing of interest in php_error log