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

Support for authorization using OAuth2 (Smart on FHIR) #383

Open
joarb opened this issue May 12, 2021 · 0 comments
Open

Support for authorization using OAuth2 (Smart on FHIR) #383

joarb opened this issue May 12, 2021 · 0 comments

Comments

@joarb
Copy link

joarb commented May 12, 2021

Is your feature request related to a problem? Please describe.
I'd like to see the possibility of issuing access tokens like this

{
  "access_token": "i8hweunweunweofiwweoijewiwe",
  "token_type": "bearer",
  "expires_in": 3600,
  "scope": "patient/Observation.read patient/Patient.read",
  "intent": "client-ui-name",
  "patient":  "123",
  "encounter": "456"
}

that are understood by the Spark server so that only patient/Observation.read and patient/Patient.read operations for the patient resource "123" are accessible to the authorized client.

Describe the solution you'd like
Support for/integration with the Smart on FHIR framework, or at a minimum OAuth2 support.

Describe alternatives you've considered
Other authorization means could be of interest.

Additional context
Resources:

http://www.hl7.org/fhir/smart-app-launch/
https://hl7.org/fhir/uv/bulkdata/authorization/index.html

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

No branches or pull requests

2 participants