smart-doctor v0.2.0 GitHub

Error catalogueSign-in at the EHR

aud rejected at sign-in

What it means

SMART EHRs require aud to be the FHIR base URL the app talks to, exactly as the EHR expects it (trailing slash, http vs https, version path).

Fix

Check the FHIR base URL (--fhir): smart-doctor sends it as aud.

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_request"}'