FHIR: What next after receiving client id and secret?

@adunsulag
In our quest to build a patient-facing app, we followed the documentation below.
Here is where we are now getting through the documentation. We have the response back from the endpoint like what is shared on the page. We have the client ID and secret.

The next section is labeled SMART on FHIR Registration. So, a web page is given. But what is the endpoint to register the client ID? What we are trying to achieve is the auto-enabling of the registered app.

We assumed that each patient who downloads the app will need to register that app with the instance of OpenEMR. Is that a correct assumption? The patient will not be logging into OpenEMR directly.

We will be making FHIR calls to get data from the system.
Thank you in advance.

I’m confused by your question. The endpoint to register at is the registration endpoint mentioned in the registration section: https://localhost:9300/oauth2/default/registration

The SMART on FHIR Registration page is just a frontend GUI to make it easier for people to register a SMART on FHIR app because the scopes are pre-selected, it calls the exact same API endpoint for client registration.

Also, look at the documentation for 3rd party apps for what apps are auto-enabled by default: openemr/FHIR_README.md at master · openemr/openemr · GitHub

Also, I mispoke on the saturday call, you can leave the ‘launch’ parameter out since you are not launching inside the EHR context. Launch gives you the EHR context and since you won’t be doing anything needing EHR session context you can leave it out.