HealthRecordCommunity
FHIRHL7🌏 USAEnriched

SMART on FHIR: App Launch, Scopes and PKCE Guide

SMART on FHIR: App Launch, Scopes and PKCE Guide - FHIR Vendors

November 14, 2026

Summary

SMART on FHIR standardizes how third-party applications securely integrate with Electronic Health Records (EHRs) using OAuth 2.0 and OpenID Connect. The guide details both EHR-initiated and standalone launch flows, along with the use of scopes and PKCE for secure access.

Details

While FHIR standardizes the data and API, SMART on FHIR standardizes the authorization and authentication process, addressing how an app proves its identity and how it learns which patient is open in the EHR. This standardization allows apps to function across multiple EHRs without custom integration for each one. Two primary launch flows exist: one initiated inside the EHR (passing a launch token) and one standalone (where the user selects the context). Apps first discover necessary endpoints and scopes from the server's `.well-known/smart-configuration`. For enhanced security, SMART 2.x mandates PKCE (S256) and introduces granular scopes. Crucially, the token response carries context information, such as patient and encounter IDs, eliminating the need for the app to ask the user to re-select a patient.

πŸ“°
Read Original Article
fhir-vendors.com
β†’

Original content copyright by respective publishers