Repository navigation
Conversation
052e611 to
aa6fc18
Compare
d03beea to
2f73e90
Compare
authorization_code grant and issuer_stateauthorization_code grant offers
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.AuthenticatorSubflowsTest2#testSubflow2Keycloak CI - Forms IT (chrome) |
There was a problem hiding this comment.
PR is hard to review. It touches 45 files and touches multiple areas. Is it possible to rather divide into more PRs, which would touch single area and focus on single issue each?
As Support for authorization_code grant and changes related to credential-identifier could be rather handled independently. Also there is the conflict now as there was other PR in the meantime, which touched the area of fixes authorization_details for scope only AuthorizationRequest (however that other PR was more isolated and fixed just that instead of touching big amount of files with multiple changes).
Ideal would be also to not migrate tests in the same PR, which changes the "logic". Would be good to either migrate the test beforehand in the dedicated PR or keep the test in the old testsuite in case PR touches the "codebase" .
|
I split up this PR into these independent areas ...
CredentialOfferProvider as single entry for offer creationStart with DefaultCredentialOfferProvider.createCredentialOffer(...), this is entry for credential offer creation. It creates an immutable CredentialOfferState that already has AuthorizationDetails attached to it. The offer state can be found by ...
The Much of the offer validation logic, that was previously found in the endpoint has moved here. The endpoint becomes easier because it now delegates to this provider. The provider would also be the place to apply policies related to offer creation. The
|
Signed-off-by: Thomas Diesler <tdiesler@ibm.com>
Signed-off-by: Thomas Diesler <tdiesler@ibm.com>
Signed-off-by: Thomas Diesler <tdiesler@ibm.com>
Signed-off-by: Thomas Diesler <tdiesler@ibm.com>
Signed-off-by: Thomas Diesler <tdiesler@ibm.com>
There was a problem hiding this comment.
@tdiesler Thanks for splitting this into separate commits. Added review comments only to the first commit (Migrate OID4VCCredentialOfferMatrixTest). Can be good to extract that commit into separate PR and then handle other things as a follow-ups.
|
@tdiesler Thanks for the update! So is the plan to split this into dedicated PRs? So far, I've added the review only to the first commit (Migrating the Some other comments below to your last comment:
It probably works and is better way than our current use of
Just a note that we may need also something like "Allow user self-issued credential" - #45777 . The |
closes #46261
This PR provides
authorization_codegrantissuer_statecredential_identifiercreateOfferStateForAuthorizationCodeFlowauthorization_detailsfor scope only AuthorizationRequesthttps://github.com/openid/OpenID4VC-HAIP/issues/60
https://github.com/italia/eid-wallet-it-docs/issues/172