Unable to add Standard API scopes in 7.0.2

Situation
when adding a new API client, only the FHIR scopes (with the capital first letter) are available. When trying to access any of the standard api paths the request fails with a 401. Additionally, when requesting a token only the FHIR scopes are recognized.

Also, when I try and create an api client using a postman post with the standard api scopes it never loads in the UI for me to be able to enable it.

OpenEMR Version
7.0.2 - in Docker

Browser:
Chrome

Operating System
Linux

Search
yes, and after thorough searching I’m adding this post.

Logs

Nothing in the logs.

Were you able to solve the issue?

This is likely due to this issue: feat: Update OpenEMR App Registration Page to support standard api scopes · Issue #6999 · openemr/openemr · GitHub

To get standard scopes you have to register your app via the API instead of using the GUI interface.

Without more details (such as enabling the API debug logs) it’s hard to determine what would be triggering the API client not showing up in the postman post.

1 Like

Thank you so much, that fixed the problem

1 Like