Skip to content

Commit 6f39384

Browse files
committed
debug
1 parent d343b72 commit 6f39384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/api/vp/response.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
3939
console.log(req.body);
4040
const { payload } = decodeJWT(req.body.id_token);
4141
try {
42-
const verifiedAuthResponse = await rp.verifyAuthorizationResponse(payload, {
42+
const verifiedAuthResponse = await rp.verifyAuthorizationResponse(req.body.id_token, {
4343
correlationId: doc._id,
4444
state: req.body.state,
4545
audience: url.protocol + "//" + url.hostname + "/api/vp/vp_response",

0 commit comments

Comments
 (0)