Skip to content

Commit

Permalink
Fix L3-iGrant/api#475: Validate if the data attributes, verifier rece…
Browse files Browse the repository at this point in the history
…ived is what they asked for from the holder
  • Loading branch information
albinpa authored and georgepadayatti committed Oct 22, 2024
1 parent b7c462e commit 2e48e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdjwt/pex.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ def validate_vp_token(
path = descriptor["path_nested"]["path"]
id = descriptor["id"]
# Parse the JSON data
jsonpath_expr = parse("$.vp.verifiableCredential[0]")
jsonpath_expr = parse(path)
matches = jsonpath_expr.find(claims)

# Extract the value
Expand Down

0 comments on commit 2e48e47

Please sign in to comment.