What type of hardware are you using: VPS bought online What YunoHost version are you running: 12.0.17 What app is this about: memos
Describe your issue
When I attach an image in a memo, it doesn’t appear in the note, and I can’t download or view it https://i.vgy.me/YG5Igv.jpg. When I attach a zip file, an error appears when I click on it - {“code”:16,“message”:“failed to get access token: authorization header format must be Bearer {token}”,“details”:}
I’ve fixed an issue, might be useful to someone. The problem arises because SSOwat (YunoHost’s Single Sign-On system) automatically adds authorization headers to resource requests (like images), which conflicts with Memos’s internal authentication.
The core solution: Disable auth_header for Memos
You need to disable the transmission of authorization headers for the Memos application. Execute the following command via SSH: