Skip to content

[OID4VCI] mdoc not properly configurable in admin console client scope tab #52041

Closed

Description

@mposolda

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

oid4vc

Describe the bug

When running Keycloak with mdoc feature like ./kc.sh start-dev --features=oid4vc-vci,oid4vc-mdoc, I can see issues in admin console client scope configuration like:

  • Not possible to see mdoc in "Supported formats" configuration option. For the new built-in client scope oid4vc_natural_person_mdoc, the value of the option is empty in the UI. It seems the list of formats can be possibly obtained from the "server info" - from the list of available providers for credential format? This should make sure that "mdoc" format would be available just when oid4vc-mdoc feature enabled

  • The value of "Cryptographic binding methods" is cose_jwk. When I start to write something, it shows me incorrect error message that only format jwk is supported, which is not true (as cose_jwk is supported in this case). See screenshot below. Might be better to also make the allowed values to be obtained dynamically in this message (or eventually change this option to "combobox" instead of classic "input" and make the available values obtained based on the selected format?)

Image

Version

Kc main - after initial mdoc support

Regression

  • The issue is a regression

Expected behavior

Configuration of OID4VCI client scope works properly (with feature oid4vc-mdoc enabled or disabled)

Actual behavior

Configuration of OID4VCI client scope does not work properly when oid4vc-mdoc is enabled - see screenshot for details

How to Reproduce?

See description

Anything else?

No response

Activity

  1. added
    kind/bug
    on Aug 25, 2026
  2. added theissue type on Aug 25, 2026
  3. added
    area/oid4vc
    on Aug 25, 2026
  4. keycloak-github-bot commented on Aug 25, 2026

    @keycloak-github-bot

    Due to the amount of issues reported by the community we are not able to prioritise resolving this issue at the moment.

    If you are affected by this issue, upvote it by adding a 👍 to the description. We would also welcome a contribution to fix the issue.

  5. Ogenbertrand commented on Aug 26, 2026

    @Ogenbertrand
    Contributor

    I'll check this issue and report next week.

  6. added a commit that references this issue on Sep 4, 2026
    df6c8c4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/oid4vchelp wantedkind/bugpriority/normalrelease/26.8.0status/auto-bumpteam/core-protocols

Type

Fields

No fields configured for bug.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions