Skip to content

Add per-account OpenAI ChatGPT OAuth adapter - #2

Open
CompleteDotTech wants to merge 19 commits into
mainfrom
feature/openai-oauth
Open

Add per-account OpenAI ChatGPT OAuth adapter#2
CompleteDotTech wants to merge 19 commits into
mainfrom
feature/openai-oauth

Conversation

@CompleteDotTech

Copy link
Copy Markdown

Summary

  • add a separate OpenAI (OAuth) LLM option to the adapter catalog
  • implement server-side OpenAI device login and encrypted credential hand-off
  • send ChatGPT Responses requests with per-adapter account credentials
  • refresh and persist each account independently
  • redact OAuth secrets and account identity from browser responses
  • support multiple saved accounts by adapter instance name

Anthropic OAuth is intentionally out of scope for this PR and can follow in a separate change.

Validation

  • uv run --project unstract/sdk1 pytest -q -p no:cacheprovider unstract/sdk1/tests/test_openai_oauth.py (10 passed)
  • targeted Ruff checks passed
  • targeted Biome check passed

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