dsh-openai-oauth
Manifest valid★ 9Use ChatGPT OAuth and OpenAI Codex models in DeepSeek Harness—no API key or Codex CLI required.
dsh-openai-oauth
OpenAI OAuth for DeepSeek Harness
English | 中文
Sign in to ChatGPT from DeepSeek Harness and use available Codex models without an OpenAI API key or Codex CLI. The plugin keeps the standard DSH sessions, tools, permissions, and model selector.
Features
- Browser login with PKCE or Device Code login
- Web settings and a headless login command
- Automatic token refresh
- Codex models in the standard DSH model selector
- Credentials stored locally under the Harness home
Requirements
- DeepSeek Harness
0.1.0-rc.8 - Node.js
^22.19.0or>=24.0.0 pnpmonPATH- A ChatGPT account with Codex access
Version 0.1.0 supports macOS and Linux. Windows support is not included yet.
Install
Install with an Agent (recommended)
Give this address to an Agent and ask it to follow the runbook:
https://raw.githubusercontent.com/AdonisSheldon/dsh-openai-oauth/main/AGENTS.md
When it finishes, you only need to approve any DSH restart and complete the ChatGPT login yourself.
Install with DSH
After the package is published:
dsh plugin --profile web add dsh-openai-oauth@0.1.0
dsh --profile web --dump-config
Install from the current checkout
pnpm install --frozen-lockfile
pnpm run check
pnpm pack
dsh plugin --profile web add ./dsh-openai-oauth-0.1.0.tgz
dsh --profile web --dump-config
Restart a running DSH Web process after installation.
Login and use
- Open Settings → OpenAI OAuth.
- Choose Browser login or Device Code.
- Sign in with a ChatGPT account that has Codex access.
- Open Models and select an
openai-codexmodel.
Browser login waits for a callback on 127.0.0.1:1455. Use Device Code when that port is unavailable or the browser is on another machine.
For a headless profile:
dsh plugin --profile headless add ./dsh-openai-oauth-0.1.0.tgz
dsh plugin --profile headless exec dsh-openai-login
The command asks which login method to use. Non-interactive terminals must pass --browser or --device-code.
Update and uninstall
dsh plugin --profile web update dsh-openai-oauth
dsh plugin --profile web remove dsh-openai-oauth
Restart DSH after installing, updating, or removing the plugin. Login, logout, and token refresh do not require a restart.
Sign out in Settings → OpenAI OAuth before uninstalling if the stored credential should also be deleted. Uninstalling the package otherwise preserves it.
Notes
- This connects a ChatGPT account to the Codex model provider; it does not create an OpenAI API key.
- The Web integration supports only a local DSH Host bound to
127.0.0.1. - Credentials are stored unencrypted at
$DSH_HOME/plugins/dsh-openai-oauth/credentials.json. - Model availability and quota depend on the signed-in account.
- OpenAI may change the Codex OAuth protocol independently of this plugin.
- This is an unofficial community project and is not affiliated with or endorsed by OpenAI or DeepSeek AI.
See SECURITY.md for security reporting and deployment notes.
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.4.0 | — | — |
Comments
Loading…
Similar plugins
by DGPisces
DeepSeek Harness provider for GPT models using managed ChatGPT OAuth through Codex app-server
★ 5
↓ 146/wk
MIT
JavaScript
Aug 15, 2026
dsh plugin --profile web add dsh-openai-oauthby franksong2702
Use openai-codex models and image generation via ChatGPT OAuth for DeepSeek Harness.
★ 174
Apache-2.0
TypeScript
Oct 28, 2026
dsh plugin --profile web add dsh-codex-connectby zhangxiubo
ChatGPT Plus/Pro OAuth model provider for DeepSeek Harness using pi-ai openai-codex.
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-llm-chatgpt-oauthby birat-chapagain
DeepSeek Harness plugin: use your OpenAI Codex (ChatGPT Plus/Pro) subscription through OAuth
★ 7
↓ 79/wk
MIT
TypeScript
Aug 23, 2026
dsh plugin --profile web add dsh-codex-oauthby auggie246
OpenAI Codex (ChatGPT Plus/Pro subscription) provider for DeepSeek Harness with DSH Web OAuth, device code, and shared Codex CLI credentials
★ 0
MIT
JavaScript
Sep 29, 2026
dsh plugin --profile web add dsh-llm-openai-codexby callqh
Sign in to OpenAI Codex from DeepSeek Harness with a ChatGPT Plus/Pro subscription, by driving the authorization flow llm-pi-ai already registers.
★ 0
MIT
JavaScript
Sep 30, 2026
dsh plugin --profile web add dsh-codex-oauth