[OID4VP] Add support for direct_post.jwt response mode - #50932
Conversation
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.webauthn.account.WebAuthnSigningInTest#multipleSecurityKeysorg.keycloak.testsuite.cluster.RealmInvalidationClusterTest#crudWithoutFailoverKeycloak CI - Store IT (mysql) org.keycloak.testsuite.cluster.RealmInvalidationClusterTest#crudWithFailoverKeycloak CI - Store IT (mysql) |
1ef6542 to
10752d6
Compare
rmartinc
left a comment
There was a problem hiding this comment.
Thanks @dominikschlosser! LGTM in general. Just two suggestions if those make sense to you. Another problem detected is the conformance tests are broken for the VCI part (not for the VP part). Testing downgrading the version to the previous release-v5.1.44 seems to work, so maybe you can skip the upgrade in this PR and manage it as a follow-up issue. See https://github.com/rmartinc/keycloak/actions/runs/29565752941/job/87838591840.
I have done some little test in my branch https://github.com/rmartinc/keycloak/tree/pr-50932 (last test commit). There I tested point 2 for the first suggestion and also the modifications in the test classes.Check if those changes make some sense to you...
vaceksimon
left a comment
There was a problem hiding this comment.
Apart from what @rmartinc mentioned regarding the @BeforeEach methods in the tests, I don't see any other issues
Signed-off-by: Dominik Schlosser <dominik.schlosser@gmail.com>
10752d6 to
ac3c619
Compare
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.forms.BrowserFlowTest#testUserWithOneAdditionalFactorOtpSuccess |
rmartinc
left a comment
There was a problem hiding this comment.
Thanks @dominikschlosser for the changes! And thanks @vaceksimon for the review!
@rmartinc @vaceksimon
Closes #50644
Conformance results
Single run on the final state of this branch. Common variant:
credential_format=sd_jwt_vc,client_id_prefix=x509_hash,request_method=request_uri_signed.Plan
oid4vp-1final-verifier-test-planvp_profile=plain_vp,response_mode=direct_postvp_profile=plain_vp,response_mode=direct_post.jwtPlan
oid4vp-1final-verifier-haip-test-plan(new in 5.2.0, mandatesdirect_post.jwt)Ran locally, has to be implemented in main as soon as the suite version has been bumped (see #51060 )
response_mode=direct_post.jwt(vp_profile=haip)Totals: 20 modules passed, 0 failed, 2 disabled.
Disabled (
@Disabledwith TODO, same module in both plans):verifier-request-uri-method-post—request_uri retrieval via POST is not implemented, the request object endpoint answers GET only.
These can be enabled as soon as #50661 is implemented.
Not run (plan variants for unimplemented features):
credential_format=iso_mdl,client_id_prefix=x509_san_dns|redirect_uri,request_method=url_query.