eu-digital-identity-wallet / eudi-lib-jvm-openid4vci-kt

Implementation of OpenID for Verifiable Credential Issuance protocol (wallet's role) in Kotlin
Apache License 2.0
18 stars 8 forks source link

Bug when serializing to JSON Proof type CWT #234

Closed babisRoutis closed 4 months ago

babisRoutis commented 4 months ago

When serializing a proof type of type CWT library should send

{ 
 "proof_type" : "cwt"
  "cwt" : "...."
  }

It sends though

{ 
 "proof_type" : "cwt"
  "jwt" : "...."
  }

That it uses the key "jwt" instead of "cwt".