diff --git a/lib/wsfed.js b/lib/wsfed.js
index <HASH>..<HASH> 100644
--- a/lib/wsfed.js
+++ b/lib/wsfed.js
@@ -53,7 +53,7 @@ module.exports = function(options) {
     var profileMap = options.profileMapper(user);
 
     var claims = profileMap.getClaims(options);
-    var ni = profileMap.getNameIdentifier(options.nameIdentifierProbes);
+    var ni = profileMap.getNameIdentifier(options);
     
     var signedAssertion = saml11.create({  
       signatureAlgorithm:   options.signatureAlgorithm,
pass options object to getNameIdentifier