From 0c173d090f50bd099cfe85c54ee46e30f6bfe526 Mon Sep 17 00:00:00 2001 From: v-gkuber <138763846+v-gkuber@users.noreply.github.com> Date: Tue, 26 Nov 2024 05:53:52 +0530 Subject: [PATCH] Updated Oauth2Permissions example to support Microsoft Graph App Manifest format (#260) --- samples/fhir-aad-b2c/oauth2Permissions.json | 46 +-------------------- 1 file changed, 1 insertion(+), 45 deletions(-) diff --git a/samples/fhir-aad-b2c/oauth2Permissions.json b/samples/fhir-aad-b2c/oauth2Permissions.json index 1f9fa809..b2b9b8e9 100644 --- a/samples/fhir-aad-b2c/oauth2Permissions.json +++ b/samples/fhir-aad-b2c/oauth2Permissions.json @@ -1,12 +1,10 @@ { - "oauth2Permissions": [ + "oauth2PermissionScopes": [ { "adminConsentDescription": "Allows user to read all resources in a patient's compartment.", "adminConsentDisplayName": "patient.all.read", "id": "c71e9482-f052-461b-80e1-7cfeba7b2b12", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read all resources in a patient's compartment.", "userConsentDisplayName": "patient.all.read", @@ -17,8 +15,6 @@ "adminConsentDisplayName": "online_access", "id": "8f4fe9ac-b7f2-43ca-a0ef-070f4a8ae5dc", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Grants permission for a refresh token to be used to obtain a new access token as long as the user is still online.", "userConsentDisplayName": "online_access", @@ -29,8 +25,6 @@ "adminConsentDisplayName": "patient.Medication.read", "id": "058fa58e-ac09-4308-970e-2f2da3bf49b4", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "samples readAllows user to read Medication resources in a patient's compartment.", "userConsentDisplayName": "patient.Medication.read", @@ -41,8 +35,6 @@ "adminConsentDisplayName": "patient.AllergyIntolerance.read", "id": "fa23e5cb-b06f-4d07-bcf8-f5ce114dd847", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read AllergyIntolerance resources in a patient's compartment.", "userConsentDisplayName": "patient.AllergyIntolerance.read", @@ -53,8 +45,6 @@ "adminConsentDisplayName": "patient.CarePlan.read", "id": "4fcc09b8-fd6b-430f-9b2b-7bbd2c2b7e8f", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read CarePlan resources in a patient's compartment.", "userConsentDisplayName": "patient.CarePlan.read", @@ -65,8 +55,6 @@ "adminConsentDisplayName": "patient.CareTeam.read", "id": "4860ad86-f40e-4e2b-8661-ba03ee154b19", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read CareTeam resources in a patient's compartment.", "userConsentDisplayName": "patient.CareTeam.read", @@ -77,8 +65,6 @@ "adminConsentDisplayName": "patient.Condition.read", "id": "60fd617d-0d96-4c44-9cf3-ee91c0c45161", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read Condition resources in a patient's compartment.", "userConsentDisplayName": "patient.Condition.read", @@ -89,8 +75,6 @@ "adminConsentDisplayName": "patient.Device.read", "id": "f7b318b5-9bf5-46d0-8701-845c568925d9", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read Device resources in a patient's compartment.", "userConsentDisplayName": "patient.Device.read", @@ -101,8 +85,6 @@ "adminConsentDisplayName": "patient.DiagnosticReport.read", "id": "ef9475b2-f7da-4a86-b385-9fffe030c310", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read DiagnosticReport resources in a patient's compartment.", "userConsentDisplayName": "patient.DiagnosticReport.read", @@ -113,8 +95,6 @@ "adminConsentDisplayName": "patient.DocumentReference.read", "id": "e2a5290a-59c6-4847-af7f-c5b16c692f24", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read DocumentReference resources in a patient's compartment.", "userConsentDisplayName": "patient.DocumentReference.read", @@ -125,8 +105,6 @@ "adminConsentDisplayName": "patient.Encounter.read", "id": "9e7cdd6e-af8a-4e6d-9170-4274b35864bc", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read Encounter resources in a patient's compartment.", "userConsentDisplayName": "patient.Encounter.read", @@ -137,8 +115,6 @@ "adminConsentDisplayName": "patient.Goal.read", "id": "e6e32ed0-c9a2-4f1b-adb5-e3d59e47bb54", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read Goal resources in a patient's compartment.", "userConsentDisplayName": "patient.Goal.read", @@ -149,8 +125,6 @@ "adminConsentDisplayName": "patient.Immunization.read", "id": "f6c2728b-b49d-4d10-bb69-7798f1603807", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read Immunization resources in a patient's compartment.", "userConsentDisplayName": "patient.Immunization.read", @@ -161,8 +135,6 @@ "adminConsentDisplayName": "patient.MedicationRequest.read", "id": "16352d13-6c69-4eee-adbb-f7420b3f252b", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read MedicationRequest resources in a patient's compartment.", "userConsentDisplayName": "patient.MedicationRequest.read", @@ -173,8 +145,6 @@ "adminConsentDisplayName": "patient.Observation.read", "id": "890da85b-b5ad-4981-8966-4b80fd75a5b8", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read Observation resources in a patient's compartment.", "userConsentDisplayName": "patient.Observation.read", @@ -185,8 +155,6 @@ "adminConsentDisplayName": "patient.Organization.read", "id": "81882045-ad54-4a5f-926c-a2a09d7dd2b5", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read Organization resources in a patient's compartment.", "userConsentDisplayName": "patient.Organization.read", @@ -197,8 +165,6 @@ "adminConsentDisplayName": "patient.Patient.read", "id": "d23f0b68-a2f5-4647-987b-b58fdd86b49d", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read Patient resources in a patient's compartment.", "userConsentDisplayName": "patient.Patient.read", @@ -209,8 +175,6 @@ "adminConsentDisplayName": "patient.Practitioner.read", "id": "ad27d725-86ff-4bc9-86fb-afdb2f007089", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read Practitioner resources in a patient's compartment.", "userConsentDisplayName": "patient.Practitioner.read", @@ -221,8 +185,6 @@ "adminConsentDisplayName": "patient.Procedure.read", "id": "be1c7593-9057-4947-a456-424dde696627", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read Procedure resources in a patient's compartment.", "userConsentDisplayName": "patient.Procedure.read", @@ -233,8 +195,6 @@ "adminConsentDisplayName": "patient.Provenance.read", "id": "d56c68f3-ec5f-4e12-82cc-afa8921337f0", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read Provenance resources in a patient's compartment.", "userConsentDisplayName": "patient.Provenance.read", @@ -245,8 +205,6 @@ "adminConsentDisplayName": "patient.PractitionerRole.read", "id": "1d6a9f65-62f4-42b0-93d7-fc3437112f46", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows user to read PractitionerRole resources in a patient's compartment.", "userConsentDisplayName": "patient.PractitionerRole.read", @@ -257,8 +215,6 @@ "adminConsentDisplayName": "patient.Location.read", "id": "6fbb6a2c-cd2f-486c-a421-b188f2184df8", "isEnabled": true, - "lang": null, - "origin": "Application", "type": "User", "userConsentDescription": "Allows a user to read Location resources in a patient's compartment.", "userConsentDisplayName": "patient.Location.read",