DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-gpt-oauth

j

dsh-gpt-oauth

Manifest valid★ 3

openai models for login by chatgpt

UI (client)hasBundlePatch

dsh-login-chatgpt

English | 中文

DeepSeek Harness plugin that adds an openai-codex-gptoauth provider route and an independent ChatGPT Login settings page. The route mirrors the installed openai-codex catalog and uses Pi's official ChatGPT OAuth device-code flow; no OpenAI API key is requested.

Install

Install from npm (recommended)

dsh plugin --profile web add dsh-login-chatgpt

To install a specific version:

dsh plugin --profile web add dsh-login-chatgpt@0.2.5

Package: https://www.npmjs.com/package/dsh-login-chatgpt

Install from a local checkout (development)

git clone git@github.com:jiangliuhong/dsh-gpt-oauth.git
cd dsh-gpt-oauth
npm install
dsh plugin --profile web add "$PWD"

The bundle installs the authorization service and uses the llm and credentials services supplied by the standard web profile.

Start Harness:

dsh web

Use

  1. Open Settings → ChatGPT Login.
  2. Select Login with ChatGPT.
  3. Open the displayed OpenAI authorization URL and enter the one-time code.
  4. Wait until the settings page reports Connected.
  5. In the conversation composer click Select model.
  6. Click the Model / Select model row to open the full catalog.
  7. Scroll to openai-codex-gptoauth and choose one of its GPT models.

The route appears in the conversation model selector, not on the Models settings page.

The login grant is stored by the DSH credentials service under llm-pi-ai/openai-codex-gptoauth. Model requests reuse that grant and its refresh flow automatically. OAuth tokens are never returned to the browser; only login status, the verification URL, and the one-time device code are shown.

Local login endpoint

The client bundle talks to a loopback-only helper on 127.0.0.1:3091. The helper accepts browser requests only from loopback origins. A port conflict fails plugin startup rather than silently disabling login.

Development checks

node --check index.js
node --check login-manager.js
node --check client.js
node --test login-manager.test.js

Release

Set the version in package.json and package-lock.json, commit it, then push a matching tag. Both 0.2.0 and v0.2.0 tag forms are accepted:

npm version 0.2.1 --no-git-tag-version
git add package.json package-lock.json
git commit -m "release: v0.2.1"
git tag v0.2.1
git push origin main v0.2.1

The tag workflow runs checks, publishes the exact package.json version to npm with provenance, and creates a GitHub Release through npm Trusted Publishing (OIDC). After the initial package bootstrap, no npm token or local publish is needed for subsequent releases.

Acknowledgements

Thanks to the LINUX DO community for its continued support.

Versions

Latest versionPublishedSize
0.2.5——

Comments

Loading…

Similar plugins

dsh-llm-chatgpt-oauth

by zhangxiubo

ChatGPT Plus/Pro OAuth model provider for DeepSeek Harness using pi-ai openai-codex.

Manifest valid

★ 0

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-llm-chatgpt-oauth

by DGPisces

DeepSeek Harness provider for GPT models using managed ChatGPT OAuth through Codex app-server

Models & ProvidersManifest valid

★ 6

↓ 323/wk

MIT

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-openai-oauth

by zhangnan

ChatGPT OAuth login and Codex usage for DeepSeek Harness

Security & AuditModels & ProvidersManifest valid

★ 0

MIT

JavaScript

Sep 23, 2026

dsh plugin --profile web add dsh-chatgpt-oauth

by 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.

Terminal & ClientsModels & ProvidersManifest valid

★ 0

MIT

JavaScript

Sep 30, 2026

dsh plugin --profile web add dsh-codex-oauth

by AdonisSheldon

Use ChatGPT OAuth and OpenAI Codex models in DeepSeek Harness—no API key or Codex CLI required.

Models & ProvidersManifest valid

★ 9

↓ 323/wk

MIT

TypeScript

Nov 3, 2026

dsh plugin --profile web add dsh-openai-oauth

by hongbaiqi

Persistent DSH model-account authorization UI for ChatGPT, Claude, and other llm-pi-ai login flows

Manifest valid

★ 0

MIT

Sep 3, 2026

dsh plugin --profile web add dsh-model-account-login