From a195fa9231093fa1ae94e443cddd419693912edf Mon Sep 17 00:00:00 2001 From: Eric Gullickson <16152721+ericgullickson@users.noreply.github.com> Date: Sat, 14 Feb 2026 21:55:24 -0600 Subject: [PATCH] fix: allow callback route to complete Auth0 code exchange (refs #189) Co-Authored-By: Claude Opus 4.6 --- frontend/src/App.tsx | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 0aa66e0..3a161dd 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -557,18 +557,37 @@ function App() { ); } - // Callback route requires authentication - handled by CallbackPage component - if (isCallbackRoute && isAuthenticated) { + if (isCallbackRoute) { + if (isAuthenticated) { + return ( + + +
Processing login...
+ + }> + {mobileMode ? : } +
+ +
+ ); + } + if (mobileMode) { + return ( + + +
+
Processing login...
+
+
+
+ ); + } return ( - -
Processing login...
- - }> - {mobileMode ? : } -
- +
+
Processing login...
+
); }