Skip to content

Commit 7548b25

Browse files
committed
update logout_spec.lua to match lua-resty-openidc 4.x set-cookie header
Signed-off-by: Hans Zandbelt <[email protected]>
1 parent cebfa35 commit 7548b25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/spec/logout_spec.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe("when the configured logout uri is invoked with Firefox 128's default A
3838
end)
3939
it("the session cookie has been revoked", function()
4040
assert.truthy(string.match(headers["set-cookie"],
41-
"session=; Expires=Thu, 01 Jan 1970 00:00:01 GMT.*"))
41+
"session=; Path=/; SameSite=Lax; HttpOnly; Expires=Thu, 01 Jan 1970 00:00:01 GMT; .*"))
4242
end)
4343
end)
4444

0 commit comments

Comments
 (0)