Join our Newsletter — 33% off our NHI Course

How should teams handle identity across ePA and SMART on FHIR integrations?

Teams should design authentication, consent, and authorisation as one trust model across prescriber workflows, APIs, and member portals. If those layers are managed separately, federated access becomes brittle and tenant onboarding slows down. The priority is clear token handling, role scope, and governance across the full access path.

How to treat identity as a shared control plane

ePA and smart on fhir both depend on who is asking, what they are allowed to do, and how trust is asserted end to end. The practical mistake is to let one layer own login, another own consent, and a third own API scope, because that creates mismatched identities and brittle onboarding. Teams should treat these as one access path, not three separate projects.

That means the same identity decision should carry through prescriber workflows, patient or member portals, and API calls into FHIR resources. If a user is recognised in one channel but not another, the integration will fail in ways that are hard to diagnose and even harder to govern. The goal is a single trust model that survives channel changes and tenant changes without rework.

In practice, this is less about choosing a single product and more about defining the shared rules: how the subject is authenticated, how consent is represented, how scopes map to roles, and where step-up or delegation is required. OpenID Connect Core 1.0 is relevant here because it shows the identity layer that typically sits above OAuth when you need a stable authentication signal across applications.

What makes ePA and SMART on FHIR integrations fail in practice

The main failure mode is split ownership: the ePA flow treats the user journey as business workflow, while the FHIR side treats it as API authorisation. That separation often produces inconsistent token handling, unclear role scope, and duplicate policy logic. It also makes tenant onboarding slow, because each new payer, provider, or member context has to be wired into multiple trust decisions.

Another common break point is scope drift. If access tokens carry broad permissions to keep integration simple, teams lose the ability to prove that a prescriber, clinician, delegate, or member can only reach the intended dataset. If scopes are too narrow or inconsistently interpreted, the result is failed transactions and manual exceptions. Either way, the integration becomes operationally fragile.

Identity governance is also part of the problem when organisations do not define who owns role mapping, consent records, and credential lifecycle. The result is often hidden dependency on local exceptions and one-off federation rules. NHIMG’s Identity Security Programme Guide helps frame the operating model question, while the IAM and Identity Provider Buyer’s Guide is useful when the control decision depends on federation, SSO, and lifecycle support.

Good design starts by aligning the same subject, session, and permission model across portals and APIs. The token should represent a clearly understood actor, the consent record should explain the permitted data use, and the role or scope should be narrow enough to support least privilege without breaking clinical or member workflows. For FHIR-specific access, that usually means deciding up front which permissions are user-driven, which are system-to-system, and which require contextual checks.

Teams should also distinguish between authentication and authorisation decisions even when the user experience is seamless. A successful login does not mean a user can act on every connected system, and a valid API token does not mean the calling app should inherit broad human privileges. NIST SP 800-63 Digital Identity Guidelines is useful for anchoring assurance and authentication quality, while OpenID Connect Core 1.0 is the right model for how identity assertions travel between relying parties and identity providers. Ultimate Guide to NHIs is also relevant where service-to-service calls, client credentials, or workload identities sit behind the integration.

What to verify: verify that the same real-world actor is represented consistently across the ePA and SMART on FHIR paths, and that token claims, consent state, and role assignments cannot diverge silently.

What to measure: measure onboarding time, failed token exchanges, manual exception rates, and the number of integration-specific access rules that exist outside the central trust model.

Practitioner takeaway: if identity, consent, and scope are not governed as one model, the integration will scale by exception rather than by design, and every new tenant will amplify that inconsistency.

Risk and Threat Considerations

When identity handling is split across ePA and SMART on FHIR, the main risk is not just inconvenience, it is trust failure. Misaligned tokens, stale role mappings, or overly broad scopes can expose records to the wrong actor or force teams to create permanent exceptions that erode control quality over time.

Failure mechanism: the integration relies on different systems making partially overlapping decisions about authentication, consent, and authorisation, so one layer can approve access that another layer cannot reliably validate or revoke.

Impact: that creates broken federation, slower onboarding, inconsistent access enforcement, and a higher chance of unauthorised data exposure or manual workarounds that persist longer than intended.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP API Security Top 10 addresses the attack and risk surface, while NIST SP 800-63, NIST SP 800-53 Rev 5 and CSA Cloud Controls Matrix set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST SP 800-63 IAL — Identity Assurance Level ePA and SMART on FHIR need assurance over the subject being authenticated.
Recommendation — Set the required identity assurance level before granting cross-system access.
NIST SP 800-53 Rev 5 IA-2 — Identification and Authentication (Organizational Users) Prescriber and staff access depend on strong organisational user authentication.
IA-9 — Service Identification and Authentication FHIR API and integration traffic often relies on service-to-service identity.
Recommendation — Enforce strong user authentication for workforce access to ePA and FHIR workflows. Authenticate integration services explicitly before allowing API-to-API access.
OWASP API Security Top 10 API2 — Broken Authentication FHIR endpoints and integration tokens can fail when authentication is inconsistent.
API5 — Broken Function Level Authorization Role scope across prescriber and portal actions must be enforced consistently.
Recommendation — Harden API authentication so access tokens and sessions cannot be forged or reused. Apply function-level authorization to every FHIR and workflow action.
CSA Cloud Controls Matrix IAM — Identity and Access Management Cloud healthcare integrations require unified identity and access governance.
Recommendation — Centralize identity and access controls across portals, APIs, and tenants.

Practitioner Guidance

What to prioritise: define one authoritative trust model for user, portal, and API access before connecting additional ePA or FHIR partners. If the team cannot describe who issues the identity, who consumes it, and which claim drives authorisation, the design is still too fragmented.

Decision rule: if the integration needs custom role mapping in more than one place, move that logic into a central policy and token model rather than duplicating it per application.

What to verify: test onboarding, token refresh, consent revocation, and role change scenarios together, because these are the points where split identity handling usually fails first.

Common mistake: treating clinical workflow integration as separate from access governance. In practice, the workflow is the governance surface.

Practitioner takeaway: a durable ePA and SMART on FHIR integration is one where identity, consent, and authorisation stay aligned even when the user journey, tenant, or calling system changes.