Skip to content

Support name and description fields in JwtCredentialGenerator #701

@thomasrutger

Description

@thomasrutger

Feature Request

Which Areas Would Be Affected?

VC Issuance – specifically JwtCredentialGenerator

Why Is the Feature Desired?

The VerifiableCredential model name and description can be defined through MappingDefinition as part of a credential's claim mapping. However, the JwtCredentialGenerator currently does not extract or set these fields, even if they are present in the mapped claims.

Supporting this would make it possible to add name and description to issued credentials.

Who will sponsor this feature?

Solution Proposal

One possibility is to extend JwtCredentialGenerator.generateCredential to optionally extract name and description from the claims map and apply them to the credential builder. Perhaps this logic should be separated entirely, especially if there will be implementations of CredentialGenerator for other credential formats.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions