impierce / openid4vc

Rust implementation of the OpenID4VC standards. The library will offer implementations for SIOPv2, OpenID4VP and OpenID4VCI.
https://www.impierce.com
Apache License 2.0
28 stars 3 forks source link

fix: fix serde for "id_token vp_token" #48

Closed nanderstabel closed 1 year ago

nanderstabel commented 1 year ago

Description of change

ResponseType::IdTokenVpToken incorrectly serialized to id_token_vp_token instead of to id_token vp_token

Links to any relevant issues

n/a

How the change has been tested

Added one simple unittest called: test_response_type_serde

Definition of Done checklist

Add an x to the boxes that are relevant to your changes.