Skip to content

feat(app): import OAuth-backed Den providers#1941

Open
pascalandr wants to merge 3 commits into
different-ai:devfrom
Pagecran:pr/desktop-import-oauth-den-providers
Open

feat(app): import OAuth-backed Den providers#1941
pascalandr wants to merge 3 commits into
different-ai:devfrom
Pagecran:pr/desktop-import-oauth-den-providers

Conversation

@pascalandr
Copy link
Copy Markdown
Contributor

@pascalandr pascalandr commented May 24, 2026

Dependency map

Pagecran/dev
`-- stack/provider-credential-contract-base          (A)
    |-- pr/den-managed-provider-sync                 (B)
    `-- stack/den-api-oauth-credential-handling      (C)
        |-- stack/oauth-device-flow-and-ui           (D)
        `-- stack/desktop-import-oauth-providers     (E)

Scope

  • Includes map parts: A + C + E.
  • Adds the LLM provider credential contract base for OAuth-backed OpenCode credentials.
  • Adds Den API handling for API-key versus OpenCode OAuth-backed provider credentials.
  • Adds desktop import support for OAuth-backed Den organization providers.
  • Imports OpenCode OAuth auth JSON through the Den import credential endpoint while preserving existing API-key import behavior.

Tests

  • pnpm --filter @openwork-ee/den-db build - PASS.
  • From ee/apps/den-api: pnpm exec tsc -p tsconfig.json --noEmit - PASS.
  • From ee/apps/den-api: pnpm exec bun test test/llm-provider-credentials.test.ts - PASS, 4 tests.
  • pnpm --filter @openwork/app typecheck - FAILS in unrelated existing/baseline file src/react-app/design-system/extension-mesh-avatar.tsx because @paper-design/shaders-react types cannot be resolved. This PR does not touch that file or dependency.

Linked issues

Add the LLM provider credential kind/opencode auth storage contract, migration, and passive credential redaction/flags needed by follow-up provider credential and worker sync PRs.
Add Den API create/update/read/import handling for API-key versus OpenCode OAuth provider credentials on top of the credential contract base.
Allow desktop cloud-provider import to consume OpenCode OAuth-backed organization providers from the Den credential import endpoint.
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-landing Ready Ready Preview, Comment, Open in v0 May 24, 2026 12:58am

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 24, 2026

@pascalandr is attempting to deploy a commit to the Different AI Team on Vercel.

A member of the Team first needs to authorize it.

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.

OpenAI models not available despite being connected Anthropic auth: disable OAuth or enable via custom provider

1 participant