diff --git a/openid-connect-provider-debugger/default.conf b/openid-connect-provider-debugger/default.conf index b561d5d..7dc9a0c 100644 --- a/openid-connect-provider-debugger/default.conf +++ b/openid-connect-provider-debugger/default.conf @@ -63,35 +63,35 @@ server { ngx.log(ngx.DEBUG, 'using oidc_client_id URL parameter value: ' .. ngx.var.arg_oidc_client_id) opts.client_id = ngx.unescape_uri(ngx.var.arg_oidc_client_id) elseif (os.getenv('oidc_client_id')) then - ngx.log(ngx.DEBUG, 'using oidc_client_id environment variable value: ' .. os.getenv('oidc_client_id') + ngx.log(ngx.DEBUG, 'using oidc_client_id environment variable value: ' .. os.getenv('oidc_client_id')) opts.client_id = os.getenv('oidc_client_id') end if (ngx.var.arg_oidc_client_secret) then ngx.log(ngx.DEBUG, 'using oidc_client_secret URL parameter value: ' .. ngx.var.arg_oidc_client_secret) opts.client_secret = ngx.unescape_uri(ngx.var.arg_oidc_client_secret) elseif (os.getenv('oidc_client_secret')) then - ngx.log(ngx.DEBUG, 'using oidc_client_secret environment variable value: ' .. os.getenv('oidc_client_secret') + ngx.log(ngx.DEBUG, 'using oidc_client_secret environment variable value: ' .. os.getenv('oidc_client_secret')) opts.client_secret = os.getenv('oidc_client_secret') end if (ngx.var.arg_oidc_discovery) then ngx.log(ngx.DEBUG, 'using oidc_discovery URL parameter value: ' .. ngx.var.arg_oidc_discovery) opts.discovery = ngx.unescape_uri(ngx.var.arg_oidc_discovery) elseif (os.getenv('oidc_discovery')) then - ngx.log(ngx.DEBUG, 'using oidc_discovery environment variable value: ' .. os.getenv('oidc_discovery') + ngx.log(ngx.DEBUG, 'using oidc_discovery environment variable value: ' .. os.getenv('oidc_discovery')) opts.discovery = os.getenv('oidc_discovery') end if (ngx.var.arg_oidc_redirect_uri) then ngx.log(ngx.DEBUG, 'using oidc_redirect_uri URL parameter value: ' .. ngx.var.arg_oidc_redirect_uri) opts.redirect_uri = ngx.unescape_uri(ngx.var.arg_oidc_redirect_uri) elseif (os.getenv('oidc_redirect_uri')) then - ngx.log(ngx.DEBUG, 'using oidc_redirect_uri environment variable value: ' .. os.getenv('oidc_redirect_uri') + ngx.log(ngx.DEBUG, 'using oidc_redirect_uri environment variable value: ' .. os.getenv('oidc_redirect_uri')) opts.redirect_uri = os.getenv('oidc_redirect_uri') end if (ngx.var.arg_oidc_ssl_verify) then ngx.log(ngx.DEBUG, 'using oidc_ssl_verify URL parameter value: ' .. ngx.var.arg_oidc_ssl_verify) opts.ssl_verify = ngx.unescape_uri(ngx.var.arg_oidc_ssl_verify) elseif (os.getenv('oidc_ssl_verify')) then - ngx.log(ngx.DEBUG, 'using oidc_ssl_verify environment variable value: ' .. os.getenv('oidc_ssl_verify') + ngx.log(ngx.DEBUG, 'using oidc_ssl_verify environment variable value: ' .. os.getenv('oidc_ssl_verify')) opts.ssl_verify = os.getenv('oidc_ssl_verify') else opts.ssl_verify = 'no'