MediRecords FHIR Implementation Guide
1.4.2 - release


smart-configuration

GET

GET {API_URL}/v1/.well-known/smart-configuration

This endpoint allows the SMART App to discover the MR Authorization Server configuration, including endpoints for authorization and token exchange.

Response

The response is a JSON payload containing the authorization server configuration details as detailed below:

Response Parameters    
issuer string Authorization server’s Issuer URI (Authorization server base URL)e
jwks_uri string Authorization server’s JSON Web Key Set URL
authorization_endpoint string Authorization server’s authorization URL
grant_types_supported string[] Array of grant types supported at the token endpoint.
token_endpoint string Authorization server’s token URL
token_endpoint_auth_methods_supported string[] Array of client authentication methods supported by the token endpoint
scopes_supported string[] Array of scopes a client may request
response_types_supported string[] Array of OAuth2 response_type values that are supported. Currently only supports: code
capabilities string[] Array of strings representing SMART capabilities (e.g., sso-openid-connect or launch-standalone) that the server supports
code_challenge_methods_supported string[] Array of PKCE code challenge methods supported. Currently only supports: S256
     
Status Text
200 OK
500 Internal Server Error