jimfuqian/BB2-3566 POC: A Web Client for 3rd party app #1274
+8,423
−143
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JIRA Ticket:
BB2-3566
What Does This PR Do?
Create a light weight web client which can be used to let a BB2 Sandbox user i.e. who registered an account e.g.
user name: U001, email: u001@example.com with BlueButton API on Sandbox and have one or more apps created: A1, A2, A3,....
From BB2 Sandbox landing page: there is a link "MyApp" on right side of link "TestClient" see screen shot:
Click the "MyApp" link will bring up web UI page to experience the process of letting beneficiaries authorize through medicare.gov login and grant access to their claim data to the 3rd party app.
What Should Reviewers Watch For?
Try out scenarios in "Validation" section.
If you're reviewing this PR, please check for these things in particular:
Validation
Local:
6. MyApp authorization start with page like below:
7.
8. paste client_id and client_secret into the fields as instructed, also add redirect URL to the app - as instructed by the on screen text.
9. Click "Authorize as a beneficiary", the familiar medicare.gov login flow starts, follow through the login and click "Connect" on data access grant page to grant access, the flow goes back to "MyApp" authorized page where you can access various data and meta data end points, like screen shot below:
10.
11. You can restart the process by clicking a in page "restart" link or click the "MyApp" link on top header menu
12. Click "TestClient" link on the top header menu will start the BB2 testclient as usual
Note, do not use TestApp creds to test the "MyApp" client on LLE, TestApp's client_secret is sensitive info.
What Security Implications Does This PR Have?
Please indicate if this PR does any of the following:
security engineer's approval.
Any Migrations?
etc)