From a524ba72f7b3240cb8de36784809b7b72311c38b Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 13 Oct 2015 10:11:47 -0700 Subject: [PATCH] set oauthProxy to false --- cloudron.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudron.js b/cloudron.js index fb3daa7..5f743cb 100644 --- a/cloudron.js +++ b/cloudron.js @@ -129,7 +129,7 @@ Cloudron.prototype.setCredentials = function (password, accessToken) { Cloudron.prototype.installApp = function (location, manifest) { var res = request.post(this._origin + '/api/v1/apps/install') .query({ access_token: this._credentials.accessToken }) - .send({ manifest: manifest, appStoreId: '', location: location, accessRestriction: '' }) + .send({ manifest: manifest, appStoreId: '', location: location, accessRestriction: '', oauthProxy: false }) .end(); common.verifyResponse2(res, 'Cannot install app'); debug('App installed at %s'.green, location); @@ -146,7 +146,7 @@ Cloudron.prototype.installApp = function (location, manifest) { }; Cloudron.prototype.configureApp = function (appId, newLocation) { - var res = request.post(this._origin + '/api/v1/apps/' + appId + '/configure').query({ access_token: this._credentials.accessToken }).send({ location: newLocation, accessRestriction: '', password: this._credentials.password }).end(); + var res = request.post(this._origin + '/api/v1/apps/' + appId + '/configure').query({ access_token: this._credentials.accessToken }).send({ location: newLocation, accessRestriction: '', oauthProxy: false, password: this._credentials.password }).end(); common.verifyResponse2(res, 'App could not be configured'); console.log('App moved to different location'.green);