smart-doctor v0.2.0 GitHub

Error catalogueSign-in at the EHR

Scopes rejected at sign-in

What it means

One or more requested scopes are not allowed for this app at this EHR.

Fix

Request only the scopes in the app registration (check v1 vs v2 syntax and launch/patient vs launch).

Check it with smart-doctor

Run your login and smart-doctor ranks this cause against the others, with the evidence it found.

npx smart-doctor check my-profile

Already have the server’s error? Explain it without running anything.

npx smart-doctor explain '{"error":"invalid_scope"}'