feat(app): import OAuth-backed Den providers#1941
Closed
pascalandr wants to merge 15 commits into
Closed
Conversation
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.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
@pascalandr is attempting to deploy a commit to the Different AI Team on Vercel. A member of the Team first needs to authorize it. |
Add Den API OpenAI OAuth device-flow routes/tests and Den Web provider UI for OAuth-backed provider credentials on top of the credential handling stack.
Route Den-backed remote workspaces through the managed-provider sync endpoint for background sync and manual Cloud Provider import. Add focused client coverage for successful and sanitized failure paths.
Apply the cloud managed model allowlist to session and compact model picker options, refresh provider-list queries after managed-provider sync, and add focused regression coverage for stale OpenAI catalog filtering.
There was a problem hiding this comment.
4 issues found across 18 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
Merge upstream/dev into pr/desktop-import-oauth-den-providers, sequence migrations, and address OAuth provider review feedback.
Add explicit duplicate-provider allowlist coverage and align the OAuth migration journal assertion with the actual migration tag.
…uth-den-providers # Conflicts: # apps/app/src/react-app/domains/connections/provider-auth/store.ts # apps/app/src/react-app/shell/session-route.tsx # apps/app/src/react-app/shell/settings-route.tsx # ee/packages/den-db/drizzle/meta/_journal.json
Update the OAuth provider migration journal assertion to match the current migration tag after newer enterprise feedback changes.
…uth-den-providers
Use runtime provider IDs for OAuth/OpenWork managed providers, require applied-provider IDs for partial remote sync results, and constrain default model picker entries to managed allowlists.
Stop using remote host tokens as workspace bearer tokens and cover remote endpoint token selection with tests.
Contributor
Author
|
@cubic-dev-ai review |
@pascalandr I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
1 issue found
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Restore pending invitation member access rows in LLM provider responses by left-joining users and preserving invitation email fallback.
Contributor
Author
|
Superseded by the clean consolidated managed providers PR #2175. |
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.
Dependency map
Scope
Tests
pnpm --filter @openwork-ee/den-db build- PASS.ee/apps/den-api:pnpm exec tsc -p tsconfig.json --noEmit- PASS.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 filesrc/react-app/design-system/extension-mesh-avatar.tsxbecause@paper-design/shaders-reacttypes cannot be resolved. This PR does not touch that file or dependency.Linked issues