8000 [OID4VCI] Add CredentialOfferProvider as single entry for offer creation - Part5 by tdiesler · Pull Request #46951 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

[OID4VCI] Add CredentialOfferProvider as single entry for offer creation - Part5 - #46951

Merged
mposolda merged 3 commits into
keycloak:mainfrom
tdiesler:ghi46261-p5
Mar 13, 2026
Merged

mposolda merged 3 commits into
keycloak:mainfrom
tdiesler:ghi46261-p5

Conversation

@tdiesler
@tdiesler tdiesler commented Mar 6, 2026 •
Copy link
Copy Markdown
Contributor

closes #47151

related #46385

[OID4VCI] Add support for authorization_code grant - Part5

@keycloak-github-bot keycloak-github-bot Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unreported flaky test detected, please review

@keycloak-github-bot
Copy link
Copy Markdown

Unreported flaky test detected

If 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.LevelOfAssuranceFlowTest#stepupToUnknownEssentialAcrFails

Keycloak CI - Forms IT (chrome)

java.lang.AssertionError: Expected LoginPage but was localhost (https://localhost:8543/auth/realms/test/protocol/openid-connect/auth?scope=openid&claims=%7B%22id_token%22%3A%7B%22acr%22%3A%7B%22essential%22%3Atrue%2C%22values%22%3A%5B%22silver%22%5D%7D%7D%7D&response_type=code&redirect_uri=https%3A%2F%2Flocalhost%3A8543%2Fauth%2Frealms%2Fmaster%2Fapp%2Fauth&client_id=test-app)
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.keycloak.testsuite.pages.AbstractPage.assertCurrent(AbstractPage.java:39)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
...

Report flaky test

@IngridPuppet IngridPuppet left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @tdiesler - Thank you for the PR. I reviewed the changes in the last commit. Do you confirm it is the only relevant commit after #46950?

As per my review, existing tests should also test the reorganized code. I left some comments. Please could you check?

@tdiesler
Copy link
Copy Markdown
Contributor Author

Thanks for the review @IngridPuppet

Yes, this builds on top of authorization_code
I thought the existing test provided already sufficient coverage.

As a separate effort, yes, it might be good idea to migrate some of the old tests. By now, they can only be changed in a very limited way.

@tdiesler
tdiesler force-pushed the ghi46261-p5 branch 3 times, most recently from 6db1869 to 9b1bb47 Compare March 12, 2026 15:12
@IngridPuppet IngridPuppet left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the update. LGTM.

@mposolda mposolda left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tdiesler @IngridPuppet @Captain-P-Goldfish Thanks for the PR and for your reviews! Added few comments inline as well, but looks nice to me in general.

Signed-off-by: Thomas Diesler <tdiesler@proton.me>
-- thanks @IngridPuppet

Signed-off-by: Thomas Diesler <tdiesler@proton.me>
-- thanks @mposolda

Signed-off-by: Thomas Diesler <tdiesler@proton.me>
@mposolda mposolda left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tdiesler Thanks for the update. Answered some of your questions inline. The TODO in the OID4VCIssuerTestBase does not need to be IMO, but no need to remove it in this PR IMO.

@mposolda
mposolda merged commit 102e3c3 into keycloak:main Mar 13, 2026
84 checks passed
@tdiesler
tdiesler deleted the ghi46261-p5 branch March 13, 2026 13:49
sashyo pushed a commit to tide-foundation/keycloak-IGA that referenced this pull request Jul 20, 2026
…ion - Part5 (keycloak#46951)

closes keycloak#47151


Signed-off-by: Thomas Diesler <tdiesler@proton.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[OID4VCI] Add CredentialOfferProvider as single entry for offer creation

4 participants

0