feat: add env-property for default issuer

This commit is contained in:
2022-04-26 09:55:56 +02:00
parent cc1b28f81f
commit b009965908
+1 -1
View File
@@ -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'