feat: Add OAuth provider support (Codex, Gemini, Qwen, MiniMax)#1025
Open
AlexZander85 wants to merge 4 commits intoRightNow-AI:mainfrom
Open
feat: Add OAuth provider support (Codex, Gemini, Qwen, MiniMax)#1025AlexZander85 wants to merge 4 commits intoRightNow-AI:mainfrom
AlexZander85 wants to merge 4 commits intoRightNow-AI:mainfrom
Conversation
- Add complete i18n framework with en.json and ru.json locale files - Add i18n.js with language loading, detection, and fallback logic - Localize chat.js: slash commands, Toast messages, welcome message - Localize agents.js: personality presets, profile descriptions - Localize wizard.js: step labels, channel options, suggestions, profiles - Localize skills.js: 18 skill categories, uninstall confirm - Localize sessions.js: delete session/key confirm dialogs Provides full Russian translation for OpenFang UI as first non-English locale.
Ports OAuth authentication from ZeroClaw: - OpenAI Codex (ChatGPT subscription) - device code flow + PKCE - Gemini (Google OAuth) - device code flow - Qwen (Alibaba) - reads from ~/.qwen/oauth_creds.json - MiniMax - refresh token based authentication Implements: - Device code start/poll functions for each provider - PKCE code verifier/challenge generation - Token refresh logic - OAuthTokenSet struct for vault storage Note: Full workspace build blocked by pre-existing mcp.rs error (StreamableHttpClientTransportConfig non-exhaustive struct)
… mcp.rs - Fix mcp.rs StreamableHttpClientTransportConfig non-exhaustive struct - Add oauth_providers.rs with device code flows for 4 OAuth providers - Add API routes for OAuth start/poll endpoints in server.rs and routes.rs - Add OAuth UI buttons to settings.js dashboard - Add OAuth provider configs to drivers/mod.rs with oauth_provider field - Update index_body.html with OAuth login buttons for each provider
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.
Summary
Changes
Testing