Skip to content

Fix oauth2 client again#592

Merged
threepointone merged 3 commits intomainfrom
fix/oauth2-again-hopefully
Oct 25, 2025
Merged

Fix oauth2 client again#592
threepointone merged 3 commits intomainfrom
fix/oauth2-again-hopefully

Conversation

@mattzcarey
Copy link
Copy Markdown
Contributor

removes the bug where the client was trying to reconnect and start a new auth flow after auth was successful.

showed up with this error:

Error: Failed to authenticate: the client isn't in the `authenticating` state
    at MCPClientManager.handleCallbackRequest (assets/worker-entry-CEsYH8jC.js:32900:83)
    at assets/worker-entry-CEsYH8jC.js:34508:41
    at async Playground.fetch (assets/worker-entry-CEsYH8jC.js:34033:16)

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Oct 25, 2025

🦋 Changeset detected

Latest commit: 594774d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
agents Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Oct 25, 2025

Open in StackBlitz

npm i https://pkg.pr.new/cloudflare/agents@592

commit: 594774d

@threepointone threepointone merged commit 8e9d714 into main Oct 25, 2025
3 checks passed
@threepointone threepointone deleted the fix/oauth2-again-hopefully branch October 25, 2025 15:23
@threepointone threepointone mentioned this pull request Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants