Skip to content

Web UI stuck on /web/logged-in after login (no redirect to main app) #11317

Closed as not planned

Description

@chouswei

title: "Web UI stuck on /web/logged-in after login — no redirect to main app"

Environment

  • InvenTree: 1.2.0 (Docker)
  • Browser: Chrome (Windows), URL: http://<server>/web/login → after login lands on /web/logged-in
  • Mobile app (Dart): works correctly

What happens

  1. User logs in on the website.
  2. Backend responds with 200 for: /api/auth/v1/auth/session, /api/user/me/, /api/user/roles/, /auth/.
  3. The page stays on /web/logged-in and never redirects to the main app/dashboard.
  4. No 4xx/5xx in server logs; auth and API are fine.

Expected
After successful login, the web UI should redirect from /web/logged-in to the main application (e.g. dashboard).

Workaround
Manually changing the URL to /web/ or / loads the main app with the user already logged in.

Conclusion
This appears to be a frontend redirect/routing bug in the 1.2.0 web UI: the “logged-in” screen does not trigger navigation to the app.

Activity

  1. matmair commented on Feb 13, 2026

    @matmair
    Member

    This does not use the bug report template and will not be worked on.

    Also if you are using AI to report issues: disclose that.

  2. added
    not enough info
    on Feb 13, 2026
  3. chouswei commented on Feb 13, 2026

    @chouswei
    SponsorAuthor

    Update (from latest server logs):

    • All requests from http://<server>/web/logged-in return 200 (session, user/me, user/roles, /auth/). No 401 or 5xx in that flow.
    • Backend is working; the UI simply never navigates away from the /web/logged-in route to the main app.
    • Workaround: After login, manually open /web/ or bookmark it as the entry URL.

    Also observed: on Edge, the session cookie is sometimes not sent on the next request after login (401 on session), so login can appear to fail there; Chrome is more consistent. Cookie settings (INVENTREE_COOKIE_SAMESITE=False) help but do not fix the stuck /web/logged-in redirect.

  4. locked and limited conversation to collaborators on Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    not enough info

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions