Enhancement: allow OIDC auto-login (#7096)

This commit is contained in:
shamoon
2026-09-05 08:25:00 -07:00
committed by GitHub
parent 438788240b
commit 1024a382ee
7 changed files with 162 additions and 12 deletions
+2 -1
View File
@@ -32,6 +32,7 @@ describe("components/toggles/signout", () => {
const { getByRole } = render(<SignOut />);
fireEvent.click(getByRole("button"));
expect(signOut).toHaveBeenCalledWith({ callbackUrl: "/" });
// Not "/", which would bounce straight back into the provider when auto-login is on
expect(signOut).toHaveBeenCalledWith({ callbackUrl: "/auth/signin?autologin=0" });
});
});