Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a Generic Display Credential Data Format in UniCore for Reliable Frontend Rendering #151

Open
1 task
nanderstabel opened this issue Dec 3, 2024 · 1 comment
Labels
Added A new feature that requires a minor release.

Comments

@nanderstabel
Copy link
Collaborator

Description

At the moment, UniCore's credential 'output' is unreliable and therefore it is inconvenient for frontends to rely on certain data to be rendered properly. To solve this:

  • We need a generic Display Credential data format.
  • This data format will be the single source of truth for any frontend relying on UniCore.
  • The data format consists of at least two parts:
    a. An outer shell: Non-subject-specific data such as issuance details, issuer (connection ID), and potentially others.
    b. Subject data: The actual data about the subject, which will initially be rendered using our default renderer.

Topics to consider:

Different credential formats might require data-specific renderers.
Credential issuers may define claim-specific display properties that we should respect. (See: OpenID4VCI Issue #376 Comment)

Motivation

  • Consistency Across Frontends: By establishing a unified data format, we ensure that all frontends relying on UniCore present credential data consistently. This eliminates discrepancies and reduces the potential for errors or misunderstandings.

  • Reduced Redundancy: Avoids the need to handle multiple formats separately, which can lead to redundant code and increased potential for bugs.

Resources

No response

To-do List

  • Add a generic Display Credential data format
@nanderstabel nanderstabel added the Added A new feature that requires a minor release. label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Added A new feature that requires a minor release.
Projects
Status: Backlog
Development

No branches or pull requests

2 participants