Healthcare identity.
SMART on FHIR. HIPAA-ready.
Building a healthcare app? Activate the healthcare module per tenant. Get SMART on FHIR scopes, EHR launch context, fhirUser claims, HIPAA-grade audit logging, and integration with Epic, Cerner, and any FHIR R4 server.
Healthcare auth is hard
Healthcare apps don't just need login. They need EHR integration, HIPAA compliance, patient consent flows, and clinical scopes. Building this from scratch takes months. AuthFI handles all of it.
EHR integration
Your app needs to launch from Epic, Cerner, or any EHR. That requires SMART on FHIR — a complex OAuth2 extension with clinical scopes and launch context.
HIPAA compliance
Every access to patient data must be logged. Encryption required at rest and in transit. Access controls must be role-based. You need a BAA with your auth provider.
Patient consent
Patients control who sees their data. Consent must be captured during authorization and enforced on every request. Scopes define the boundary.
Clinical scopes
Standard FHIR scopes like patient/*.read and launch/patient. Not custom permissions — standard scopes that every EHR system understands.
AuthFI handles all four. Activate the healthcare module per tenant. Your app gets SMART on FHIR, HIPAA compliance, consent flows, and clinical scopes — with zero custom auth code.
SMART on FHIR scopes
Standard clinical scopes from the SMART App Launch Framework v2.2.0. Your app requests scopes during authorization. The patient consents. AuthFI enforces.
| Scope | Description | Category |
|---|---|---|
| patient/*.read | Read any FHIR resource for the patient in context. Lab results, medications, conditions, allergies. | Patient |
| patient/*.write | Write FHIR resources for the patient. Clinical notes, orders, care plans. | Patient |
| patient/Observation.read | Read only Observation resources (vital signs, lab results). Narrow scope for monitoring apps. | Patient |
| patient/MedicationRequest.write | Write medication orders. Requires doctor role and MFA verification. | Patient |
| launch/patient | App receives patient context during EHR launch. The patient ID is in the token. | Launch |
| launch/encounter | App receives encounter context. Knows which visit/appointment the clinician is in. | Launch |
| user/*.read | Read resources accessible to the logged-in user (clinician). Not patient-scoped — user-scoped. | User |
| openid fhirUser | Returns the FHIR resource reference for the user. Practitioner/123 or Patient/456. | Identity |
1. App requests scopes
fhirUser
launch/patient
patient/*.read
// Requested during /authorize
2. Patient consents
"Lab Results App" wants to:
● View your medical records
● Know your patient ID
● Know your care provider
[Allow] [Deny]
3. Access granted
openid
fhirUser
launch/patient
patient/*.read
// Enforced on every FHIR request
FHIR user references
Every AuthFI user can have a FHIR resource reference. The fhirUser claim in the token tells the EHR system exactly who this person is in FHIR terms.
Practitioners (clinicians)
dr.smith@hospital.com
fhirUser: Practitioner/123
roles: [doctor]
NPI: 1234567890
nurse.jones@hospital.com
fhirUser: Practitioner/456
roles: [nurse]
NPI: 0987654321
Patients
john.doe@email.com
fhirUser: Patient/789
roles: [patient]
MRN: 12345
jane.doe@email.com
fhirUser: Patient/790
roles: [patient]
MRN: 12346
HIPAA compliance checklist
AuthFI provides the technical safeguards required for HIPAA compliance. Every item is built in — not a bolt-on or upgrade.
| Requirement | How AuthFI delivers | |
|---|---|---|
| ✓ | Encryption at rest (AES-256) | All data encrypted at rest. Database, backups, logs. |
| ✓ | Encryption in transit (TLS 1.3) | All API calls over HTTPS. HSTS enforced. No plain HTTP. |
| ✓ | Audit logging | Every access decision logged: who, what, when, from where. Immutable audit trail. |
| ✓ | Role-based access controls | Roles, permissions, groups, MFA enforcement. Granular and configurable. |
| ✓ | Data residency | Choose deployment region. Data stays where you need it. US, EU, or custom. |
| ✓ | BAA available | Business Associate Agreement available on Business and Enterprise plans. |
| ✓ | Session management | Configurable session timeouts. Force logout. Token revocation. SSO session control. |
| ✓ | MFA enforcement | Require MFA for sensitive operations. TOTP, WebAuthn, SMS. Configurable per role/route. |
| ✓ | PHI isolation | Tenant-level data isolation. No cross-tenant data access. Separate encryption keys per tenant. |
| ✓ | Password policies | Configurable complexity, rotation, history, lockout. Meets NIST 800-63B. |
Clinical workflow — end to end
Doctor logs in. SMART launch. Patient context established. EHR data accessed. Every step audit-logged. Here's the full flow.
Doctor logs into EHR
Clinician authenticates in the EHR system (Epic, Cerner). Opens a patient chart.
SMART launch initiated
EHR redirects to AuthFI with launch context. AuthFI validates the launch and presents the consent screen.
Patient context established
AuthFI resolves the launch context, maps the clinician to a FHIR user, and issues a token scoped to this patient.
App accesses FHIR resources
The app uses the token to query the FHIR server. Only resources for Patient/456 are accessible. Only Observation resources, per the scope.
Every access audit-logged
AuthFI logs every token issuance, every scope grant, every FHIR access. Immutable. Queryable. HIPAA-ready.
Works with every major EHR
AuthFI implements the SMART App Launch Framework. Any EHR system that supports SMART on FHIR R4 works out of the box.
Epic
SMART on FHIR R4. MyChart integration. EHR launch and standalone launch.
Cerner (Oracle Health)
SMART on FHIR R4. Millennium platform. Ignite APIs.
Allscripts
SMART on FHIR R4. Open API platform. Sunrise and TouchWorks.
OpenMRS
Open-source EHR. FHIR2 module. Custom SMART integration.
Custom FHIR server
Any FHIR R4-compliant server. HAPI FHIR, Microsoft FHIR Server, Google Cloud Healthcare API.
Configure per tenant — one API call
.well-known/smart-configuration
AuthFI auto-generates the SMART discovery endpoint. EHR systems use this to discover your app's authorization endpoints and supported capabilities.
Auto-generated. Always up to date. EHR systems query this endpoint to discover your app's capabilities.
Related features
Available on Business and above. See pricing →
One platform. Every identity layer.
Free to start.
Free for 5,000 users. Upgrade when you're ready.
Start building free →