v1

latestOpenAPI 3.0.12026-07-261252271.9 KB
Authentication

Obtain OAuth2 Token (client_credentials)

Obtain an access token using the OAuth2 client_credentials grant. Send your client_id and client_secret. Returns an RS256-signed JWT; the scope claim is a space-separated list of ACLs and no refresh token is returned.

post/auth/realms/ema-fhir/protocol/openid-connect/token

Response

Access token response

access_tokenstring

RS256-signed JWT

expires_ininteger
refresh_expires_ininteger
token_typestring
not-before-policyinteger
scopestring

Space-separated list of ACL scopes

Example response

{
  "expires_in": 900,
  "token_type": "Bearer",
  "scope": "acl/enc_s acl/pat_s_name_dob_gen"
}
All 125 operations