Skip to content

Add user guide for setting OPENCODEX_ADMIN_AUTH_TOKEN #3353

Description

@Tao-Yida

Area

Dashboard

What are you trying to accomplish?

For users updating Opencodex to v2.40.0, add a brief guide to set an authentication token, not just ask users to provide one which they might not know what it is.

What prevents this today?

Today I updated Opencodex to v2.40.0, and was prohibited from accessing the dashboard. At first I thought it was a critical bug/config loss during update, but later I used a LLM to scan the codebase and was told it is a new security feature. Thus I asked the LLM to generate a token and save it to config.
But those who do not carefully read changelogs might not be able to figure out how to configure an OPENCODEX_ADMIN_AUTH_TOKEN when seeing the panel popped up in dashboard. Thus I believe a brief guide would help for clarification and better user experience.

What should OpenCodex do?

Add user guide for setting OPENCODEX_ADMIN_AUTH_TOKEN in Opencodex dashboard.

Example usage or interface

  1. Start OpenCodex
  2. Open Opencodex dashboard
  3. Asked to filling OPENCODEX_ADMIN_AUTH_TOKEN
  4. Know how to generate one and save it to config
  5. Do not need to provide token every time when opening dashboard

Alternatives or workarounds

No response

Additional context

No response

Checks

  • I searched existing issues and documentation.
  • This request describes a concrete OpenCodex workflow rather than merely naming a desired technology.
  • I removed secrets 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

    enhancementNew feature or requestguiDashboard, tray, settings UIlanded-via-maintainerOriginal PR closed after landing via a maintainer merge train

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions