Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
This branch was successfully deployed
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.
What changed
OpenAI subscription connections now show a short code and the OpenAI verification page in onboarding and Settings. Approval completes automatically, without a failed localhost redirect or a pasted URL. Anthropic keeps its code-paste flow.
The backend follows the device authorization protocol in the pinned Codex 0.158.0 CLI. Redis stores each attempt with its provider, Account, polling interval, and expiry. A lock prevents duplicate exchanges. Completed polls can be retried, and cancellation reports success if approval completed first. Tokens use the existing vault, refresh, and sandbox delivery paths. No database migration or new dependency is required.
The UI and configuration guide explain the ChatGPT device authorization setting.
Fixes DRU-85.
Verification
uv run pytest backend/— 2,283 passed. After the final authentication changes, the four focused provider and identity test files passed all 65 tests.npm --prefix frontend test— 646 passed. The final onboarding fixture correction also passed its three tests.uv run ruff check backend druks-callsanduv run ruff format --check backend druks-callspassed.Live OpenAI approval, a real sandbox request with the new grant, and browser visual checks were not run. Provider responses were simulated in the tests.