Closed gfour closed 7 months ago
Hi @gfour
The above example is provided only for illustrating the syntax. Yet it cannot be used as is.
The reason is exactly the proof
.
According to the spec, in order to provide a valid proof
you have to include the c_nonce
claim provided in a previous step either
This is way you get and invalid_proof
special response.
In general, in our implementation issuer communicates the c_nonce
value as part of the credential response, simply because we use an unmodified version of Keycloak.
This means that :
c_nonce
)invalid_proof
) that carries the c_nonce
c_nonce
in order to build the proof and resend the credential request.PS: You might find useful to check an example using our VCI lib
Thank you @babisRoutis, threading c_nonce
between responses and requests fixed my problem. I am closing this issue.
Based on the example of a valid request in #136, I get an "invalid_proof" error:
My invocation:
and the result: