Added support for signing in with a ChatGPT Plus/Pro/Team subscription - #164
Merged
oleg68 merged 3 commits intoJul 18, 2026
Merged
Conversation
New profile connection type that routes Claude Code sessions through
OpenAI's Codex backend using ChatGPT OAuth instead of an API key. The
user copies a sign-in link (PKCE flow against auth.openai.com), signs
in in their own browser, and pastes the resulting code back to
complete sign-in — the plugin never opens or waits on a browser
itself, since the browser may run under different network conditions
than the plugin.
Once signed in, "Model Aliases…" fetches the live model list from the
Codex backend instead of a fixed list. The Codex Responses API request
shape (stream:true always required, store:false always required, no
max_output_tokens field, {"detail":...} error shape) was reverse
engineered against openai/codex's own Rust source.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Disambiguates it from the new "ChatGPT Subscription" connection type. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Added a README feature bullet, a new user-manual section covering the copy-link/paste-code sign-in flow and live model discovery, updated the connection-type table and Model Aliases description to cover it, and refreshed the Profiles tab screenshot to show the current UI. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
chatgpt.com/backend-api/codex) using ChatGPT OAuth instead of an Anthropic/OpenAI API key.stream:truealways required,store:falsealways required, nomax_output_tokensfield,{"detail":...}error shape,client_versionquery param,modelslist envelope withslugfield) was reverse engineered againstopenai/codex's own Rust source and verified against live traffic.Test plan
mvn test— full suite green (959 tests)mvn package— NBM builds cleanly/model gpt-5.6-terra) in a live session and confirm prompts round-trip successfully🤖 Generated with Claude Code