Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

In order mock patient login, the AS accepts access token requests with “cpr“ as parameter. This is enabled on a special test client with id "patient_mock" on the “nemlogin“ realm.

Access token requests using either refresh token or username/password is supported.

Pararmeter name

Description

client_id

Required. The OAuth2 client id

grant_type

Required. Value ‘refresh_token’ or 'password'

refresh_token (grant_type = refresh_token )

Required. The refresh token of the current session

username (grant_type = password)

Required. The username of a keycloak user.

password (grant_type = password)

Required. The password of the keycloak user.

cpr

Required. CPR number of test patient
https://www.medcom.dk/opslag/koder-tabeller-ydere/tabeller/nationale-test-cpr-numre

episode_of_care_id

Optional. id of EpisodeOfCare 

  • No labels