Stream: implementers
Topic: Shared Auth Server - Cross Org Exchange
Sheridan Cook (Mar 18 2020 at 21:56):
Is anyone using Oauth/SMART in a scenario where multiple clients and resource servers want to share the same centralized authorization server (pre-reg'd with client and user information) to request access tokens…but they want those access tokens to be specific to user permissions instead of tied to broadly-based client permissions?
I'm thinking through a scenario where we don't want to make the client connect to 10 auth servers for 10 different resource servers. And we don't want to make the resource servers connect to a bunch of different auth servers to perform token validation. And in this scenario, we don't want access scope to be client-oriented like the EHR-to-EHR argonaut profile accommodates.
I've read through the Oauth2 Authorization Grant Types and don't feel like this scenario sits squarely in either authentication code grant type or client credential grant type.
Has anyone implemented something similar to the scenario described above?
Lloyd McKenzie (Mar 18 2020 at 21:57):
@Josh Mandel
Joel Schneider (Apr 04 2020 at 06:21):
If the user's access token is a JSON Web Token (JWT), it's possible to include custom claims in the JWT payload. The custom claims can express granular user permission details.
Not really my area of expertise, but we've implemented something like this.
Jens Villadsen (Apr 04 2020 at 21:45):
We are doing this - and embedding custom claims in the JWT. In our setup you also need to request specifics in the JWT. The JWT ends up containing rights ( eg. Patient.read) and context (eg. EpisodeOfCare/123) which are then accepted across the servers hosting different types of resources
John Moehrke (Apr 07 2020 at 16:11):
IHE has an OAuth implementation guide that has some JWT custom claims to support things like PuposeOfUse, name of user, organization of user, etc.
Jose Costa Teixeira (Apr 07 2020 at 16:16):
very timely information @John Moehrke where can I find that guidance?
John Moehrke (Apr 07 2020 at 16:17):
https://wiki.ihe.net/index.php/Internet_User_Authorization
Jose Costa Teixeira (Apr 07 2020 at 16:25):
thanks. shared.
Last updated: Apr 12 2022 at 19:14 UTC