Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
shihjay2 committed Jan 23, 2025
1 parent d343b72 commit 6f39384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/vp/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
console.log(req.body);
const { payload } = decodeJWT(req.body.id_token);
try {
const verifiedAuthResponse = await rp.verifyAuthorizationResponse(payload, {
const verifiedAuthResponse = await rp.verifyAuthorizationResponse(req.body.id_token, {
correlationId: doc._id,
state: req.body.state,
audience: url.protocol + "//" + url.hostname + "/api/vp/vp_response",
Expand Down

0 comments on commit 6f39384

Please sign in to comment.