Skip to content

[FEATURE]: Reload auth.json if changed #7701

@hakan-77

Description

@hakan-77

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Why this matters

OpenCode currently does not support dynamic authentication token management. This is a must-have requirement for many enterprise environments. I understand that OpenCode has an Enterprise Edition (EE), but unfortunately that is not an option for some of our air-gapped project requirements.

Request

If the feature discussed in #1302
is not going to be implemented, it would be extremely helpful if OpenCode could at least detect runtime changes to auth.json.

This would be a relatively trivial change to implement, and I’m happy to submit a PR if this approach is aligned with OpenCode’s EE monetization strategy.

While this would not provide full enterprise-grade security (and therefore would not replace EE), it would offer a practical middle ground: programmatic updates to auth.json without requiring users to restart the TUI.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions