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

Add features for SMARTv2 #47

Draft
wants to merge 63 commits into
base: master
Choose a base branch
from

Conversation

jmandel
Copy link
Member

@jmandel jmandel commented May 11, 2021

I'm opening this as "draft" to start a conversation -- @vlad-ignatov what do you think about making a v2 branch to support SMART v2 WIP? I've been maintaining this outside of SMART in the early days, but as we move through the HL7 process, it'd be good to get the groundwork merged into an appropriate branch of the upstream smart-on-fhir/smart-launcher project...

BTW this branch is what's deployed for Connectathon at https://smart.argo.run/

GinoCanessa and others added 30 commits August 21, 2020 16:16
Added granular-scopes-app for testing.
Added link to granular-scopes-app from launcher page.
Standalone launch auth and refresh working.
Added dynamic loading of resource panels based on scopes.
Improved save and load of scope objects.
Updates to various info records to show markdown.
First cut of type-level resource display.
…irect-url

Allow env var to customize redirect URL during dev
Label FHIR server more intuitively, I hope
Removed 'nice' handling of duplicate scope listings.
@jmandel jmandel requested a review from vlad-ignatov May 11, 2021 21:48
@vlad-ignatov
Copy link
Contributor

Yes, i see this is introducing a lot of changes and merging it properly will be difficult. In fact, I did merge it but I am also making other changes to the sandbox...

  • This project is a little outdated so I wanted to do some clean up and upgrade before introducing new features. I am doing that in branch v2, which is currently deployed to https://launch.smarthealthit.org/ (as a trail run). If people do not complain about something that is not covered by the tests, it will be merged back to master.
  • Your changes have been merged to branch v3 which is currently deployed to https://smart-launcher-staging.herokuapp.com/. Please give it a try. It was a complex merge and I may have messed up something. Note that https://smart-launcher-staging.herokuapp.com/ is for test deployments and is not guaranteed to host v3 forever.
  • I also want to switch to TypeScript (at least on the back-end) but I just don't have the time for that now with all the upcoming grant work.

I think the next step right now would be a fhirclient update. Other than the PKCE support, can you please describe what other changes you have made to it?

@jmandel
Copy link
Member Author

jmandel commented Jun 24, 2021

Thanks for taking a look! Changes include:

  • PKCE
  • Support for SMARTv2 discovery capabilities
  • Support for POST-based authorization
  • Support for token introspection with context including fhirUser and patient
  • Support for SMARTv2 style scopes like category-based Observations
  • Granular Controls demo app that demonstrates the features above

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.

3 participants