Skip to content

[bug]: Admin sign-in redirects to non-existent /admin route causing 404 errorΒ #8407

@Vansh5632

Description

@Vansh5632

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When accessing /god-mode while unauthenticated, the app correctly shows "Admin user does not exist. Sign In now."

However, clicking the "Sign In" link redirects to /god-mode/admin/ which doesn't exist in the routing configuration, resulting in a 404 Not Found error.

Additionally, the following console errors appear:

  • 401 errors for /api/instances/admins/ and /api/instances/configurations/
  • 404 errors for /favicon.ico and /site.webmanifest.json
  • React warning about uncontrolled input becoming controlled in sign-in form

Steps to reproduce

  1. Go to /god-mode without being authenticated
  2. Click on 'Sign In now' link in the error message
  3. Scroll down to observe the 404 error
  4. See error: Page not found at /god-mode/admin/

Environment

Production

Browser

None

Variant

Local

Version

v0.17.0-dev

Metadata

Metadata

Assignees

Labels

planesync issues to PlaneπŸ›bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions