Skip to content

Conversation

@marioeljuga
Copy link

Description

Adds Basic authentication support to multi-user HTTP transport mode. Enables users to authenticate via Authorization: Basic <token> headers alongside existing OAuth and PAT methods.

Fixes: #

Changes

  • Added basic auth type handling in dependencies.py with base64 credential decoding
  • Extended UserTokenMiddleware in main.py to process Basic auth headers
  • Fixed auth detection logic in environment.py (elifif)

Testing

  • Unit tests added/updated
  • Integration tests passed
  • Manual checks performed: Tested with Basic auth headers for Confluence operations in multi-user setup.

Checklist

  • Code follows project style guidelines (linting passes).
  • Tests added/updated for changes.
  • All tests pass locally.
  • Documentation updated (if needed).

@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity for 14 days. It will be closed if no further activity occurs. Please leave a comment or remove the 'stale' label if you believe this PR is still relevant. Thank you for your contributions!

@github-actions github-actions bot added the stale label Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant