-
Notifications
You must be signed in to change notification settings - Fork 2
add DPoPProofProvider #104
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
Conversation
Not a framework problem per se, but a lot of tests in applications that use PMVC expect this header to be set on test requests using RequestBuilder.
| if (locales.isEmpty()) { | ||
| // request.getLocale() returns a default locale if none are set by httpRequestConsumer but | ||
| // we still want to set to the system's default, if none were explicitly set. | ||
| locales = List.of(Locale.getDefault()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work with Brady's change to the GHA test runners? Or is it a separate workaround?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a merge from main of Brady's fix to pick up the default locale.
spwitt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth bumping version to something unreleased to avoid confusion? Or just another thing you'd have to keep updating on the feature branch?
I don't think it's necessary b/c PMVC doesn't get updated very often. But Brady might have other ideas. :) |
Problem
We need the ability to test DPoP proofs.
Solution
Add
to
RequestBuilderso a DPoPProofProvider can get required information and build a DPoP proof header with a constructed JWT.Not adding actual JWT building functionality to Prime at this time, but might choose to do so later.