Wrong vc value in the jwt response for raw sign api
Closed this issue · 0 comments
mikeplotean commented
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:
- Go to issuer-api
- 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 thecredentialData
value from the original request
Actual behavior
- a jwt is returned
- when decoded, the
vc
field contains the entire original request
Environment