feat(den): add OAuth provider flow#1940
Closed
pascalandr wants to merge 11 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.
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.
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. |
Merge upstream/dev into pr/den-oauth-provider-flow and sequence OAuth provider migration after SSO migrations.
…r-flow # Conflicts: # ee/packages/den-db/drizzle/meta/_journal.json
Reject removed members during LLM provider access assignment, hide stale removed-member access rows, and add the missing Drizzle snapshot metadata for the OAuth provider migration.
There was a problem hiding this comment.
1 issue found across 12 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Use invitation fallback data for pending LLM provider member access rows and keep invited placeholders visible in access listings.
Allow Den web to parse pending invited LLM provider access rows with nullable user IDs and cover the serialized API parser contract.
Return an expired OpenAI OAuth signal for device-auth 404s, fail closed for invalid desktop handoff URL config, and avoid duplicate invite acceptance member-added hooks.
Contributor
Author
|
@cubic-dev-ai review |
@pascalandr I have started the AI code review. It will take a few minutes to complete. |
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 test/llm-providers-oauth.test.ts- PASS, 15 tests.Linked issues