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

Implement the option for having a list of access-checkers instead of just one. #201

Open
bashir2 opened this issue Nov 2, 2023 · 0 comments
Labels
enhancement New feature or request P2:should An issue to be addressed in a quarter or so.

Comments

@bashir2
Copy link
Collaborator

bashir2 commented Nov 2, 2023

Currently we can only have one access-checker; to combine multiple access-checkers one should implement a new plugin. It is probably better to let multiple access-checkers be provided and they will be checked in the order provided. For example, a setup might be ACCESS_CHECKER=patient,list,backend where a provided Bearer token is first checked against the SMAR-on-FHIR patient access-checker. If it fails the check, then it will be checked against the ListAccessChecker, etc.

@bashir2 bashir2 added enhancement New feature or request P2:should An issue to be addressed in a quarter or so. labels Nov 2, 2023
@bashir2 bashir2 self-assigned this Nov 2, 2023
@bashir2 bashir2 removed their assignment Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2:should An issue to be addressed in a quarter or so.
Projects
None yet
Development

No branches or pull requests

1 participant