Medplum · OAuth Scopes
Medplum OAuth Scopes
OAuth 2.0
searched
Medplum publishes 12 OAuth 2.0 scopes via the authorizationCode and clientCredentials flows. Scopes are the fine-grained permissions an application requests at authorization time to act against the Medplum API on a user’s behalf.
Tokens are issued from https://api.medplum.com/oauth2/token.
This index is generated from the provider’s OpenAPI security definitions (and, where available, its documented scope reference) and refreshes on every APIs.io network build. Browse every provider’s scopes at scopes.apis.io.
HealthcareFHIROpen-SourceDeveloper PlatformHIPAASMART on FHIRClinicalInteroperability
Scopes: 12
Flows: authorizationCode, clientCredentials
Method: searched
OAuth endpoints
Authorization URL
https://api.medplum.com/oauth2/authorize
https://api.medplum.com/oauth2/authorize
Token URL
https://api.medplum.com/oauth2/token
https://api.medplum.com/oauth2/token
Flows
authorizationCodeclientCredentials
authorizationCodeclientCredentials
Scopes (12)
| Scope | Description | Flows |
|---|---|---|
| openid | OpenID Connect base scope; required to obtain an id_token. | |
| profile | Access to the authenticated user's profile claims. | |
| Access to the authenticated user's email claim. | ||
| phone | Access to the authenticated user's phone claim. | |
| address | Access to the authenticated user's address claim. | |
| patient/*.rs | Read and search any FHIR resource type within the launch-context patient's compartment (SMART v2 fine-grained scope syntax). | |
| user/*.cruds | Create, read, update, delete, and search any FHIR resource type as the authenticated user (SMART v2 fine-grained scope syntax; e.g. user/Encounter.cu grants write-only access to Encounter). | |
| fhirUser | Grants the client the authenticated user's FHIR resource reference (fhirUser claim). | |
| launch | EHR-launch context scope (SMART App Launch, provider/EHR-initiated launch). | |
| launch/patient | Standalone-launch context scope that resolves the launch patient context. | |
| offline_access | Requests a refresh token so the client can obtain new access tokens without re-authentication. | |
| online_access | Requests an access token valid only for the current session (no refresh token). |
📄 Provider scope reference: https://www.medplum.com/docs/access/smart-scopes