Skip to content

Commit

Permalink
Fix the sample tests (#1344)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Sep 19, 2018
1 parent 5bf00c2 commit 74bccfd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion samples/sampleclient.js
Expand Up @@ -27,7 +27,9 @@ const fs = require('fs');
const path = require('path');

const keyPath = path.join(__dirname, 'oauth2.keys.json');
let keys = {redirect_uris: ['']};
let keys = {
redirect_uris: ['http://localhost:3000/oauth2callback'],
};
if (fs.existsSync(keyPath)) {
const keyFile = require(keyPath);
keys = keyFile.installed || keyFile.web;
Expand Down

0 comments on commit 74bccfd

Please sign in to comment.