We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9faa3d commit 618ec74Copy full SHA for 618ec74
pages/api/vp/response.ts
@@ -41,7 +41,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
41
// objectPath.set(payload, 'state', req.body.state);
42
// console.log(payload);
43
try {
44
- const verifiedAuthResponse = await rp(doc.vc_type, doc.vc_id).verifyAuthorizationResponse(req.body.vp_token, {
+ const verifiedAuthResponse = await rp(doc.vc_type, doc.vc_id).verifyAuthorizationResponse(req.body, {
45
correlationId: doc._id,
46
// state: doc.vp_state,
47
nonce: doc.vp_nonce,
0 commit comments