From cfe70d73ab84b7fce1c991f1fbc9b1ccbb7a4a43 Mon Sep 17 00:00:00 2001 From: kavin Date: Tue, 9 Jan 2024 10:57:41 +0530 Subject: [PATCH] substituting sub from payload --- server/src/app/proctoring.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/app/proctoring.js b/server/src/app/proctoring.js index b2829f7..d4a525e 100644 --- a/server/src/app/proctoring.js +++ b/server/src/app/proctoring.js @@ -10,7 +10,7 @@ export const buildProctoringStartReturnPayload = (req, res, proctoringPayload) = 'https://purl.imsglobal.org/spec/lti/claim/version': '1.3.0', iss: proctoringPayload.body.iss, aud: proctoringPayload.body.iss, - sub: proctoringPayload.body.iss, + sub: proctoringPayload.body.sub, iat: now, exp: now + 5 * 60, 'https://purl.imsglobal.org/spec/lti/claim/deployment_id': proctoringPayload.body['https://purl.imsglobal.org/spec/lti/claim/deployment_id'],