fix: Mobile login redirects to homepage without showing Auth0 login page (#188) #193

Merged
egullickson merged 9 commits from issue-188-fix-mobile-login-redirect into main 2026-02-15 15:36:38 +00:00
Showing only changes of commit 38debaad5d - Show all commits

View File

@@ -120,6 +120,7 @@ const TokenInjector: React.FC<{ children: React.ReactNode }> = ({ children }) =>
// Prevent stale session state when cached token is no longer valid
React.useEffect(() => {
if (!isAuthenticated || isLoading || validatingRef.current) return;
if (window.location.pathname === '/callback') return;
const validateToken = async () => {
validatingRef.current = true;