Skip to content

Fix hackbot-ui redirect after login #6645

Description

@suhaibmujahid

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Fields

    Priority

    None yet

    Effort

    Low

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions