From 4e79ea9849ed623a511473f4e68b4d3ed480ce43 Mon Sep 17 00:00:00 2001 From: Dipen Bhikadya Date: Sun, 8 Dec 2024 03:14:22 +0530 Subject: [PATCH] Update PassportProfileMapper.js - correction of the namespace key --- lib/claims/PassportProfileMapper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/claims/PassportProfileMapper.js b/lib/claims/PassportProfileMapper.js index 6bc09ec..942a621 100644 --- a/lib/claims/PassportProfileMapper.js +++ b/lib/claims/PassportProfileMapper.js @@ -66,7 +66,7 @@ PassportProfileMapper.prototype.getNameIdentifier = function () { return { nameIdentifier: claims[fm.nameIdentifier] || claims[fm.name] || - claims[fm.emailaddress] + claims[fm.email] }; }; @@ -104,4 +104,4 @@ PassportProfileMapper.prototype.metadata = [ { description: 'The SAML name identifier of the user' }]; -module.exports = PassportProfileMapper; \ No newline at end of file +module.exports = PassportProfileMapper;