Skip to content

Add auth to the local miner-ui API #4858

Description

@JSONbored

Problem: The local miner-ui API currently relies on undocumented, implicit loopback-only trust — there's no actual authentication, and this becomes more important once the UI can take real actions (above).

Area: AMS / Miner UI

Proposal: Add a minimal auth mechanism (e.g. a locally-generated token) to the miner-ui's API, documented clearly.

Deliverables:

  • A working, documented auth mechanism for the local API.

Acceptance criteria:

  • An unauthenticated request to the miner-ui API is rejected.

Scope note: this auth mechanism is for the local, loopback-only miner-ui API only. It must not touch the review gate's own authentication/bypass-resistance mechanisms or any multi-tenant security architecture, which stay maintainer-only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.help wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions