services/hackbot-ui/middleware.ts redirects unauthenticated requests to a fixed /login with no callbackUrl/next parameter, and app/login/page.tsx hardcodes callbackURL: "/" on sign-in. A deep link visited while signed out always lands on the home page after authentication instead of back where the user started.
services/hackbot-ui/middleware.tsredirects unauthenticated requests to a fixed/loginwith nocallbackUrl/nextparameter, andapp/login/page.tsxhardcodescallbackURL: "/"on sign-in. A deep link visited while signed out always lands on the home page after authentication instead of back where the user started.