feat: add support for OIDC logouts

Closes HP-407.
This commit is contained in:
Aarnav Tale
2026-04-26 20:28:36 -04:00
parent ac6f9e4f7e
commit b961b339bb
13 changed files with 512 additions and 15 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ describe("session round-trip", () => {
test("expired session throws", async () => {
const userId = await auth.findOrCreateUser("sub-1", { name: "Alice" });
const cookieHeader = await auth.createOidcSession(userId, { name: "Alice" }, -1);
const cookieHeader = await auth.createOidcSession(userId, { name: "Alice" }, { maxAge: -1 });
const cookieValue = cookieHeader.split(";")[0];
const request = new Request("http://localhost/test", {