diff --git a/lib/OktaHelpers.js b/lib/OktaHelpers.js
index <HASH>..<HASH> 100644
--- a/lib/OktaHelpers.js
+++ b/lib/OktaHelpers.js
@@ -64,8 +64,8 @@ function constructRecoveryQuestion(question, answer) {
  */
 function constructCredentials(password, question, answer) {
     var credentials = {};
-    credentials.password = constructPassword(password);
-    credentials.recovery_question = constructRecoveryQuestion(question, answer);
+    if(password) credentials.password = constructPassword(password);
+    if(question && answer) credentials.recovery_question = constructRecoveryQuestion(question, answer);
     return credentials;
 }
 /**
Modified Helpers --> constructCredentials to allow a credentials object containing only the password to be created as this is a valid credentials object for creating a new profile.