-
Notifications
You must be signed in to change notification settings - Fork 18.9k
feat: support oauth for tool plugins #22550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
# Conflicts: # README.md # api/services/tools/builtin_tools_manage_service.py
# Conflicts: # api/services/plugin/oauth_service.py
# Conflicts: # api/core/plugin/impl/oauth.py # api/services/plugin/oauth_service.py
…y logging messages
… for validation and improve type annotations across multiple files
… encryption, decryption, and error handling scenarios
Yeuoly
approved these changes
Jul 17, 2025
Contributor
Yeuoly
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
23 tasks
6 tasks
tutkun
pushed a commit
to tutkun/dify
that referenced
this pull request
Aug 15, 2025
Co-authored-by: zxhlyh <[email protected]> Co-authored-by: Yeuoly <[email protected]>
tutkun
pushed a commit
to tutkun/dify
that referenced
this pull request
Aug 16, 2025
Co-authored-by: zxhlyh <[email protected]> Co-authored-by: Yeuoly <[email protected]>
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🔨 feat:tools
Tools for agent, function call related stuff.
lgtm
This PR has been approved by a maintainer
size:XXL
This PR changes 1000+ lines, ignoring generated files.
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.
This pull request introduces several updates across multiple files, focusing on expanding tool provider management functionality, improving OAuth integration, and refining configurations. Below is a categorized summary of the most important changes:
Tool Provider Management Enhancements:
api/controllers/console/workspace/tool_providers.py). [1] [2] [3] [4]api/controllers/console/workspace/tool_providers.py). [1] [2]OAuth Integration Improvements:
setup-system-tool-oauth-clientcommand to configure OAuth clients for system tools (api/commands.py).api/controllers/console/workspace/tool_providers.py).Configuration Refinements:
.env.exampleto uselocalhostinstead of127.0.0.1for various URLs and adjusted CORS settings accordingly (api/.env.example). [1] [2]UNKNOWN_VALUEplaceholder (api/constants/__init__.py).Codebase Enhancements:
api/commands.py,api/controllers/console/workspace/tool_providers.py). [1] [2] [3]Workflow Update:
build/**pattern (.github/workflows/build-push.yml).Issue
close #22546
Daemon
langgenius/dify-plugin-daemon#402