Skip to content

Authenticated User Information Not Displayed in Dashboard Sidebar #85

Description

@Auro993

Description

The dashboard displays the wrong signed-in user name. I am signed in as Aurosmita, but the UI shows "Signed in as John" in the user menu / top-right corner.

This is a user session / identity mismatch bug.


Steps to Reproduce

  1. Sign in to the application as Aurosmita.
  2. Navigate to the OpsCord Dashboard.
  3. Look at the top-right corner / user menu.
  4. Observe the displayed name.

Expected Behavior

Should display: Signed in as Aurosmita


Actual Behavior

Displays: Signed in as John


Environment

  • User: Aurosmita (authenticated)
  • Displayed user: John
  • Page: OpsCord Dashboard (/dashboard or /overview)
  • Browser: [e.g., Chrome 134, Firefox 135, Safari 18]
  • Environment: [e.g., Production / Staging / Dev]

Possible Root Cause (for devs)

  • Cached user object in frontend state (localStorage / sessionStorage / Redux / Zustand)
  • Backend /me or /user/profile endpoint returning wrong user data
  • Session/token still associated with previous user (John)
  • Mock or hardcoded fallback user in development mode

Workaround for User (if any)

  • Clear browser localStorage, sessionStorage, and cookies for the site
  • Sign out completely and sign back in as Aurosmita
  • Open DevTools → Application → Storage → Clear site data

Additional Context

This causes confusion and could impact audit logs or permission checks if the wrong identity is used elsewhere in the app.


Severity

🔴 Medium – User-facing identity bug, not a crash but affects trust and usability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions