Skip to content

[FEATURE]: oauth2proxy (but more like simple auth proxy) support #17532

@herb

Description

@herb

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

i want to run opencode serve/web behind oauth2proxy for auth. that works out of the box for opencode web but if i want to connect a tui or desktop app to it there needs to be a way for the client to offer a auth/bearer token.

is this something you guys would be interested in supporting? i'm imagine a '--auth-token' parameter for both tui and desktop. attaching a plan i asked glm-5 to spin up as a strawman (and the caveat i have no real experience with the codebase).

oauth2_support.md

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)discussionUsed for feature requests, proposals, ideas, etc. Open discussionwebRelates to opencode on web / desktop

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