manually set provider.proxy in OIDC

This commit is contained in:
Garrett Mills 2020-08-23 14:17:52 -05:00
parent 11b8a5ae42
commit d9c76e8dde
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -58,6 +58,7 @@ class OpenIDConnectUnit extends Unit {
...configuration, ...configuration,
}) })
if ( configuration.proxy ) this.provider.proxy = true
app.express.use('/oidc', this.wrap(this.provider.callback)) app.express.use('/oidc', this.wrap(this.provider.callback))
} }