diff --git a/lib/SlackBot.js b/lib/SlackBot.js
index <HASH>..<HASH> 100755
--- a/lib/SlackBot.js
+++ b/lib/SlackBot.js
@@ -396,10 +396,11 @@ function Slackbot(configuration) {
 
         if (slack_botkit.config.redirectUri) {
             var redirect_query = '';
-            if (redirect_params)
+            var redirect_uri = slack_botkit.config.redirectUri;
+            if (redirect_params) {
                 redirect_query += encodeURIComponent(querystring.stringify(redirect_params));
-
-            var redirect_uri = slack_botkit.config.redirectUri + '?' + redirect_query;
+                redirect_uri = redirect_uri + '?' + redirect_query;
+            }
             url += '&redirect_uri=' + redirect_uri;
         }
Fix issue with creation of redirectUri when parameters were not included