Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart on fhir docs #4782

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

himeshsiriwardana
Copy link
Contributor

@himeshsiriwardana himeshsiriwardana commented Sep 26, 2024

Purpose

$subject

screencapture-localhost-8000-asgardeo-docs-tutorials-smart-on-fhir-2024-09-26-19_01_33


!!! note

Be sure to select the API resources listed under **Management API**.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This note is not needed. The example was provided to enable the scopes for 'API Resource Management API’.


- Add the relevant OIDC and SCIM dialects of the `fhirUser` user attribute.

- Update the `fhirUser` attribute of a selected user to `Patient/1`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the fhirUser attribute of a selected user to PatientId.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It needs to add the following steps as well before the last step.
'Create API Resources policy for SMART App Launch'


1. Under **Auth Type**, select **Basic Auth**.

2. Enter the client ID and client secret of your application as username and password respectively.
Copy link

@isuruuy429 isuruuy429 Sep 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we make the client id and client secret values not visible in the screenshot?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also shall we provide a screenshot of the application created in Asgardeo after running the Postman Collection?


Now that you have created the `fhirUser` user attribute and registered your SMART on FHIR app in Asgardeo, let's try to log into your application as the user and obtain the ID token. If everything has worked, the ID token should contain the `fhirUser` attribute.

To do so,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we add the screenshot of retrieving the id-token? (The 'get-token' request's Authorization tab)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants