We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3960996 commit fabe18aCopy full SHA for fabe18a
1 file changed
openid-connect-provider-debugger/default.conf
@@ -41,7 +41,10 @@ server {
41
local cjson = require('cjson')
42
local opts = {}
43
if (ngx.var.arg_code) then
44
- ngx.log(ngx.DEBUG, 'session=' .. ngx.var.cookie_session)
+ if (ngx.var.cookie_session) then
45
+ ngx.log(ngx.DEBUG, 'session=' .. ngx.var.cookie_session)
46
+ else
47
+ ngx.log(ngx.ERR, 'session cookie is missing')
48
ngx.log(ngx.DEBUG, 'opening session')
49
local session = require "resty.session".open()
50
if (session.present) then
0 commit comments