Skip to content

Ensure auth bootstrap 401 is intentional and silences other errors #61

@ArchILLtect

Description

@ArchILLtect

Summary

Confirm the only expected console 401 comes from initial /api/me on unauth startup. Suppress other noisy logs unless debug mode is enabled.

Motivation / Problem

The auth system has to verify whether a user is already logged in during mount/bootstrap process and uses a call to /api/me/ to do so. We don't want this to fail loudly, especially considering it is a normal part of the auth process and not a real failure/error.

Acceptance Criteria

  • Console remains empty except for intentional bootstrap 401.
  • Document this behavior in README / dev notes.

Target Release

None

Notes / Links

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:authfrontendWork related to the web UI (React, Vite, Tailwind, etc.).roadmapPlanned feature or strategic goal from the project roadmaptype:fix

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions