Azure-Samples / azure-health-data-and-ai-samples

Samples for using the Azure Health Data Services
Other
50 stars 32 forks source link

Issue while testing Patient Standalone App - Full Access #111

Closed HitakshiDobariya99 closed 1 year ago

HitakshiDobariya99 commented 1 year ago

I'm following this document for the implementation of SMART on FHIR: https://github.com/Azure-Samples/azure-health-data-services-samples/blob/main/samples/patientandpopulationservices-smartonfhir-oncg10/docs/deployment.md

I have diligently completed each step of the deployment process. However, while testing the Standalone App for Patients, I encountered an error.

image

I have verified the roles and permissions settings thoroughly and assigned permissions for my application. Also, I gave the Administrator rights to Auth function app for modifying signed user permissions.

Kindly seek your expertise to resolve this issue. Your assistance will be highly appreciated. Thank you.

VirajKheni commented 1 year ago

I'm facing the same issue. If is there anyone who knows then will be very appreciative.

https://github.com/Azure-Samples/azure-health-data-services-samples/issues/105

nimesh13 commented 1 year ago

Hey can you guys let me know how you are testing this? I probably missed this in the docs but I can only find the extensive postman APIs and the inferno tool only.

HitakshiDobariya99 commented 1 year ago

Hello, I'm testing Standalone Patient App - Full Access from the Inferno test suite. In this testing, I'm giving APIM smart baseUrl, client app id, and secret which has the patient's scope. https://inferno.healthit.gov/suites/g10_certification/dfCEkR56ZIC#1

EXPEkesheth commented 1 year ago

Thanks for reporting the issue, we will investigate and report back

nimesh13 commented 1 year ago

@HitakshiDobariya99 oh the inferno tool, okay. I tried with the APIM gateway URL, standalone client app id and secret but it returns a 404 resource not found. I added the standalone app to the fhir service IAM roles too.

image

Any idea?

VirajKheni commented 1 year ago

Hello @nimesh13

I think it's a base URL mistake. You need to give APIM gateway URL/smart as a base Url.

nimesh13 commented 1 year ago

@VirajKheni oh yes this worked!! Thanks! But is this documented anywhere?

nimesh13 commented 1 year ago

So I am also stuck on a similar issue:

image image
EXPEkesheth commented 1 year ago

@erikhoward - can you please check on the documentation issue mentioned by Viral above?

@nimesh13 - is this a different issue mentioned from original one ? If yes, can you please share more details and create new issue?

nimesh13 commented 1 year ago

@EXPEkesheth - yes I have moved the discussion to a new issue.

EXPEkesheth commented 1 year ago

Documentation updated and hence closing the issue

HitakshiDobariya99 commented 1 year ago

This issue is resolved now. You can close the issue.