Open JohnNKing opened 2 weeks ago
It seems this will be more of an integration story with UCSD. As part of the work, we need to review the RS Programmer's Guide and make sure there are steps to set up outbound OAuth2 connection with RS
Here's is the swagger doc for the description of OAuth2 using Okta. This seems to only be for inbound.
We checked how RS builds the jwt that is used to request an access token, and it appears that it will work with their current setup. The one thing we need now is the endpoint where we will send the message to.
Update:
We concluded that RS has the right setup for OAuth2 when they generate jwt. The jwt that is being generated is not valid when we hit the token endpoint. The problem is that the issuer
and subject
params are not the client id that we got from EPIC. See picture:
The other issue is that the audience is blank, instead of having the baseUrl that is used to retrieve the token. See picture:
Proposed solution: I think that if we add these entries to the org file, we will have the ability to create JWTs with more flexibility and client customization.
Currently, we have a draft PR.
Story
As UCSD, so my EHR can receive results, I need ReportStream to be able to authenticate via OAuth2.
Pre-conditions
Acceptance Criteria
Tasks
Research
Engineering
Definition of Done
/ig
folder)/adr
folder)README.md
ReportStream Setup
section inREADME.md
Research Questions
Decisions
Notes