/oauth2/default/registration not found during SMART App registration

Hi Stephen i have registered a swagger Smart app it gave me client id and client secret id but when i am trying to authorize it by clicking the Authorize Button it gives not found how to solve it


image

What’s the URL of the page giving you the 404?

Hi Stephen We are trying to config SSL ie From Openemr → Certificates We get A server Certificate And key We have Config It in httpd-vhosts.conf as in given image and installed the certificate using trusted Authority
But we are not able to config it it is showing invalid certificate ,need your help Attaching All the pics needed
image

image

Thanks & Regards
kaustubh

So its a self signed certificate which browsers automatically state are invalid since there is no CA in your trusted CA store that recognizes the certificate. Not sure I understand the problem. You either need to import the certificate into your local browser’s trusted certificate, or tell your browser to continue with the untrusted certificate.

1 Like

Hi Stephhen Now Everything is set done with oauth2 ie SSL is working ,configured self signed SSL is working, when registering Client Id it is providing but when authorizing using Swagger it gives 404 not found as shown in the image& logs is giving
php:notice] [pid 2712:tid 1716] [client ::1:49298] [2023-03-31T15:28:33.405576+02:00] OpenEMR.ERROR: dispatch.php invalid access to resource {“resource”:"/fhir"} []
need your guidance and help
Thanks & regards
Kaustubh


@adunsulag I am trying to do this in localhost.
Admin → Globals → Connectors → Site Address I gave http://localhost:9090

The url is same as the one I am trying to access openEMR. I am still getting 404.

I am not sure which .htaccess file I need to change. As you already told, default is coming from .htaccess.

Please help me what I am missing here. Thanks