test(protocol): add comprehensive protocol conformance test#20
Merged
Conversation
Code Coverage Report
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Restructure OAuth DCR and OAuth client authentication process to make framework standard-compliant, and add comprehensive protocol conformance & cross-protocol interoperability tests.
This PR includes three main areas of work:
Fixes #(issue)
Type of Change
Changes Made
List the key changes made in this PR:
ClientAssertionAuthenticationandClientAssertionGenerator, added unifiedOAuth2ClientAuthenticationabstraction, removedParClientAuthenticationandInMemoryOAuth2DcrClientStoreDefaultAgentorchestration to use DCR client assertion for PAR and token exchange, removedParRequestmodelOAuth2ClientAuthenticatorwith comprehensive authentication method support, updated controllers and auto-configurationsProtocolInteroperabilityConformanceTestwith 18 cross-protocol test cases09-wimse-dcr-integration.mdarchitecture documentationrun-conformance-tests.shanddiagnose-conformance-env.shfor automated conformance testingTesting
Test Instructions:
Checklist
Breaking Changes
If this PR introduces breaking changes, please describe them here:
ParClientAuthenticationremoved (replaced by unifiedOAuth2ClientAuthentication),InMemoryOAuth2DcrClientStoreremoved (consolidated intoInMemoryOAuth2ClientStore),ParRequestmodel removed (PAR requests now use standard OAuth2 client authentication flow)ClientAssertionAuthenticationorBasicAuthAuthenticationinstead ofParClientAuthenticationAdditional Context
Add any other context, screenshots, or information about the PR here.
Protocols validated by conformance tests: