fix(auth): harden Claude OAuth credential pools - #1196
Open
eddieparc wants to merge 10 commits into
Open
Conversation
…sdk-provider-registration
…sdk-provider-registration # Conflicts: # packages/ai/CHANGELOG.md
…sdk-provider-registration # Conflicts: # packages/ai/src/changes.md # packages/coding-agent/CHANGELOG.md # packages/coding-agent/test/rpc-socket-host.test.ts
Contributor
Author
|
Cross-reference: Linear OLI-281 (https://linear.app/oliveline/issue/OLI-281/senpi-claude-sdk-oauth-provider-%EB%9D%BC%EC%9A%B0%ED%8C%85%EC%9C%BC%EB%A1%9C-OMO-%EC%84%B8%EC%85%98-%EC%9E%AC%EA%B0%9C-%EC%8B%A4%ED%8C%A8), GitHub issue #1261 (#1261). Real Orca QA on resumed session 01a05add-8e0c-7918-b2c8-551e0298a50d returned RESUME_OK without a new provider-configuration error using claude-sdk-oauth/claude-opus-5:high. |
This was referenced Sep 1, 2026
This was referenced Sep 3, 2026
code-yeongyu
added a commit
that referenced
this pull request
Sep 3, 2026
A provider whose own login returns the complete pooled credential was double-pooled: appendLoginSlot read that result's top-level fields as a flat credential and appended them as a second slot. For claude-sdk-oauth those fields are the managed sentinel, so a second account produced a login-2 slot holding placeholder tokens. Adopts the slots.ts hunk from #1304 and #1196 by @eddieparc. Ultraworked with [omo](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.com>
code-yeongyu
added a commit
that referenced
this pull request
Sep 3, 2026
…d account Shared credential rotation projects one named slot onto the flat credential shape and strips accounts, so the availability predicate counted zero accounts and reported "Provider is not configured: claude-sdk-oauth". A projected sentinel still counts as zero, leaving the ambient opt-in path unchanged. Adopts the oauth-login.ts hunk from #1304 and #1196 by @eddieparc. Ultraworked with [omo](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.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
Root causes
Verification