Skip to content

Error while using verification endpoint from wallet API #84

Answered by mikeplotean
eminademburan asked this question in Help
Discussion options

You must be logged in to vote

judging by the logs, exchange/usePresentationRequest is provided an unresolved value for the presentationRequest field (the presentation_definition parameter is missing from the url).

Generally speaking, a presentation requires 3 steps (unlike the single step for credential claiming):

  1. resolve presentation request
/wallet-api/wallet/{wallet}/exchange/resolvePresentationRequest
  • the response is a complete presentation request, URL-encoded
  • this url contains the resolved presentation_definition
  1. match presentation-definition credentials
    • by providing the presentation_definition from step#1
/wallet-api/wallet/{wallet}/exchange/matchCredentialsForPresentationDefinition
  • the response is …

Replies: 0 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mikeplotean
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants