Skip to content

Dashboard: admin token dialog shows an empty red error notice before validation #3483

Description

@juzijia

Client or integration

OpenCodex dashboard

Area

Dashboard

Summary

The admin token dialog displays an empty red error notice immediately when it opens, before any token validation has failed.

Expected behavior: no error notice should be visible until the submitted admin token is rejected or cannot be verified.

Reproduction

  1. Start OpenCodex 2.42.0.
  2. Open the dashboard in a situation where the admin token prompt is required.
  3. Wait for the OpenCodex admin token (OPENCODEX_ADMIN_AUTH_TOKEN) dialog to appear.
  4. Observe an empty red bordered notice directly below the admin token field before submitting anything.

The issue is reproducible immediately when the dialog opens.

Version

2.42.0

Operating system

Windows 10

Provider and model

Not applicable

Logs or error output

No error output is produced. The issue is visual only.

Screenshots and supporting files

A screenshot shows the empty red bordered notice directly below the admin token field.

Redacted configuration

Not applicable

Checks

  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.

Activity

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

    bugSomething isn't workingguiDashboard, tray, settings UIproxyHTTP proxy, routing, reverse-proxy / management auth

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions