Skip to content

Commit

Permalink
Fixes nickshine#48 include nonce in google groups configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
payton committed Nov 29, 2019
1 parent ab9a159 commit 2384a47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function googleConfiguration() {
config.PUBLIC_KEY = fs.readFileSync('distributions/' + config.DISTRIBUTION + '/id_rsa.pub', 'utf8');
config.DISCOVERY_DOCUMENT = 'https://accounts.google.com/.well-known/openid-configuration';
config.SESSION_DURATION = parseInt(result.SESSION_DURATION, 10) * 60 * 60;

config.CALLBACK_PATH = url.parse(result.REDIRECT_URI).pathname;
config.HOSTED_DOMAIN = result.HD;

Expand Down Expand Up @@ -303,7 +303,7 @@ function googleGroupsConfiguration() {
}
}, function (err, result) {
config.SERVICE_ACCOUNT_EMAIL = result.SERVICE_ACCOUNT_EMAIL;
writeConfig(config, zip, ['config.json', 'index.js', 'auth.js', 'google-authz.json']);
writeConfig(config, zip, ['config.json', 'index.js', 'auth.js', 'google-authz.json', 'nonce.js']);
});
}

Expand Down

0 comments on commit 2384a47

Please sign in to comment.