mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[GH-ISSUE #270] [Bug]: API keys fail when authentication is enabled #168
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy-maziggy-1#168
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Originally created by @toskium on GitHub (Feb 4, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/270
Originally assigned to: @maziggy on GitHub.
Bug Description
After deploying a fresh instance of Bambuddy and enabling authentication all generated API keys to fail authentication. Any API request using these keys returns the error message “Authentication required”.
When authentication is disabled (settings -> users -> disable), the API works as expected and API keys authenticate successfully.
This issue also occurs when testing the API keys via Bambuddy’s internal API browser.
Expected Behavior
API keys generated after installation should authenticate successfully and allow API access, regardless of whether authentication is enabled.
Steps to Reproduce
Enable authentication.
Generate an API key.
Use the API key in a request (or test it via the internal API browser).
Printer Model
P1S
Bambuddy Version
0.1.7
Printer Firmware Version
01.09.01.00
Installation Method
Docker
Operating System
Linux (Ubuntu/Debian)
Relevant Logs / Support Package
Screenshots
No response
Additional Context
Logging out of the web UI and logging back in does not resolve the problem.
The behavior is consistent across all generated API keys.
bambuddy-support-20260204-210130.zip
Checklist
@maziggy commented on GitHub (Feb 5, 2026):
Fixed in branch 0.1.8b. Please let me know if it works now.