Skip to content

Commit

Permalink
Update PassportProfileMapper.js - correction of the namespace key
Browse files Browse the repository at this point in the history
  • Loading branch information
dipbhi authored Dec 7, 2024
1 parent 7158002 commit 4e79ea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/claims/PassportProfileMapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ PassportProfileMapper.prototype.getNameIdentifier = function () {
return {
nameIdentifier: claims[fm.nameIdentifier] ||
claims[fm.name] ||
claims[fm.emailaddress]
claims[fm.email]
};

};
Expand Down Expand Up @@ -104,4 +104,4 @@ PassportProfileMapper.prototype.metadata = [ {
description: 'The SAML name identifier of the user'
}];

module.exports = PassportProfileMapper;
module.exports = PassportProfileMapper;

0 comments on commit 4e79ea9

Please sign in to comment.