Authentication
Authentication Overview
SMART on FHIR uses OAuth 2.0 for authorization and OpenID Connect for authentication.
The Flow
- Launch: The EHR launches your app.
- Discovery: Your app discovers the EHR’s authorization endpoints.
- Authorize: Your app requests authorization from the user.
- Token: Your app exchanges the authorization code for an access token.
- Access: Your app uses the access token to access FHIR data.