Send and receive oauthProxy in REST routes

Part of #6
This commit is contained in:
Girish Ramakrishnan
2016-09-06 21:56:36 -07:00
parent e915e6fd44
commit 408dd61408
4 changed files with 15 additions and 5 deletions

View File

@@ -571,6 +571,10 @@ function configure(appId, data, auditSource, callback) {
if (error) return callback(error);
}
if ('oauthProxy' in data) {
values.oauthProxy = data.oauthProxy;
}
// save cert to data/box/certs. TODO: move this to apptask when we have a real task queue
if ('cert' in data && 'key' in data) {
if (data.cert && data.key) {