const { Issuer } = require('..');

const {
  ISSUER = 'https://guarded-cliffs-8635.herokuapp.com',
  PORT = 3001,
} = process.env;

const appFactory = require('./app');

Issuer.discover(ISSUER).then((issuer) => {
  const app = appFactory(issuer);
  app.listen(PORT);
}).catch((err) => {
  console.error(err); // eslint-disable-line no-console
  process.exitCode = 1;
});

@@ -163,16 +163,64 @@
 app');%0A%0A
+Issuer.defaultHttpOptions = %7B timeout: 5000 %7D;%0A%0A
 Issuer.d

configure longer timeout to example