Technical User Workflow

The technical user uses the client ID and client secret obtained from the service key to generate the OAuth access token.

In the technical user workflow, the AuthorizationMap is mapped to the service instance ID. The GroupPolicy allows the user to access the FHIR resources and perform the RESTful interactions defined by the RolePermission referenced in the GroupPolicy.

To configure the authorization to enable the technical user workflow, you must perform the following steps:

  1. Define a role collection. For more information, see Define a Role Collection.

  2. Create a role using the HealthData_Authorization_TechUser_DesignTime role template. For more information, see SAP Health Data Services for FHIR Preshipped SAP BTP Role Templates.

  3. Assign role collection to users or user groups. For more information, see Assigning Role Collections to Users or User Groups.

  4. Generate a valid OAuth access token using the password grant. For more information, see Generating a Valid OAuth Access Token.

  5. Configure the granular level authorization by creating the RolePermission, GroupPolicy, and AuthorizationMap resources. For more information, see Configure the Granular Level User Authorization.

  6. Access the SAP Health Data Services for FHIR endpoint by generating a valid OAuth access token using the client credentials grant. For more information, see Generating a Valid OAuth Access Token.