mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #1392] [MERGED] fix (confluence plugin): token type was missing in auth header. #1867
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/1392
Author: @jzcruiser
Created: 7/31/2025
Status: ✅ Merged
Merged: 8/6/2025
Merged by: @crazywoola
Base:
main← Head:patch-1📝 Commits (2)
87716a1token type was missing in auth header.d43e35bbump confluence plugin's version to 0.0.3📊 Changes
2 files changed (+3 additions, -2 deletions)
View changed files
📝
tools/confluence/manifest.yaml(+1 -1)📝
tools/confluence/tools/auth.py(+2 -1)📄 Description
To fix the issue that get_page_by_id receives 401 even though a valid personal access token is provided.
This PR tries to make minimal code changes by adding token_type as a parameter of credentials, whose default value is 'Bearer'. Other values like 'Basic' can be passed to the params too, using the requested dropdown UI feature mentioned in issue #1372 .
Related Issues or Context
Fix https://github.com/langgenius/dify-official-plugins/issues/1372
This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
Screenshots for the 401 Error:
After applying the code changes:
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)Dify Plugin SDK Version
dify_plugin>=0.3.0,<0.5.0is in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
Confluence is locally hosted, with version 7.13.7
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.