Feature 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
Feature hasn't been suggested before.
Describe the enhancement you want to request
i want to run
opencode serve/webbehind oauth2proxy for auth. that works out of the box foropencode webbut 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