From 749b5efd22af01591e4bb8f4e1854dfcc169317c Mon Sep 17 00:00:00 2001 From: Jack Palmer Date: Tue, 23 Jul 2024 12:30:01 +0100 Subject: [PATCH 1/2] feat: Add visibility hidden to CookieAuthRedirect Signed-off-by: Jack Palmer --- .../src/components/CookieAuthRedirect/CookieAuthRedirect.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/auth-react/src/components/CookieAuthRedirect/CookieAuthRedirect.tsx b/plugins/auth-react/src/components/CookieAuthRedirect/CookieAuthRedirect.tsx index f719aebdae..c89aa6a54d 100644 --- a/plugins/auth-react/src/components/CookieAuthRedirect/CookieAuthRedirect.tsx +++ b/plugins/auth-react/src/components/CookieAuthRedirect/CookieAuthRedirect.tsx @@ -45,6 +45,7 @@ export function CookieAuthRedirect() { ref={form => form?.submit()} action={window.location.href} method="POST" + style={{ visibility: 'hidden' }} > From aeac3e9efa0df730facf88617c6bc7882ee6e830 Mon Sep 17 00:00:00 2001 From: Jack Palmer Date: Tue, 23 Jul 2024 12:31:58 +0100 Subject: [PATCH 2/2] chore: changeset Signed-off-by: Jack Palmer --- .changeset/wicked-bobcats-teach.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/wicked-bobcats-teach.md diff --git a/.changeset/wicked-bobcats-teach.md b/.changeset/wicked-bobcats-teach.md new file mode 100644 index 0000000000..041e336f7d --- /dev/null +++ b/.changeset/wicked-bobcats-teach.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-auth-react': patch +--- + +feat: Hide visibility of CookieAuthRedirect