8000 [OID4VP] Add Multi-Credential Support by dominikschlosser · Pull Request #55424 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

[OID4VP] Add Multi-Credential Support - #55424

Merged
rmartinc merged 2 commits into
keycloak:mainfrom
dominikschlosser:oid4vp-multi-credential
Nov 26, 2026
Merged

rmartinc merged 2 commits into
keycloak:mainfrom
dominikschlosser:oid4vp-multi-credential

Conversation

@dominikschlosser
@dominikschlosser dominikschlosser commented Nov 20, 2026 •
Copy link
Copy Markdown
Contributor

Closes #50667
Closes #55456

Adds support to request multiple credentials and define credential sets (part of DCQL).
Also improves the Admin UI for OID4VP identity providers to support these features a lot more intuitively:

image image image

@dominikschlosser
dominikschlosser requested review from a team as code owners November 20, 2026 15:54
Copilot AI balanced review requested due to automatic review settings November 20, 2026 15:54
Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

Copilot AI balanced review requested due to automatic review settings November 20, 2026 16:01
Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@eudi-dev-bot eudi-dev-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.

AI review by Claude Code: Fix first · 1 should fix

The PR replaces the DCQL query text with a validated requestedCredentials document and builds one DCQL credential query per requested credential, with credential sets. Each presented credential is verified against its own trust material and its accepted types. The release notes promise that saving a mapper or the identity provider fails when the mapper names a credential that is not requested. The server does not enforce this, so stale mappers fail silently.

For EUDI:

Requesting a PID together with an attestation such as a diploma or a mobile driving licence, with optional and alternative credentials, is a core ARF relying party pattern. This PR makes that possible with trust anchors chosen for each credential.

Claude Code wrote this review of af768f8. It read the code without building or running it.

dominikschlosser asked the tracker's bot account to post this.

Automatic review by Claude Opus 5.5, checked by Claude Fable 5.2: https://oid4vc-sig.eudi-test.dev/reviews/55424.html

Copilot AI balanced review requested due to automatic review settings November 23, 2026 10:17
Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

Copilot AI balanced review requested due to automatic review settings November 23, 2026 10:18
Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

Copilot AI balanced review requested due to automatic review settings November 23, 2026 10:44
Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@rmartinc rmartinc 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.

Hi Dominik! I have been testing this and it works OK in my setup. Just one comment, with this setup we are missing the option of using a complete custom DCQL (with claim_sets for example). Just the one generated from the mappers is available. Initially it is OK to me, just want to know your opinion.

Copilot AI 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.

🟡 Changes recommended

Alternative credential mappers can delete a presented credential’s user-attribute value on relogin, and overly strict principal validation rejects valid configurations.

2 open issues

Review effort: Balanced

Signed-off-by: Dominik Schlosser <dominik.schlosser@gmail.com>
Signed-off-by: Dominik Schlosser <dominik.schlosser@gmail.com>
Copilot AI balanced review requested due to automatic review settings November 26, 2026 12:21
Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@rmartinc rmartinc 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.

Thanks @dominikschlosser! Let's go with this one...

@rmartinc
rmartinc merged commit 8f79eab into keycloak:main Nov 26, 2026
97 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants

0