Skip to main content
Back to plugins
H

dsh-oauth-openai

hrhgit/dsh-oauth-openai

OpenAI Codex OAuth provider and model adapter for dsh-oauth and DeepSeek Harness

Install

dsh plugin --profile web add github:hrhgit/dsh-oauth-openai

README

dsh-oauth-openai

OpenAI Codex OAuth provider and model adapter for DeepSeek Harness. It depends on dsh-oauth for account UI, secret storage, refresh locking, and logout, while this package owns the OpenAI-specific protocol and openai-codex LLM route.

Install both local packages into the same profile during development:

dsh plugin --profile web add ../dsh-oauth .
dsh web

Open Settings → Accounts → OpenAI Codex. The default auto login mode uses the localhost browser callback when port 1455 is available and otherwise uses device-code login.

ChatGPT subscription access is distinct from OpenAI Platform API billing. This plugin does not expose the subscription token as a general OpenAI API key and does not read or modify Codex CLI's auth.json.

Migration from dsh-openai-codex

dsh-openai-codex is deprecated in favor of this package. They share the same Cordis plugin ID, so do not install both in one profile. Replace the old bundle with the new package:

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

Related plugins