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

Update SecurityConfig.java #1391

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Update SecurityConfig.java #1391

merged 1 commit into from
Aug 28, 2024

Conversation

feralearthman
Copy link
Contributor

@feralearthman feralearthman commented Aug 27, 2024

Add "/metadata" to authExceptions so that you don't need a bearer token to get a CapabilityStatement.

## 🎫 Ticket

🛠 Changes

Changed one file: SecurityConfig.java. Add "/metadata" to authExceptions.
This makes it so that a bearer token is not required to access the metadata endpoint.

ℹ️ Context

The Inferno and Touchstone both try to access the /metadata endpoint in their bulk IG test suite. Currently this only works if you pass in a bearer token, which they don't. This change should make those conformance tests work.

🧪 Validation

Once this is deployed to the ab2d sandbox, see if a request to the metadata endpoint works without a bearer token. This will be addressed in https://jira.cms.gov/browse/AB2D-6286

Add "/metadata" to authExceptions so that you don't need a bearer token to get a CapabilityStatement.
@feralearthman feralearthman requested a review from a team as a code owner August 27, 2024 14:27
@feralearthman feralearthman marked this pull request as draft August 28, 2024 19:07
@feralearthman feralearthman marked this pull request as ready for review August 28, 2024 19:28
@feralearthman
Copy link
Contributor Author

A "/metadata" to authExceptions in SecurityConfig.java.

@feralearthman feralearthman merged commit d0d053b into main Aug 28, 2024
4 of 5 checks passed
@feralearthman feralearthman deleted the AB2D-6253/Capability branch August 28, 2024 19:30
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