Skip to content

Commit

Permalink
update logout_spec.lua to match lua-resty-openidc 4.x set-cookie header
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Zandbelt <hans.zandbelt@openidc.com>
  • Loading branch information
zandbelt committed Sep 9, 2024
1 parent cebfa35 commit 7548b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/spec/logout_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe("when the configured logout uri is invoked with Firefox 128's default A
end)
it("the session cookie has been revoked", function()
assert.truthy(string.match(headers["set-cookie"],
"session=; Expires=Thu, 01 Jan 1970 00:00:01 GMT.*"))
"session=; Path=/; SameSite=Lax; HttpOnly; Expires=Thu, 01 Jan 1970 00:00:01 GMT; .*"))
end)
end)

Expand Down

0 comments on commit 7548b25

Please sign in to comment.