mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 10:05:23 -04:00
[PR #1808] [MERGED] fix(confluence): Add token_type selector for Cloud/Server auth support #2095
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/1808
Author: @HaRuKa-1231
Created: 10/6/2025
Status: ✅ Merged
Merged: 10/7/2025
Merged by: @crazywoola
Base:
main← Head:fix/confluence-add-token-type-selector📝 Commits (1)
be7c9d2fix(confluence): Add token_type selector for Cloud/Server auth support📊 Changes
2 files changed (+22 additions, -3 deletions)
View changed files
📝
tools/confluence/manifest.yaml(+1 -1)📝
tools/confluence/provider/confluence.yaml(+21 -2)📄 Description
Related Issues or Context
This PR completes the fix for Confluence plugin authentication that was partially addressed in PR #1392.
Context
Issue #1372 requested a dropdown to select between Basic and Bearer token types. PR #1392 partially fixed this by updating
auth.pyto read thetoken_typeparameter, but the UI field inconfluence.yamlwas never added. This means:token_typeparameter always defaults to 'Bearer' with no way to change itThis PR adds the missing UI component to complete the fix.
This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
Changes Made:
Added
token_typeselect field inconfluence.yaml:Updated token field placeholder and help text:
Bumped version from 0.0.3 to 0.0.4
Before:
After:
This PR contains Changes to LLM Models Plugin
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Version bumped: 0.0.3 → 0.0.4 (PATCH version for backward-compatible bug fix)
Dify Plugin SDK Version
dify_plugin>=0.3.0,<0.5.0is in requirements.txt (SDK docs)Current requirements.txt already specifies the correct SDK version range.
Environment Verification (If Any Code Changes)
Local Deployment Environment
Testing performed:
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.