From 7548b258277a7208ba2c285796f7b1fef0c9759c Mon Sep 17 00:00:00 2001 From: Hans Zandbelt Date: Mon, 9 Sep 2024 12:56:40 +0200 Subject: [PATCH] update logout_spec.lua to match lua-resty-openidc 4.x set-cookie header Signed-off-by: Hans Zandbelt --- tests/spec/logout_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/spec/logout_spec.lua b/tests/spec/logout_spec.lua index b911cd0..6c7eaad 100644 --- a/tests/spec/logout_spec.lua +++ b/tests/spec/logout_spec.lua @@ -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)