SMART Auth1 input → 1 output
Backend to Backend
Backend authentication node for system-level SMART on FHIR/EHR integrations.
Overview
This node generates JWT bearer tokens for backend (system-to-system) authentication with EHR systems. It's designed for workflows that need to access EHR data without user interaction, using pre-configured service credentials. A fresh token is generated for each request to ensure maximum security.
Configuration
Inputs
Outputs
Requirements
This node requires:
- An integration configured with backend type
- JWKS private key and public key configured in the integration
- Proper scopes configured for the desired operations
Usage Example
Typical workflow:
- Inject node (trigger) → Backend Auth → FHIR Read → Debug
- The Backend Auth node generates/caches a token
- FHIR nodes use the token for API calls
Error Handling
The node will report errors for:
- Missing integration context
- Integration not configured for backend auth
- Missing JWKS configuration
- Token generation failures
- Network issues
Security Notes
- Backend tokens have system-level access - use appropriate scopes
- A fresh token is generated for each request to ensure maximum security
- Each integration uses separate credentials
- Tokens are not cached - this provides better security but may impact performance