Skip to content

Commit

Permalink
Fixing error: "missing session audience"
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasleplus committed May 6, 2024
1 parent 52d8564 commit 9b781cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openid-connect-provider-debugger/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ server {
if (ngx.var.arg_code) then
ngx.log(ngx.DEBUG, 'session=' .. ngx.var.cookie_session)
ngx.log(ngx.DEBUG, 'opening session')
local session, err, exists = require "resty.session".open()
local session, err, exists = require "resty.session".open({
audience = "default",
})
if (exists) then
ngx.log(ngx.DEBUG, 'session.data=' .. cjson.encode(session.data))
else
Expand Down

0 comments on commit 9b781cb

Please sign in to comment.