Skip to content

Improve OpenAPI OAuth account reuse - #873

Merged
RhysSullivan merged 7 commits into
mainfrom
codex/openapi-shared-oauth
May 31, 2026
Merged

Improve OpenAPI OAuth account reuse#873
RhysSullivan merged 7 commits into
mainfrom
codex/openapi-shared-oauth

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented May 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • request account identity scopes by default for authorization-code OAuth sources with opt-out support
  • let OpenAPI add-source reuse existing OAuth connections with matching API scopes
  • polish add-source OAuth credentials, scopes, and connected-account UX

Tests

  • bun run --cwd packages/plugins/openapi test -- src/sdk/google-discovery.test.ts src/sdk/multi-scope-oauth.test.ts src/sdk/preview-oauth2.test.ts
  • bun run --cwd packages/plugins/openapi typecheck
  • bun run --cwd packages/react typecheck

Stack

  1. Add connection identity backend support #871
  2. Show connection identities in the UI #872
  3. Improve OpenAPI OAuth account reuse #873 👈 current
  4. Emit valid schemas for Google Discovery specs #874
  5. Add bundled Google source flow #875

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 29, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing e31e373 Commit Preview URL

Branch Preview URL
May 31 2026, 07:29 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 29, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud e31e373 May 31 2026, 07:30 PM

@pkg-pr-new

pkg-pr-new Bot commented May 29, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@873

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@873

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@873

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@873

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@873

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@873

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@873

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@873

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@873

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@873

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@873

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@873

executor

npm i https://pkg.pr.new/executor@873

commit: cbde11f

@RhysSullivan
RhysSullivan force-pushed the codex/connection-identity-ui branch from 9bae86f to 083f2e3 Compare May 29, 2026 07:40
@RhysSullivan
RhysSullivan force-pushed the codex/openapi-shared-oauth branch 2 times, most recently from ec78cea to 34d8f0c Compare May 29, 2026 17:37
@RhysSullivan
RhysSullivan force-pushed the codex/connection-identity-ui branch from 1901342 to fff20f8 Compare May 30, 2026 07:19
@RhysSullivan
RhysSullivan force-pushed the codex/openapi-shared-oauth branch from 34d8f0c to 5d87206 Compare May 30, 2026 07:20
@RhysSullivan
RhysSullivan force-pushed the codex/connection-identity-ui branch 2 times, most recently from e40bbc6 to f24e533 Compare May 31, 2026 19:24
@RhysSullivan
RhysSullivan force-pushed the codex/openapi-shared-oauth branch from cbde11f to 29a512b Compare May 31, 2026 19:24
@RhysSullivan
RhysSullivan changed the base branch from codex/connection-identity-ui to main May 31, 2026 19:24
@RhysSullivan
RhysSullivan force-pushed the codex/openapi-shared-oauth branch from 29a512b to e31e373 Compare May 31, 2026 19:24
@RhysSullivan
RhysSullivan merged commit 079243b into main May 31, 2026
2 checks passed
RhysSullivan added a commit that referenced this pull request May 31, 2026
* Improve OpenAPI OAuth account reuse

* Reuse OAuth clients for incremental source scopes

* Request only missing Google OAuth scopes

* Compact Google OAuth authorization scopes

* Clarify connected OAuth account fallback

* Refresh OAuth connection state after sign-in

* Invalidate connections after OAuth completion
@RhysSullivan
RhysSullivan deleted the codex/openapi-shared-oauth branch June 11, 2026 08:01
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.

1 participant