diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx
index 6fba0dd41..46e6f76c9 100644
--- a/frontend/src/App.tsx
+++ b/frontend/src/App.tsx
@@ -101,7 +101,6 @@ import {
tf,
useLocale,
} from "./i18n";
-import { rememberOidcReturnUrl, returnUrlFromLocation } from "./oidcReturnUrl";
import "./App.css";
function orchestratorUnavailableMessage(err: unknown, action: string): string {
@@ -4620,7 +4619,9 @@ export default function App({ showLabPanels = false }: { showLabPanels?: boolean
Enterprise SSO Authentication
- {destination === "admin" ? : null}
+ {destination === "admin" && accessToken ? (
+
+ ) : null}