diff --git a/lib/config/index.js b/lib/config/index.js
index cac374e533ff6cf5622623a5243dc8b167a3826e..a7713b96e6d52669107eb78e40e9e4e64552b9ee 100644
--- a/lib/config/index.js
+++ b/lib/config/index.js
@@ -114,14 +114,16 @@ async function parseConfigs(env, argv) {
     credentials.token = base64(`${username}:${password}`);
   }
 
-  if (!credentials.token) {
-    throw new Error(`You need to supply a ${platformInfo.name} token.`);
-  }
+  if (!global.appMode) {
+    if (!credentials.token) {
+      throw new Error(`You need to supply a ${platformInfo.name} token.`);
+    }
 
-  hostRules.update({
-    ...credentials,
-    default: true,
-  });
+    hostRules.update({
+      ...credentials,
+      default: true,
+    });
+  }
 
   if (config.autodiscover) {
     // Autodiscover list of repositories