From bf283f0ff5090b8bddd970d12852349cd10af7a6 Mon Sep 17 00:00:00 2001 From: pablolizardo-blackboard Date: Tue, 8 Nov 2022 15:49:02 +0000 Subject: [PATCH] Added new substitution variable in custom claim for user UPN --- server/src/app/deep-linking.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/src/app/deep-linking.js b/server/src/app/deep-linking.js index 4b8c8fc..f65666b 100644 --- a/server/src/app/deep-linking.js +++ b/server/src/app/deep-linking.js @@ -172,6 +172,7 @@ let deepLinkingLTILink = function () { userName: '$User.username', userEmail: '$Person.email.primary', userSysRoles: '@X@user.role@X@', + externalIdentifierUPN: '$User.externalIdentifiers.UPN', source: 'link' } }; @@ -200,6 +201,7 @@ let deepLinkingNewWindowLTILink = function () { userEmail: '$Person.email.primary', groupId: '$CourseGroup.id', userSysRoles: '@X@user.role@X@', + externalIdentifierUPN: '$User.externalIdentifiers.UPN', source: 'new window link' }, window: { @@ -230,6 +232,7 @@ let deepLinkingEmbedLTILink = function () { groupId: '$CourseGroup.id', userEmail: '$Person.email.primary', userSysRoles: '@X@user.role@X@', + externalIdentifierUPN: '$User.externalIdentifiers.UPN', assignment_pk: '@X@content.pk_string@X@', course_pk: '@X@course.pk_string@X@' }