SMART App Launch
This functionality is available starting from version 2411. The FHIR Schema Validator Engine should be enabled.
Performing SMART App Launch with Aidbox requires:
1. Client for SMART Application
It shall be Authorization Code Grant Client with several required values:
auth.authorization_code.token_format
Fixed value - jwt
smart.launch_uri
SMART Application launch endpoint
type
Fixed value - smart-app
Example
2. Launch URI
Launch URI structure:
Where:
smart-app-launch-endpoint
- SMART Application launch endpoint. It shall be equal toClient.smart.launch_uri
.iss
- Identifies the EHR's FHIR endpoint.launch
- JWT identifier for this specific launch and context associated with it. It shall be signed with an Aidbox private key.
launch
parameter JWT shall contain the following claims:
user
*
valueString
Aidbox user ID.
exp
*
valueInteger
Experation time in seconds
ctx.patient
*
valueString
Patient ID
* - required claim
Get launch URI endpoint
Aidbox provides an endpoint to build the correct launch URI:
External Identity Provider
Aidbox supports SMART App Launch with external identity provider authorization. In this case, an Identity Provider needs to be set up in Aidbox then you will be able to Sign In with the external identity provider during the SMART App Launch flow.
Try SMART App Launch using Aidbox and an external identity provider (Keycloak) running our pre-configured demo:
Example: SMART App Launch using Aidbox and KeycloakLast updated