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

FI-3509: Metadata OAuth URIs #43

Merged
merged 1 commit into from
Dec 20, 2024
Merged

FI-3509: Metadata OAuth URIs #43

merged 1 commit into from
Dec 20, 2024

Conversation

tstrass
Copy link
Contributor

@tstrass tstrass commented Dec 17, 2024

Summary

  • Overwrite OAuth URIs in metadata proxied response so they point to the suite endpoints rather than the reference server endpoints.
  • Add Questionnaire to default fhirContext inputs

This came out of the investigation into launching the DTR reference implementation against Inferno. The RI uses the metadata endpoint to determine the OAuth URIs instead of using /.well-known/smart-configuration. This goes against guidance in the IG, but it's conceivable other client systems could do the same.

Note there are other data elements in the metadata response that aren't representative of how a DTR client can interact with the test suite, but I don't see much benefit from filtering it down further/overwriting more stuff. But at some point it might the most sense to just construct our own CapabilityStatement for the test suite instead of proxy to the reference server.

Testing Guidance

Run the SMART App suite, make a /metadata request with Postman, confirm the OAuth URIs are as expected.

@tstrass tstrass requested a review from karlnaden December 17, 2024 21:47
@tstrass tstrass self-assigned this Dec 17, 2024
@tstrass tstrass force-pushed the fi-3509-ri-integration branch from 8c35cda to a46dedd Compare December 18, 2024 22:10
@tstrass tstrass requested a review from karlnaden December 18, 2024 22:11
Copy link
Contributor

@karlnaden karlnaden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected. There are some additional details in the capability statement that don't align well with how Inferno is using the reference server for a simulation of DTR (not us core as the capability statement currently states), but I don't think that is in scope for this change. I created FI-3602 to track those additional updates.

@tstrass tstrass merged commit ca54111 into main Dec 20, 2024
6 checks passed
@tstrass tstrass deleted the fi-3509-ri-integration branch December 20, 2024 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants