Skip to content

refactor(auth): remove non-conformant Display from issuer metadata#4347

Open
reinkrul wants to merge 1 commit into
masterfrom
chore/remove-issuer-metadata-display
Open

refactor(auth): remove non-conformant Display from issuer metadata#4347
reinkrul wants to merge 1 commit into
masterfrom
chore/remove-issuer-metadata-display

Conversation

@reinkrul

@reinkrul reinkrul commented Jun 10, 2026

Copy link
Copy Markdown
Member

Summary

Remove the display field from OpenIDCredentialIssuerMetadata.

Rationale

  • The display field (typed []map[string]string) was not conform the OpenID4VCI spec (section 12.2.4).
  • Its values were never consumed.
  • It caused issues with the AET integration (since AET SDK does populate display)

Since nothing reads these values, removal is safe.

Changes

  • Drop the Display field from auth/openid4vci/types.go.
  • Remove the two Display: nil references in auth/api/iam/openid4vci_test.go.

🤖 Assisted by AI

The `display` field on OpenIDCredentialIssuerMetadata was not conform
the OpenID4VCI spec (section 12.2.4). Its values were never consumed and
it caused issues with the AET integration. Since nothing reads it,
removal is safe.

Assisted by AI
@qltysh

qltysh Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Qlty


Coverage Impact

⬆️ Merging this pull request will increase total coverage on master by 0.03%.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant