fhir-proxy
fhir-proxy copied to clipboard
Cannot perform write operation on patient resource using postman with fhir proxy.
Hello team,
I have added fhir proxy using the v2 branch. I used AAD as an identity provider also MSI as an authentication method. I followed this documentation to create a smart client. https://github.com/microsoft/fhir-proxy/tree/v2.0/scripts
After creating the smart client, I can get the access token using authorization code flow, and also I can get the patient resource. (Get request is working for patient resource). When I make a post request I'm getting a 401 error stating that Must have to Create/Write Permissions on resource type Patient.
Anybody here has any idea what I'm doing wrong here?
smart client name:- proxy10391-smart-client-2 fhir proxy:- sfp-proxy10391.azurewebsites.net fhir server:-fhirstandalonecli I'm adding some screenshots.
IAM blade for my fhir server:-(ADDING FHIR CONTRIBUTOR ROLE FOR MY FHIR PROXY)
API Permissions for fhir proxy:-
App Roles for fhir proxy:-
Scopes for fhir proxy:-
API Permissions for smartclient:-
Scopes and App roles are empty for smartclient.
Postman Operations:-
Getting access token:-
Get Patient Resource using the access token above:-
Error for post request:-
Header:-
Body:-
Authorization:-
I will really appreciate your help. Thanks in advance!