walt-id/waltid-identity

Wrong vc value in the jwt response for raw sign api

Closed this issue · 0 comments

Describe the bug
When calling /raw/jwt/sign api, the response jwt contains in its vc field the original request instead of the credential data.

To Reproduce
Steps to reproduce the behavior:

  1. Go to issuer-api
  2. Execute /raw/jwt/sign using the example request body

Expected behavior

  • a jwt is returned
  • when decoded (on https://jwt.io), the vc field contains the credentialData value from the original request

Actual behavior

  • a jwt is returned
  • when decoded, the vc field contains the entire original request

Environment