Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(web-callback): handle missing state parameter in OAuth callback

Steven Enamakel55c08534c96b
diff --git a/app/src/pages/WebCallbackPage.tsx b/app/src/pages/WebCallbackPage.tsx
index 5ebeafbc55..c2a1d9f68b 100644
--- a/app/src/pages/WebCallbackPage.tsx
+++ b/app/src/pages/WebCallbackPage.tsx
@@ -29,6 +29,7 @@ export default function WebCallbackPage({
callbackKind,
callbackStatus,
}: WebCallbackPageProps = {}) {
+ const { t } = useT();
const { kind: routeKind, status: routeStatus } = useParams();
const location = useLocation();
const kind = callbackKind ?? routeKind;