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

Encode Verifiable Credential as JWT in IATP response #347

Open
1 task
hemantxpatel opened this issue Aug 13, 2024 · 2 comments
Open
1 task

Encode Verifiable Credential as JWT in IATP response #347

hemantxpatel opened this issue Aug 13, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@hemantxpatel
Copy link
Contributor

Description

  • EDC requests MIW for a VP via /presentations/query endpoint.
  • MIW returns VP as JWT but VC inside VP as JSON-LD.
  • EDC accepts VP and VC both as JWT and JSON-LD format.
  • This VP is sent to BDRS service to resolve BPN to did mapping.
  • BDRS Service returns a 401 error, as it only accepts VP and VC in JWT format only.

Acceptance Criteria

  • MIW may return VC as JWT by default.

Additional Information

Started a discussion for enhancement in either EDC / BDRS. In parallel raising issue here, in case it can be handled here.

@hemantxpatel hemantxpatel added the enhancement New feature or request label Aug 13, 2024
@hemantxpatel
Copy link
Contributor Author

I discussed it in EDC Weekly, and tractusx doesn't support VC and VP in JSON-LD format as both are not interoperable.
See the discussion thread I started, eclipse-tractusx/tractusx-edc#1494

@thackerronak
Copy link
Contributor

Currently, the Presentation Creation Config only supports the JSON-LD format, so the SSI library needs to be updated to support VCs in JWT format for creating VPs.

image

CC @nitin-vavdiya @OSchlienz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants