Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@forkimenjeckayang
Copy link
Contributor

@forkimenjeckayang forkimenjeckayang commented Dec 12, 2025

Description

  • Strip empty optional OID4VCI attributes on save so backend defaults (scope-name fallbacks, realm algs) apply instead of storing empty strings.
  • Keep dropdown-backed fields untouched; retain existing defaulted values (format, lifetime, visible claims, token JWS type, etc.).
  • Add Playwright coverage to ensure optional fields left blank remain empty on reload (not persisted).

Testing

  • Created OID4VCI scope with blank optional fields; saved and reloaded — optional inputs stay blank, defaults remain intact.
  • Existing OID4VCI tests pass.

closes #44846
closes #44807

Depends on

Signed-off-by: forkimenjeckayang <[email protected]>
@forkimenjeckayang forkimenjeckayang marked this pull request as ready for review January 9, 2026 15:01
@mposolda mposolda self-assigned this Jan 12, 2026
Copy link
Contributor

@mposolda mposolda left a comment

Choose a reason for hiding this comment

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

@mposolda mposolda merged commit f9d20b8 into keycloak:main Jan 12, 2026
60 checks passed
stianst pushed a commit to stianst/keycloak that referenced this pull request Jan 14, 2026
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]: Ensure OID4VCI optional fields are saved cleanly and use defaults [OID4VCI] Default values are not set for ClientScope

2 participants