From b009965908e38b6fc3100acfc5b21eb1669b4aca Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Tue, 26 Apr 2022 09:55:56 +0200 Subject: [PATCH] feat: add env-property for default issuer --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 1768e2c..403c1f9 100644 --- a/app.js +++ b/app.js @@ -11,7 +11,7 @@ const bodyParser = require('body-parser') const favicon = require('serve-favicon') const cert = require('./cert') -let issuer = 'localhost:3333' +let issuer = process.env.ISSUER || 'localhost:3333' let jwksOrigin = `https://${issuer}/` const audience = process.env.AUDIENCE || 'https://generic-audience' const adminCustomClaim = process.env.ADMIN_CUSTOM_CLAIM || 'https://unbound.se/admin'